[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[],[],null,["# Manage endpoints used to access published services\n==================================================\n\nAfter you have created a Private Service Connect endpoint\nto access managed services, you can turn global access on or off. If you need\nto update other fields, delete the endpoint, and then create a new one.\n\nRoles\n-----\n\nThe following [IAM role](/iam/docs/understanding-roles) provides\nthe permissions needed to perform the tasks in this guide.\n\nConfigure global access\n-----------------------\n\nYou can turn global access on or off after an endpoint is\n[created](/vpc/docs/configure-private-service-connect-services).\n\n### Turn on global access\n\nYou can turn on global access when you [create an endpoint](/vpc/docs/configure-private-service-connect-services#create-endpoint), or you\ncan turn on global access at any time after the endpoint is created.\nTurning on global access does not cause traffic disruption for\nexisting connections. \n\n### Console\n\n1. In the Google Cloud console, go to the **Private Service Connect** page.\n\n [Go to Private Service Connect](https://console.cloud.google.com/net-services/psc)\n2. Click the **Connected endpoints** tab.\n\n3. Click the endpoint that you want to update.\n\n4. Click **Edit**.\n\n5. Select **Enable global access**.\n\n6. Click **Save**.\n\n### gcloud\n\n```\ngcloud compute forwarding-rules update ENDPOINT_NAME \\\n --allow-psc-global-access \\\n --region=REGION\u003cvar translate=\"no\"\u003e\n\u003c/var\u003e\n```\n\n### Turn off global access\n\nYou can turn off global access, which terminates any connections from regions\nother than the region where the endpoint is located. \n\n### Console\n\n1. In the Google Cloud console, go to the **Private Service Connect** page.\n\n [Go to Private Service Connect](https://console.cloud.google.com/net-services/psc)\n2. Click the **Connected endpoints** tab.\n\n3. Click the endpoint that you want to update.\n\n4. Click **Edit**.\n\n5. Clear **Enable global access**.\n\n6. Click **Save**.\n\n### gcloud\n\n```\ngcloud compute forwarding-rules update ENDPOINT_NAME \\\n --no-allow-psc-global-access \\\n --region=REGION\u003cvar translate=\"no\"\u003e\n\u003c/var\u003e\n```"]]