- NAME
-
- gcloud ai operations describe - gets detailed index information about the given operation id
- SYNOPSIS
-
-
gcloud ai operations describe(OPERATION:--region=REGION) [--index=INDEX] [--index-endpoint=INDEX_ENDPOINT] [GCLOUD_WIDE_FLAG …]
-
- EXAMPLES
-
To describe an operation
123of projectexamplein regionus-central1, run:gcloud ai operations describe 123 --project=example --region=us-central1To describe an operation
123belongs to parent index resource456of projectexamplein regionus-central1, run:gcloud ai operations describe 123 --index=456 --project=example --region=us-central1To describe an operation
123belongs to parent index endpoint resource456of projectexamplein regionus-central1, run:gcloud ai operations describe 123 --index-endpoint=456 --project=example --region=us-central1 - POSITIONAL ARGUMENTS
-
-
Operation resource - The ID of the operation. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
operationon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
OPERATION-
ID of the operation or fully qualified identifier for the operation.
To set the
nameattribute:-
provide the argument
operationon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--region=REGION-
Cloud region for the operation.
To set the
regionattribute:-
provide the argument
operationon the command line with a fully specified name; -
provide the argument
--regionon the command line; -
set the property
ai/region; - choose one from the prompted list of available regions.
-
provide the argument
-
provide the argument
-
Operation resource - The ID of the operation. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
- FLAGS
-
--index=INDEX- ID of the index. Applies to operations belongs to an index resource. Do not set otherwise.
--index-endpoint=INDEX_ENDPOINT- ID of the index endpoint. Applies to operations belongs to an index endpoint resource. Do not set otherwise.
- 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 helpfor details. - NOTES
-
These variants are also available:
gcloud alpha ai operations describegcloud beta ai operations describe
gcloud ai operations describe
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 2025-09-16 UTC.