All Service Directory code samples

Stay organized with collections Save and categorize content based on your preferences.

This page contains code samples for Service Directory. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Create endpoint

Create a Service Directory endpoint.

View in documentation

Create namespace

Create a Service Directory namespace.

View in documentation

Create service

Create a Service Directory service.

View in documentation

Delete endpoint

Delete a Service Directory endpoint.

View in documentation

Delete namespace

Delete a Service Directory namespace.

View in documentation

Delete service

Delete a Service Directory service.

View in documentation

Quickstart

Basic usage of the Service Directory client library.

View in documentation

Resolve service

Resolve a Service Directory service.

View in documentation