Class: Google::Apis::CloudsearchV1::CommunalLabelTag
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CommunalLabelTag
- 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 communal type that's associated with a message.
Instance Attribute Summary collapse
-
#creator_user_id ⇒ Fixnum
Gaia ID of the user who added the tag, if any.
-
#label_id ⇒ String
A string ID representing the label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommunalLabelTag
constructor
A new instance of CommunalLabelTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommunalLabelTag
Returns a new instance of CommunalLabelTag.
6623 6624 6625 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creator_user_id ⇒ Fixnum
Gaia ID of the user who added the tag, if any. Not present for any tags
automatically created by server-side processing.
Corresponds to the JSON property creatorUserId
6615 6616 6617 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6615 def creator_user_id @creator_user_id end |
#label_id ⇒ String
A string ID representing the label. Possible ID values are documented at go/
chat-labels-howto:ids. Example: "^*t_p" for "Pinned".
Corresponds to the JSON property labelId
6621 6622 6623 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6621 def label_id @label_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6628 6629 6630 6631 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6628 def update!(**args) @creator_user_id = args[:creator_user_id] if args.key?(:creator_user_id) @label_id = args[:label_id] if args.key?(:label_id) end |