public class ServiceMonitoringServiceClient : ClientBase<ServiceMonitoringService.ServiceMonitoringServiceClient>Client for ServiceMonitoringService
Inheritance
Object > ClientBase > ClientBase<ServiceMonitoringService.ServiceMonitoringServiceClient> > ServiceMonitoringService.ServiceMonitoringServiceClientNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ServiceMonitoringServiceClient()
protected ServiceMonitoringServiceClient()Protected parameterless constructor to allow creation of test doubles.
ServiceMonitoringServiceClient(CallInvoker)
public ServiceMonitoringServiceClient(CallInvoker callInvoker)Creates a new client for ServiceMonitoringService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ServiceMonitoringServiceClient(Channel)
[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public ServiceMonitoringServiceClient(Channel channel)Creates a new client using a channel.
| Parameter | |
|---|---|
| Name | Description |
channel |
Grpc.Core.ChannelThe channel to use to make remote calls. |
ServiceMonitoringServiceClient(ChannelBase)
public ServiceMonitoringServiceClient(ChannelBase channel)Creates a new client for ServiceMonitoringService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ServiceMonitoringServiceClient(ClientBase.ClientBaseConfiguration)
protected ServiceMonitoringServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateService(CreateServiceRequest, CallOptions)
public virtual Service CreateService(CreateServiceRequest request, CallOptions options)Create a Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
CreateService(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Create a Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
CreateServiceAsync(CreateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, CallOptions options)Create a Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
CreateServiceAsync(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Create a Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, CallOptions)
public virtual ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, CallOptions options)Create a ServiceLevelObjective for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Create a ServiceLevelObjective for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceLevelObjective> CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest request, CallOptions options)Create a ServiceLevelObjective for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |
CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceLevelObjective> CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Create a ServiceLevelObjective for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |
DeleteService(DeleteServiceRequest, CallOptions)
public virtual Empty DeleteService(DeleteServiceRequest request, CallOptions options)Soft delete this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteService(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Soft delete this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteServiceAsync(DeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)Soft delete this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Empty> |
The call object. |
DeleteServiceAsync(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Soft delete this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Empty> |
The call object. |
DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, CallOptions)
public virtual Empty DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, CallOptions options)Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, CallOptions options)Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Empty> |
The call object. |
DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Empty> |
The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual Service GetService(GetServiceRequest request, CallOptions options)Get the named Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
GetService(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Get the named Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)Get the named Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
GetServiceAsync(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Get the named Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
GetServiceLevelObjective(GetServiceLevelObjectiveRequest, CallOptions)
public virtual ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, CallOptions options)Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
GetServiceLevelObjective(GetServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceLevelObjective> GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest request, CallOptions options)Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |
GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceLevelObjective> GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |
ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, CallOptions)
public virtual ListServiceLevelObjectivesResponse ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, CallOptions options)List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServiceLevelObjectivesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListServiceLevelObjectivesResponse |
The response received from the server. |
ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServiceLevelObjectivesResponse ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServiceLevelObjectivesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListServiceLevelObjectivesResponse |
The response received from the server. |
ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServiceLevelObjectivesResponse> ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest request, CallOptions options)List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServiceLevelObjectivesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListServiceLevelObjectivesResponse> |
The call object. |
ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServiceLevelObjectivesResponse> ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServiceLevelObjectivesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListServiceLevelObjectivesResponse> |
The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)List Services for this workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServices(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))List Services for this workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServicesAsync(ListServicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)List Services for this workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListServicesResponse> |
The call object. |
ListServicesAsync(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))List Services for this workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListServicesResponse> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ServiceMonitoringService.ServiceMonitoringServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ServiceMonitoringService.ServiceMonitoringServiceClient |
|
UpdateService(UpdateServiceRequest, CallOptions)
public virtual Service UpdateService(UpdateServiceRequest request, CallOptions options)Update this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
UpdateService(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Update this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
UpdateServiceAsync(UpdateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)Update this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
UpdateServiceAsync(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Update this Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Service> |
The call object. |
UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, CallOptions)
public virtual ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, CallOptions options)Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ServiceLevelObjective |
The response received from the server. |
UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, CallOptions)
public virtual AsyncUnaryCall<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, CallOptions options)Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceLevelObjectiveRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |
UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceLevelObjectiveRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ServiceLevelObjective> |
The call object. |