# Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::CreateUserLinkRequest (v0.11.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.11.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest)
- [0.10.0](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/0.10.0/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/0.9.1/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest)
Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::CreateUserLinkRequest.

Request message for CreateUserLink RPC.


<br />

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #notify_new_user

    def notify_new_user() -> ::Boolean

**Returns**

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

### #notify_new_user=

    def notify_new_user=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.
**Returns**

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

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Example format: accounts/1234

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Example format: accounts/1234
**Returns**

- (::String) --- Required. Example format: accounts/1234

### #user_link

    def user_link() -> ::Google::Analytics::Admin::V1alpha::UserLink

**Returns**

- ([::Google::Analytics::Admin::V1alpha::UserLink](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create.

### #user_link=

    def user_link=(value) -> ::Google::Analytics::Admin::V1alpha::UserLink

**Parameter**

- **value** ([::Google::Analytics::Admin::V1alpha::UserLink](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create.
**Returns**

- ([::Google::Analytics::Admin::V1alpha::UserLink](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create.