public sealed class CollectionServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Discovery Engine v1 API class CollectionServiceSettings.
Settings for CollectionServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
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 |
|
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 |
|
- 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 |
|
- 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 |
|
- 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. |