Compute Engine v1 API - Class LicenseCodesSettings (2.12.0)

public sealed class LicenseCodesSettings : ServiceSettingsBase

Reference documentation and code samples for the Compute Engine v1 API class LicenseCodesSettings.

Settings for LicenseCodesClient instances.

Inheritance

object > ServiceSettingsBase > LicenseCodesSettings

Namespace

Google.Cloud.Compute.V1

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
LicenseCodesSettings

A deep clone of this LicenseCodesSettings object.

GetDefault()

public static LicenseCodesSettings GetDefault()

Get a new instance of the default LicenseCodesSettings.

Returns
TypeDescription
LicenseCodesSettings

A new instance of the default LicenseCodesSettings.