Google Cloud Monitoring v3 API - Class ServiceMonitoringService.ServiceMonitoringServiceClient (3.9.0)

public class ServiceMonitoringService.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 > ClientBaseServiceMonitoringServiceServiceMonitoringServiceClient > 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(ChannelBase)

public ServiceMonitoringServiceClient(ChannelBase channel)

Creates a new client for ServiceMonitoringService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ServiceMonitoringServiceClient(ClientBaseConfiguration)

protected ServiceMonitoringServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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, DateTime?, CancellationToken)

public virtual Service CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

The call object.

CreateServiceAsync(CreateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

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, DateTime?, CancellationToken)

public virtual ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

The call object.

CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ServiceLevelObjective> CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

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, DateTime?, CancellationToken)

public virtual Empty DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallEmpty

The call object.

DeleteServiceAsync(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallEmpty

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, DateTime?, CancellationToken)

public virtual Empty DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallEmpty

The call object.

DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallEmpty

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, DateTime?, CancellationToken)

public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

The call object.

GetServiceAsync(GetServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

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, DateTime?, CancellationToken)

public virtual ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

The call object.

GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ServiceLevelObjective> GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

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, DateTime?, CancellationToken)

public virtual ListServiceLevelObjectivesResponse ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallListServiceLevelObjectivesResponse

The call object.

ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServiceLevelObjectivesResponse> ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallListServiceLevelObjectivesResponse

The call object.

ListServices(ListServicesRequest, CallOptions)

public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)

List Services for this Metrics Scope.

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, DateTime?, CancellationToken)

public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List Services for this Metrics Scope.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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 Metrics Scope.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListServicesResponse

The call object.

ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List Services for this Metrics Scope.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListServicesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ServiceMonitoringService.ServiceMonitoringServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ServiceMonitoringServiceServiceMonitoringServiceClient
Overrides

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, DateTime?, CancellationToken)

public virtual Service UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

The call object.

UpdateServiceAsync(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallService

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, DateTime?, CancellationToken)

public virtual ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

The call object.

UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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
AsyncUnaryCallServiceLevelObjective

The call object.