Class: Google::Apis::GkehubV2alpha::ServiceMeshCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
more...

Overview

Condition being reported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshCondition

Returns a new instance of ServiceMeshCondition.

[View source]

3103
3104
3105
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3103

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)

3086
3087
3088
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3086

def code
  @code
end

#detailsString

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

Returns:

  • (String)

3091
3092
3093
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3091

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)

3096
3097
3098
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3096

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)

3101
3102
3103
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3101

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

3108
3109
3110
3111
3112
3113
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3108

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