Class: Google::Shopping::Merchant::Promotions::V1::InsertPromotionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/promotions/v1/promotions.rb

Overview

Request message for the InsertPromotion method.

Instance Attribute Summary collapse

Instance Attribute Details

#data_source::String

Returns Required. The data source of the promotion Format: accounts/{account}/dataSources/{datasource}.

Returns:

  • (::String)

    Required. The data source of the promotion Format: accounts/{account}/dataSources/{datasource}.



122
123
124
125
# File 'proto_docs/google/shopping/merchant/promotions/v1/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}.

Returns:

  • (::String)

    Required. The account where the promotion will be inserted. Format: accounts/{account}



122
123
124
125
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions.rb', line 122

class InsertPromotionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#promotion::Google::Shopping::Merchant::Promotions::V1::Promotion

Returns Required. The promotion to insert.

Returns:



122
123
124
125
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions.rb', line 122

class InsertPromotionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end