Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo.
Line item information.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#offer
defoffer()->::String
Returns
(::String) — Optional. The name of the offer can have either of these formats:
'billingAccounts/{billing_account}/offers/{offer}',
or 'services/{service}/standardOffers/{offer}'.
#offer=
defoffer=(value)->::String
Parameter
value (::String) — Optional. The name of the offer can have either of these formats:
'billingAccounts/{billing_account}/offers/{offer}',
or 'services/{service}/standardOffers/{offer}'.
Returns
(::String) — Optional. The name of the offer can have either of these formats:
'billingAccounts/{billing_account}/offers/{offer}',
or 'services/{service}/standardOffers/{offer}'.
[[["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::LineItemInfo (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-LineItemInfo)\n- [1.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [1.3.1](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.3.1/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [1.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [1.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [1.0.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/1.0.2/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [0.4.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.4.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [0.3.2](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.3.2/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [0.2.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.2.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\n- [0.1.0](/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/0.1.0/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo) \nReference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo.\n\nLine item information. \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### #offer\n\n def offer() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.\n\n### #offer=\n\n def offer=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'. \n**Returns**\n\n- (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.\n\n### #parameters\n\n def parameters() -\u003e ::Array\u003c::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](./Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\\\u003e) --- Optional. User-provided parameters.\n\n### #parameters=\n\n def parameters=(value) -\u003e ::Array\u003c::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](./Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\\\u003e) --- Optional. User-provided parameters. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](./Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\\\u003e) --- Optional. User-provided parameters.\n\n### #subscription\n\n def subscription() -\u003e ::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription\n\n**Returns**\n\n- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription](./Google-Cloud-Commerce-Consumer-Procurement-V1-Subscription)) --- Output only. Information about the subscription created, if applicable."]]