deleteProject method

Future<StatusResponse> deleteProject(
  1. String projectId, {
  2. bool force = false,
})
inherited

Deletes or deprecates a project.

By default, this performs a soft delete (deprecation). Set force to true to permanently delete the project and all its contents.

Warning: Force deletion is irreversible.

Implementation

Future<StatusResponse> deleteProject(
  String projectId, {
  bool force = false,
}) async {
  final request = DeleteProjectRequest()
    ..projectId = projectId
    ..force = force;
  return stub.deleteProject(request, options: callOptions);
}