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.



4472
4473
4474
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4472

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4465
4466
4467
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4465

def attribute_id
  @attribute_id
end

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

Corresponds to the JSON property messageKeys



4470
4471
4472
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4470

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4477
4478
4479
4480
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4477

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