Class: Google::Apis::GkehubV1alpha::ServiceMeshCondition

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



6848
6849
6850
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6848

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)


6831
6832
6833
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6831

def code
  @code
end

#detailsString

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

Returns:

  • (String)


6836
6837
6838
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6836

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


6841
6842
6843
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6841

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


6846
6847
6848
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6846

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6853
6854
6855
6856
6857
6858
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6853

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