class Google::Apis::RunV1beta1::JsonSchemaPropsOrArray
JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.
Attributes
json_schemas[RW]
Corresponds to the JSON property `jsonSchemas` @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
schema[RW]
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (json- schema.org/). Corresponds to the JSON property `schema` @return [Google::Apis::RunV1beta1::JsonSchemaProps]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/run_v1beta1/classes.rb, line 710 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/run_v1beta1/classes.rb, line 715 def update!(**args) @json_schemas = args[:json_schemas] if args.key?(:json_schemas) @schema = args[:schema] if args.key?(:schema) end