Class: Google::Apis::GkehubV2::ServiceMeshAnalysisMessageBase
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::ServiceMeshAnalysisMessageBase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/representations.rb
Overview
AnalysisMessageBase describes some common information that is needed for all messages.
Instance Attribute Summary collapse
-
#documentation_url ⇒ String
A url pointing to the Service Mesh or Istio documentation for this specific error type.
-
#level ⇒ String
Represents how severe a message is.
-
#type ⇒ Google::Apis::GkehubV2::ServiceMeshType
A unique identifier for the type of message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceMeshAnalysisMessageBase
constructor
A new instance of ServiceMeshAnalysisMessageBase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceMeshAnalysisMessageBase
Returns a new instance of ServiceMeshAnalysisMessageBase.
3099 3100 3101 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documentation_url ⇒ String
A url pointing to the Service Mesh or Istio documentation for this specific
error type.
Corresponds to the JSON property documentationUrl
3083 3084 3085 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3083 def documentation_url @documentation_url end |
#level ⇒ String
Represents how severe a message is.
Corresponds to the JSON property level
3088 3089 3090 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3088 def level @level end |
#type ⇒ Google::Apis::GkehubV2::ServiceMeshType
A unique identifier for the type of message. Display_name is intended to be
human-readable, code is intended to be machine readable. There should be a one-
to-one mapping between display_name and code. (i.e. do not re-use
display_names or codes between message types.) See istio.analysis.v1alpha1.
AnalysisMessageBase.Type
Corresponds to the JSON property type
3097 3098 3099 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3097 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3104 3105 3106 3107 3108 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3104 def update!(**args) @documentation_url = args[:documentation_url] if args.key?(:documentation_url) @level = args[:level] if args.key?(:level) @type = args[:type] if args.key?(:type) end |