Class: Google::Apis::RunV1beta1::CustomResourceValidation

Inherits:
Object
  • Object
show all
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

CustomResourceValidation is a list of validation methods for CustomResources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomResourceValidation

Returns a new instance of CustomResourceValidation.



411
412
413
# File 'generated/google/apis/run_v1beta1/classes.rb', line 411

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#open_apiv3_schemaGoogle::Apis::RunV1beta1::JsonSchemaProps

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). Corresponds to the JSON property openAPIV3Schema



409
410
411
# File 'generated/google/apis/run_v1beta1/classes.rb', line 409

def open_apiv3_schema
  @open_apiv3_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



416
417
418
# File 'generated/google/apis/run_v1beta1/classes.rb', line 416

def update!(**args)
  @open_apiv3_schema = args[:open_apiv3_schema] if args.key?(:open_apiv3_schema)
end