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