Class: Google::Apis::CloudsearchV1::LabelRemoved

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 removed from some (subset of the) messages in this thread.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LabelRemoved

Returns a new instance of LabelRemoved.



12864
12865
12866
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12864

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

Instance Attribute Details

#label_idString

Corresponds to the JSON property labelId

Returns:

  • (String)


12847
12848
12849
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12847

def label_id
  @label_id
end

#label_nameString

Corresponds to the JSON property labelName

Returns:

  • (String)


12852
12853
12854
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12852

def label_name
  @label_name
end

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

Corresponds to the JSON property messageKeys



12857
12858
12859
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12857

def message_keys
  @message_keys
end

#sync_idFixnum

Corresponds to the JSON property syncId

Returns:

  • (Fixnum)


12862
12863
12864
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12862

def sync_id
  @sync_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12869
12870
12871
12872
12873
12874
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12869

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