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:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/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_tokento 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.
4476 4477 4478 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4476 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
4469 4470 4471 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4469 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
4474 4475 4476 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4474 def repricing_rules @repricing_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4481 4482 4483 4484 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4481 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 |