Class: Google::Apis::ParametermanagerV1::ParameterVersionPayload

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/parametermanager_v1/classes.rb,
lib/google/apis/parametermanager_v1/representations.rb,
lib/google/apis/parametermanager_v1/representations.rb

Overview

Message for storing a ParameterVersion resource's payload data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParameterVersionPayload

Returns a new instance of ParameterVersionPayload.



303
304
305
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 303

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataString

Required. bytes data for storing payload. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


301
302
303
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 301

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



308
309
310
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 308

def update!(**args)
  @data = args[:data] if args.key?(:data)
end