Google Analytics Admin V1beta Client - Class CreateCustomDimensionRequest (0.24.2)

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

Request message for CreateCustomDimension RPC.

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

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ custom_dimension CustomDimension

Required. The CustomDimension 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

getCustomDimension

Required. The CustomDimension to create.

Returns
Type Description
CustomDimension|null

hasCustomDimension

clearCustomDimension

setCustomDimension

Required. The CustomDimension to create.

Parameter
Name Description
var CustomDimension
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Example format: properties/1234 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

customDimension CustomDimension

Required. The CustomDimension to create.

Returns
Type Description
CreateCustomDimensionRequest