Getting Started with the Service Networking API (original) (raw)
Getting Started with the Service Networking API
Stay organized with collections Save and categorize content based on your preferences.
This page describes how to enable and start using the Service Networking API. For most operational use cases, Google recommends the gcloud
command line interface. If you need to program against the Service Networking API, you can use one of our provided client libraries.
Enabling the service
Enable Service Networking in the private services management project. This project handles the private connections with consumer VPC networks. For more information, see Enabling private services access.
console
- Select or create a private services management project.
Go to the manage resources page - Enable the Service Networking API.
Enable the API
gcloud
Activate the Service Networking API:
gcloud services enable servicenetworking.googleapis.com
--project=PROJECT_ID
Replace PROJECT_ID
with the Google Cloud project ID of your private services management project.
Service Networking enables you to offer your managed services on internal IP addresses to service consumers. Service consumers use private services access to privately connect to your service. To set up your service for private services access, reach out to your Google representative for more information.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-10 UTC.