public sealed class RegionCommitmentsSettings : ServiceSettingsBase
Reference documentation and code samples for the Compute Engine v1 API class RegionCommitmentsSettings.
Settings for RegionCommitmentsClient instances.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionCommitmentsSettings()
public RegionCommitmentsSettings()
Constructs a new RegionCommitmentsSettings object with default settings.
Properties
AggregatedListSettings
public CallSettings AggregatedListSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RegionCommitmentsClient.AggregatedList
and RegionCommitmentsClient.AggregatedListAsync
.
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.
GetSettings
public CallSettings GetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to RegionCommitmentsClient.Get
and RegionCommitmentsClient.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.
InsertOperationsSettings
public OperationsSettings InsertOperationsSettings { get; set; }
Long Running Operation settings for calls to RegionCommitmentsClient.Insert
and
RegionCommitmentsClient.InsertAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
InsertSettings
public CallSettings InsertSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RegionCommitmentsClient.Insert
and RegionCommitmentsClient.InsertAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 600 seconds.
ListSettings
public CallSettings ListSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RegionCommitmentsClient.List
and RegionCommitmentsClient.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.
UpdateOperationsSettings
public OperationsSettings UpdateOperationsSettings { get; set; }
Long Running Operation settings for calls to RegionCommitmentsClient.Update
and
RegionCommitmentsClient.UpdateAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
UpdateSettings
public CallSettings UpdateSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RegionCommitmentsClient.Update
and RegionCommitmentsClient.UpdateAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 600 seconds.
Methods
Clone()
public RegionCommitmentsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
RegionCommitmentsSettings | A deep clone of this RegionCommitmentsSettings object. |
GetDefault()
public static RegionCommitmentsSettings GetDefault()
Get a new instance of the default RegionCommitmentsSettings.
Returns | |
---|---|
Type | Description |
RegionCommitmentsSettings | A new instance of the default RegionCommitmentsSettings. |