Class: Google::Apis::CloudsearchV1::PersonalLabelTag

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

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

Returns:

  • (String)


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