Google Analytics Admin V1alpha Client - Class GetCalculatedMetricRequest (0.28.1)

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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

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
TypeDescription
string

setName

Required. The name of the CalculatedMetric to get.

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

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

Returns
TypeDescription
GetCalculatedMetricRequest