public sealed class InstanceAdminSettings : ServiceSettingsBase
Settings for InstanceAdminClient instances.
Namespace
Google.Cloud.Spanner.Admin.Instance.V1Assembly
Google.Cloud.Spanner.Admin.Instance.V1.dll
Constructors
InstanceAdminSettings()
public InstanceAdminSettings()
Constructs a new InstanceAdminSettings object with default settings.
Properties
CreateInstanceOperationsSettings
public OperationsSettings CreateInstanceOperationsSettings { get; set; }
Long Running Operation settings for calls to InstanceAdminClient.CreateInstance
and
InstanceAdminClient.CreateInstanceAsync
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateInstanceSettings
public CallSettings CreateInstanceSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.CreateInstance
and InstanceAdminClient.CreateInstanceAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 3600 seconds.
DeleteInstanceSettings
public CallSettings DeleteInstanceSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.DeleteInstance
and InstanceAdminClient.DeleteInstanceAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 3600 seconds.
GetIamPolicySettings
public CallSettings GetIamPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.GetIamPolicy
and InstanceAdminClient.GetIamPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 30 seconds.
GetInstanceConfigSettings
public CallSettings GetInstanceConfigSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.GetInstanceConfig
and InstanceAdminClient.GetInstanceConfigAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 3600 seconds.
GetInstanceSettings
public CallSettings GetInstanceSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.GetInstance
and InstanceAdminClient.GetInstanceAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 3600 seconds.
ListInstanceConfigsSettings
public CallSettings ListInstanceConfigsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.ListInstanceConfigs
and InstanceAdminClient.ListInstanceConfigsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 3600 seconds.
ListInstancesSettings
public CallSettings ListInstancesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.ListInstances
and InstanceAdminClient.ListInstancesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 32000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 3600 seconds.
SetIamPolicySettings
public CallSettings SetIamPolicySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.SetIamPolicy
and InstanceAdminClient.SetIamPolicyAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 30 seconds.
TestIamPermissionsSettings
public CallSettings TestIamPermissionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.TestIamPermissions
and InstanceAdminClient.TestIamPermissionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 30 seconds.
UpdateInstanceOperationsSettings
public OperationsSettings UpdateInstanceOperationsSettings { get; set; }
Long Running Operation settings for calls to InstanceAdminClient.UpdateInstance
and
InstanceAdminClient.UpdateInstanceAsync
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
UpdateInstanceSettings
public CallSettings UpdateInstanceSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
InstanceAdminClient.UpdateInstance
and InstanceAdminClient.UpdateInstanceAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 3600 seconds.
Methods
Clone()
public InstanceAdminSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
InstanceAdminSettings | A deep clone of this InstanceAdminSettings object. |
GetDefault()
public static InstanceAdminSettings GetDefault()
Get a new instance of the default InstanceAdminSettings.
Returns | |
---|---|
Type | Description |
InstanceAdminSettings | A new instance of the default InstanceAdminSettings. |