Class: Google::Apis::CloudsearchV1::AttributeSet

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AttributeSet

Returns a new instance of AttributeSet.



4882
4883
4884
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4882

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4867
4868
4869
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4867

def attribute_id
  @attribute_id
end

#attribute_valueString

The serialized attribute_value as persisted in the storage layer. The application is responsible for deserializing it to an Attribute.Value if appropriate. Corresponds to the JSON property attributeValue NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4875
4876
4877
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4875

def attribute_value
  @attribute_value
end

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

Corresponds to the JSON property messageKeys



4880
4881
4882
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4880

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4887
4888
4889
4890
4891
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4887

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