Google Analytics Admin V1alpha Client - Class GetAudienceRequest (0.24.2)

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

Request message for GetAudience RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

getName

Required. The name of the Audience to get.

Example format: properties/1234/audiences/5678

Returns
Type Description
string

setName

Required. The name of the Audience to get.

Example format: properties/1234/audiences/5678

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 Please see AnalyticsAdminServiceClient::audienceName() for help formatting this field.

Returns
Type Description
GetAudienceRequest