Class: Google::Apis::GkehubV1::ServiceMeshCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb

Overview

Condition being reported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshCondition

Returns a new instance of ServiceMeshCondition.



5304
5305
5306
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5304

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

Instance Attribute Details

#codeString

Unique identifier of the condition which describes the condition recognizable to the user. Corresponds to the JSON property code

Returns:

  • (String)


5287
5288
5289
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5287

def code
  @code
end

#detailsString

A short summary about the issue. Corresponds to the JSON property details

Returns:

  • (String)


5292
5293
5294
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5292

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


5297
5298
5299
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5297

def documentation_link
  @documentation_link
end

#severityString

Severity level of the condition. Corresponds to the JSON property severity

Returns:

  • (String)


5302
5303
5304
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5302

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5309
5310
5311
5312
5313
5314
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5309

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @details = args[:details] if args.key?(:details)
  @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
  @severity = args[:severity] if args.key?(:severity)
end