Class: Google::Apis::RunV1beta1::JsonSchemaPropsOrStringArray
- Inherits:
-
Object
- Object
- Google::Apis::RunV1beta1::JsonSchemaPropsOrStringArray
- 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
JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.
Instance Attribute Summary collapse
-
#property ⇒ Array<String>
Corresponds to the JSON property
property
. -
#schema ⇒ Google::Apis::RunV1beta1::JsonSchemaProps
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- schema.org/).
Instance Method Summary collapse
-
#initialize(**args) ⇒ JsonSchemaPropsOrStringArray
constructor
A new instance of JsonSchemaPropsOrStringArray.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JsonSchemaPropsOrStringArray
Returns a new instance of JsonSchemaPropsOrStringArray.
764 765 766 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 764 def initialize(**args) update!(**args) end |
Instance Attribute Details
#property ⇒ Array<String>
Corresponds to the JSON property property
756 757 758 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 756 def property @property end |
#schema ⇒ Google::Apis::RunV1beta1::JsonSchemaProps
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
schema.org/).
Corresponds to the JSON property schema
762 763 764 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 762 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
769 770 771 772 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 769 def update!(**args) @property = args[:property] if args.key?(:property) @schema = args[:schema] if args.key?(:schema) end |