Se você já tiver um nome de domínio (como example.com) e quiser usar esse nome de domínio como o nome do serviço do Cloud Endpoints, prove que está autorizado a usar o domínio. Se não tiver seu próprio nome de domínio, use um domínio gerenciado pelo Google. Nesse caso, não será necessário confirmar a propriedade.
Nesta página, você aprende a verificar a propriedade de um nome de domínio que quer usar na API em execução no Google Cloud.
Requisitos do nome de serviço
Normalmente, o nome de serviço do Endpoints é configurado para ser o mesmo que o nome de domínio. O Endpoints tem os seguintes requisitos para o nome de serviço:
O comprimento máximo do nome do domínio é de 253 caracteres.
O nome de domínio precisa começar com uma letra minúscula.
Cada seção no nome de domínio, delimitada por pontos, apresenta os seguintes
requisitos:
Precisa começar com uma letra minúscula.
Não pode terminar com um traço.
Os outros caracteres podem ser letras minúsculas, números ou traços.
O comprimento máximo é de 63 caracteres.
Como verificar propriedade
Somente a conta de usuário com propriedade verificada do nome de domínio pode implantar a configuração do Endpoints inicialmente. Após a implantação inicial, conceda o papel mais restritivo de Editor de configuração do serviço a um usuário, grupo ou conta de serviço. Consulte Como conceder e revogar o acesso à API para mais informações.
Para verificar se você é proprietário do nome de domínio:
No menu suspenso Record Type do banner Verify domain ownership via
DNS record, use a opção Recommended methods, se possível.
Faça login no seu provedor de nome de domínio e conclua o processo de verificação
de acordo com as instruções. Seu provedor de nome de domínio pode estar qualificado para o
AutoDNS.
Siga as instruções fornecidas no Search Console até concluir a verificação do domínio.
Como delegar a desenvolvedores
Depois de ser verificado como proprietário do domínio no Search Console, como opção, delegue acesso a subdomínios para os desenvolvedores da organização. Assim, os desenvolvedores podem criar APIs do Endpoints sem precisar verificar a propriedade de domínio.
[[["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-08-18 UTC."],[[["\u003cp\u003eTo use your own domain name with Cloud Endpoints, you must verify your ownership of the domain through Google Search Console.\u003c/p\u003e\n"],["\u003cp\u003eThe initial deployment of an Endpoints configuration requires the user account to have verified domain ownership, after which more restrictive roles can be granted.\u003c/p\u003e\n"],["\u003cp\u003eDomain verification is done by adding a DNS record through your domain name provider, and Google Search Console guides you through this verification process.\u003c/p\u003e\n"],["\u003cp\u003eAfter verifying domain ownership, you can delegate access to subdomains to other developers within your organization, allowing them to create Endpoints APIs.\u003c/p\u003e\n"],["\u003cp\u003eDomain name verification is automatically re-confirmed every 30 days and removing it will prevent further configuration changes in Google Cloud, but will not affect existing service on that domain.\u003c/p\u003e\n"]]],[],null,["# Verifying a domain name\n\nOpenAPI \\| [gRPC](/endpoints/docs/grpc/verify-domain-name \"View this page for the Cloud Endpoints gRPC docs\")\n\n\u003cbr /\u003e\n\nIf you already own a domain name (such as `example.com`), and you want to\nuse this domain name as the name of your Cloud Endpoints service, you must\nprove that you are authorized to use the domain. If you don't have your own\ndomain name, you can use a\n[domain managed by Google](/endpoints/docs/openapi/configure-endpoints#using_a_domain_managed_by_google),\nin which case you don't have to verify ownership.\n\nThis page describes how to verify your ownership of a domain name that you want\nto use for your API running on Google Cloud.\n\nService name requirements\n-------------------------\n\nTypically, you configure your Endpoints service name to be the\nsame as your domain name. Endpoints has the following\nrequirements for the service name:\n\nVerifying ownership\n-------------------\n\nOnly the user account that has verified ownership of the domain name can\ndeploy the Endpoints configuration initially. After that first\ndeployment, you can grant the more restrictive **Service Config Editor** role to\na user, group, or service account. See\n[Granting and revoking access to the API](/endpoints/docs/openapi/control-api-access)\nfor more information.\n\nTo verify that you own the domain name:\n\n1. Go to\n [Search Console](https://search.google.com/search-console/welcome).\n\n2. Click **Domain**.\n\n3. Enter your domain name.\n\n | **Important:** Don't include protocol identifiers such as `http://` or `https://`. Enter only the domain name, such as `example.com` or a subdomain, such as `api.example.com`.\n4. Click **Continue**.\n\n5. On the **Record Type** Dropdown in the **Verify domain ownership via\n DNS record** banner, use the **Recommended methods** option if possible.\n\n6. Sign in to your Domain name provider and complete the verification process\n per the instructions. Your Domain name provide may be eligible for\n [AutoDNS](https://developers.google.com/search/blog/2019/09/auto-dns-verification).\n\n7. Follow the directions provided on **Search Console** until you complete your domain's verification.\n\n| **Important:** The domain name verification is automatically re-confirmed about every 30 days. If you remove the verification string from your DNS settings, you lose the ability to change the configuration within the Google Cloud console. However, if this happens, the serving setup for the domain doesn't change and the app continues to serve over that domain.\n\nDelegating to developers\n------------------------\n\nAfter you are verified as a domain owner in Search Console, you can optionally\ndelegate access to subdomains to developers within the organization. This allows\nthose developers to create Endpoints APIs without having to\nverify domain ownership themselves.\n\nFor more information on delegating, see\n[Managing users, owners, and permissions](https://support.google.com/webmasters/answer/2453966?ref_topic=4564315).\n\nConfiguring your domain for SSL\n-------------------------------\n\nYou might want to configure your domain for SSL. Note that some types of\n[authentication](/endpoints/docs/openapi/authenticating-users) require SSL.\n\nWhat's next\n-----------\n\n- [Serving an API from your domain name](/endpoints/docs/openapi/serving-apis-from-domains)"]]