Google Analytics Data V1alpha Client - Class CreateAudienceListRequest (0.20.0)

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

Optional. Data for populating the Message object.

↳ parent string

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

↳ audience_list Google\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
Type Description
string

setParent

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

Format: properties/{property}

Parameter
Name Description
var string
Returns
Type Description
$this

getAudienceList

Required. The audience list to create.

Returns
Type Description
Google\Analytics\Data\V1alpha\AudienceList|null

hasAudienceList

clearAudienceList

setAudienceList

Required. The audience list to create.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\AudienceList
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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.

audienceList Google\Analytics\Data\V1alpha\AudienceList

Required. The audience list to create.

Returns
Type Description
Google\Analytics\Data\V1alpha\CreateAudienceListRequest