gcloud iap settings get - get the setting for an IAP resource
gcloud iap settings get [--folder=FOLDER --organization=ORGANIZATION --project=PROJECT --resource-type=RESOURCE_TYPE --service=SERVICE --version=VERSION] [GCLOUD_WIDE_FLAG ...]
Get the setting for an IAP resource.
To get the IAP setting for the resources within an organization, run:
$ gcloud iap settings get --organization=ORGANIZATION_ID
To get the IAP setting for the resources within a folder, run:
$ gcloud iap settings get --folder=FOLDER_ID
To get the IAP setting for the resources within a project, run:
$ gcloud iap settings get --project=PROJECT_ID
To get the IAP setting for web type resources within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=iap_web
To get the IAP setting for all app engine services within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=app-engine
To get the IAP setting for an app engine service within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=app-engine --service=SERVICE_ID
To get the IAP setting for an app engine service version within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=app-engine --service=SERVICE_ID \ --version=VERSION_ID
To get the IAP setting for all backend services within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=compute
To get the IAP setting for a backend service within a project, run:
$ gcloud iap settings get --project=PROJECT_ID \ --resource-type=compute --service=SERVICE_ID
- --folder=FOLDER
Folder ID.
- --organization=ORGANIZATION
Organization ID.
- --project=PROJECT
Project ID.
- --resource-type=RESOURCE_TYPE
Resource type of the IAP resource. RESOURCE_TYPE must be one of: app-engine, iap_web, compute, organization, folder.
- --service=SERVICE
Service name. Optional when resource-type is compute or app-engine.
- --version=VERSION
Version name. Not applicable for compute. Optional when resource-type is app-engine.
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 help for details.
These variants are also available:
$ gcloud alpha iap settings get
$ gcloud beta iap settings get