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.



3283
3284
3285
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3283

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

Instance Attribute Details

#categoryString

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

Returns:

  • (String)


3261
3262
3263
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3261

def category
  @category
end

#descriptionString

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

Returns:

  • (String)


3266
3267
3268
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3266

def description
  @description
end

#detailsString

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

Returns:

  • (String)


3271
3272
3273
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3271

def details
  @details
end

#reasonString

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

Returns:

  • (String)


3276
3277
3278
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3276

def reason
  @reason
end

#stateString

The validation check state. Corresponds to the JSON property state

Returns:

  • (String)


3281
3282
3283
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3281

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3288
3289
3290
3291
3292
3293
3294
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3288

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