Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAudiencesResponse

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

Response message for ListAudiences RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaListAudiencesResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaListAudiencesResponse.



4045
4046
4047
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4045

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

Instance Attribute Details

#audiencesArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience>

List of Audiences. Corresponds to the JSON property audiences



4037
4038
4039
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4037

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


4043
4044
4045
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4043

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4050
4051
4052
4053
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4050

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