Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Request message for BatchCreateUserLinks RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.



372
373
374
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 372

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#notify_new_usersBoolean 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

Returns:

  • (Boolean)


363
364
365
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 363

def notify_new_users
  @notify_new_users
end

#requestsArray<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



370
371
372
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 370

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



377
378
379
380
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 377

def update!(**args)
  @notify_new_users = args[:notify_new_users] if args.key?(:notify_new_users)
  @requests = args[:requests] if args.key?(:requests)
end