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.



5727
5728
5729
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5727

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)


5710
5711
5712
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5710

def code
  @code
end

#detailsString

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

Returns:

  • (String)


5715
5716
5717
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5715

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


5720
5721
5722
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5720

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


5725
5726
5727
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5725

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5732
5733
5734
5735
5736
5737
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5732

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