Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListAccountsResponse

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

Request message for ListAccounts RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaListAccountsResponse

Returns a new instance of GoogleAnalyticsAdminV1betaListAccountsResponse.



1609
1610
1611
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1609

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

Instance Attribute Details

#accountsArray<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccount>

Results that were accessible to the caller. Corresponds to the JSON property accounts



1601
1602
1603
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1601

def accounts
  @accounts
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)


1607
1608
1609
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1607

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1614
1615
1616
1617
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1614

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