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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getRequests
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Analytics\Admin\V1alpha\CreateUserLinkRequest>
|
Returns | |
---|---|
Type | Description |
$this |