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.



6802
6803
6804
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6802

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)


6785
6786
6787
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6785

def code
  @code
end

#detailsString

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

Returns:

  • (String)


6790
6791
6792
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6790

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


6795
6796
6797
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6795

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


6800
6801
6802
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6800

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6807
6808
6809
6810
6811
6812
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6807

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