Class: Google::Apis::CloudsearchV1::PersonalLabelTag
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PersonalLabelTag
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
An individual instance (or "tag") of a label configured as a personal type that's associated with a message.
Instance Attribute Summary collapse
-
#label_id ⇒ String
A string ID representing the label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PersonalLabelTag
constructor
A new instance of PersonalLabelTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PersonalLabelTag
Returns a new instance of PersonalLabelTag.
15314 15315 15316 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_id ⇒ String
A string ID representing the label. Possible ID values are documented at go/
chat-labels-howto:ids. Examples: "^t" for "Starred", "^nu" for "Nudged".
Corresponds to the JSON property labelId
15312 15313 15314 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15312 def label_id @label_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15319 15320 15321 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15319 def update!(**args) @label_id = args[:label_id] if args.key?(:label_id) end |