Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse.



4097
4098
4099
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4097

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

Instance Attribute Details

#calculated_metricsArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCalculatedMetric>

List of CalculatedMetrics. Corresponds to the JSON property calculatedMetrics



4089
4090
4091
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4089

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


4095
4096
4097
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4095

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4102
4103
4104
4105
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4102

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