Policy Simulator v1 API - Class OrgPolicyViolationsPreviewServiceSettings (1.3.0)

public sealed class OrgPolicyViolationsPreviewServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Policy Simulator v1 API class OrgPolicyViolationsPreviewServiceSettings.

Settings for OrgPolicyViolationsPreviewServiceClient instances.

Inheritance

object > ServiceSettingsBase > OrgPolicyViolationsPreviewServiceSettings

Namespace

Google.Cloud.PolicySimulator.V1

Assembly

Google.Cloud.PolicySimulator.V1.dll

Constructors

OrgPolicyViolationsPreviewServiceSettings()

public OrgPolicyViolationsPreviewServiceSettings()

Constructs a new OrgPolicyViolationsPreviewServiceSettings object with default settings.

Properties

CreateOrgPolicyViolationsPreviewOperationsSettings

public OperationsSettings CreateOrgPolicyViolationsPreviewOperationsSettings { get; set; }

Long Running Operation settings for calls to OrgPolicyViolationsPreviewServiceClient.CreateOrgPolicyViolationsPreview and OrgPolicyViolationsPreviewServiceClient.CreateOrgPolicyViolationsPreviewAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateOrgPolicyViolationsPreviewSettings

public CallSettings CreateOrgPolicyViolationsPreviewSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyViolationsPreviewServiceClient.CreateOrgPolicyViolationsPreview and OrgPolicyViolationsPreviewServiceClient.CreateOrgPolicyViolationsPreviewAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetOrgPolicyViolationsPreviewSettings

public CallSettings GetOrgPolicyViolationsPreviewSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyViolationsPreviewServiceClient.GetOrgPolicyViolationsPreview and OrgPolicyViolationsPreviewServiceClient.GetOrgPolicyViolationsPreviewAsync.

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.

ListOrgPolicyViolationsPreviewsSettings

public CallSettings ListOrgPolicyViolationsPreviewsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPreviews and OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPreviewsAsync.

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.

ListOrgPolicyViolationsSettings

public CallSettings ListOrgPolicyViolationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolations and OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsAsync.

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

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

Returns
Type Description
OrgPolicyViolationsPreviewServiceSettings

A deep clone of this OrgPolicyViolationsPreviewServiceSettings object.

GetDefault()

public static OrgPolicyViolationsPreviewServiceSettings GetDefault()

Get a new instance of the default OrgPolicyViolationsPreviewServiceSettings.

Returns
Type Description
OrgPolicyViolationsPreviewServiceSettings

A new instance of the default OrgPolicyViolationsPreviewServiceSettings.