Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter::Value.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#double_value
defdouble_value()->::Float
Returns
(::Float) — Represents a double value.
Note: The following fields are mutually exclusive: double_value, int64_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#double_value=
defdouble_value=(value)->::Float
Parameter
value (::Float) — Represents a double value.
Note: The following fields are mutually exclusive: double_value, int64_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Float) — Represents a double value.
Note: The following fields are mutually exclusive: double_value, int64_value, string_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int64_value
defint64_value()->::Integer
Returns
(::Integer) — Represents an int64 value.
Note: The following fields are mutually exclusive: int64_value, string_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int64_value=
defint64_value=(value)->::Integer
Parameter
value (::Integer) — Represents an int64 value.
Note: The following fields are mutually exclusive: int64_value, string_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Integer) — Represents an int64 value.
Note: The following fields are mutually exclusive: int64_value, string_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value
defstring_value()->::String
Returns
(::String) — Represents a string value.
Note: The following fields are mutually exclusive: string_value, int64_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value=
defstring_value=(value)->::String
Parameter
value (::String) — Represents a string value.
Note: The following fields are mutually exclusive: string_value, int64_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — Represents a string value.
Note: The following fields are mutually exclusive: string_value, int64_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter::Value (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [1.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [1.3.1](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.3.1/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [1.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [1.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [1.0.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.0.2/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [0.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [0.3.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.3.2/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [0.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value)\n- [0.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter-Value) \nReference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter::Value. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #double_value\n\n def double_value() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Represents a double value.\n\n Note: The following fields are mutually exclusive: `double_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #double_value=\n\n def double_value=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Represents a double value.\n\n\nNote: The following fields are mutually exclusive: `double_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Float) --- Represents a double value.\n\n Note: The following fields are mutually exclusive: `double_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #int64_value\n\n def int64_value() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Represents an int64 value.\n\n Note: The following fields are mutually exclusive: `int64_value`, `string_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #int64_value=\n\n def int64_value=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Represents an int64 value.\n\n\nNote: The following fields are mutually exclusive: `int64_value`, `string_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Integer) --- Represents an int64 value.\n\n Note: The following fields are mutually exclusive: `int64_value`, `string_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #string_value\n\n def string_value() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Represents a string value.\n\n Note: The following fields are mutually exclusive: `string_value`, `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #string_value=\n\n def string_value=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Represents a string value.\n\n\nNote: The following fields are mutually exclusive: `string_value`, `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- Represents a string value.\n\n Note: The following fields are mutually exclusive: `string_value`, `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]