Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaListCustomMetricsResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaListCustomMetricsResponse.



1622
1623
1624
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1622

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

Instance Attribute Details

#custom_metricsArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>

List of CustomMetrics. Corresponds to the JSON property customMetrics



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

def custom_metrics
  @custom_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)


1620
1621
1622
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1620

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1627
1628
1629
1630
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1627

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