Secret Manager V1BETA2 API - Class Google::Cloud::SecretManager::V1beta2::SecretVersion (v0.1.0)

Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::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

#customer_managed_encryption

def customer_managed_encryption() -> ::Google::Cloud::SecretManager::V1beta2::CustomerManagedEncryptionStatus
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::V1beta2::ReplicationStatus
Returns

#replication_status=

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

#scheduled_destroy_time

def scheduled_destroy_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Output only. Scheduled destroy time for secret version. This is a part of the Delayed secret version destroy feature. For a Secret with a valid version destroy TTL, when a secert version is destroyed, version is moved to disabled state and it is scheduled for destruction Version is destroyed only after the scheduled_destroy_time.

#state

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