Google Analytics Admin V1beta Client - Class CreateCustomMetricRequest (0.13.0)

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

Request message for CreateCustomMetric RPC.

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

Methods

build

Parameters
Name
Description
parent
string

Required. Example format: properties/1234 Please see {@see \Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::propertyName()} for help formatting this field.

customMetric
Google\Analytics\Admin\V1beta\CustomMetric

Required. The CustomMetric to create.

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. Example format: properties/1234

↳ custom_metric
Google\Analytics\Admin\V1beta\CustomMetric

Required. The CustomMetric to create.

getParent

Required. Example format: properties/1234

Returns
Type
Description
string

setParent

Required. Example format: properties/1234

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCustomMetric

Required. The CustomMetric to create.

Returns
Type
Description

hasCustomMetric

clearCustomMetric

setCustomMetric

Required. The CustomMetric to create.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: