Class: Google::Apis::GkeonpremV1::ValidationCheck
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::ValidationCheck
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
ValidationCheck represents the result of preflight check.
Instance Attribute Summary collapse
-
#option ⇒ String
Options used for the validation check Corresponds to the JSON property
option
. -
#scenario ⇒ String
Output only.
-
#status ⇒ Google::Apis::GkeonpremV1::ValidationCheckStatus
ValidationCheckStatus defines the detailed validation check status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationCheck
constructor
A new instance of ValidationCheck.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidationCheck
Returns a new instance of ValidationCheck.
3530 3531 3532 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3530 def initialize(**args) update!(**args) end |
Instance Attribute Details
#option ⇒ String
Options used for the validation check
Corresponds to the JSON property option
3518 3519 3520 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3518 def option @option end |
#scenario ⇒ String
Output only. The scenario when the preflight checks were run.
Corresponds to the JSON property scenario
3523 3524 3525 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3523 def scenario @scenario end |
#status ⇒ Google::Apis::GkeonpremV1::ValidationCheckStatus
ValidationCheckStatus defines the detailed validation check status.
Corresponds to the JSON property status
3528 3529 3530 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3528 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3535 3536 3537 3538 3539 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3535 def update!(**args) @option = args[:option] if args.key?(:option) @scenario = args[:scenario] if args.key?(:scenario) @status = args[:status] if args.key?(:status) end |