Class: Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/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.



1525
1526
1527
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1525

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

Instance Attribute Details

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

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



1516
1517
1518
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1516

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>)


1523
1524
1525
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1523

def deleted_assigned_user_roles
  @deleted_assigned_user_roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1530
1531
1532
1533
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1530

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