class Google::Apis::SecretmanagerV1::AddSecretVersionRequest

Request message for SecretManagerService.AddSecretVersion.

Attributes

payload[RW]

A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion. Corresponds to the JSON property `payload` @return [Google::Apis::SecretmanagerV1::SecretPayload]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 62
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 67
def update!(**args)
  @payload = args[:payload] if args.key?(:payload)
end