Google Analytics Admin V1alpha Client - Class CreateChannelGroupRequest (0.24.1)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ channel_group ChannelGroup

Required. The ChannelGroup to create.

getParent

Required. The property for which to create a ChannelGroup.

Example format: properties/1234

Returns
Type Description
string

setParent

Required. The property for which to create a ChannelGroup.

Example format: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getChannelGroup

Required. The ChannelGroup to create.

Returns
Type Description
ChannelGroup|null

hasChannelGroup

clearChannelGroup

setChannelGroup

Required. The ChannelGroup to create.

Parameter
Name Description
var ChannelGroup
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

channelGroup ChannelGroup

Required. The ChannelGroup to create.

Returns
Type Description
CreateChannelGroupRequest