Class DatastoreAdminSettings (2.0.0)

public sealed class DatastoreAdminSettings : ServiceSettingsBase

Settings for DatastoreAdminClient instances.

Inheritance

Object > ServiceSettingsBase > DatastoreAdminSettings

Namespace

Google.Cloud.Datastore.Admin.V1

Assembly

Google.Cloud.Datastore.Admin.V1.dll

Constructors

DatastoreAdminSettings()

public DatastoreAdminSettings()

Constructs a new DatastoreAdminSettings object with default settings.

Properties

CreateIndexOperationsSettings

public OperationsSettings CreateIndexOperationsSettings { get; set; }

Long Running Operation settings for calls to DatastoreAdminClient.CreateIndex and DatastoreAdminClient.CreateIndexAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

CreateIndexSettings

public CallSettings CreateIndexSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.CreateIndex and DatastoreAdminClient.CreateIndexAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteIndexOperationsSettings

public OperationsSettings DeleteIndexOperationsSettings { get; set; }

Long Running Operation settings for calls to DatastoreAdminClient.DeleteIndex and DatastoreAdminClient.DeleteIndexAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

DeleteIndexSettings

public CallSettings DeleteIndexSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.DeleteIndex and DatastoreAdminClient.DeleteIndexAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

ExportEntitiesOperationsSettings

public OperationsSettings ExportEntitiesOperationsSettings { get; set; }

Long Running Operation settings for calls to DatastoreAdminClient.ExportEntities and DatastoreAdminClient.ExportEntitiesAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ExportEntitiesSettings

public CallSettings ExportEntitiesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.ExportEntities and DatastoreAdminClient.ExportEntitiesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetIndexSettings

public CallSettings GetIndexSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.GetIndex and DatastoreAdminClient.GetIndexAsync.

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

ImportEntitiesOperationsSettings

public OperationsSettings ImportEntitiesOperationsSettings { get; set; }

Long Running Operation settings for calls to DatastoreAdminClient.ImportEntities and DatastoreAdminClient.ImportEntitiesAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ImportEntitiesSettings

public CallSettings ImportEntitiesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.ImportEntities and DatastoreAdminClient.ImportEntitiesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

ListIndexesSettings

public CallSettings ListIndexesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DatastoreAdminClient.ListIndexes and DatastoreAdminClient.ListIndexesAsync.

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

Methods

Clone()

public DatastoreAdminSettings Clone()

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

Returns
TypeDescription
DatastoreAdminSettings

A deep clone of this DatastoreAdminSettings object.

GetDefault()

public static DatastoreAdminSettings GetDefault()

Get a new instance of the default DatastoreAdminSettings.

Returns
TypeDescription
DatastoreAdminSettings

A new instance of the default DatastoreAdminSettings.