class Google::Apis::RunV1beta1::JsonSchemaPropsOrStringArray

JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.

Attributes

property[RW]

Corresponds to the JSON property `property` @return [Array<String>]

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