Google Cloud Key Management Service v1 API - Class AutokeySettings (3.13.0)

public sealed class AutokeySettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Key Management Service v1 API class AutokeySettings.

Settings for AutokeyClient instances.

Inheritance

object > ServiceSettingsBase > AutokeySettings

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

AutokeySettings()

public AutokeySettings()

Constructs a new AutokeySettings object with default settings.

Properties

CreateKeyHandleOperationsSettings

public OperationsSettings CreateKeyHandleOperationsSettings { get; set; }

Long Running Operation settings for calls to AutokeyClient.CreateKeyHandle and AutokeyClient.CreateKeyHandleAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateKeyHandleSettings

public CallSettings CreateKeyHandleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutokeyClient.CreateKeyHandle and AutokeyClient.CreateKeyHandleAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetKeyHandleSettings

public CallSettings GetKeyHandleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutokeyClient.GetKeyHandle and AutokeyClient.GetKeyHandleAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 60 seconds.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListKeyHandlesSettings

public CallSettings ListKeyHandlesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutokeyClient.ListKeyHandles and AutokeyClient.ListKeyHandlesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

Methods

Clone()

public AutokeySettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
AutokeySettings

A deep clone of this AutokeySettings object.

GetDefault()

public static AutokeySettings GetDefault()

Get a new instance of the default AutokeySettings.

Returns
Type Description
AutokeySettings

A new instance of the default AutokeySettings.