Class: Google::Shopping::Merchant::Promotions::V1::ListPromotionsRequest

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 ListPromotions method.

Instance Attribute Summary collapse

Instance Attribute Details

#page_size::Integer

Optional. The maximum number of promotions to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of promotions will be returned.

Returns:

  • (::Integer)

    Optional. The maximum number of promotions to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of promotions will be returned.



155
156
157
158
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions.rb', line 155

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

#page_token::String

Returns Optional. A page token, received from a previous ListPromotions call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListPromotions must match the call that provided the page token.

Returns:

  • (::String)

    Optional. A page token, received from a previous ListPromotions call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ListPromotions must match the call that provided the page token.



155
156
157
158
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions.rb', line 155

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

#parent::String

Returns Required. The account to list processed promotions for. Format: accounts/{account}.

Returns:

  • (::String)

    Required. The account to list processed promotions for. Format: accounts/{account}



155
156
157
158
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions.rb', line 155

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