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
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]
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]
Required. Example format: accounts/1234 Corresponds to the JSON property `parent` @return [String]
A resource message representing a user's permissions on an Account or Property resource. Corresponds to the JSON property `userLink` @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
Public Class Methods
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 748 def initialize(**args) update!(**args) end
Public Instance Methods
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