Discovery Engine v1 API - Class ControlServiceSettings (1.4.0)

public sealed class ControlServiceSettings : ServiceSettingsBase

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

Settings for ControlServiceClient instances.

Inheritance

object > ServiceSettingsBase > ControlServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ControlServiceSettings()

public ControlServiceSettings()

Constructs a new ControlServiceSettings object with default settings.

Properties

CreateControlSettings

public CallSettings CreateControlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ControlServiceClient.CreateControl and ControlServiceClient.CreateControlAsync.

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

DeleteControlSettings

public CallSettings DeleteControlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ControlServiceClient.DeleteControl and ControlServiceClient.DeleteControlAsync.

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

GetControlSettings

public CallSettings GetControlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ControlServiceClient.GetControl and ControlServiceClient.GetControlAsync.

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

ListControlsSettings

public CallSettings ListControlsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ControlServiceClient.ListControls and ControlServiceClient.ListControlsAsync.

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

UpdateControlSettings

public CallSettings UpdateControlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ControlServiceClient.UpdateControl and ControlServiceClient.UpdateControlAsync.

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

Methods

Clone()

public ControlServiceSettings Clone()

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

Returns
Type Description
ControlServiceSettings

A deep clone of this ControlServiceSettings object.

GetDefault()

public static ControlServiceSettings GetDefault()

Get a new instance of the default ControlServiceSettings.

Returns
Type Description
ControlServiceSettings

A new instance of the default ControlServiceSettings.