Compute Engine v1 API - Class LicenseCodesSettings (3.1.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
Type Description
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
Type Description
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
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.