Google Analytics Admin V1alpha Client - Class CreateUserLinkRequest (0.22.5)

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

Request message for CreateUserLink RPC.

Users can have multiple email addresses associated with their Google account, and one of these email addresses is the "primary" email address. Any of the email addresses associated with a Google account may be used for a new UserLink, but the returned UserLink will always contain the "primary" email address. As a result, the input and output email address for this request may differ.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: accounts/1234

↳ notify_new_user bool

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.

↳ user_link Google\Analytics\Admin\V1alpha\UserLink

Required. The user link to create.

getParent

Required. Example format: accounts/1234

Returns
Type Description
string

setParent

Required. Example format: accounts/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getNotifyNewUser

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.

Returns
Type Description
bool

setNotifyNewUser

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.

Parameter
Name Description
var bool
Returns
Type Description
$this

Required. The user link to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\UserLink|null

Required. The user link to create.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\UserLink
Returns
Type Description
$this