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.



4824
4825
4826
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4824

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4809
4810
4811
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4809

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)


4817
4818
4819
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4817

def attribute_value
  @attribute_value
end

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

Corresponds to the JSON property messageKeys



4822
4823
4824
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4822

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4829
4830
4831
4832
4833
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4829

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