Google Analytics Admin V1alpha Client - Class CreateAudienceRequest (0.10.0)

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

Request message for CreateAudience RPC.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/1234

↳ audience Google\Analytics\Admin\V1alpha\Audience

Required. The audience to create.

getParent

Required. Example format: properties/1234

Returns
TypeDescription
string

setParent

Required. Example format: properties/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAudience

Required. The audience to create.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\Audience|null

hasAudience

clearAudience

setAudience

Required. The audience to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\Audience
Returns
TypeDescription
$this