public sealed class OrgPolicySettings : ServiceSettingsBase
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
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.
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.
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.
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.
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. |