Retail v2 API - Class ControlServiceSettings (2.6.0)

public sealed class ControlServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Retail v2 API class ControlServiceSettings.

Settings for ControlServiceClient instances.

Inheritance

object > ServiceSettingsBase > ControlServiceSettings

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.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
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteControlSettings

public CallSettings DeleteControlSettings { get; set; }

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

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

GetControlSettings

public CallSettings GetControlSettings { get; set; }

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

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

ListControlsSettings

public CallSettings ListControlsSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
LocationsSettings

UpdateControlSettings

public CallSettings UpdateControlSettings { get; set; }

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

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

Methods

Clone()

public ControlServiceSettings Clone()

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

Returns
TypeDescription
ControlServiceSettings

A deep clone of this ControlServiceSettings object.

GetDefault()

public static ControlServiceSettings GetDefault()

Get a new instance of the default ControlServiceSettings.

Returns
TypeDescription
ControlServiceSettings

A new instance of the default ControlServiceSettings.