public sealed class RegionsSettings : ServiceSettingsBase
Reference documentation and code samples for the Compute Engine v1 API class RegionsSettings.
Settings for RegionsClient instances.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionsSettings()
public RegionsSettings()
Constructs a new RegionsSettings object with default settings.
Properties
GetSettings
public CallSettings GetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to RegionsClient.Get
and
RegionsClient.GetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
ListSettings
public CallSettings ListSettings { get; set; }
CallSettings for synchronous and asynchronous calls to RegionsClient.List
and
RegionsClient.ListAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
Methods
Clone()
public RegionsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
RegionsSettings |
A deep clone of this RegionsSettings object. |
GetDefault()
public static RegionsSettings GetDefault()
Get a new instance of the default RegionsSettings.
Returns | |
---|---|
Type | Description |
RegionsSettings |
A new instance of the default RegionsSettings. |