Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::DisableSecretVersionRequest (v0.16.0)

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

Request message for SecretManagerService.DisableSecretVersion.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.
Returns
  • (::String) — Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.

#name

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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the SecretVersion to disable in the format projects/*/secrets/*/versions/*.
Returns
  • (::String) — Required. The resource name of the SecretVersion to disable in the format projects/*/secrets/*/versions/*.