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