Google Analytics Admin V1alpha Client - Class BatchUpdateUserLinksRequest (0.20.0)

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

Request message for BatchUpdateUserLinks RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

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 field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

↳ requests array<Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest>

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

getParent

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or 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 field in the UpdateUserLinkRequest messages must either be empty or match this field.

Example format: accounts/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequests

Required. The requests specifying the user links to update.

A maximum of 1000 user links can be updated in a batch.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The requests specifying the user links to update.

A maximum of 1000 user links can be updated in a batch.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest>
Returns
TypeDescription
$this