Class: Google::Apis::GmailpostmastertoolsV1::ListTrafficStatsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmailpostmastertools_v1/classes.rb,
lib/google/apis/gmailpostmastertools_v1/representations.rb,
lib/google/apis/gmailpostmastertools_v1/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.



190
191
192
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 190

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)


183
184
185
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 183

def next_page_token
  @next_page_token
end

#traffic_statsArray<Google::Apis::GmailpostmastertoolsV1::TrafficStats>

The list of TrafficStats. Corresponds to the JSON property trafficStats



188
189
190
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 188

def traffic_stats
  @traffic_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



195
196
197
198
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 195

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