Google Analytics Admin V1alpha Client - Class CreateChannelGroupRequest (0.27.0)

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

Request message for CreateChannelGroup RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The property for which to create a ChannelGroup. Example format: properties/1234

↳ channel_groupChannelGroup

Required. The ChannelGroup to create.

getParent

Required. The property for which to create a ChannelGroup.

Example format: properties/1234

Returns
TypeDescription
string

setParent

Required. The property for which to create a ChannelGroup.

Example format: properties/1234

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getChannelGroup

Required. The ChannelGroup to create.

Returns
TypeDescription
ChannelGroup|null

hasChannelGroup

clearChannelGroup

setChannelGroup

Required. The ChannelGroup to create.

Parameter
NameDescription
varChannelGroup
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The property for which to create a ChannelGroup. Example format: properties/1234 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

channelGroupChannelGroup

Required. The ChannelGroup to create.

Returns
TypeDescription
CreateChannelGroupRequest