Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::SecretVersion (v0.17.2)

Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::SecretVersion.

A secret version resource in the Secret Manager API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#client_specified_payload_checksum

def client_specified_payload_checksum() -> ::Boolean
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#destroy_time

def destroy_time() -> ::Google::Protobuf::Timestamp
Returns

#etag

def etag() -> ::String
Returns
  • (::String) — Output only. Etag of the currently stored SecretVersion.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the SecretVersion in the format projects/*/secrets/*/versions/*.

    SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.

#replication_status

def replication_status() -> ::Google::Cloud::SecretManager::V1::ReplicationStatus
Returns

#replication_status=

def replication_status=(value) -> ::Google::Cloud::SecretManager::V1::ReplicationStatus
Parameter
Returns

#state

def state() -> ::Google::Cloud::SecretManager::V1::SecretVersion::State
Returns