Class OrgPolicySettings (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class OrgPolicySettings : ServiceSettingsBase

Settings for OrgPolicyClient instances.

Inheritance

Object > ServiceSettingsBase > OrgPolicySettings

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

OrgPolicySettings()

public OrgPolicySettings()

Constructs a new OrgPolicySettings object with default settings.

Properties

CreatePolicySettings

public CallSettings CreatePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.CreatePolicy and OrgPolicyClient.CreatePolicyAsync.

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

DeletePolicySettings

public CallSettings DeletePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.DeletePolicy and OrgPolicyClient.DeletePolicyAsync.

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

GetEffectivePolicySettings

public CallSettings GetEffectivePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.GetEffectivePolicy and OrgPolicyClient.GetEffectivePolicyAsync.

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

GetPolicySettings

public CallSettings GetPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.GetPolicy and OrgPolicyClient.GetPolicyAsync.

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

ListConstraintsSettings

public CallSettings ListConstraintsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.ListConstraints and OrgPolicyClient.ListConstraintsAsync.

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

ListPoliciesSettings

public CallSettings ListPoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.ListPolicies and OrgPolicyClient.ListPoliciesAsync.

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

UpdatePolicySettings

public CallSettings UpdatePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrgPolicyClient.UpdatePolicy and OrgPolicyClient.UpdatePolicyAsync.

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

Methods

Clone()

public OrgPolicySettings Clone()

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

Returns
TypeDescription
OrgPolicySettings

A deep clone of this OrgPolicySettings object.

GetDefault()

public static OrgPolicySettings GetDefault()

Get a new instance of the default OrgPolicySettings.

Returns
TypeDescription
OrgPolicySettings

A new instance of the default OrgPolicySettings.