Class FirestoreAdminSettings (2.3.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
  • 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.

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
  • 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
  • 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.

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

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.