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

Constructor Details

#initialize(**args) ⇒ CustomResourceValidation

Returns a new instance of CustomResourceValidation.



397
398
399
# File 'generated/google/apis/run_v1beta1/classes.rb', line 397

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



395
396
397
# File 'generated/google/apis/run_v1beta1/classes.rb', line 395

def open_apiv3_schema
  @open_apiv3_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



402
403
404
# File 'generated/google/apis/run_v1beta1/classes.rb', line 402

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