Class: Google::Apis::CloudsearchV1::AttributeRemoved

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AttributeRemoved

Returns a new instance of AttributeRemoved.



4849
4850
4851
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4849

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4842
4843
4844
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4842

def attribute_id
  @attribute_id
end

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

Corresponds to the JSON property messageKeys



4847
4848
4849
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4847

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4854
4855
4856
4857
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4854

def update!(**args)
  @attribute_id = args[:attribute_id] if args.key?(:attribute_id)
  @message_keys = args[:message_keys] if args.key?(:message_keys)
end