public sealed class ControlServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Retail v2 API class ControlServiceSettings.
Settings for ControlServiceClient instances.
Namespace
Google.Cloud.Retail.V2Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
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 |
UpdateControlSettings
public CallSettings UpdateControlSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ControlServiceClient.UpdateControl
and ControlServiceClient.UpdateControlAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
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. |