Class: Google::Apis::ContentV2_1::ListRepricingRulesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ListRepricingRulesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
Response message for the ListRepricingRules
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#repricing_rules ⇒ Array<Google::Apis::ContentV2_1::RepricingRule>
The rules from the specified merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListRepricingRulesResponse
constructor
A new instance of ListRepricingRulesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListRepricingRulesResponse
Returns a new instance of ListRepricingRulesResponse.
3873 3874 3875 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3873 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
3866 3867 3868 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3866 def next_page_token @next_page_token end |
#repricing_rules ⇒ Array<Google::Apis::ContentV2_1::RepricingRule>
The rules from the specified merchant.
Corresponds to the JSON property repricingRules
3871 3872 3873 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3871 def repricing_rules @repricing_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3878 3879 3880 3881 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3878 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules) end |