public class ServiceMonitoringServiceClient : ClientBase<ServiceMonitoringService.ServiceMonitoringServiceClient>
Reference documentation and code samples for the Google Cloud Monitoring v3 API class 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 | CallInvoker The callInvoker to use to make remote calls. |
ServiceMonitoringServiceClient(ChannelBase)
public ServiceMonitoringServiceClient(ChannelBase channel)
Creates a new client for ServiceMonitoringService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The 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.ClientBaseConfiguration The client configuration. |
Methods
CreateService(CreateServiceRequest, CallOptions)
public virtual Service CreateService(CreateServiceRequest request, CallOptions options)
Create a Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Create a Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | CreateServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Create a Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | CreateServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Create a ServiceLevelObjective
for the given Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | CreateServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Create a ServiceLevelObjective
for the given Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | DeleteServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Soft delete this Service
.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | DeleteServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Soft delete this Service
.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | DeleteServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Delete the given ServiceLevelObjective
.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | DeleteServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Delete the given ServiceLevelObjective
.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Get the named Service
.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Get the named Service
.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Get a ServiceLevelObjective
by name.
Parameters | |
---|---|
Name | Description |
request | GetServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Get a ServiceLevelObjective
by name.
Parameters | |
---|---|
Name | Description |
request | GetServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 ServiceLevelObjective
s for the given Service
.
Parameters | |
---|---|
Name | Description |
request | ListServiceLevelObjectivesRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
List the ServiceLevelObjective
s for the given Service
.
Parameters | |
---|---|
Name | Description |
request | ListServiceLevelObjectivesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 ServiceLevelObjective
s for the given Service
.
Parameters | |
---|---|
Name | Description |
request | ListServiceLevelObjectivesRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
List the ServiceLevelObjective
s for the given Service
.
Parameters | |
---|---|
Name | Description |
request | ListServiceLevelObjectivesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 Service
s for this workspace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
List Service
s for this workspace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 Service
s for this workspace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
List Service
s for this workspace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UpdateServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Update this Service
.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UpdateServiceRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Update this Service
.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UpdateServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Update the given ServiceLevelObjective
.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UpdateServiceLevelObjectiveRequest The request to send to the server. |
options | CallOptions The 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 = null, CancellationToken cancellationToken = default(CancellationToken))
Update the given ServiceLevelObjective
.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceLevelObjectiveRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ServiceLevelObjective> | The call object. |