class Google::Apis::CloudtraceV2::Annotation
Text annotation with a set of attributes.
Attributes
attributes[RW]
A set of attributes, each in the format `[KEY]:`. Corresponds to the JSON property `attributes` @return [Google::Apis::CloudtraceV2::Attributes]
description[RW]
Represents a string that might be shortened to a specified length. Corresponds to the JSON property `description` @return [Google::Apis::CloudtraceV2::TruncatableString]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudtrace_v2/classes.rb, line 39 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudtrace_v2/classes.rb, line 44 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @description = args[:description] if args.key?(:description) end