class 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
.
Attributes
data[RW]
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. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/secretmanager_v1beta1/classes.rb, line 666 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_v1beta1/classes.rb, line 671 def update!(**args) @data = args[:data] if args.key?(:data) end