Class: Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse

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

Instance Method Summary collapse

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_tokenString

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

Returns:

  • (String)


192
193
194
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 192

def next_page_token
  @next_page_token
end

#traffic_statsArray<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