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.MetricServiceClientNamespace
Google.Cloud.Monitoring.V3Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
MetricServiceClient(ChannelBase)
public MetricServiceClient(ChannelBase channel)
Creates a new client for MetricService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
MetricServiceClient(ClientBaseConfiguration)
protected MetricServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration 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. User-created metric descriptors define custom metrics. The metric descriptor is updated if it already exists, except that metric labels are never removed.
Parameters | |
---|---|
Name | Description |
request | CreateMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. User-created metric descriptors define custom metrics. The metric descriptor is updated if it already exists, except that metric labels are never removed.
Parameters | |
---|---|
Name | Description |
request | CreateMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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. User-created metric descriptors define custom metrics. The metric descriptor is updated if it already exists, except that metric labels are never removed.
Parameters | |
---|---|
Name | Description |
request | CreateMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. User-created metric descriptors define custom metrics. The metric descriptor is updated if it already exists, except that metric labels are never removed.
Parameters | |
---|---|
Name | Description |
request | CreateMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
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 | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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. This method does not support resource locations constraint of an organization policy.
Parameters | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. This method does not support resource locations constraint of an organization policy.
Parameters | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
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. This method does not support resource locations constraint of an organization policy.
Parameters | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. This method does not support resource locations constraint of an organization policy.
Parameters | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | DeleteMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
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 | |
---|---|
Name | Description |
request | DeleteMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallEmpty | The call object. |
GetMetricDescriptor(GetMetricDescriptorRequest, CallOptions)
public virtual MetricDescriptor GetMetricDescriptor(GetMetricDescriptorRequest request, CallOptions options)
Gets a single metric descriptor.
Parameters | |
---|---|
Name | Description |
request | GetMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | GetMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
MetricDescriptor | The response received from the server. |
GetMetricDescriptorAsync(GetMetricDescriptorRequest, CallOptions)
public virtual AsyncUnaryCall<MetricDescriptor> GetMetricDescriptorAsync(GetMetricDescriptorRequest request, CallOptions options)
Gets a single metric descriptor.
Parameters | |
---|---|
Name | Description |
request | GetMetricDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | GetMetricDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallMetricDescriptor | The call object. |
GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest, CallOptions)
public virtual MonitoredResourceDescriptor GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request, CallOptions options)
Gets a single monitored resource descriptor.
Parameters | |
---|---|
Name | Description |
request | GetMonitoredResourceDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | GetMonitoredResourceDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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.
Parameters | |
---|---|
Name | Description |
request | GetMonitoredResourceDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | GetMonitoredResourceDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallMonitoredResourceDescriptor | The call object. |
ListMetricDescriptors(ListMetricDescriptorsRequest, CallOptions)
public virtual ListMetricDescriptorsResponse ListMetricDescriptors(ListMetricDescriptorsRequest request, CallOptions options)
Lists metric descriptors that match a filter.
Parameters | |
---|---|
Name | Description |
request | ListMetricDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListMetricDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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.
Parameters | |
---|---|
Name | Description |
request | ListMetricDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListMetricDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallListMetricDescriptorsResponse | The call object. |
ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest, CallOptions)
public virtual ListMonitoredResourceDescriptorsResponse ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request, CallOptions options)
Lists monitored resource descriptors that match a filter.
Parameters | |
---|---|
Name | Description |
request | ListMonitoredResourceDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListMonitoredResourceDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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.
Parameters | |
---|---|
Name | Description |
request | ListMonitoredResourceDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListMonitoredResourceDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallListMonitoredResourceDescriptorsResponse | The call object. |
ListTimeSeries(ListTimeSeriesRequest, CallOptions)
public virtual ListTimeSeriesResponse ListTimeSeries(ListTimeSeriesRequest request, CallOptions options)
Lists time series that match a filter.
Parameters | |
---|---|
Name | Description |
request | ListTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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.
Parameters | |
---|---|
Name | Description |
request | ListTimeSeriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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.
Parameters | |
---|---|
Name | Description |
request | ListTimeSeriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallListTimeSeriesResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override MetricService.MetricServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
MetricServiceMetricServiceClient |