Class: Google::Apis::GkeonpremV1::ValidationCheck

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidationCheck

Returns a new instance of ValidationCheck.



3736
3737
3738
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3736

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

Instance Attribute Details

#optionString

Options used for the validation check Corresponds to the JSON property option

Returns:

  • (String)


3724
3725
3726
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3724

def option
  @option
end

#scenarioString

Output only. The scenario when the preflight checks were run. Corresponds to the JSON property scenario

Returns:

  • (String)


3729
3730
3731
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3729

def scenario
  @scenario
end

#statusGoogle::Apis::GkeonpremV1::ValidationCheckStatus

ValidationCheckStatus defines the detailed validation check status. Corresponds to the JSON property status



3734
3735
3736
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3734

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3741
3742
3743
3744
3745
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3741

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