Cloud Controls Partner v1 API - Class CloudControlsPartnerMonitoringSettings (1.0.0-beta02)

public sealed class CloudControlsPartnerMonitoringSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Controls Partner v1 API class CloudControlsPartnerMonitoringSettings.

Settings for CloudControlsPartnerMonitoringClient instances.

Inheritance

object > ServiceSettingsBase > CloudControlsPartnerMonitoringSettings

Namespace

Google.Cloud.CloudControlsPartner.V1

Assembly

Google.Cloud.CloudControlsPartner.V1.dll

Constructors

CloudControlsPartnerMonitoringSettings()

public CloudControlsPartnerMonitoringSettings()

Constructs a new CloudControlsPartnerMonitoringSettings object with default settings.

Properties

GetViolationSettings

public CallSettings GetViolationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudControlsPartnerMonitoringClient.GetViolation and CloudControlsPartnerMonitoringClient.GetViolationAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListViolationsSettings

public CallSettings ListViolationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudControlsPartnerMonitoringClient.ListViolations and CloudControlsPartnerMonitoringClient.ListViolationsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public CloudControlsPartnerMonitoringSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
CloudControlsPartnerMonitoringSettings

A deep clone of this CloudControlsPartnerMonitoringSettings object.

GetDefault()

public static CloudControlsPartnerMonitoringSettings GetDefault()

Get a new instance of the default CloudControlsPartnerMonitoringSettings.

Returns
Type Description
CloudControlsPartnerMonitoringSettings

A new instance of the default CloudControlsPartnerMonitoringSettings.