Class: Google::Apis::GkeonpremV1::ValidationCheckResult

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

ValidationCheckResult defines the details about the validation check.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidationCheckResult

Returns a new instance of ValidationCheckResult.



3777
3778
3779
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3777

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

Instance Attribute Details

#categoryString

The category of the validation. Corresponds to the JSON property category

Returns:

  • (String)


3755
3756
3757
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3755

def category
  @category
end

#descriptionString

The description of the validation check. Corresponds to the JSON property description

Returns:

  • (String)


3760
3761
3762
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3760

def description
  @description
end

#detailsString

Detailed failure information, which might be unformatted. Corresponds to the JSON property details

Returns:

  • (String)


3765
3766
3767
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3765

def details
  @details
end

#reasonString

A human-readable message of the check failure. Corresponds to the JSON property reason

Returns:

  • (String)


3770
3771
3772
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3770

def reason
  @reason
end

#stateString

The validation check state. Corresponds to the JSON property state

Returns:

  • (String)


3775
3776
3777
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3775

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3782
3783
3784
3785
3786
3787
3788
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3782

def update!(**args)
  @category = args[:category] if args.key?(:category)
  @description = args[:description] if args.key?(:description)
  @details = args[:details] if args.key?(:details)
  @reason = args[:reason] if args.key?(:reason)
  @state = args[:state] if args.key?(:state)
end