AddProjectGrantRequest constructor

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

Implementation

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