Discovery Engine v1 API - Class DataStoreServiceSettings (1.4.0)

public sealed class DataStoreServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Discovery Engine v1 API class DataStoreServiceSettings.

Settings for DataStoreServiceClient instances.

Inheritance

object > ServiceSettingsBase > DataStoreServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

DataStoreServiceSettings()

public DataStoreServiceSettings()

Constructs a new DataStoreServiceSettings object with default settings.

Properties

CreateDataStoreOperationsSettings

public OperationsSettings CreateDataStoreOperationsSettings { get; set; }

Long Running Operation settings for calls to DataStoreServiceClient.CreateDataStore and DataStoreServiceClient.CreateDataStoreAsync.

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.

CreateDataStoreSettings

public CallSettings CreateDataStoreSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataStoreServiceClient.CreateDataStore and DataStoreServiceClient.CreateDataStoreAsync.

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

DeleteDataStoreOperationsSettings

public OperationsSettings DeleteDataStoreOperationsSettings { get; set; }

Long Running Operation settings for calls to DataStoreServiceClient.DeleteDataStore and DataStoreServiceClient.DeleteDataStoreAsync.

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.

DeleteDataStoreSettings

public CallSettings DeleteDataStoreSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataStoreServiceClient.DeleteDataStore and DataStoreServiceClient.DeleteDataStoreAsync.

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

GetDataStoreSettings

public CallSettings GetDataStoreSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataStoreServiceClient.GetDataStore and DataStoreServiceClient.GetDataStoreAsync.

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

ListDataStoresSettings

public CallSettings ListDataStoresSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataStoreServiceClient.ListDataStores and DataStoreServiceClient.ListDataStoresAsync.

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateDataStoreSettings

public CallSettings UpdateDataStoreSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataStoreServiceClient.UpdateDataStore and DataStoreServiceClient.UpdateDataStoreAsync.

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

Methods

Clone()

public DataStoreServiceSettings Clone()

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

Returns
Type Description
DataStoreServiceSettings

A deep clone of this DataStoreServiceSettings object.

GetDefault()

public static DataStoreServiceSettings GetDefault()

Get a new instance of the default DataStoreServiceSettings.

Returns
Type Description
DataStoreServiceSettings

A new instance of the default DataStoreServiceSettings.