Vector Search v1 API - Class DataObjectServiceSettings (1.0.0-beta01)

public sealed class DataObjectServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Vector Search v1 API class DataObjectServiceSettings.

Settings for DataObjectServiceClient instances.

Inheritance

object > ServiceSettingsBase > DataObjectServiceSettings

Namespace

Google.Cloud.VectorSearch.V1

Assembly

Google.Cloud.VectorSearch.V1.dll

Constructors

DataObjectServiceSettings()

public DataObjectServiceSettings()

Constructs a new DataObjectServiceSettings object with default settings.

Properties

BatchCreateDataObjectsSettings

public CallSettings BatchCreateDataObjectsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.BatchCreateDataObjects and DataObjectServiceClient.BatchCreateDataObjectsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 300 seconds.

BatchDeleteDataObjectsSettings

public CallSettings BatchDeleteDataObjectsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.BatchDeleteDataObjects and DataObjectServiceClient.BatchDeleteDataObjectsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

BatchUpdateDataObjectsSettings

public CallSettings BatchUpdateDataObjectsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.BatchUpdateDataObjects and DataObjectServiceClient.BatchUpdateDataObjectsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

CreateDataObjectSettings

public CallSettings CreateDataObjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.CreateDataObject and DataObjectServiceClient.CreateDataObjectAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DeleteDataObjectSettings

public CallSettings DeleteDataObjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.DeleteDataObject and DataObjectServiceClient.DeleteDataObjectAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetDataObjectSettings

public CallSettings GetDataObjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.GetDataObject and DataObjectServiceClient.GetDataObjectAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

UpdateDataObjectSettings

public CallSettings UpdateDataObjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataObjectServiceClient.UpdateDataObject and DataObjectServiceClient.UpdateDataObjectAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public DataObjectServiceSettings Clone()

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

Returns
Type Description
DataObjectServiceSettings

A deep clone of this DataObjectServiceSettings object.

GetDefault()

public static DataObjectServiceSettings GetDefault()

Get a new instance of the default DataObjectServiceSettings.

Returns
Type Description
DataObjectServiceSettings

A new instance of the default DataObjectServiceSettings.