Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse

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 ListDataStreams RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaListDataStreamsResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaListDataStreamsResponse.



4268
4269
4270
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4268

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

Instance Attribute Details

#data_streamsArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream>

List of DataStreams. Corresponds to the JSON property dataStreams



4260
4261
4262
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4260

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


4266
4267
4268
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4266

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4273
4274
4275
4276
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4273

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