Cloud Security Compliance v1 API - Class CmEnrollmentServiceSettings (1.0.0-beta04)

public sealed class CmEnrollmentServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Security Compliance v1 API class CmEnrollmentServiceSettings.

Settings for CmEnrollmentServiceClient instances.

Inheritance

object > ServiceSettingsBase > CmEnrollmentServiceSettings

Namespace

Google.Cloud.CloudSecurityCompliance.V1

Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

Constructors

CmEnrollmentServiceSettings()

public CmEnrollmentServiceSettings()

Constructs a new CmEnrollmentServiceSettings object with default settings.

Properties

CalculateEffectiveCmEnrollmentSettings

public CallSettings CalculateEffectiveCmEnrollmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CmEnrollmentServiceClient.CalculateEffectiveCmEnrollment and CmEnrollmentServiceClient.CalculateEffectiveCmEnrollmentAsync.

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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateCmEnrollmentSettings

public CallSettings UpdateCmEnrollmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CmEnrollmentServiceClient.UpdateCmEnrollment and CmEnrollmentServiceClient.UpdateCmEnrollmentAsync .

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 CmEnrollmentServiceSettings Clone()

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

Returns
Type Description
CmEnrollmentServiceSettings

A deep clone of this CmEnrollmentServiceSettings object.

GetDefault()

public static CmEnrollmentServiceSettings GetDefault()

Get a new instance of the default CmEnrollmentServiceSettings.

Returns
Type Description
CmEnrollmentServiceSettings

A new instance of the default CmEnrollmentServiceSettings.