Class: Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse

Inherits:
Object
  • Object
show all
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 ListRepricingRuleReports method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRepricingRuleReportsResponse

Returns a new instance of ListRepricingRuleReportsResponse.



4540
4541
4542
# File 'lib/google/apis/content_v2_1/classes.rb', line 4540

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token for retrieving the next page. Its absence means there is no subsequent page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4533
4534
4535
# File 'lib/google/apis/content_v2_1/classes.rb', line 4533

def next_page_token
  @next_page_token
end

#repricing_rule_reportsArray<Google::Apis::ContentV2_1::RepricingRuleReport>

Daily reports for the given Repricing rule. Corresponds to the JSON property repricingRuleReports



4538
4539
4540
# File 'lib/google/apis/content_v2_1/classes.rb', line 4538

def repricing_rule_reports
  @repricing_rule_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4545
4546
4547
4548
# File 'lib/google/apis/content_v2_1/classes.rb', line 4545

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @repricing_rule_reports = args[:repricing_rule_reports] if args.key?(:repricing_rule_reports)
end