Class: Google::Shopping::Merchant::Promotions::V1beta::ListPromotionsRequest

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

Overview

Request message for the ListPromotions method.

Instance Attribute Summary collapse

Instance Attribute Details

#page_size::Integer (readonly)

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

Returns:

  • (::Integer)

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



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

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

#page_token::String (readonly)

Returns Output only. 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)

    Output only. 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/v1beta/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/v1beta/promotions.rb', line 155

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