Google Analytics Admin V1alpha Client - Class BatchGetUserLinksRequest (0.12.0)

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

Request message for BatchGetUserLinks RPC.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format: accounts/1234

↳ names array

Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}

getParent

Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field.

Example format: accounts/1234

Returns
TypeDescription
string

setParent

Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field.

Example format: accounts/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNames

Required. The names of the user links to retrieve.

A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNames

Required. The names of the user links to retrieve.

A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this