Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to get status information and other metadata about
Filestore operations.
Before you begin
You can only get operation information using the gcloud CLI. To use
the gcloud CLI, you must either
install the gcloud CLI
or use the Cloud Shell
that's built into the Google Cloud console:
You can get a list of Filestore operations by running the
operations list command:
gcloud filestore operations list
--[project=project-id] \
--[zone=zone]
where:
project-id is the project ID of the Google Cloud project that
contains the Filestore instance. You can skip this
flag if the Filestore instance is in the gcloud default
project. You can set the default project by running:
gcloud config set project project-id
zone is the zone where the Filestore
instance resides. Run the gcloud filestore zones list
command to get a list of supported zones. You can skip this flag
if the Filestore instance is in the gcloud default
zone. You can set the default zone by running:
gcloud config set filestore/zone zone
The command returns a response similar to the following:
operation-name is the name of the Filestore operation.
Use the
operations list
command to get a list of operation names.
project-id is the project ID of the Google Cloud project that
contains the Filestore instance. You can skip this
flag if the Filestore instance is in the gcloud default
project. You can set the default project by running:
gcloud config set project project-id
zone is the zone where the Filestore
instance resides. Run the gcloud filestore zones list
command to get a list of supported zones. You can skip this flag
if the Filestore instance is in the gcloud default
zone. You can set the default zone by running the config set filestore/zone
command:
gcloud config set filestore/zone zone
The command returns a response similar to the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eYou can retrieve Filestore operation information and metadata using the \u003ccode\u003egcloud\u003c/code\u003e command-line interface (CLI).\u003c/p\u003e\n"],["\u003cp\u003eTo see all Filestore operations, you can use the \u003ccode\u003egcloud filestore operations list\u003c/code\u003e command, optionally specifying the project ID and zone.\u003c/p\u003e\n"],["\u003cp\u003eTo get details about a specific Filestore operation, utilize the \u003ccode\u003egcloud filestore operations describe\u003c/code\u003e command, providing the operation name, and optionally the project ID and zone.\u003c/p\u003e\n"],["\u003cp\u003eProject ID and zone can be set as default to be omitted from commands for the associated project and zone.\u003c/p\u003e\n"]]],[],null,["# Getting operation information\n\nThis page shows you how to get status information and other metadata about\nFilestore operations.\n\nBefore you begin\n----------------\n\nYou can only get operation information using the gcloud CLI. To use\nthe gcloud CLI, you must either\n[install the gcloud CLI](/sdk/downloads)\nor use the Cloud Shell\n\nthat's built into the Google Cloud console:\n\n[Go to the Google Cloud console](https://console.cloud.google.com/)\n\nGetting information about all operations\n----------------------------------------\n\nYou can get a list of Filestore operations by running the\n[`operations list`](/sdk/gcloud/reference/filestore/operations/list) command: \n\n gcloud filestore operations list\n --[project=\u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e] \\\n --[zone=\u003cvar translate=\"no\"\u003ezone\u003c/var\u003e]\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e is the project ID of the Google Cloud project that\n contains the Filestore instance. You can skip this\n flag if the Filestore instance is in the `gcloud` default\n project. You can set the default project by running:\n\n gcloud config set project \u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e\n\n- \u003cvar translate=\"no\"\u003ezone\u003c/var\u003e is the zone where the Filestore\n instance resides. Run the [`gcloud filestore zones list`](/sdk/gcloud/reference/filestore/zones/list)\n command to get a list of supported zones. You can skip this flag\n if the Filestore instance is in the `gcloud` default\n zone. You can set the default zone by running:\n\n gcloud config set filestore/zone \u003cvar translate=\"no\"\u003ezone\u003c/var\u003e\n\nThe command returns a response similar to the following: \n\n```\nOPERATION_NAME LOCATION TYPE TARGET STATUS CREATE_TIME DURATION\noperation-1505929956434-559a2a41c217c-231e6a94-a4b6a803 us-central1-c create nfs1 DONE 2017-09-20T17:52:36 \u003c1S\noperation-1505931180862-559a2ed176d0d-a0d70ae0-35ef2e71 europe-west1-b create nfs2 DONE 2017-09-20T18:13:00 \u003c1S\n```\n\nGetting information about a specific operation\n----------------------------------------------\n\nYou can get details of a specific Filestore operation by running\nthe [`operations describe`](/sdk/gcloud/reference/filestore/operations/describe)\ncommand: \n\n gcloud filestore operations describe \u003cvar translate=\"no\"\u003eoperation-name\u003c/var\u003e \\\n --[project=\u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e] \\\n --[zone=\u003cvar translate=\"no\"\u003ezone\u003c/var\u003e]\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eoperation-name\u003c/var\u003e is the name of the Filestore operation. Use the [`operations list`](/filestore/docs/getting-operation-information#get-all-operations) command to get a list of operation names.\n- \u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e is the project ID of the Google Cloud project that\n contains the Filestore instance. You can skip this\n flag if the Filestore instance is in the `gcloud` default\n project. You can set the default project by running:\n\n gcloud config set project \u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e\n\n- \u003cvar translate=\"no\"\u003ezone\u003c/var\u003e is the zone where the Filestore\n instance resides. Run the `gcloud filestore zones list`\n command to get a list of supported zones. You can skip this flag\n if the Filestore instance is in the `gcloud` default\n zone. You can set the default zone by running the [`config set filestore/zone`](/sdk/gcloud/reference/config/set)\n command:\n\n gcloud config set filestore/zone \u003cvar translate=\"no\"\u003ezone\u003c/var\u003e\n\nThe command returns a response similar to the following: \n\n```\ndone: true\nmetadata:\n '@type': type.googleapis.com/google.cloud.common.OperationMetadata\n apiVersion: v1beta1\n createTime: '2017-10-09T22:18:09.347400Z'\n endTime: '2017-10-09T22:20:04.392199183Z'\n target: projects/filestore-test/locations/us-central1-c/instances/filer3\n verb: delete\nname: projects/filestore-test/locations/us-central1-c/operations/operation-1507587489330-55b2490c4f394-faece090-1c0e16db\n```"]]