Discovery Engine v1 API - Class CollectionServiceSettings (1.17.0)

public sealed class CollectionServiceSettings : ServiceSettingsBase

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

Settings for CollectionServiceClient instances.

Inheritance

object > ServiceSettingsBase > CollectionServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

CollectionServiceSettings()

public CollectionServiceSettings()

Constructs a new CollectionServiceSettings object with default settings.

Properties

DeleteCollectionOperationsSettings

public OperationsSettings DeleteCollectionOperationsSettings { get; set; }

Long Running Operation settings for calls to CollectionServiceClient.DeleteCollection and CollectionServiceClient.DeleteCollectionAsync.

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.

DeleteCollectionSettings

public CallSettings DeleteCollectionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CollectionServiceClient.DeleteCollection and CollectionServiceClient.DeleteCollectionAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CollectionServiceClient.GetIamPolicy and CollectionServiceClient.GetIamPolicyAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CollectionServiceClient.SetIamPolicy and CollectionServiceClient.SetIamPolicyAsync.

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

Methods

Clone()

public CollectionServiceSettings Clone()

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

Returns
Type Description
CollectionServiceSettings

A deep clone of this CollectionServiceSettings object.

GetDefault()

public static CollectionServiceSettings GetDefault()

Get a new instance of the default CollectionServiceSettings.

Returns
Type Description
CollectionServiceSettings

A new instance of the default CollectionServiceSettings.