gcloud iap settings get Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud iap settings get - get the setting for an IAP resource
- SYNOPSIS
gcloud iap settings get[--folder=FOLDER--organization=ORGANIZATION--project=PROJECT--region=REGION--resource-type=RESOURCE_TYPE--service=SERVICE--version=VERSION][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Get the setting for an IAP resource.
- EXAMPLES
- To get the IAP setting for the resources within an organization, run:
gcloudiapsettingsget--organization=ORGANIZATION_IDTo get the IAP setting for the resources within a folder, run:
gcloudiapsettingsget--folder=FOLDER_IDTo get the IAP setting for the resources within a project, run:
gcloudiapsettingsget--project=PROJECT_IDTo get the IAP setting for web type resources within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=iap_webTo get the IAP setting for all app engine services within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=app-engineTo get the IAP setting for an app engine service within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=app-engine--service=SERVICE_IDTo get the IAP setting for an app engine service version within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=app-engine--service=SERVICE_ID--version=VERSION_IDTo get the IAP setting for all backend services within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=backend-servicesTo get the IAP setting for a backend service within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=backend-services--service=SERVICE_IDTo get the IAP setting for a regional backend service within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=backend-services--service=SERVICE_ID--region=REGION_IDTo get the IAP setting for all forwarding rules within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=forwarding-ruleTo get the IAP setting for a forwarding rule within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=forwarding-rule--service=SERVICE_IDTo get the IAP setting for a regional forwarding rule within a project, run:
gcloudiapsettingsget--project=PROJECT_ID--resource-type=forwarding-rule--service=SERVICE_ID--region=REGION_ID - FLAGS
--folder=FOLDER- Folder ID.
--organization=ORGANIZATION- Organization ID.
--project=PROJECT- Project ID.
--region=REGION- Region name. Not applicable for
app-engine. Required whenresource-type=computeand regional scoped. Not applicable forglobal scoped compute. --resource-type=RESOURCE_TYPE- Resource type of the IAP resource. For Backend Services, you can use both
computeandbackend-servicesas resource type.RESOURCE_TYPEmust be one of:app-engine,iap_web,compute,organization,folder,backend-services,forwarding-rule. --service=SERVICE- Service name. Optional when
resource-typeiscomputeorapp-engine. --version=VERSION- Version name. Not applicable for
compute. Optional whenresource-type=app-engine.
- 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:
gcloudalphaiapsettingsgetgcloudbetaiapsettingsget
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-05-07 UTC.