class Google::Apis::SecretmanagerV1::AccessSecretVersionResponse

Response message for SecretManagerService.AccessSecretVersion.

Attributes

name[RW]

The resource name of the SecretVersion in the format `projects//secrets// versions/*`. Corresponds to the JSON property `name` @return [String]

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 41
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 46
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @payload = args[:payload] if args.key?(:payload)
end