# Services : GCloud : CLI : Commands ## Artifacts ``` artifacts Manage Artifact Registry resources. artifacts apt Manage Artifact Registry Debian packages. artifacts apt ... artifacts docker Manage Artifact Registry container images and tags. artifacts docker images Manage Artifact Registry container images. artifacts docker images delete Delete an Artifact Registry container image. artifacts docker images describe Describe an Artifact Registry container image. artifacts docker images get-operation Get an On-Demand Scanning operation. artifacts docker images list List Artifact Registry container images. artifacts docker images list-vulnerabilities List On-Demand Scanning vulnerabilities. artifacts docker images scan Perform a vulnerability scan on a container image. artifacts docker tags Manage Artifact Registry container image tags. artifacts docker tags add artifacts docker tags delete artifacts docker tags list artifacts docker upgrade Commands to support Container Registry to Artifact Registry upgrade. artifacts docker upgrade migrate artifacts files Manage Artifact Registry files. artifacts files delete Delete an Artifact Registry file. artifacts files describe Describe an Artifact Registry file. artifacts files download Download an Artifact Registry file. artifacts files list List Artifact Registry files. artifacts generic Manage Artifact Registry generic artifacts. artifacts generic ... artifacts go Manage Artifact Registry Go modules. artifacts go ... artifacts locations Manage Artifact Registry resource locations. artifacts locations ... artifacts operations Manage Artifact Registry long-running operations. artifacts operations ... artifacts packages Manage Artifact Registry packages. artifacts packages ... artifacts print-settings Print snippets to add to native tools settings files. artifacts print-settings ... artifacts repositories Manage Artifact Registry repositories. artifacts repositories add-iam-policy-binding Add an IAM policy binding to the IAM policy of an Artifact Registry repository. artifacts repositories create Create an Artifact Registry repository. artifacts repositories delete Delete an Artifact Registry repository. artifacts repositories delete-cleanup-policies Delete cleanup policies from an Artifact Registry repository. artifacts repositories describe Describe an Artifact Registry repository. artifacts repositories get-iam-policy Get IAM policy for an Artifact Registry repository. artifacts repositories list List repositories in the specified project. artifacts repositories list-cleanup-policies List cleanup policies of an Artifact Registry repository. artifacts repositories remove-iam-policy-binding Remove an IAM policy binding from the IAM policy of an Artifact Registry repository. artifacts repositories set-cleanup-policies Set or update cleanup policies for an Artifact Registry repository. artifacts repositories set-iam-policy Set the IAM policy for an Artifact Registry repository. artifacts repositories update Update an Artifact Registry repository. artifacts sbom Manage Artifact SBOMs. artifacts sbom ... artifacts settings Manage Artifact Registry project settings. artifacts settings ... artifacts tags Manage Artifact Registry tags. artifacts tags create Create an Artifact Registry tag. artifacts tags delete Delete an Artifact Registry tag. artifacts tags list List Artifact Registry tags. artifacts tags update Update an Artifact Registry tag. artifacts versions Manage Artifact Registry package versions. artifacts versions delete Delete an Artifact Registry package version. artifacts versions describe Describe an Artifact Registry package version. artifacts versions list List Artifact Registry package versions. artifacts vpcsc-config Manage Artifact Registry VPC Service Controls configuration for remote repositories. artifacts vpcsc-config ... artifacts vulnerabilities Manage Artifact Vulnerabilities. artifacts vulnerabilities ... artifacts yum Manage Artifact Registry RPM packages. artifacts yum ... ``` ## Auth ``` auth Manage oauth2 credentials for the Google Cloud CLI. auth activate-service-account Authorize access to Google Cloud with a service account. auth application-default Manage your active Application Default Credentials. auth application-default login Acquire new user credentials to use for Application Default Credentials. auth application-default print-access-token Print an access token for your current Application Default Credentials. auth application-default revoke Revoke previously generated Application Default Credentials. auth application-default set-quota-project Update or add a quota project in application default credentials (ADC). auth configure-docker Register gcloud as a Docker credential helper. auth enterprise-certificate-config Manage enterprise certificate configurations. auth enterprise-certificate-config create Create enterprise certificate configurations. auth enterprise-certificate-config create linux Create an enterprise-certificate configuration file for Linux. auth enterprise-certificate-config create macos Create an enterprise-certificate configuration file for MacOS. auth enterprise-certificate-config create windows Create an enterprise-certificate configuration file for Windows. auth list Lists credentialed accounts. auth login Authorize gcloud to access the Cloud Platform with Google user credentials. auth print-access-token Print an access token for the specified account. auth print-identity-token Print an identity token for the specified account. auth revoke Revoke access credentials for an account. ``` ## Builds ``` builds Create and manage builds for Google Cloud Build. builds cancel Cancel an ongoing build. builds connections Manage connections for Google Cloud Build. builds connections add-iam-policy-binding Add IAM policy binding to a Cloud Build connection. builds connections create Create Connections in Google Cloud Build. builds connections create bitbucket-cloud Create a Cloud Build Connection for Bitbucket Cloud. builds connections create bitbucket-data-center Create a Cloud Build Connection for Bitbucket Data Center. builds connections create github Create a Cloud Build Connection of type GitHub. builds connections create github-enterprise Create a Cloud Build Connection of type GitHub Enterprise. builds connections create gitlab Create a Cloud Build Connection for gitlab.com or GitLab Enterprise. builds connections delete Delete a Cloud Build Connection. builds connections describe Describe a Cloud Build Connection. builds connections get-iam-policy Get the IAM policy for a Cloud Build connection. builds connections list List all Cloud Build connections for a project and region. builds connections set-iam-policy Set the IAM policy for a Cloud Build connection. builds connections update Update Connections in Google Cloud Build. builds connections update bitbucket-cloud Update a Cloud Build Connection of type Bitbucket Cloud. builds connections update bitbucket-data-center Update a Cloud Build Connection of type Bitbucket Data Center. builds connections update github Update a Cloud Build Connection of type GitHub. builds connections update github-enterprise Update a Cloud Build Connection of type GitHub Enterprise. builds connections update gitlab Update a Cloud Build Connection of type gitlab.com or GitLab Enterprise. builds describe Get information about a particular build. builds get-default-service-account Get the default service account for a project. builds list List builds. builds log Stream the logs for a build. builds repositories Manage repositories for Cloud Build. builds repositories create Create a Cloud Build repository. builds repositories delete Delete a Cloud Build Repository. builds repositories describe Describe a Cloud Build Repository. builds repositories list List all Cloud Build repositories in a connection. builds submit Submit a build using Cloud Build. builds triggers Create and manage build triggers for Google Cloud Build. builds triggers ... builds worker-pools Manage worker pools for Google Cloud Build. builds worker-pools ... ``` ## Compute ``` compute zones list List Google Compute Engine zones. ``` ## Config ``` config View and edit Google Cloud CLI properties. config configurations ... config get Print the value of a Google Cloud CLI property. config list List Google Cloud CLI properties for the currently active configuration. config set Set a Google Cloud CLI property. config unset Unset a Google Cloud CLI property. ``` ## Deploy ``` deploy Create and manage Cloud Deploy resources. ``` ## DNS ``` dns Manage your Cloud DNS managed-zones and record-sets. ``` ## Logging ``` logging buckets Manage Cloud Logging buckets. logging buckets create Create a bucket. logging buckets delete Delete a bucket. logging buckets describe Display information about a bucket. logging buckets list List the defined buckets. logging buckets undelete Undelete a bucket. logging buckets update Update a bucket. logging copy Copy log entries. logging links Manage linked datasets. logging links create Create a linked dataset on an analytics log bucket. logging links delete Delete a linked dataset. logging links describe Display information about a linked dataset. logging links list List created linked datasets on the specified bucket. logging locations Query Cloud Logging locations. logging locations describe Display information about a location. logging locations list List the availables location. logging logs Manages your project's logs. logging logs delete Delete all entries from a log in the _Default log bucket. logging logs list List your project's logs. logging metrics Manages logs-based metrics. logging metrics create Create a logs-based metric. logging metrics delete Delete a logs-based metric. logging metrics describe Display the definition of a logs-based metric. logging metrics list Display all logs-based metrics. logging metrics update Update the definition of a logs-based metric. logging operations Manage long running operations. logging operations cancel Cancel a long running operation. logging operations describe Display the information about a long running operation. logging operations list List long running operations. logging read Read log entries. logging resource-descriptors Get information about resource descriptors. logging resource-descriptors list List all available resource descriptors. logging settings Manages the org settings for the Cloud Logging Logs Router. logging settings describe Display the settings for the Cloud Logging Logs Router. logging settings update Update the settings for the Cloud Logging Logs Router. logging sinks Manages sinks used to route logs to storage or export destinations. logging sinks create Create a log sink. logging sinks delete Delete a sink. logging sinks describe Display information about a sink. logging sinks list List the defined sinks. logging sinks update Update a sink. logging views Manage log views. logging views add-iam-policy-binding Add IAM policy binding to a log view. logging views create Create a log view on a log bucket. logging views delete Delete a view. logging views describe Display information about a view. logging views get-iam-policy Display the IAM policy for a view. logging views list List the defined views. logging views remove-iam-policy-binding Remove IAM policy binding to a log view. logging views set-iam-policy Set IAM policy for a view. logging views update Update a view. logging write Write a log entry. ``` ## Run ``` run Manage your Cloud Run applications. run deploy Create or update a Cloud Run service. run domain-mappings View and manage your Cloud Run for Anthos domain mappings. run domain-mappings ... run jobs View and manage your Cloud Run jobs. run jobs add-iam-policy-binding Add IAM policy binding to a Cloud Run job. run jobs create Create a Cloud Run job. run jobs delete Delete a job. run jobs deploy Create or update a Cloud Run job. run jobs describe Obtain details about jobs. run jobs execute Execute a job. run jobs executions View and manage your Cloud Run jobs executions. run jobs executions cancel Cancel an execution. run jobs executions delete Delete an execution. run jobs executions describe Obtain details about executions. run jobs executions list List executions. run jobs executions tasks View and manage your Cloud Run jobs tasks. run jobs executions tasks describe Obtain details about tasks. run jobs executions tasks list List tasks. run jobs get-iam-policy Get the IAM policy for a Cloud Run job. run jobs list List jobs. run jobs remove-iam-policy-binding Remove IAM policy binding of a Cloud Run job. run jobs replace Create or replace a job from a YAML job specification. run jobs set-iam-policy Set the IAM policy for a job. run jobs update Update a Cloud Run Job. run regions View available Cloud Run (fully managed) regions. run regions ... run revisions View and manage your Cloud Run revisions. run revisions delete Delete a revision. run revisions describe Obtain details about revisions. run revisions list List available revisions. run services View and manage your Cloud Run services. run services add-iam-policy-binding Add IAM policy binding to a Cloud Run service. run services delete Delete a service. run services describe Obtain details about a given service. run services get-iam-policy Get the IAM policy for a Cloud Run service. run services list List available services. run services proxy Proxy a service to localhost authenticating as the active account or with the specified token. run services remove-iam-policy-binding Remove IAM policy binding of a Cloud Run service. run services replace Create or replace a service from a YAML service specification. run services set-iam-policy Set the IAM policy for a service. run services update Update Cloud Run environment variables and other configuration settings. run services update-traffic Adjust the traffic assignments for a Cloud Run service. ``` ## Scheduler ``` scheduler Manage Cloud Scheduler jobs and schedules. scheduler jobs Manage Cloud Scheduler jobs. scheduler jobs create Create Cloud Scheduler jobs for various types of targets. scheduler jobs create app-engine Create a Cloud Scheduler job with an App Engine target. scheduler jobs create http Create a Cloud Scheduler job that triggers an action via HTTP. scheduler jobs create pubsub Create a Cloud Scheduler job with a Pub/Sub target. scheduler jobs delete Delete a job. scheduler jobs describe Show details about a job. scheduler jobs list List jobs. scheduler jobs pause Pause the execution of a job. scheduler jobs resume Resume execution of a paused job. scheduler jobs run Trigger an on-demand execution of a job. scheduler jobs update Update Cloud Scheduler jobs for various types of targets. scheduler jobs update app-engine Update a Cloud Scheduler job with an App Engine target. scheduler jobs update http Update a Cloud Scheduler job that triggers an action via HTTP. scheduler jobs update pubsub Update a Cloud Scheduler job with a Pub/Sub target. scheduler locations Get information about Cloud Scheduler locations. scheduler locations describe Show details about a location. scheduler locations list Lists the locations where Cloud Scheduler is available. ``` ## Secrets ``` secrets Manage secrets on Google Cloud. ``` ## Services ``` services List, enable and disable APIs and services. ``` ## SQL ``` sql Create and manage Google Cloud SQL databases. sql backups Provide commands for working with backups of Cloud SQL instances. sql backups create Creates a backup of a Cloud SQL instance. sql backups delete Delete a backup of a Cloud SQL instance. sql backups describe Retrieves information about a backup. sql backups list Lists all backups associated with the project or a given instance. sql backups restore Restores a backup of a Cloud SQL instance. sql connect Connects to a Cloud SQL instance. sql databases Provide commands for managing databases of Cloud SQL instances. sql databases create Creates a database for a Cloud SQL instance. sql databases delete Deletes a Cloud SQL database. sql databases describe Displays configuration and metadata about a Cloud SQL database. sql databases list Lists databases for a Cloud SQL instance. sql databases patch Patches the settings of a Cloud SQL database. sql export Provide commands to export Cloud SQL instances. sql export bak Export data from a Cloud SQL instance to a BAK file. sql export csv Exports data from a Cloud SQL instance to a CSV file. sql export sql Exports data from a Cloud SQL instance to a SQL file. sql flags Provide a command to list flags. sql flags ... sql generate-login-token Generate an IAM login token for Cloud SQL. sql import Provides commands to import Cloud SQL instances. sql import bak Import data into a Cloud SQL instance from a BAK file. sql import csv Imports data into a Cloud SQL instance from a CSV file. sql import sql Imports data into a Cloud SQL instance from a SQL dump file. sql instances Provide commands for managing Cloud SQL instances. sql instances acquire-ssrs-lease Acquires a SQL Server Reporting Services lease on a Cloud SQL instance. sql instances clone Clones a Cloud SQL instance. sql instances create Creates a new Cloud SQL instance. sql instances delete Deletes a Cloud SQL instance. sql instances describe Displays configuration and metadata about a Cloud SQL instance. sql instances failover Causes a high-availability Cloud SQL instance to failover. sql instances get-latest-recovery-time Displays the latest recovery time to which a Cloud SQL instance can be restored to. sql instances list Lists Cloud SQL instances in a given project. sql instances patch Updates the settings of a Cloud SQL instance. sql instances promote-replica Promotes Cloud SQL read replica to a stand-alone instance. sql instances reencrypt Reencrypts a Cloud SQL CMEK instance. sql instances release-ssrs-lease Releases a SQL Server Reporting Services lease on a Cloud SQL instance. sql instances reset-ssl-config Deletes all client certificates and generates a new server certificate. sql instances restart Restarts a Cloud SQL instance. sql instances restore-backup Restores a backup of a Cloud SQL instance. sql operations Provide commands for working with Cloud SQL instance operations. sql operations cancel Cancels a Cloud SQL instance operation. sql operations describe Retrieves information about a Cloud SQL instance operation. sql operations list Lists all instance operations for the given Cloud SQL instance. sql operations wait Waits for one or more operations to complete. sql reschedule-maintenance Reschedule a Cloud SQL instance's maintenance. sql ssl Provide commands for managing SSL certificates of Cloud SQL instances. sql ssl ... sql tiers Provide a command to list tiers. sql tiers ... sql users Provide commands for managing Cloud SQL users. sql users create Creates a user in a given instance. sql users delete Deletes a Cloud SQL user in a given instance. sql users describe Retrieves information about a Cloud SQL user in a given instance. sql users list Lists Cloud SQL users in a given instance. sql users set-password Changes a user's password in a given instance. sql users set-password-policy Replaces a user's password policy in a given instance. ``` ## Tasks ``` tasks Manage Cloud Tasks queues and tasks. tasks buffer Buffers a task into a queue. tasks cmek-config Get or change CMEK configuration for Cloud Tasks. tasks cmek-config describe Get CMEK configuration for Cloud Tasks in the specified location. tasks cmek-config update Enable, disable, or edit CMEK configuration for Cloud Tasks in the specified location. tasks create-app-engine-task Create and add a task that targets App Engine. tasks create-http-task Create and add a task that targets a HTTP endpoint. tasks delete Delete a task from a queue. tasks describe Show details about a task. tasks list List tasks. tasks locations Get information about Cloud Tasks locations. tasks locations describe Show details about a location. tasks locations list Lists the locations where Cloud Tasks is available. tasks queues Manage Cloud Tasks queues. tasks queues add-iam-policy-binding Add IAM policy binding for a tasks queue. tasks queues create Create a Cloud Tasks queue. tasks queues delete Delete a queue. tasks queues describe Show details about a queue. tasks queues get-iam-policy Get the IAM policy for a queue. tasks queues list List all queues. tasks queues pause Pause a queue. tasks queues purge Purge a queue by deleting all of its tasks. tasks queues remove-iam-policy-binding Remove IAM policy binding of tasks queue. tasks queues resume Request to resume a paused or disabled queue. tasks queues set-iam-policy Set the IAM policy for a queue. tasks queues update Update a Cloud Tasks queue. tasks run Force a task to run now. ```