public sealed class ServiceControllerSettings : ServiceSettingsBase
Reference documentation and code samples for the Service Control v1 API class ServiceControllerSettings.
Settings for ServiceControllerClient instances.
Namespace
Google.Cloud.ServiceControl.V1Assembly
Google.Cloud.ServiceControl.V1.dll
Constructors
ServiceControllerSettings()
public ServiceControllerSettings()
Constructs a new ServiceControllerSettings object with default settings.
Properties
CheckSettings
public CallSettings CheckSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceControllerClient.Check
and ServiceControllerClient.CheckAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 5 seconds.
ReportSettings
public CallSettings ReportSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ServiceControllerClient.Report
and ServiceControllerClient.ReportAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 16 seconds.
Methods
Clone()
public ServiceControllerSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ServiceControllerSettings | A deep clone of this ServiceControllerSettings object. |
GetDefault()
public static ServiceControllerSettings GetDefault()
Get a new instance of the default ServiceControllerSettings.
Returns | |
---|---|
Type | Description |
ServiceControllerSettings | A new instance of the default ServiceControllerSettings. |