Class: Google::Apis::SecretmanagerV1::AccessSecretVersionResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::AccessSecretVersionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/secretmanager_v1/classes.rb,
generated/google/apis/secretmanager_v1/representations.rb,
generated/google/apis/secretmanager_v1/representations.rb
Overview
Response message for SecretManagerService.AccessSecretVersion.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name of the SecretVersion in the format
projects/*/secrets/*/ versions/*
. -
#payload ⇒ Google::Apis::SecretmanagerV1::SecretPayload
A secret payload resource in the Secret Manager API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessSecretVersionResponse
constructor
A new instance of AccessSecretVersionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessSecretVersionResponse
Returns a new instance of AccessSecretVersionResponse.
41 42 43 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name of the SecretVersion in the format projects/*/secrets/*/
versions/*
.
Corresponds to the JSON property name
33 34 35 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 33 def name @name end |
#payload ⇒ Google::Apis::SecretmanagerV1::SecretPayload
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
39 40 41 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 39 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/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 |