Class: Google::Apis::SecretmanagerV1::SecretPayload
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::SecretPayload
- 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
A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion.
Instance Attribute Summary collapse
-
#data ⇒ String
The secret data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecretPayload
constructor
A new instance of SecretPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecretPayload
Returns a new instance of SecretPayload.
799 800 801 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 799 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
The secret data. Must be no larger than 64KiB.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
797 798 799 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 797 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
804 805 806 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 804 def update!(**args) @data = args[:data] if args.key?(:data) end |