Class: Google::Apis::CloudsearchV1::LabelAdded
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::LabelAdded
- 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
A label was added to some (subset of the) messages in this thread.
Instance Attribute Summary collapse
-
#label_id ⇒ String
Corresponds to the JSON property
labelId
. -
#label_name ⇒ String
Corresponds to the JSON property
labelName
. -
#message_keys ⇒ Array<Google::Apis::CloudsearchV1::MultiKey>
Corresponds to the JSON property
messageKeys
. -
#sync_id ⇒ Fixnum
Corresponds to the JSON property
syncId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LabelAdded
constructor
A new instance of LabelAdded.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LabelAdded
Returns a new instance of LabelAdded.
12801 12802 12803 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_id ⇒ String
Corresponds to the JSON property labelId
12784 12785 12786 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12784 def label_id @label_id end |
#label_name ⇒ String
Corresponds to the JSON property labelName
12789 12790 12791 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12789 def label_name @label_name end |
#message_keys ⇒ Array<Google::Apis::CloudsearchV1::MultiKey>
Corresponds to the JSON property messageKeys
12794 12795 12796 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12794 def @message_keys end |
#sync_id ⇒ Fixnum
Corresponds to the JSON property syncId
12799 12800 12801 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12799 def sync_id @sync_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12806 12807 12808 12809 12810 12811 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12806 def update!(**args) @label_id = args[:label_id] if args.key?(:label_id) @label_name = args[:label_name] if args.key?(:label_name) @message_keys = args[:message_keys] if args.key?(:message_keys) @sync_id = args[:sync_id] if args.key?(:sync_id) end |