Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountsResponse

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

Overview

Request message for ListAccounts RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaListAccountsResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaListAccountsResponse.



3896
3897
3898
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3896

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

Instance Attribute Details

#accountsArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount>

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



3888
3889
3890
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3888

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)


3894
3895
3896
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3894

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3901
3902
3903
3904
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3901

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