Class: Google::Apis::GkehubV1beta::ServiceMeshCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



5569
5570
5571
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5569

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)


5552
5553
5554
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5552

def code
  @code
end

#detailsString

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

Returns:

  • (String)


5557
5558
5559
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5557

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


5562
5563
5564
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5562

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


5567
5568
5569
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5567

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5574
5575
5576
5577
5578
5579
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5574

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