class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest

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.

Attributes

notify_new_user[RW]

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource. Corresponds to the JSON property `notifyNewUser` @return [Boolean]

notify_new_user?[RW]

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource. Corresponds to the JSON property `notifyNewUser` @return [Boolean]

parent[RW]

Required. Example format: accounts/1234 Corresponds to the JSON property `parent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 748
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 753
def update!(**args)
  @notify_new_user = args[:notify_new_user] if args.key?(:notify_new_user)
  @parent = args[:parent] if args.key?(:parent)
  @user_link = args[:user_link] if args.key?(:user_link)
end