Secret Manager v1beta2 API - Class SecretManagerServiceSettings (1.0.0-beta03)

public sealed class SecretManagerServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Secret Manager v1beta2 API class SecretManagerServiceSettings.

Settings for SecretManagerServiceClient instances.

Inheritance

object > ServiceSettingsBase > SecretManagerServiceSettings

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.dll

Constructors

SecretManagerServiceSettings()

public SecretManagerServiceSettings()

Constructs a new SecretManagerServiceSettings object with default settings.

Properties

AccessSecretVersionSettings

public CallSettings AccessSecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.AccessSecretVersion and SecretManagerServiceClient.AccessSecretVersionAsync.

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

AddSecretVersionSettings

public CallSettings AddSecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.AddSecretVersion and SecretManagerServiceClient.AddSecretVersionAsync .

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

CreateSecretSettings

public CallSettings CreateSecretSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.CreateSecret and SecretManagerServiceClient.CreateSecretAsync.

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

DeleteSecretSettings

public CallSettings DeleteSecretSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.DeleteSecret and SecretManagerServiceClient.DeleteSecretAsync.

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

DestroySecretVersionSettings

public CallSettings DestroySecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.DestroySecretVersion and SecretManagerServiceClient.DestroySecretVersionAsync.

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

DisableSecretVersionSettings

public CallSettings DisableSecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.DisableSecretVersion and SecretManagerServiceClient.DisableSecretVersionAsync.

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

EnableSecretVersionSettings

public CallSettings EnableSecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.EnableSecretVersion and SecretManagerServiceClient.EnableSecretVersionAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.GetIamPolicy and SecretManagerServiceClient.GetIamPolicyAsync.

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

GetSecretSettings

public CallSettings GetSecretSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.GetSecret and SecretManagerServiceClient.GetSecretAsync.

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

GetSecretVersionSettings

public CallSettings GetSecretVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.GetSecretVersion and SecretManagerServiceClient.GetSecretVersionAsync .

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

ListSecretVersionsSettings

public CallSettings ListSecretVersionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.ListSecretVersions and SecretManagerServiceClient.ListSecretVersionsAsync.

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

ListSecretsSettings

public CallSettings ListSecretsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.ListSecrets and SecretManagerServiceClient.ListSecretsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • 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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.SetIamPolicy and SecretManagerServiceClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.TestIamPermissions and SecretManagerServiceClient.TestIamPermissionsAsync.

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

UpdateSecretSettings

public CallSettings UpdateSecretSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SecretManagerServiceClient.UpdateSecret and SecretManagerServiceClient.UpdateSecretAsync.

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

Methods

Clone()

public SecretManagerServiceSettings Clone()

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

Returns
Type Description
SecretManagerServiceSettings

A deep clone of this SecretManagerServiceSettings object.

GetDefault()

public static SecretManagerServiceSettings GetDefault()

Get a new instance of the default SecretManagerServiceSettings.

Returns
Type Description
SecretManagerServiceSettings

A new instance of the default SecretManagerServiceSettings.