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.



15237
15238
15239
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15237

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)


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