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.



4791
4792
4793
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4791

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4784
4785
4786
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4784

def attribute_id
  @attribute_id
end

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

Corresponds to the JSON property messageKeys



4789
4790
4791
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4789

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4796
4797
4798
4799
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4796

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