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.



4543
4544
4545
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4543

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

Instance Attribute Details

#attribute_idString

Corresponds to the JSON property attributeId

Returns:

  • (String)


4528
4529
4530
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4528

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)


4536
4537
4538
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4536

def attribute_value
  @attribute_value
end

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

Corresponds to the JSON property messageKeys



4541
4542
4543
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4541

def message_keys
  @message_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4548
4549
4550
4551
4552
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4548

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