Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#notify_new_user
defnotify_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=
defnotify_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
defparent()->::String
Returns
(::String) — Required. Example format: accounts/1234
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. Example format: accounts/1234
Returns
(::String) — Required. Example format: accounts/1234
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::CreateUserLinkRequest (v0.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.0 (latest)](/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest)\n- [0.10.0](/ruby/docs/reference/google-analytics-admin-v1alpha/0.10.0/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest)\n- [0.9.1](/ruby/docs/reference/google-analytics-admin-v1alpha/0.9.1/Google-Analytics-Admin-V1alpha-CreateUserLinkRequest) \nReference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::CreateUserLinkRequest.\n\nRequest message for CreateUserLink RPC.\n\n\n\u003cbr /\u003e\n\nUsers can have multiple email addresses associated with their Google\naccount, and one of these email addresses is the \"primary\" email address.\nAny of the email addresses associated with a Google account may be used\nfor a new UserLink, but the returned UserLink will always contain the\n\"primary\" email address. As a result, the input and output email address\nfor this request may differ. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #notify_new_user\n\n def notify_new_user() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.\n\n### #notify_new_user=\n\n def notify_new_user=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set, then email the new user notifying them that they've been granted permissions to the resource. \n**Returns**\n\n- (::Boolean) --- Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Example format: accounts/1234\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Example format: accounts/1234 \n**Returns**\n\n- (::String) --- Required. Example format: accounts/1234\n\n### #user_link\n\n def user_link() -\u003e ::Google::Analytics::Admin::V1alpha::UserLink\n\n**Returns**\n\n- ([::Google::Analytics::Admin::V1alpha::UserLink](./Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create.\n\n### #user_link=\n\n def user_link=(value) -\u003e ::Google::Analytics::Admin::V1alpha::UserLink\n\n**Parameter**\n\n- **value** ([::Google::Analytics::Admin::V1alpha::UserLink](./Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create. \n**Returns**\n\n- ([::Google::Analytics::Admin::V1alpha::UserLink](./Google-Analytics-Admin-V1alpha-UserLink)) --- Required. The user link to create."]]