Class: Google::Apis::RunV1beta1::Json

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

Overview

JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface, map[string]interface and nil.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Json

Returns a new instance of Json.



444
445
446
# File 'generated/google/apis/run_v1beta1/classes.rb', line 444

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

Instance Attribute Details

#rawString

Corresponds to the JSON property raw NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


442
443
444
# File 'generated/google/apis/run_v1beta1/classes.rb', line 442

def raw
  @raw
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



449
450
451
# File 'generated/google/apis/run_v1beta1/classes.rb', line 449

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