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
Namespace
Google \ Analytics \ Admin \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Example format: properties/1234 |
↳ audience |
Audience
Required. The audience to create. |
getParent
Required. Example format: properties/1234
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Example format: properties/1234
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAudience
Required. The audience to create.
Returns | |
---|---|
Type | Description |
Audience|null |
hasAudience
clearAudience
setAudience
Required. The audience to create.
Parameter | |
---|---|
Name | Description |
var |
Audience
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Example format: properties/1234 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field. |
audience |
Audience
Required. The audience to create. |
Returns | |
---|---|
Type | Description |
CreateAudienceRequest |