Class: Google::Apis::RunV1beta1::Json
- Inherits:
-
Object
- Object
- Google::Apis::RunV1beta1::Json
- 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
-
#raw ⇒ String
Corresponds to the JSON property
raw
NOTE: Values are automatically base64 encoded/decoded in the client library.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Json
constructor
A new instance of Json.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Json
Returns a new instance of Json.
459 460 461 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#raw ⇒ String
Corresponds to the JSON property raw
NOTE: Values are automatically base64 encoded/decoded in the client library.
457 458 459 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 457 def raw @raw end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
464 465 466 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 464 def update!(**args) @raw = args[:raw] if args.key?(:raw) end |