Class: Google::Apis::GkehubV1beta::ServiceMeshFeatureCondition

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

Returns a new instance of ServiceMeshFeatureCondition.



6593
6594
6595
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6593

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)


6576
6577
6578
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6576

def code
  @code
end

#detailsString

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

Returns:

  • (String)


6581
6582
6583
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6581

def details
  @details
end

Links contains actionable information. Corresponds to the JSON property documentationLink

Returns:

  • (String)


6586
6587
6588
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6586

def documentation_link
  @documentation_link
end

#severityString

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

Returns:

  • (String)


6591
6592
6593
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6591

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6598
6599
6600
6601
6602
6603
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6598

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