Class: Google::Apis::CloudsearchV1::CaribouAttributeValue
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CaribouAttributeValue
- 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
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
(also: #boolean_value?)
Tags 1 through 15 are reserved for the most commonly used fields.
-
#int_value ⇒ Fixnum
Corresponds to the JSON property
intValue
. -
#long_value ⇒ Fixnum
Corresponds to the JSON property
longValue
. -
#raw_byte_value ⇒ String
Generally, applications should avoid storing raw bytes and instead store structured data as protocol buffer extensions.
-
#string_value ⇒ String
Corresponds to the JSON property
stringValue
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CaribouAttributeValue
constructor
A new instance of CaribouAttributeValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CaribouAttributeValue
Returns a new instance of CaribouAttributeValue.
5940 5941 5942 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5940 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boolean_value ⇒ Boolean Also known as: boolean_value?
Tags 1 through 15 are reserved for the most commonly used fields.
Corresponds to the JSON property booleanValue
5911 5912 5913 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5911 def boolean_value @boolean_value end |
#int_value ⇒ Fixnum
Corresponds to the JSON property intValue
5917 5918 5919 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5917 def int_value @int_value end |
#long_value ⇒ Fixnum
Corresponds to the JSON property longValue
5922 5923 5924 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5922 def long_value @long_value end |
#raw_byte_value ⇒ String
Generally, applications should avoid storing raw bytes and instead store
structured data as protocol buffer extensions. This both reduces the amount of
ad-hoc attribute parsing code as well as eliminates an intermediate copy of
the data when deserializing the value. The rawByteValue field is mainly
provided for compatibility with attributes stored before the introduction of
the Attribute.Value.
Corresponds to the JSON property rawByteValue
NOTE: Values are automatically base64 encoded/decoded in the client library.
5933 5934 5935 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5933 def raw_byte_value @raw_byte_value end |
#string_value ⇒ String
Corresponds to the JSON property stringValue
5938 5939 5940 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5938 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5945 5946 5947 5948 5949 5950 5951 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5945 def update!(**args) @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @int_value = args[:int_value] if args.key?(:int_value) @long_value = args[:long_value] if args.key?(:long_value) @raw_byte_value = args[:raw_byte_value] if args.key?(:raw_byte_value) @string_value = args[:string_value] if args.key?(:string_value) end |