Google Analytics Admin V1alpha Client - Class GetCalculatedMetricRequest (0.23.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class GetCalculatedMetricRequest.

Request message for GetCalculatedMetric RPC.

Generated from protobuf message google.analytics.admin.v1alpha.GetCalculatedMetricRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

getName

Required. The name of the CalculatedMetric to get.

Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

Returns
Type Description
string

setName

Required. The name of the CalculatedMetric to get.

Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::calculatedMetricName() for help formatting this field.

Returns
Type Description
Google\Analytics\Admin\V1alpha\GetCalculatedMetricRequest