public sealed class OrgPolicySettings : ServiceSettingsBaseReference documentation and code samples for the Organization Policy v2 API class OrgPolicySettings.
Settings for OrgPolicyClient instances.
Namespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
OrgPolicySettings()
public OrgPolicySettings()Constructs a new OrgPolicySettings object with default settings.
Properties
CreateCustomConstraintSettings
public CallSettings CreateCustomConstraintSettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.CreateCustomConstraint and OrgPolicyClient.CreateCustomConstraintAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
CreatePolicySettings
public CallSettings CreatePolicySettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.CreatePolicy and OrgPolicyClient.CreatePolicyAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
DeleteCustomConstraintSettings
public CallSettings DeleteCustomConstraintSettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.DeleteCustomConstraint and OrgPolicyClient.DeleteCustomConstraintAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
GetCustomConstraintSettings
public CallSettings GetCustomConstraintSettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.GetCustomConstraint and OrgPolicyClient.GetCustomConstraintAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
ListCustomConstraintsSettings
public CallSettings ListCustomConstraintsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.ListCustomConstraints and OrgPolicyClient.ListCustomConstraintsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
UpdateCustomConstraintSettings
public CallSettings UpdateCustomConstraintSettings { get; set; }CallSettings for synchronous and asynchronous calls to
OrgPolicyClient.UpdateCustomConstraint and OrgPolicyClient.UpdateCustomConstraintAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
OrgPolicySettings |
A deep clone of this OrgPolicySettings object. |
GetDefault()
public static OrgPolicySettings GetDefault()Get a new instance of the default OrgPolicySettings.
| Returns | |
|---|---|
| Type | Description |
OrgPolicySettings |
A new instance of the default OrgPolicySettings. |