class Google::Apis::GkehubV1alpha::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
Attributes
code[RW]
display_name[RW]
A human-readable name for the message type. e.g. “InternalError”, “ PodMissingProxy”. This should be the same for all messages of the same type. ( This corresponds to the `name` field in open-source Istio.) Corresponds to the JSON property `displayName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 2133 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 2138 def update!(**args) @code = args[:code] if args.key?(:code) @display_name = args[:display_name] if args.key?(:display_name) end