Google Analytics Admin V1beta Client - Class GetCustomMetricRequest (0.28.1)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class GetCustomMetricRequest.

Request message for GetCustomMetric RPC.

Generated from protobuf message google.analytics.admin.v1beta.GetCustomMetricRequest

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678

getName

Required. The name of the CustomMetric to get.

Example format: properties/1234/customMetrics/5678

Returns
TypeDescription
string

setName

Required. The name of the CustomMetric to get.

Example format: properties/1234/customMetrics/5678

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 Please see AnalyticsAdminServiceClient::customMetricName() for help formatting this field.

Returns
TypeDescription
GetCustomMetricRequest