Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListAccountSummariesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb

Overview

Response message for ListAccountSummaries RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaListAccountSummariesResponse

Returns a new instance of GoogleAnalyticsAdminV1betaListAccountSummariesResponse.



1565
1566
1567
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1565

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

Instance Attribute Details

#account_summariesArray<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccountSummary>

Account summaries of all accounts the caller has access to. Corresponds to the JSON property accountSummaries



1557
1558
1559
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1557

def 
  @account_summaries
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1563
1564
1565
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1563

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1570
1571
1572
1573
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1570

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