Class: Google::Apis::DisplayvideoV3::BulkEditAssignedUserRolesRequest

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

Overview

Request message for BulkEditAssignedUserRoles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditAssignedUserRolesRequest

Returns a new instance of BulkEditAssignedUserRolesRequest.



2522
2523
2524
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2522

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

Instance Attribute Details

#created_assigned_user_rolesArray<Google::Apis::DisplayvideoV3::AssignedUserRole>

The assigned user roles to create in batch, specified as a list of AssignedUserRoles. Corresponds to the JSON property createdAssignedUserRoles



2513
2514
2515
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2513

def created_assigned_user_roles
  @created_assigned_user_roles
end

#deleted_assigned_user_rolesArray<String>

The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is entityType- entityid, for example partner-123. Corresponds to the JSON property deletedAssignedUserRoles

Returns:

  • (Array<String>)


2520
2521
2522
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2520

def deleted_assigned_user_roles
  @deleted_assigned_user_roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2527
2528
2529
2530
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2527

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