Dataproc Metastore v1 API - Class Secret (2.4.0)

public sealed class Secret : IMessage<Secret>, IEquatable<Secret>, IDeepCloneable<Secret>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataproc Metastore v1 API class Secret.

A securely stored value.

Inheritance

object > Secret

Namespace

Google.Cloud.Metastore.V1

Assembly

Google.Cloud.Metastore.V1.dll

Constructors

Secret()

public Secret()

Secret(Secret)

public Secret(Secret other)
Parameter
NameDescription
otherSecret

Properties

CloudSecret

public string CloudSecret { get; set; }

The relative resource name of a Secret Manager secret version, in the following form:

projects/{project_number}/secrets/{secret_id}/versions/{version_id}.

Property Value
TypeDescription
string

HasCloudSecret

public bool HasCloudSecret { get; }

Gets whether the "cloud_secret" field is set

Property Value
TypeDescription
bool

ValueCase

public Secret.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
SecretValueOneofCase