Google Analytics Admin V1alpha Client - Class BatchCreateUserLinksRequest (0.16.0)

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

Request message for BatchCreateUserLinks RPC.

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

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. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

↳ notify_new_users bool

Optional. If set, then email the new users notifying them that they've been granted permissions to the resource. Regardless of whether this is set or not, notify_new_user field inside each individual request is ignored.

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

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

getParent

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

Example format: accounts/1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNotifyNewUsers

Optional. If set, then email the new users notifying them that they've been granted permissions to the resource. Regardless of whether this is set or not, notify_new_user field inside each individual request is ignored.

Returns
TypeDescription
bool

setNotifyNewUsers

Optional. If set, then email the new users notifying them that they've been granted permissions to the resource. Regardless of whether this is set or not, notify_new_user field inside each individual request is ignored.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRequests

Required. The requests specifying the user links to create.

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The requests specifying the user links to create.

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

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