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.
15237 15238 15239 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15237 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
15235 15236 15237 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15235 def label_id @label_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15242 15243 15244 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15242 def update!(**args) @label_id = args[:label_id] if args.key?(:label_id) end |