Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Gerenciar endpoints usados para acessar serviços publicados
Depois de criar um endpoint do Private Service Connect
para acessar serviços gerenciados, é possível ativar ou desativar o acesso global. Se precisar
atualizar outros campos, exclua o endpoint e crie um novo.
Papéis
O papel do IAM a seguir fornece
as permissões necessárias para executar as tarefas neste guia.
É possível ativar ou desativar o acesso global depois que um endpoint é
criado.
Ativar o acesso global
É possível ativar o acesso global ao criar um endpoint ou a qualquer momento após a criação do endpoint.
Ativar o acesso global não causa interrupção do tráfego para conexões atuais.
Console
No Console do Google Cloud, acesse a página do Private Service Connect.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-04-22 UTC."],[],[],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```"]]