public sealed class SecretKeySelector : IMessage<SecretKeySelector>, IEquatable<SecretKeySelector>, IDeepCloneable<SecretKeySelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class SecretKeySelector.
SecretEnvVarSource represents a source for the value of an EnvVar.
Implements
IMessageSecretKeySelector, IEquatableSecretKeySelector, IDeepCloneableSecretKeySelector, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
SecretKeySelector()
public SecretKeySelector()
SecretKeySelector(SecretKeySelector)
public SecretKeySelector(SecretKeySelector other)
Parameter | |
---|---|
Name | Description |
other | SecretKeySelector |
Properties
Secret
public string Secret { get; set; }
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
Property Value | |
---|---|
Type | Description |
string |
SecretAsSecretName
public SecretName SecretAsSecretName { get; set; }
SecretName-typed view over the Secret resource name property.
Property Value | |
---|---|
Type | Description |
SecretName |
Version
public string Version { get; set; }
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
Property Value | |
---|---|
Type | Description |
string |
VersionAsSecretVersionName
public SecretVersionName VersionAsSecretVersionName { get; set; }
SecretVersionName-typed view over the Version resource name property.
Property Value | |
---|---|
Type | Description |
SecretVersionName |