Google Analytics Admin V1alpha Client - Class CreateCustomDimensionRequest (0.8.2)

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

Request message for CreateCustomDimension RPC.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ custom_dimension Google\Analytics\Admin\V1alpha\CustomDimension

Required. The CustomDimension to create.

getParent

Required. Example format: properties/1234

Returns
TypeDescription
string

setParent

Required. Example format: properties/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomDimension

Required. The CustomDimension to create.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\CustomDimension|null

hasCustomDimension

clearCustomDimension

setCustomDimension

Required. The CustomDimension to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\CustomDimension
Returns
TypeDescription
$this