class Google::Apis::SecretmanagerV1::DisableSecretVersionRequest

Request message for SecretManagerService.DisableSecretVersion.

Attributes

etag[RW]

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. Corresponds to the JSON property `etag` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 333
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/secretmanager_v1/classes.rb, line 338
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
end