Class: Google::Apis::GkeonpremV1::ValidationCheckResult
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::ValidationCheckResult
- 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
-
#category ⇒ String
The category of the validation.
-
#description ⇒ String
The description of the validation check.
-
#details ⇒ String
Detailed failure information, which might be unformatted.
-
#reason ⇒ String
A human-readable message of the check failure.
-
#state ⇒ String
The validation check state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationCheckResult
constructor
A new instance of ValidationCheckResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidationCheckResult
Returns a new instance of ValidationCheckResult.
3299 3300 3301 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
The category of the validation.
Corresponds to the JSON property category
3277 3278 3279 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3277 def category @category end |
#description ⇒ String
The description of the validation check.
Corresponds to the JSON property description
3282 3283 3284 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3282 def description @description end |
#details ⇒ String
Detailed failure information, which might be unformatted.
Corresponds to the JSON property details
3287 3288 3289 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3287 def details @details end |
#reason ⇒ String
A human-readable message of the check failure.
Corresponds to the JSON property reason
3292 3293 3294 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3292 def reason @reason end |
#state ⇒ String
The validation check state.
Corresponds to the JSON property state
3297 3298 3299 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3297 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3304 3305 3306 3307 3308 3309 3310 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3304 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 |