class Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage

AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.

Attributes

args[RW]

A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. Corresponds to the JSON property `args` @return [Hash<String,Object>]

description[RW]

A human readable description of what the error means. It is suitable for non- internationalize display purposes. Corresponds to the JSON property `description` @return [String]

message_base[RW]

AnalysisMessageBase describes some common information that is needed for all messages. Corresponds to the JSON property `messageBase` @return [Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessageBase]

resource_paths[RW]

A list of strings specifying the resource identifiers that were the cause of message generation. A “path” here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE/)?RESOURCETYPE/NAME if the cause is a resource in a cluster Corresponds to the JSON property `resourcePaths` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 2021
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1alpha/classes.rb, line 2026
def update!(**args)
  @args = args[:args] if args.key?(:args)
  @description = args[:description] if args.key?(:description)
  @message_base = args[:message_base] if args.key?(:message_base)
  @resource_paths = args[:resource_paths] if args.key?(:resource_paths)
end