Cloud Datastore v1 API - Class DatastoreAdminSettings (2.4.0)

public sealed class DatastoreAdminSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Datastore v1 API class DatastoreAdminSettings.

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
DatastoreAdminSettings

A deep clone of this DatastoreAdminSettings object.

GetDefault()

public static DatastoreAdminSettings GetDefault()

Get a new instance of the default DatastoreAdminSettings.

Returns
Type Description
DatastoreAdminSettings

A new instance of the default DatastoreAdminSettings.