public sealed class MetricsServiceV2Settings : ServiceSettingsBaseReference documentation and code samples for the Google Cloud Logging v2 API class MetricsServiceV2Settings.
Settings for MetricsServiceV2Client instances.
Namespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
MetricsServiceV2Settings()
public MetricsServiceV2Settings()Constructs a new MetricsServiceV2Settings object with default settings.
Properties
CreateLogMetricSettings
public CallSettings CreateLogMetricSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MetricsServiceV2Client.CreateLogMetric and MetricsServiceV2Client.CreateLogMetricAsync.
| Property Value | |
|---|---|
| Type | Description | 
CallSettings | 
        |
- This call will not be retried.
 - Timeout: 60 seconds.
 
DeleteLogMetricSettings
public CallSettings DeleteLogMetricSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MetricsServiceV2Client.DeleteLogMetric and MetricsServiceV2Client.DeleteLogMetricAsync.
| Property Value | |
|---|---|
| Type | Description | 
CallSettings | 
        |
- Initial retry delay: 100 milliseconds.
 - Retry delay multiplier: 1.3
 - Retry maximum delay: 60000 milliseconds.
 - Maximum attempts: 5
 - Retriable status codes: DeadlineExceeded, Internal, Unavailable.
 - Timeout: 60 seconds.
 
GetLogMetricSettings
public CallSettings GetLogMetricSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MetricsServiceV2Client.GetLogMetric and MetricsServiceV2Client.GetLogMetricAsync.
| Property Value | |
|---|---|
| Type | Description | 
CallSettings | 
        |
- Initial retry delay: 100 milliseconds.
 - Retry delay multiplier: 1.3
 - Retry maximum delay: 60000 milliseconds.
 - Maximum attempts: 5
 - Retriable status codes: DeadlineExceeded, Internal, Unavailable.
 - Timeout: 60 seconds.
 
ListLogMetricsSettings
public CallSettings ListLogMetricsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MetricsServiceV2Client.ListLogMetrics and MetricsServiceV2Client.ListLogMetricsAsync.
| Property Value | |
|---|---|
| Type | Description | 
CallSettings | 
        |
- Initial retry delay: 100 milliseconds.
 - Retry delay multiplier: 1.3
 - Retry maximum delay: 60000 milliseconds.
 - Maximum attempts: 5
 - Retriable status codes: DeadlineExceeded, Internal, Unavailable.
 - Timeout: 60 seconds.
 
UpdateLogMetricSettings
public CallSettings UpdateLogMetricSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MetricsServiceV2Client.UpdateLogMetric and MetricsServiceV2Client.UpdateLogMetricAsync.
| Property Value | |
|---|---|
| Type | Description | 
CallSettings | 
        |
- Initial retry delay: 100 milliseconds.
 - Retry delay multiplier: 1.3
 - Retry maximum delay: 60000 milliseconds.
 - Maximum attempts: 5
 - Retriable status codes: DeadlineExceeded, Internal, Unavailable.
 - Timeout: 60 seconds.
 
Methods
Clone()
public MetricsServiceV2Settings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description | 
MetricsServiceV2Settings | 
        A deep clone of this MetricsServiceV2Settings object.  | 
      
GetDefault()
public static MetricsServiceV2Settings GetDefault()Get a new instance of the default MetricsServiceV2Settings.
| Returns | |
|---|---|
| Type | Description | 
MetricsServiceV2Settings | 
        A new instance of the default MetricsServiceV2Settings.  |