Class InstanceAdminSettings (3.5.0)

public sealed class InstanceAdminSettings : ServiceSettingsBase

Settings for InstanceAdminClient instances.

Inheritance

Object > Google.Api.Gax.Grpc.ServiceSettingsBase > InstanceAdminSettings

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

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
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default Google.Api.Gax.PollSettings of:

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

CreateInstanceSettings

public CallSettings CreateInstanceSettings { get; set; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.CreateInstance and InstanceAdminClient.CreateInstanceAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 3600 seconds.

DeleteInstanceSettings

public CallSettings DeleteInstanceSettings { get; set; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.DeleteInstance and InstanceAdminClient.DeleteInstanceAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.GetIamPolicy and InstanceAdminClient.GetIamPolicyAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.GetInstanceConfig and InstanceAdminClient.GetInstanceConfigAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.GetInstance and InstanceAdminClient.GetInstanceAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.ListInstanceConfigs and InstanceAdminClient.ListInstanceConfigsAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.ListInstances and InstanceAdminClient.ListInstancesAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.SetIamPolicy and InstanceAdminClient.SetIamPolicyAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.TestIamPermissions and InstanceAdminClient.TestIamPermissionsAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default Google.Api.Gax.PollSettings of:

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

UpdateInstanceSettings

public CallSettings UpdateInstanceSettings { get; set; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to InstanceAdminClient.UpdateInstance and InstanceAdminClient.UpdateInstanceAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • 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
TypeDescription
InstanceAdminSettings

A deep clone of this InstanceAdminSettings object.

GetDefault()

public static InstanceAdminSettings GetDefault()

Get a new instance of the default InstanceAdminSettings.

Returns
TypeDescription
InstanceAdminSettings

A new instance of the default InstanceAdminSettings.