Secret Manager v1 API - Class SecretManagerServiceSettings (2.3.0)

public sealed class SecretManagerServiceSettings : ServiceSettingsBase

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

Settings for SecretManagerServiceClient instances.

Inheritance

object > ServiceSettingsBase > SecretManagerServiceSettings

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecretManagerServiceSettings

A deep clone of this SecretManagerServiceSettings object.

GetDefault()

public static SecretManagerServiceSettings GetDefault()

Get a new instance of the default SecretManagerServiceSettings.

Returns
TypeDescription
SecretManagerServiceSettings

A new instance of the default SecretManagerServiceSettings.