public sealed class ReservationBlocksSettings : ServiceSettingsBase
Reference documentation and code samples for the Compute Engine v1 API class ReservationBlocksSettings.
Settings for ReservationBlocksClient instances.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ReservationBlocksSettings()
public ReservationBlocksSettings()
Constructs a new ReservationBlocksSettings object with default settings.
Properties
GetSettings
public CallSettings GetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to ReservationBlocksClient.Get
and ReservationBlocksClient.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
ReservationBlocksClient.List
and ReservationBlocksClient.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.
PerformMaintenanceOperationsSettings
public OperationsSettings PerformMaintenanceOperationsSettings { get; set; }
Long Running Operation settings for calls to ReservationBlocksClient.PerformMaintenance
and
ReservationBlocksClient.PerformMaintenanceAsync
.
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.
PerformMaintenanceSettings
public CallSettings PerformMaintenanceSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ReservationBlocksClient.PerformMaintenance
and ReservationBlocksClient.PerformMaintenanceAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 600 seconds.
Methods
Clone()
public ReservationBlocksSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ReservationBlocksSettings |
A deep clone of this ReservationBlocksSettings object. |
GetDefault()
public static ReservationBlocksSettings GetDefault()
Get a new instance of the default ReservationBlocksSettings.
Returns | |
---|---|
Type | Description |
ReservationBlocksSettings |
A new instance of the default ReservationBlocksSettings. |