gcloud beta dataproc sessions list Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta dataproc sessions list - list sessions in a project
- SYNOPSIS
gcloud beta dataproc sessions list[--location=LOCATION][--limit=LIMIT][--page-size=PAGE_SIZE; default=100][--sort-by=[FIELD,…]][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)List sessions in a project. Page-size sets the maximumnumber of sessions returned per page, and Page-token retrieves subsequentresults.- EXAMPLES
- List sessions in the "us-central1" location:
gcloudbetadataprocsessionslist--location="us-central1" - FLAGS
--location=LOCATION- Dataproc location to use. Each Dataproc location constitutes an independentresource namespace constrained to deploying instances into Compute Engine zonesinside the location. Overrides the default
dataproc/locationproperty value for this command invocation.
- LIST COMMAND FLAGS
--limit=LIMIT- Maximum number of resources to list. The default is
unlimited. Thisflag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit. --page-size=PAGE_SIZE; default=100- Some services group resource list output into pages. This flag specifies themaximum number of resources per page. The default is
100. Pagingmay be applied before or after--filterand--limitdepending on the service. --sort-by=[FIELD,…]- Comma-separated list of resource field key names to sort by. The default orderis ascending. Prefix a field with ``~´´ for descending order on thatfield. This flag interacts with other flags that are applied in this order:
--flatten,--sort-by,--filter,--limit.
- 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
- This command is currently in beta and might change without notice.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-16 UTC.