- NAME
-
- gcloud alpha run workers delete - delete a worker
- SYNOPSIS
-
-
gcloud alpha run workers delete
WORKER
[--[no-]async
] [--region
=REGION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Delete a worker. - EXAMPLES
-
To delete a worker:
gcloud alpha run workers delete <worker-name>
- POSITIONAL ARGUMENTS
-
-
Worker resource - Worker to delete. This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
To set the
project
attribute:-
provide the argument
WORKER
on the command line with a fully specified name; -
provide the argument
--project
on the command line; -
set the property
core/project
.
This must be specified.
WORKER
-
ID of the worker or fully qualified identifier for the worker.
To set the
worker
attribute:-
provide the argument
WORKER
on the command line.
-
provide the argument
-
provide the argument
-
Worker resource - Worker to delete. This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
- FLAGS
-
--[no-]async
-
Return immediately, without waiting for the operation in progress to complete.
Defaults to --no-async. Use
--async
to enable and--no-async
to disable. --region
=REGION
- Region in which the resource can be found. Alternatively, set the property [run/region].
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-22 UTC.