無論是否支援 VPC Service Controls,都能存取大多數 Google API 和服務。包括 Google 地圖、Google Ads、 Google Cloud和大多數其他 Google API 的 API 存取權,包括下列清單。不支援 Gmail 和 Google 文件等 Google Workspace 網頁應用程式。不支援任何互動式網站。
禁止存取不支援 VPC Service Controls 的 Google API 和服務。
不支援 Google Workspace API 或 Google Workspace 網頁應用程式,例如 Gmail 和 Google 文件。
如果只需要存取 VPC Service Controls 支援的 Google API 和服務,請選擇 vpc-sc。vpc-sc 套裝組合不允許存取不支援 VPC Service Controls 的 Google API 和服務。1
1
如要限制使用者只能存取支援 VPC Service Controls 的 Google API 和服務,請使用 vpc-sc,因為這項功能可進一步降低資料竊取風險。使用 vpc-sc 會拒絕存取 VPC Service Controls 不支援的 Google API 和服務。詳情請參閱 VPC Service Controls 說明文件中的「設定私人連線」。
單一全域 Google API
您可以使用 Private Service Connect 後端,將要求傳送至單一支援的全球 Google API。系統支援下列 API:
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Private Service Connect compatibility\n=====================================\n\nServices\n--------\n\nYou can access the following services by using\nPrivate Service Connect.\n\n### Google published services\n\n\n\u003cbr /\u003e\n\n### Third-party published services\n\n\n\u003cbr /\u003e\n\n### Self-managed published services\n\n### Global Google APIs\n\nEndpoints can target a bundle of global Google APIs or a single regional Google\nAPI. Backends can target a single global Google API or a single regional Google\nAPI.\n\n#### Bundles of global Google APIs\n\nYou can use Private Service Connect endpoints to send traffic\nto a bundle of Google APIs.\n\n\nWhen you create an endpoint to access\nGoogle APIs and services, you choose which bundle of APIs you need\naccess to---**All APIs** (`all-apis`) or\n**VPC-SC** (`vpc-sc`):\n\n- The `all-apis` bundle provides access to most Google APIs and services,\n including all `*.googleapis.com` service endpoints.\n\n- The `vpc-sc` bundle provides access to\n [APIs\n and services that support VPC Service Controls.](/vpc-service-controls/docs/supported-products#supported_products)\n\n| **Note:** Note: These bundles provide access to the same APIs that are available through the [Private Google Access VIPs](/vpc/docs/configure-private-google-access#domain-options)---`all-apis` is equivalent to `private.googleapis.com` and `vpc-sc` is equivalent to `restricted.googleapis.com`.\n\n\u003cbr /\u003e\n\n\nThe API bundles support only HTTP-based protocols over TCP (HTTP, HTTPS, and HTTP/2). All other\nprotocols, including MQTT and ICMP are not supported.\n\n^1^ If you need to restrict users to just the Google APIs and services that support [VPC Service Controls](/vpc-service-controls/docs), use `vpc-sc`, as it provides additional risk mitigation for data exfiltration. Using `vpc-sc` denies access to Google APIs and services that are not supported by VPC Service Controls. See [Setting up private\nconnectivity](/vpc-service-controls/docs/set-up-private-connectivity) in the VPC Service Controls documentation for more details.\n\n\u003cbr /\u003e\n\n#### Single global Google API\n\nYou can use Private Service Connect backends to send requests\nto a single supported global Google API. The following APIs are supported:\n\n\n- [Bigtable](/bigtable/docs/apis): `bigtable.googleapis.com` and `bigtableadmin.googleapis.com`\n- [Cloud Logging](/logging/docs/apis): `logging.googleapis.com`\n- [Spanner](/spanner/docs/apis): `spanner.googleapis.com`\n- [Cloud Storage](/storage/docs/apis): `storage.googleapis.com`\n- [Pub/Sub](/pubsub/docs/apis): `pubsub.googleapis.com`\n\n\u003cbr /\u003e\n\n### Regional Google APIs\n\nYou can use endpoints or backends to access regional Google APIs.\nFor a list of supported regional Google APIs, see [Regional service\nendpoints](/vpc/docs/regional-service-endpoints).\n\nTypes\n-----\n\nThe following tables summarize compatibility information for different\nPrivate Service Connect configurations.\n\nIn the following tables, a checkmark indicates\nthat a feature is supported, and a no symbol\nindicates that a feature isn't supported.\n\n### Endpoints and published services\n\nThis section summarizes the configuration options that are available for\nconsumers and producers when using endpoints to access published services.\n\n#### Consumer configuration\n\n\nThis table summarizes the supported configuration options and capabilities of\n[endpoints that access published\nservices](/vpc/docs/about-accessing-vpc-hosted-services-endpoints) based on target producer type.\n\n\u003cbr /\u003e\n\n\n\u003cbr /\u003e\n\n\nEndpoints that access a published service have the following limitations:\n\n- You can't create an endpoint in the same\n VPC network as the\n [published service](/vpc/docs/configure-private-service-connect-producer) that you\n are accessing.\n\n- [Packet Mirroring](/vpc/docs/packet-mirroring) can't mirror packets\n for Private Service Connect published services traffic.\n\n- Not all static routes with load balancer next hops are supported with\n Private Service Connect. For more information, see [Static routes with load\n balancer next hops](/vpc/docs/about-accessing-vpc-hosted-services-endpoints#routing).\n\n- [Connectivity Tests](/network-intelligence-center/docs/connectivity-tests/concepts/overview) can't test connectivity between an IPv6 endpoint and a published\n service.\n\n\u003cbr /\u003e\n\n#### Producer configuration\n\nThis table summarizes the supported configuration options and capabilities of\n[published services that are accessed by endpoints](/vpc/docs/about-vpc-hosted-services).\n\n\n\u003cbr /\u003e\n\n\nPublished services have the following limitations:\n\n- Load balancers that are configured with [multiple protocols](/load-balancing/docs/internal/setting-up-ilb-multiple-protocols)---protocol set to `L3_DEFAULT`---are not supported.\n- [Packet Mirroring](/vpc/docs/packet-mirroring) can't mirror packets for Private Service Connect published services traffic.\n- You must use the Google Cloud CLI or the API to create a service attachment that points to a forwarding rule that is used for [internal protocol forwarding](/load-balancing/docs/protocol-forwarding).\n\nFor issues and workarounds, see\n[Known issues](/vpc/docs/configure-private-service-connect-producer#known-issues).\n\n\u003cbr /\u003e\n\n\nDifferent load balancers support different port configurations; some load\nbalancers support a single port, some support a range of ports, and some support\nall ports. For more information, see [Port\nspecifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).\n\n### Backends and published services\n\n\nA\n[Private Service Connect backend for published services](/vpc/docs/private-service-connect-backends)\nrequires two load balancers---a consumer load balancer and a producer load\nbalancer. This section summarizes the configuration options that are available for\nconsumers and producers when using backends to access published services.\n\n\u003cbr /\u003e\n\n#### Consumer configuration\n\n\nThis table describes the consumer load balancers that are supported by\nPrivate Service Connect backends for published services, including\nwhich backend service protocols can be used with each consumer load balancer.\nThe consumer load balancers can access published services that are hosted on\n[supported producer load balancers](#producer-configuration-backends).\n\n\u003cbr /\u003e\n\n\n\u003cbr /\u003e\n\n#### Producer configuration\n\n\nThis table describes the configuration for producer load balancers\nthat are supported by Private Service Connect backends for\npublished services.\n\n\n| **Note:** To support access by a Private Service Connect backend in a global or cross-regional load balancer, the producer load balancer must have [global access](/load-balancing/docs/internal/setting-up-internal#ilb-global-access) turned on before the service attachment is created.\n\n\u003cbr /\u003e\n\n\nPublished services have the following limitations:\n\n- Load balancers that are configured with [multiple protocols](/load-balancing/docs/internal/setting-up-ilb-multiple-protocols)---protocol set to `L3_DEFAULT`---are not supported.\n- [Packet Mirroring](/vpc/docs/packet-mirroring) can't mirror packets for Private Service Connect published services traffic.\n- You must use the Google Cloud CLI or the API to create a service attachment that points to a forwarding rule that is used for [internal protocol forwarding](/load-balancing/docs/protocol-forwarding).\n\nFor issues and workarounds, see\n[Known issues](/vpc/docs/configure-private-service-connect-producer#known-issues).\n\n\u003cbr /\u003e\n\nFor an example backend configuration that uses a global external Application Load Balancer, see\n[Access published services through\nbackends](/vpc/docs/configure-private-service-connect-services-controls).\n\nTo publish a service, see [Publish\nservices](/vpc/docs/configure-private-service-connect-producer).\n\n### Endpoints and global Google APIs\n\nThis table summarizes the features that are supported by [endpoints used to\naccess Google APIs](/vpc/docs/about-accessing-google-apis-endpoints).\n\nTo create this configuration, see [Access Google APIs\nthrough endpoints](/vpc/docs/configure-private-service-connect-apis).\n\n\n\u003cbr /\u003e\n\n### Backends and global Google APIs\n\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis table describes which load balancers can use a\nPrivate Service Connect backend to a global Google API.\n\n\n\u003cbr /\u003e\n\n### Endpoints and regional Google APIs\n\nThis table summarizes the features that are supported by [endpoints used to\naccess regional Google\nAPIs](/vpc/docs/about-accessing-regional-google-apis-endpoints).\n\n\n\u003cbr /\u003e\n\n### Backends and regional Google APIs\n\nThis table describes which load balancers can use a\n[Private Service Connect\nbackend](/vpc/docs/private-service-connect-backends) to access regional\nGoogle APIs.\n\nFor an example backend configuration that uses an internal Application Load Balancer,\nsee [Access regional Google APIs through\nbackends](/vpc/docs/configure-private-service-connect-controls).\n\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn about [accessing published services through endpoints](/vpc/docs/about-accessing-vpc-hosted-services-endpoints).\n- Learn about [accessing global Google APIs through endpoints](/vpc/docs/about-accessing-google-apis-endpoints).\n- Learn about [accessing regional Google APIs through endpoints](/vpc/docs/about-accessing-google-apis-endpoints).\n- Learn about [backends](/vpc/docs/private-service-connect-backends).\n- Learn about [publishing services](/vpc/docs/about-vpc-hosted-services)."]]