BulkAddProjectRolesRequest constructor

BulkAddProjectRolesRequest({
  1. String? projectId,
  2. Iterable<BulkAddProjectRolesRequest_Role>? roles,
})

Implementation

factory BulkAddProjectRolesRequest({
  $core.String? projectId,
  $core.Iterable<BulkAddProjectRolesRequest_Role>? roles,
}) {
  final $result = create();
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (roles != null) {
    $result.roles.addAll(roles);
  }
  return $result;
}