# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::Secret (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::Secret.

A securely stored value.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_secret

    def cloud_secret() -> ::String

**Returns**

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

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

### #cloud_secret=

    def cloud_secret=(value) -> ::String

**Parameter**

- **value** (::String) --- The relative resource name of a Secret Manager secret version, in the following form:


  `projects/{project_number}/secrets/{secret_id}/versions/{version_id}`.
**Returns**

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

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