Class ServiceMonitoringService.ServiceMonitoringServiceClient (2.5.0)

public class ServiceMonitoringServiceClient : ClientBase<ServiceMonitoringService.ServiceMonitoringServiceClient>

Client for ServiceMonitoringService

Inheritance

Object > ClientBase > ClientBase<ServiceMonitoringService.ServiceMonitoringServiceClient> > ServiceMonitoringService.ServiceMonitoringServiceClient

Namespace

Google.Cloud.Monitoring.V3

Assembly

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
NameDescription
callInvokerCallInvoker

The 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
NameDescription
channelGrpc.Core.Channel

The channel to use to make remote calls.

ServiceMonitoringServiceClient(ChannelBase)

public ServiceMonitoringServiceClient(ChannelBase channel)

Creates a new client for ServiceMonitoringService

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateService(CreateServiceRequest, CallOptions)

public virtual Service CreateService(CreateServiceRequest request, CallOptions options)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

CreateServiceAsync(CreateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, CallOptions options)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Service>

The call object.

CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, CallOptions)

public virtual ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, CallOptions options)

Create a ServiceLevelObjective for the given Service.

Parameters
NameDescription
requestCreateServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ServiceLevelObjective>

The call object.

DeleteService(DeleteServiceRequest, CallOptions)

public virtual Empty DeleteService(DeleteServiceRequest request, CallOptions options)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteServiceAsync(DeleteServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, CallOptions)

public virtual Empty DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, CallOptions options)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, CallOptions options)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetService(GetServiceRequest, CallOptions)

public virtual Service GetService(GetServiceRequest request, CallOptions options)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

GetServiceAsync(GetServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Service>

The call object.

GetServiceLevelObjective(GetServiceLevelObjectiveRequest, CallOptions)

public virtual ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, CallOptions options)

Get a ServiceLevelObjective by name.

Parameters
NameDescription
requestGetServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ServiceLevelObjective>

The call object.

ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, CallOptions)

public virtual ListServiceLevelObjectivesResponse ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, CallOptions options)

List the ServiceLevelObjectives for the given Service.

Parameters
NameDescription
requestListServiceLevelObjectivesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServiceLevelObjectivesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListServiceLevelObjectivesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServiceLevelObjectivesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListServiceLevelObjectivesResponse>

The call object.

ListServices(ListServicesRequest, CallOptions)

public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)

List Services for this workspace.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ServiceMonitoringService.ServiceMonitoringServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Monitoring.V3.ServiceMonitoringService.ServiceMonitoringServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateService(UpdateServiceRequest, CallOptions)

public virtual Service UpdateService(UpdateServiceRequest request, CallOptions options)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

UpdateServiceAsync(UpdateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateServiceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Service>

The call object.

UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, CallOptions)

public virtual ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, CallOptions options)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ServiceLevelObjective

The response received from the server.

UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, CallOptions)

public virtual AsyncUnaryCall<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, CallOptions options)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateServiceLevelObjectiveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ServiceLevelObjective>

The call object.