Class: Google::Apis::DisplayvideoV2::BulkEditAssignedUserRolesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::BulkEditAssignedUserRolesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Request message for BulkEditAssignedUserRoles.
Instance Attribute Summary collapse
-
#created_assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV2::AssignedUserRole>
The assigned user roles to create in batch, specified as a list of AssignedUserRoles.
-
#deleted_assigned_user_roles ⇒ Array<String>
The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BulkEditAssignedUserRolesRequest
constructor
A new instance of BulkEditAssignedUserRolesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BulkEditAssignedUserRolesRequest
Returns a new instance of BulkEditAssignedUserRolesRequest.
1966 1967 1968 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_assigned_user_roles ⇒ Array<Google::Apis::DisplayvideoV2::AssignedUserRole>
The assigned user roles to create in batch, specified as a list of
AssignedUserRoles.
Corresponds to the JSON property createdAssignedUserRoles
1957 1958 1959 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1957 def created_assigned_user_roles @created_assigned_user_roles end |
#deleted_assigned_user_roles ⇒ Array<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
1964 1965 1966 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1964 def deleted_assigned_user_roles @deleted_assigned_user_roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1971 1972 1973 1974 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1971 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 |