1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Thu Mar 26 12:11:21 UTC 2026

This commit is contained in:
Automated 2026-03-26 12:11:21 +00:00
parent c0febd2be1
commit 89a3bc9276
1093 changed files with 69108 additions and 2686 deletions

View file

@ -111,7 +111,7 @@ FLAGS
Resource type of the IAP resource. For Backend Services, you can use
both compute and backend-services as resource type. RESOURCE_TYPE must
be one of: app-engine, iap_web, compute, organization, folder,
forwarding-rule, cloud-run, backend-services.
backend-services, forwarding-rule, cloud-run.
--service=SERVICE
Service name. Optional when resource-type is compute or app-engine.

View file

@ -15,71 +15,72 @@ EXAMPLES
To set the IAP setting for the resources within an organization, run:
$ gcloud beta iap settings set iap_settings.yaml \
--organization=ORGANIZATION_ID
--organization=ORGANIZATION_ID
To set the IAP setting for the resources within a folder, run:
To set the IAP setting for the resources within a folder, run:
$ gcloud beta iap settings set iap_settings.yaml --folder=FOLDER_ID
To set the IAP setting for the resources within a project, run:
To set the IAP setting for the resources within a project, run:
$ gcloud beta iap settings set iap_settings.yaml --project=PROJECT_ID
To set the IAP setting for web type resources within a project, run:
To set the IAP setting for web type resources within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=iap_web
--project=PROJECT_ID --resource-type=iap_web
To set the IAP setting for all app engine services within a project, run:
To set the IAP setting for all app engine services within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=app-engine
--project=PROJECT_ID --resource-type=app-engine
To set the IAP setting for an app engine service within a project, run:
To set the IAP setting for an app engine service within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=app-engine \
--service=SERVICE_ID
--project=PROJECT_ID --resource-type=app-engine \
--service=SERVICE_ID
To set the IAP setting for an app engine service version within a project, run:
To set the IAP setting for an app engine service version within a project,
run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=app-engine \
--service=SERVICE_ID --version=VERSION_ID
--project=PROJECT_ID --resource-type=app-engine \
--service=SERVICE_ID --version=VERSION_ID
To set the IAP setting for all backend services within a project, run:
To set the IAP setting for all backend services within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=backend-services
--project=PROJECT_ID --resource-type=backend-services
To set the IAP setting for a backend service within a project, run:
To set the IAP setting for a backend service within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=backend-services \
--service=SERVICE_ID
--project=PROJECT_ID --resource-type=backend-services \
--service=SERVICE_ID
To set the IAP setting for a region backend service within a project, run:
To set the IAP setting for a region backend service within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=backend-services \
--service=SERVICE_ID --region=REGION_ID
--project=PROJECT_ID --resource-type=backend-services \
--service=SERVICE_ID --region=REGION_ID
To set the IAP setting for all forwarding rule within a project, run:
To set the IAP setting for all forwarding rule within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=forwarding-rule
--project=PROJECT_ID --resource-type=forwarding-rule
To set the IAP setting for a forwarding rule within a project, run:
To set the IAP setting for a forwarding rule within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=forwarding-rule \
--service=SERVICE_ID
--project=PROJECT_ID --resource-type=forwarding-rule \
--service=SERVICE_ID
To set the IAP setting for a region forwarding rule within a project, run:
To set the IAP setting for a region forwarding rule within a project, run:
$ gcloud beta iap settings set iap_settings.yaml \
--project=PROJECT_ID --resource-type=forwarding-rule \
--service=SERVICE_ID --region=REGION_ID
--project=PROJECT_ID --resource-type=forwarding-rule \
--service=SERVICE_ID --region=REGION_ID
To set the IAP setting for the all cloud run services within a region of a
project, run:
@ -166,7 +167,7 @@ FLAGS
Resource type of the IAP resource. For Backend Services, you can use
both compute and backend-services as resource type. RESOURCE_TYPE must
be one of: app-engine, iap_web, compute, organization, folder,
forwarding-rule, cloud-run, backend-services.
backend-services, forwarding-rule, cloud-run.
--service=SERVICE
Service name. Optional when resource-type is compute or app-engine.

View file

@ -62,6 +62,12 @@ EXAMPLES
--resource-type=backend-services --service=SERVICE_ID \
--region=REGION
To get the IAM policy for the web accesses to the IAP protected resources
within a Cloud Run service, run:
$ gcloud beta iap web get-iam-policy --resource-type=cloud-run \
--service=SERVICE_ID --region=REGION
FLAGS
--region=REGION
Region name. Not applicable for resource-type=app-engine. Required when

View file

@ -67,6 +67,12 @@ EXAMPLES
--resource-type=backend-services --service=SERVICE_ID \
--region=REGION
To set the IAM policy for the web accesses to the IAP protected resources
within a Cloud Run service, run:
$ gcloud beta iap web set-iam-policy POLICY_FILE \
--resource-type=cloud-run --service=SERVICE_ID --region=REGION
POSITIONAL ARGUMENTS
POLICY_FILE
JSON or YAML file containing the IAM policy.