Class: Google::Apis::SecretmanagerV1beta1::AddSecretVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1beta1::AddSecretVersionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/secretmanager_v1beta1/classes.rb,
lib/google/apis/secretmanager_v1beta1/representations.rb,
lib/google/apis/secretmanager_v1beta1/representations.rb
Overview
Request message for SecretManagerService.AddSecretVersion.
Instance Attribute Summary collapse
-
#payload ⇒ Google::Apis::SecretmanagerV1beta1::SecretPayload
A secret payload resource in the Secret Manager API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddSecretVersionRequest
constructor
A new instance of AddSecretVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddSecretVersionRequest
Returns a new instance of AddSecretVersionRequest.
62 63 64 |
# File 'lib/google/apis/secretmanager_v1beta1/classes.rb', line 62 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Google::Apis::SecretmanagerV1beta1::SecretPayload
A secret payload resource in the Secret Manager API. This contains the
sensitive secret data that is associated with a SecretVersion.
Corresponds to the JSON property payload
60 61 62 |
# File 'lib/google/apis/secretmanager_v1beta1/classes.rb', line 60 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
67 68 69 |
# File 'lib/google/apis/secretmanager_v1beta1/classes.rb', line 67 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |