Class AlertPolicyServiceSettings

public sealed class AlertPolicyServiceSettings : ServiceSettingsBase

Settings for AlertPolicyServiceClient instances.

Inheritance

Object > ServiceSettingsBase > AlertPolicyServiceSettings

Namespace

Google.Cloud.Monitoring.V3

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
AlertPolicyServiceSettings

A deep clone of this AlertPolicyServiceSettings object.

GetDefault()

public static AlertPolicyServiceSettings GetDefault()

Get a new instance of the default AlertPolicyServiceSettings.

Returns
TypeDescription
AlertPolicyServiceSettings

A new instance of the default AlertPolicyServiceSettings.