Class: Google::Apis::PartnersV2::ListAnalyticsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::ListAnalyticsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb
Overview
Response message for ListAnalytics.
Instance Attribute Summary collapse
-
#analytics ⇒ Array<Google::Apis::PartnersV2::Analytics>
The list of analytics.
-
#analytics_summary ⇒ Google::Apis::PartnersV2::AnalyticsSummary
Analytics aggregated data for a
Companyfor a given date range. -
#next_page_token ⇒ String
A token to retrieve next page of results.
-
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAnalyticsResponse
constructor
A new instance of ListAnalyticsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAnalyticsResponse
Returns a new instance of ListAnalyticsResponse
1230 1231 1232 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analytics ⇒ Array<Google::Apis::PartnersV2::Analytics>
The list of analytics.
Sorted in ascending order of
Analytics.event_date.
Corresponds to the JSON property analytics
1228 1229 1230 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1228 def analytics @analytics end |
#analytics_summary ⇒ Google::Apis::PartnersV2::AnalyticsSummary
Analytics aggregated data for a Company for a given date range.
Corresponds to the JSON property analyticsSummary
1221 1222 1223 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1221 def analytics_summary @analytics_summary end |
#next_page_token ⇒ String
A token to retrieve next page of results.
Pass this value in the ListAnalyticsRequest.page_token field in the
subsequent call to
ListAnalytics to retrieve the
next page of results.
Corresponds to the JSON property nextPageToken
1211 1212 1213 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1211 def next_page_token @next_page_token end |
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
1216 1217 1218 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1216 def @response_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1235 1236 1237 1238 1239 1240 |
# File 'generated/google/apis/partners_v2/classes.rb', line 1235 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) @analytics = args[:analytics] if args.key?(:analytics) end |