Class FirestoreAdminSettings (2.4.0)

public sealed class FirestoreAdminSettings : ServiceSettingsBase

Settings for FirestoreAdminClient instances.

Inheritance

Object > ServiceSettingsBase > FirestoreAdminSettings

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Constructors

FirestoreAdminSettings()

public FirestoreAdminSettings()

Constructs a new FirestoreAdminSettings object with default settings.

Properties

CreateIndexOperationsSettings

public OperationsSettings CreateIndexOperationsSettings { get; set; }

Long Running Operation settings for calls to FirestoreAdminClient.CreateIndex and FirestoreAdminClient.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 FirestoreAdminClient.CreateIndex and FirestoreAdminClient.CreateIndexAsync.

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

DeleteIndexSettings

public CallSettings DeleteIndexSettings { get; set; }

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

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, Internal, DeadlineExceeded.
  • Timeout: 60 seconds.

ExportDocumentsOperationsSettings

public OperationsSettings ExportDocumentsOperationsSettings { get; set; }

Long Running Operation settings for calls to FirestoreAdminClient.ExportDocuments and FirestoreAdminClient.ExportDocumentsAsync.

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.

ExportDocumentsSettings

public CallSettings ExportDocumentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.ExportDocuments and FirestoreAdminClient.ExportDocumentsAsync.

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

GetDatabaseSettings

public CallSettings GetDatabaseSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.GetDatabase and FirestoreAdminClient.GetDatabaseAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetFieldSettings

public CallSettings GetFieldSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.GetField and FirestoreAdminClient.GetFieldAsync.

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, Internal, DeadlineExceeded.
  • Timeout: 60 seconds.

GetIndexSettings

public CallSettings GetIndexSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.GetIndex and FirestoreAdminClient.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, Internal, DeadlineExceeded.
  • Timeout: 60 seconds.

ImportDocumentsOperationsSettings

public OperationsSettings ImportDocumentsOperationsSettings { get; set; }

Long Running Operation settings for calls to FirestoreAdminClient.ImportDocuments and FirestoreAdminClient.ImportDocumentsAsync.

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.

ImportDocumentsSettings

public CallSettings ImportDocumentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.ImportDocuments and FirestoreAdminClient.ImportDocumentsAsync.

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

ListDatabasesSettings

public CallSettings ListDatabasesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.ListDatabases and FirestoreAdminClient.ListDatabasesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListFieldsSettings

public CallSettings ListFieldsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.ListFields and FirestoreAdminClient.ListFieldsAsync.

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, Internal, DeadlineExceeded.
  • Timeout: 60 seconds.

ListIndexesSettings

public CallSettings ListIndexesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.ListIndexes and FirestoreAdminClient.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, Internal, DeadlineExceeded.
  • Timeout: 60 seconds.

UpdateDatabaseOperationsSettings

public OperationsSettings UpdateDatabaseOperationsSettings { get; set; }

Long Running Operation settings for calls to FirestoreAdminClient.UpdateDatabase and FirestoreAdminClient.UpdateDatabaseAsync.

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.

UpdateDatabaseSettings

public CallSettings UpdateDatabaseSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.UpdateDatabase and FirestoreAdminClient.UpdateDatabaseAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

UpdateFieldOperationsSettings

public OperationsSettings UpdateFieldOperationsSettings { get; set; }

Long Running Operation settings for calls to FirestoreAdminClient.UpdateField and FirestoreAdminClient.UpdateFieldAsync.

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.

UpdateFieldSettings

public CallSettings UpdateFieldSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FirestoreAdminClient.UpdateField and FirestoreAdminClient.UpdateFieldAsync.

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

Methods

Clone()

public FirestoreAdminSettings Clone()

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

Returns
TypeDescription
FirestoreAdminSettings

A deep clone of this FirestoreAdminSettings object.

GetDefault()

public static FirestoreAdminSettings GetDefault()

Get a new instance of the default FirestoreAdminSettings.

Returns
TypeDescription
FirestoreAdminSettings

A new instance of the default FirestoreAdminSettings.