Dataproc Metastore v1 API - Class Secret (2.5.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
Name Description
other Secret

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
Type Description
string

HasCloudSecret

public bool HasCloudSecret { get; }

Gets whether the "cloud_secret" field is set

Property Value
Type Description
bool

ValueCase

public Secret.ValueOneofCase ValueCase { get; }
Property Value
Type Description
Secret ValueOneofCase

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.