我有关于Kubernetes部署的问题。它要求配置Cloud Endpoints,因此,为此,我需要验证域的所有权才能使用自定义域。 (请参阅我当前关注的https://cloud.google.com/endpoints/docs/grpc/configure-endpoints?authuser=1链接)
但是,既然我的域名已经过验证(site.com),我正在尝试推送我的security.pb和我的app_config.yaml,但它说拒绝了权限...
security-service.proto
syntax = "proto3";
package security.service.site.com;
// ...
app_config.yaml
# The configuration schema is defined by service.proto file
# https://github.com/googleapis/googleapis/blob/master/google/api/service.proto
type: google.api.Service
config_version: 3
#
# Name of the service configuration.
#
name: security.service.site.com
#
# API title to appear in the user interface (Google Cloud Console).
#
title: Security gRPC API
apis:
- name: security.service.site.com.SecurityService
MBP-de-Emixam23:security-service-interface emixam23 $ gcloud端点服务部署了security-service.pb api_config.yaml
错误:(gcloud.endpoints.services.deploy)PERMISSION_DENIED:无法验证项目“ PROJECT_ID”上域名“ security.service.site.com”的所有权。
我有关于Kubernetes部署的问题。它要求配置Cloud Endpoints,因此,为此,我需要验证域的所有权才能使用自定义域。 (请参阅https:// cloud ....
由于您在OpenAPI文档的主机字段中配置了自定义域(site.com),因此必须先verify the domain name,然后才能部署OpenAPI文档。您收到此错误,是因为your domain still not verified completely or correctly。请按照link进行故障排除。