public sealed class MetricServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Monitoring v3 API class MetricServiceSettings.
Settings for MetricServiceClient instances.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
MetricServiceSettings()
public MetricServiceSettings()
Constructs a new MetricServiceSettings object with default settings.
Properties
CreateMetricDescriptorSettings
public CallSettings CreateMetricDescriptorSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.CreateMetricDescriptor
and MetricServiceClient.CreateMetricDescriptorAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 12 seconds.
CreateServiceTimeSeriesSettings
public CallSettings CreateServiceTimeSeriesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.CreateServiceTimeSeries
and MetricServiceClient.CreateServiceTimeSeriesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
CreateTimeSeriesSettings
public CallSettings CreateTimeSeriesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.CreateTimeSeries
and MetricServiceClient.CreateTimeSeriesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 12 seconds.
DeleteMetricDescriptorSettings
public CallSettings DeleteMetricDescriptorSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.DeleteMetricDescriptor
and MetricServiceClient.DeleteMetricDescriptorAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
GetMetricDescriptorSettings
public CallSettings GetMetricDescriptorSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.GetMetricDescriptor
and MetricServiceClient.GetMetricDescriptorAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
GetMonitoredResourceDescriptorSettings
public CallSettings GetMonitoredResourceDescriptorSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.GetMonitoredResourceDescriptor
and
MetricServiceClient.GetMonitoredResourceDescriptorAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListMetricDescriptorsSettings
public CallSettings ListMetricDescriptorsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.ListMetricDescriptors
and MetricServiceClient.ListMetricDescriptorsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListMonitoredResourceDescriptorsSettings
public CallSettings ListMonitoredResourceDescriptorsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.ListMonitoredResourceDescriptors
and
MetricServiceClient.ListMonitoredResourceDescriptorsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListTimeSeriesSettings
public CallSettings ListTimeSeriesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
MetricServiceClient.ListTimeSeries
and MetricServiceClient.ListTimeSeriesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 90 seconds.
Methods
Clone()
public MetricServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
MetricServiceSettings |
A deep clone of this MetricServiceSettings object. |
GetDefault()
public static MetricServiceSettings GetDefault()
Get a new instance of the default MetricServiceSettings.
Returns | |
---|---|
Type | Description |
MetricServiceSettings |
A new instance of the default MetricServiceSettings. |