Class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureCondition

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) ⇒ ServiceMeshFeatureCondition

Returns a new instance of ServiceMeshFeatureCondition.



7014
7015
7016
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7014

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)


6997
6998
6999
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6997

def code
  @code
end

#detailsString

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

Returns:

  • (String)


7002
7003
7004
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7002

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


7007
7008
7009
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7007

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


7012
7013
7014
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7012

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7019
7020
7021
7022
7023
7024
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7019

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