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.
5986 5987 5988 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5986 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
5978 5979 5980 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5978 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
5984 5985 5986 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5984 def label_id @label_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5991 5992 5993 5994 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5991 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 |