public sealed class AlertPolicyServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicyServiceSettings.
Settings for AlertPolicyServiceClient instances.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
AlertPolicyServiceSettings()
public AlertPolicyServiceSettings()
Constructs a new AlertPolicyServiceSettings object with default settings.
Properties
CreateAlertPolicySettings
public CallSettings CreateAlertPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AlertPolicyServiceClient.CreateAlertPolicy
and AlertPolicyServiceClient.CreateAlertPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 30 seconds.
DeleteAlertPolicySettings
public CallSettings DeleteAlertPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AlertPolicyServiceClient.DeleteAlertPolicy
and AlertPolicyServiceClient.DeleteAlertPolicyAsync
.
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.
GetAlertPolicySettings
public CallSettings GetAlertPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AlertPolicyServiceClient.GetAlertPolicy
and AlertPolicyServiceClient.GetAlertPolicyAsync
.
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.
ListAlertPoliciesSettings
public CallSettings ListAlertPoliciesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AlertPolicyServiceClient.ListAlertPolicies
and AlertPolicyServiceClient.ListAlertPoliciesAsync
.
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.
UpdateAlertPolicySettings
public CallSettings UpdateAlertPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AlertPolicyServiceClient.UpdateAlertPolicy
and AlertPolicyServiceClient.UpdateAlertPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 30 seconds.
Methods
Clone()
public AlertPolicyServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
AlertPolicyServiceSettings | A deep clone of this AlertPolicyServiceSettings object. |
GetDefault()
public static AlertPolicyServiceSettings GetDefault()
Get a new instance of the default AlertPolicyServiceSettings.
Returns | |
---|---|
Type | Description |
AlertPolicyServiceSettings | A new instance of the default AlertPolicyServiceSettings. |