Google Cloud Monitoring v3 API - Class MetricService.MetricServiceClient (3.4.0)

public class MetricService.MetricServiceClient : ClientBase<MetricService.MetricServiceClient>

Reference documentation and code samples for the Google Cloud Monitoring v3 API class MetricService.MetricServiceClient.

Client for MetricService

Inheritance

object > ClientBase > ClientBaseMetricServiceMetricServiceClient > MetricService.MetricServiceClient

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

MetricServiceClient()

protected MetricServiceClient()

Protected parameterless constructor to allow creation of test doubles.

MetricServiceClient(CallInvoker)

public MetricServiceClient(CallInvoker callInvoker)

Creates a new client for MetricService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

MetricServiceClient(ChannelBase)

public MetricServiceClient(ChannelBase channel)

Creates a new client for MetricService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

MetricServiceClient(ClientBaseConfiguration)

protected MetricServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateMetricDescriptor(CreateMetricDescriptorRequest, CallOptions)

public virtual MetricDescriptor CreateMetricDescriptor(CreateMetricDescriptorRequest request, CallOptions options)

Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics.

Parameters
NameDescription
requestCreateMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MetricDescriptor

The response received from the server.

CreateMetricDescriptor(CreateMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual MetricDescriptor CreateMetricDescriptor(CreateMetricDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics.

Parameters
NameDescription
requestCreateMetricDescriptorRequest

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
MetricDescriptor

The response received from the server.

CreateMetricDescriptorAsync(CreateMetricDescriptorRequest, CallOptions)

public virtual AsyncUnaryCall<MetricDescriptor> CreateMetricDescriptorAsync(CreateMetricDescriptorRequest request, CallOptions options)

Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics.

Parameters
NameDescription
requestCreateMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallMetricDescriptor

The call object.

CreateMetricDescriptorAsync(CreateMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MetricDescriptor> CreateMetricDescriptorAsync(CreateMetricDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics.

Parameters
NameDescription
requestCreateMetricDescriptorRequest

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
AsyncUnaryCallMetricDescriptor

The call object.

CreateServiceTimeSeries(CreateTimeSeriesRequest, CallOptions)

public virtual Empty CreateServiceTimeSeries(CreateTimeSeriesRequest request, CallOptions options)

Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries] instead.

Parameters
NameDescription
requestCreateTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

CreateServiceTimeSeries(CreateTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries] instead.

Parameters
NameDescription
requestCreateTimeSeriesRequest

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.

CreateServiceTimeSeriesAsync(CreateTimeSeriesRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> CreateServiceTimeSeriesAsync(CreateTimeSeriesRequest request, CallOptions options)

Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries] instead.

Parameters
NameDescription
requestCreateTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

CreateServiceTimeSeriesAsync(CreateTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries] instead.

Parameters
NameDescription
requestCreateTimeSeriesRequest

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.

CreateTimeSeries(CreateTimeSeriesRequest, CallOptions)

public virtual Empty CreateTimeSeries(CreateTimeSeriesRequest request, CallOptions options)

Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.

Parameters
NameDescription
requestCreateTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

CreateTimeSeries(CreateTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.

Parameters
NameDescription
requestCreateTimeSeriesRequest

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.

CreateTimeSeriesAsync(CreateTimeSeriesRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> CreateTimeSeriesAsync(CreateTimeSeriesRequest request, CallOptions options)

Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.

Parameters
NameDescription
requestCreateTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

CreateTimeSeriesAsync(CreateTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.

Parameters
NameDescription
requestCreateTimeSeriesRequest

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.

DeleteMetricDescriptor(DeleteMetricDescriptorRequest, CallOptions)

public virtual Empty DeleteMetricDescriptor(DeleteMetricDescriptorRequest request, CallOptions options)

Deletes a metric descriptor. Only user-created custom metrics can be deleted.

Parameters
NameDescription
requestDeleteMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteMetricDescriptor(DeleteMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a metric descriptor. Only user-created custom metrics can be deleted.

Parameters
NameDescription
requestDeleteMetricDescriptorRequest

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.

DeleteMetricDescriptorAsync(DeleteMetricDescriptorRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteMetricDescriptorAsync(DeleteMetricDescriptorRequest request, CallOptions options)

Deletes a metric descriptor. Only user-created custom metrics can be deleted.

Parameters
NameDescription
requestDeleteMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteMetricDescriptorAsync(DeleteMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a metric descriptor. Only user-created custom metrics can be deleted.

Parameters
NameDescription
requestDeleteMetricDescriptorRequest

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.

GetMetricDescriptor(GetMetricDescriptorRequest, CallOptions)

public virtual MetricDescriptor GetMetricDescriptor(GetMetricDescriptorRequest request, CallOptions options)

Gets a single metric descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MetricDescriptor

The response received from the server.

GetMetricDescriptor(GetMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual MetricDescriptor GetMetricDescriptor(GetMetricDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single metric descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMetricDescriptorRequest

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
MetricDescriptor

The response received from the server.

GetMetricDescriptorAsync(GetMetricDescriptorRequest, CallOptions)

public virtual AsyncUnaryCall<MetricDescriptor> GetMetricDescriptorAsync(GetMetricDescriptorRequest request, CallOptions options)

Gets a single metric descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMetricDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallMetricDescriptor

The call object.

GetMetricDescriptorAsync(GetMetricDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MetricDescriptor> GetMetricDescriptorAsync(GetMetricDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single metric descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMetricDescriptorRequest

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
AsyncUnaryCallMetricDescriptor

The call object.

GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest, CallOptions)

public virtual MonitoredResourceDescriptor GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request, CallOptions options)

Gets a single monitored resource descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMonitoredResourceDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
MonitoredResourceDescriptor

The response received from the server.

GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual MonitoredResourceDescriptor GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single monitored resource descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMonitoredResourceDescriptorRequest

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
MonitoredResourceDescriptor

The response received from the server.

GetMonitoredResourceDescriptorAsync(GetMonitoredResourceDescriptorRequest, CallOptions)

public virtual AsyncUnaryCall<MonitoredResourceDescriptor> GetMonitoredResourceDescriptorAsync(GetMonitoredResourceDescriptorRequest request, CallOptions options)

Gets a single monitored resource descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMonitoredResourceDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallMonitoredResourceDescriptor

The call object.

GetMonitoredResourceDescriptorAsync(GetMonitoredResourceDescriptorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<MonitoredResourceDescriptor> GetMonitoredResourceDescriptorAsync(GetMonitoredResourceDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a single monitored resource descriptor. This method does not require a Workspace.

Parameters
NameDescription
requestGetMonitoredResourceDescriptorRequest

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
AsyncUnaryCallMonitoredResourceDescriptor

The call object.

ListMetricDescriptors(ListMetricDescriptorsRequest, CallOptions)

public virtual ListMetricDescriptorsResponse ListMetricDescriptors(ListMetricDescriptorsRequest request, CallOptions options)

Lists metric descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMetricDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListMetricDescriptorsResponse

The response received from the server.

ListMetricDescriptors(ListMetricDescriptorsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListMetricDescriptorsResponse ListMetricDescriptors(ListMetricDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists metric descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMetricDescriptorsRequest

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
ListMetricDescriptorsResponse

The response received from the server.

ListMetricDescriptorsAsync(ListMetricDescriptorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListMetricDescriptorsResponse> ListMetricDescriptorsAsync(ListMetricDescriptorsRequest request, CallOptions options)

Lists metric descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMetricDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListMetricDescriptorsResponse

The call object.

ListMetricDescriptorsAsync(ListMetricDescriptorsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListMetricDescriptorsResponse> ListMetricDescriptorsAsync(ListMetricDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists metric descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMetricDescriptorsRequest

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
AsyncUnaryCallListMetricDescriptorsResponse

The call object.

ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest, CallOptions)

public virtual ListMonitoredResourceDescriptorsResponse ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request, CallOptions options)

Lists monitored resource descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMonitoredResourceDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse

The response received from the server.

ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListMonitoredResourceDescriptorsResponse ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists monitored resource descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMonitoredResourceDescriptorsRequest

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
ListMonitoredResourceDescriptorsResponse

The response received from the server.

ListMonitoredResourceDescriptorsAsync(ListMonitoredResourceDescriptorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListMonitoredResourceDescriptorsResponse> ListMonitoredResourceDescriptorsAsync(ListMonitoredResourceDescriptorsRequest request, CallOptions options)

Lists monitored resource descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMonitoredResourceDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListMonitoredResourceDescriptorsResponse

The call object.

ListMonitoredResourceDescriptorsAsync(ListMonitoredResourceDescriptorsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListMonitoredResourceDescriptorsResponse> ListMonitoredResourceDescriptorsAsync(ListMonitoredResourceDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists monitored resource descriptors that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListMonitoredResourceDescriptorsRequest

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
AsyncUnaryCallListMonitoredResourceDescriptorsResponse

The call object.

ListTimeSeries(ListTimeSeriesRequest, CallOptions)

public virtual ListTimeSeriesResponse ListTimeSeries(ListTimeSeriesRequest request, CallOptions options)

Lists time series that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTimeSeriesResponse

The response received from the server.

ListTimeSeries(ListTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTimeSeriesResponse ListTimeSeries(ListTimeSeriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists time series that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListTimeSeriesRequest

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
ListTimeSeriesResponse

The response received from the server.

ListTimeSeriesAsync(ListTimeSeriesRequest, CallOptions)

public virtual AsyncUnaryCall<ListTimeSeriesResponse> ListTimeSeriesAsync(ListTimeSeriesRequest request, CallOptions options)

Lists time series that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListTimeSeriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListTimeSeriesResponse

The call object.

ListTimeSeriesAsync(ListTimeSeriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTimeSeriesResponse> ListTimeSeriesAsync(ListTimeSeriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists time series that match a filter. This method does not require a Workspace.

Parameters
NameDescription
requestListTimeSeriesRequest

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
AsyncUnaryCallListTimeSeriesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override MetricService.MetricServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
MetricServiceMetricServiceClient
Overrides