class Google::Apis::RunV1beta1::JsonSchemaProps
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (json- schema.org/).
Attributes
JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. Corresponds to the JSON property `additionalItems` @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. Corresponds to the JSON property `additionalProperties` @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
Corresponds to the JSON property `allOf` @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
Corresponds to the JSON property `anyOf` @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface“, mapinterface“ and nil. Corresponds to the JSON property `default` @return [Google::Apis::RunV1beta1::Json]
Corresponds to the JSON property `definitions` @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
Corresponds to the JSON property `dependencies` @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaPropsOrStringArray>]
Corresponds to the JSON property `description` @return [String]
Corresponds to the JSON property `enum` @return [Array<String>]
JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface“, mapinterface“ and nil. Corresponds to the JSON property `example` @return [Google::Apis::RunV1beta1::Json]
Corresponds to the JSON property `exclusiveMaximum` @return [Boolean]
Corresponds to the JSON property `exclusiveMaximum` @return [Boolean]
Corresponds to the JSON property `exclusiveMinimum` @return [Boolean]
Corresponds to the JSON property `exclusiveMinimum` @return [Boolean]
ExternalDocumentation
allows referencing an external resource for extended documentation. Corresponds to the JSON property `externalDocs` @return [Google::Apis::RunV1beta1::ExternalDocumentation]
Corresponds to the JSON property `format` @return [String]
Corresponds to the JSON property `id` @return [String]
JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. Corresponds to the JSON property `items` @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrArray]
Corresponds to the JSON property `maxItems` @return [Fixnum]
Corresponds to the JSON property `maxLength` @return [Fixnum]
Corresponds to the JSON property `maxProperties` @return [Fixnum]
Corresponds to the JSON property `maximum` @return [Float]
Corresponds to the JSON property `minItems` @return [Fixnum]
Corresponds to the JSON property `minLength` @return [Fixnum]
Corresponds to the JSON property `minProperties` @return [Fixnum]
Corresponds to the JSON property `minimum` @return [Float]
Corresponds to the JSON property `multipleOf` @return [Float]
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (json- schema.org/). Corresponds to the JSON property `not` @return [Google::Apis::RunV1beta1::JsonSchemaProps]
Corresponds to the JSON property `oneOf` @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
Corresponds to the JSON property `pattern` @return [String]
Corresponds to the JSON property `patternProperties` @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
Corresponds to the JSON property `properties` @return [Hash<String,Google::Apis::RunV1beta1::JsonSchemaProps>]
Corresponds to the JSON property `ref` @return [String]
Corresponds to the JSON property `required` @return [Array<String>]
Corresponds to the JSON property `schema` @return [String]
Corresponds to the JSON property `title` @return [String]
Corresponds to the JSON property `type` @return [String]
Corresponds to the JSON property `uniqueItems` @return [Boolean]
Corresponds to the JSON property `uniqueItems` @return [Boolean]
Public Class Methods
# File lib/google/apis/run_v1beta1/classes.rb, line 649 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1beta1/classes.rb, line 654 def update!(**args) @additional_items = args[:additional_items] if args.key?(:additional_items) @additional_properties = args[:additional_properties] if args.key?(:additional_properties) @all_of = args[:all_of] if args.key?(:all_of) @any_of = args[:any_of] if args.key?(:any_of) @default = args[:default] if args.key?(:default) @definitions = args[:definitions] if args.key?(:definitions) @dependencies = args[:dependencies] if args.key?(:dependencies) @description = args[:description] if args.key?(:description) @enum = args[:enum] if args.key?(:enum) @example = args[:example] if args.key?(:example) @exclusive_maximum = args[:exclusive_maximum] if args.key?(:exclusive_maximum) @exclusive_minimum = args[:exclusive_minimum] if args.key?(:exclusive_minimum) @external_docs = args[:external_docs] if args.key?(:external_docs) @format = args[:format] if args.key?(:format) @id = args[:id] if args.key?(:id) @items = args[:items] if args.key?(:items) @max_items = args[:max_items] if args.key?(:max_items) @max_length = args[:max_length] if args.key?(:max_length) @max_properties = args[:max_properties] if args.key?(:max_properties) @maximum = args[:maximum] if args.key?(:maximum) @min_items = args[:min_items] if args.key?(:min_items) @min_length = args[:min_length] if args.key?(:min_length) @min_properties = args[:min_properties] if args.key?(:min_properties) @minimum = args[:minimum] if args.key?(:minimum) @multiple_of = args[:multiple_of] if args.key?(:multiple_of) @not = args[:not] if args.key?(:not) @one_of = args[:one_of] if args.key?(:one_of) @pattern = args[:pattern] if args.key?(:pattern) @pattern_properties = args[:pattern_properties] if args.key?(:pattern_properties) @properties = args[:properties] if args.key?(:properties) @ref = args[:ref] if args.key?(:ref) @required = args[:required] if args.key?(:required) @schema = args[:schema] if args.key?(:schema) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) @unique_items = args[:unique_items] if args.key?(:unique_items) end