Class: Google::Analytics::Admin::V1alpha::CreateCalculatedMetricRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb

Overview

Request message for CreateCalculatedMetric RPC.

Instance Attribute Summary collapse

Instance Attribute Details

#calculated_metric::Google::Analytics::Admin::V1alpha::CalculatedMetric

Returns Required. The CalculatedMetric to create.

Returns:



1343
1344
1345
1346
# File 'proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb', line 1343

class CreateCalculatedMetricRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#calculated_metric_id::String

Returns Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.

This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".

Returns:

  • (::String)

    Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.

    This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".



1343
1344
1345
1346
# File 'proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb', line 1343

class CreateCalculatedMetricRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. Format: properties/{property_id} Example: properties/1234.

Returns:

  • (::String)

    Required. Format: properties/{property_id} Example: properties/1234



1343
1344
1345
1346
# File 'proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb', line 1343

class CreateCalculatedMetricRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end