Class: Google::Apis::GkehubV1alpha::ServiceMeshCondition
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ServiceMeshCondition
- 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
-
#code ⇒ String
Unique identifier of the condition which describes the condition recognizable to the user.
-
#details ⇒ String
A short summary about the issue.
-
#documentation_link ⇒ String
Links contains actionable information.
-
#severity ⇒ String
Severity level of the condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceMeshCondition
constructor
A new instance of ServiceMeshCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceMeshCondition
Returns a new instance of ServiceMeshCondition.
5988 5989 5990 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Unique identifier of the condition which describes the condition recognizable
to the user.
Corresponds to the JSON property code
5971 5972 5973 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5971 def code @code end |
#details ⇒ String
A short summary about the issue.
Corresponds to the JSON property details
5976 5977 5978 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5976 def details @details end |
#documentation_link ⇒ String
Links contains actionable information.
Corresponds to the JSON property documentationLink
5981 5982 5983 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5981 def documentation_link @documentation_link end |
#severity ⇒ String
Severity level of the condition.
Corresponds to the JSON property severity
5986 5987 5988 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5986 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5993 5994 5995 5996 5997 5998 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5993 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 |