class Google::Apis::RunV1beta1::JsonSchemaPropsOrBool

JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.

Attributes

allows[RW]

Corresponds to the JSON property `allows` @return [Boolean]

allows?[RW]

Corresponds to the JSON property `allows` @return [Boolean]

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 738
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 743
def update!(**args)
  @allows = args[:allows] if args.key?(:allows)
  @schema = args[:schema] if args.key?(:schema)
end