Class: Google::Shopping::Merchant::Promotions::V1beta::InsertPromotionRequest
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Promotions::V1beta::InsertPromotionRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/promotions/v1beta/promotions.rb
Overview
Request message for the InsertPromotion method.
Instance Attribute Summary collapse
-
#data_source ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
-
#promotion ⇒ ::Google::Shopping::Merchant::Promotions::V1beta::Promotion
Required.
Instance Attribute Details
#data_source ⇒ ::String
Returns Required. The data source of the
promotion
Format:
accounts/{account}/dataSources/{datasource}.
122 123 124 125 |
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions.rb', line 122 class InsertPromotionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The account where the promotion will be inserted. Format: accounts/{account}.
122 123 124 125 |
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions.rb', line 122 class InsertPromotionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#promotion ⇒ ::Google::Shopping::Merchant::Promotions::V1beta::Promotion
Returns Required. The promotion to insert.
122 123 124 125 |
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions.rb', line 122 class InsertPromotionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |