Google Analytics Data V1alpha Client - Class CreateAudienceListRequest (0.17.1)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class CreateAudienceListRequest.

A request to create a new audience list.

Generated from protobuf message google.analytics.data.v1alpha.CreateAudienceListRequest

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The parent resource where this audience list will be created. Format: properties/{property}

↳ audience_listGoogle\Analytics\Data\V1alpha\AudienceList

Required. The audience list to create.

getParent

Required. The parent resource where this audience list will be created.

Format: properties/{property}

Returns
TypeDescription
string

setParent

Required. The parent resource where this audience list will be created.

Format: properties/{property}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAudienceList

Required. The audience list to create.

Returns
TypeDescription
Google\Analytics\Data\V1alpha\AudienceList|null

hasAudienceList

clearAudienceList

setAudienceList

Required. The audience list to create.

Parameter
NameDescription
varGoogle\Analytics\Data\V1alpha\AudienceList
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The parent resource where this audience list will be created. Format: properties/{property} Please see Google\Analytics\Data\V1alpha\AlphaAnalyticsDataClient::propertyName() for help formatting this field.

audienceListGoogle\Analytics\Data\V1alpha\AudienceList

Required. The audience list to create.

Returns
TypeDescription
Google\Analytics\Data\V1alpha\CreateAudienceListRequest