This page explains how to check the status of long-running Cloud Domains operations. Checking the status of operations is useful if your operation gets interrupted for some reason.
The procedures in the following table use long-running operations.
gcloud commands |
API methods |
---|---|
register |
register |
update |
patch |
delete |
delete |
configure contacts |
configureContactSettings |
configure dns |
configureDnsSettings |
configure management |
configureManagementSettings |
Check operation status
To check the status of each operation, complete the following steps.
Permissions required for this task
To perform this task, you must have been granted the following permissions or the following IAM roles.
Permissions
domains.operations.get
to get (or wait for) a single operationdomains.operations.list
to list operations
Roles
roles/domains.viewer
or
roles/domains.admin
To list all the Cloud Domains operations in a project, use the
gcloud domains registrations operations list
command:gcloud domains registrations operations list
To get information about a Cloud Domains operation in a project, use the
gcloud domains registrations operations describe
command:gcloud domains registrations operations describe
OPERATION_ID Replace
OPERATION_ID
with the ID of the operation that you want to get information for.To wait for a specified Cloud Domains operation to complete, use the
gcloud domains registrations operations wait
command:gcloud domains registrations operations wait
OPERATION_ID Replace
OPERATION_ID
with the ID or fully qualified identifier for the operation that you want to wait to complete.
To list all the Cloud Domains operations in a project, use the
operations.list
method with an empty body:GET https://domains.googleapis.com/v1/projects/
PROJECT_ID /locations/global/operationsReplace
PROJECT_ID
with the name of your project.To get information about a Cloud Domains operation in a project, use the
operations.get
method with an empty body:GET https://domains.googleapis.com/v1/projects/
PROJECT_ID /locations/global/operations/OPERATION_ID Replace the following:
PROJECT_ID
: the name of your projectOPERATION_ID
: the ID or fully qualified identifier for the operation that you want to get details for
What's next
- To view audit logs, see the Cloud Domains audit logging information.
- To access API information, see the Cloud Domains API.
- To find solutions for common issues that you might encounter when using Cloud Domains, see Troubleshooting.