Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Request message for BatchCreateUserLinks RPC.
Instance Attribute Summary collapse
-
#notify_new_users ⇒ Boolean
(also: #notify_new_users?)
Optional.
-
#requests ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
constructor
A new instance of GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
Returns a new instance of GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.
288 289 290 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notify_new_users ⇒ Boolean Also known as: notify_new_users?
Optional. If set, then email the new users notifying them that they've been
granted permissions to the resource. Regardless of whether this is set or not,
notify_new_user field inside each individual request is ignored.
Corresponds to the JSON property notifyNewUsers
279 280 281 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 279 def notify_new_users @notify_new_users end |
#requests ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>
Required. The requests specifying the user links to create. A maximum of 1000
user links can be created in a batch.
Corresponds to the JSON property requests
286 287 288 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 286 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
293 294 295 296 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 293 def update!(**args) @notify_new_users = args[:notify_new_users] if args.key?(:notify_new_users) @requests = args[:requests] if args.key?(:requests) end |