Secret Manager V1beta1 API - Class Google::Cloud::SecretManager::V1beta1::SecretVersion (v0.9.0)

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

A secret version resource in the Secret Manager API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

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

#destroy_time

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

#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.

#state

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