Class: Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmailpostmastertools_v1beta1/classes.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb
Overview
Response message for ListTrafficStats.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#traffic_stats ⇒ Array<Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats>
The list of TrafficStats.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTrafficStatsResponse
constructor
A new instance of ListTrafficStatsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTrafficStatsResponse
Returns a new instance of ListTrafficStatsResponse.
199 200 201 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
192 193 194 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 192 def next_page_token @next_page_token end |
#traffic_stats ⇒ Array<Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats>
The list of TrafficStats.
Corresponds to the JSON property trafficStats
197 198 199 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 197 def traffic_stats @traffic_stats end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
204 205 206 207 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 204 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @traffic_stats = args[:traffic_stats] if args.key?(:traffic_stats) end |