Class: Google::Apis::CloudsearchV1::LabelAdded

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

A label was added to some (subset of the) messages in this thread.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LabelAdded

Returns a new instance of LabelAdded.



12298
12299
12300
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12298

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#label_idString

Corresponds to the JSON property labelId

Returns:

  • (String)


12281
12282
12283
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12281

def label_id
  @label_id
end

#label_nameString

Corresponds to the JSON property labelName

Returns:

  • (String)


12286
12287
12288
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12286

def label_name
  @label_name
end

#message_keysArray<Google::Apis::CloudsearchV1::MultiKey>

Corresponds to the JSON property messageKeys



12291
12292
12293
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12291

def message_keys
  @message_keys
end

#sync_idFixnum

Corresponds to the JSON property syncId

Returns:

  • (Fixnum)


12296
12297
12298
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12296

def sync_id
  @sync_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12303
12304
12305
12306
12307
12308
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12303

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