CreateProjectGrantRequest constructor

CreateProjectGrantRequest({
  1. String? projectId,
  2. String? grantedOrganizationId,
  3. Iterable<String>? roleKeys,
})

Implementation

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