# Service Directory API

Service Directory is a platform for discovering, publishing, and connecting services.

## Service: servicedirectory.googleapis.com

The Service name `servicedirectory.googleapis.com` is needed to create RPC client stubs.

## `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.location#google.cloud.location.Locations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.location#google.cloud.location.Locations.GetLocation` `` | Gets information about a location. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.location#google.cloud.location.Locations.ListLocations` `` | Lists information about the supported locations for this service. |

## `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.LookupService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.LookupService.ResolveService` `` | Returns a `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.Service` and its associated endpoints. |

## `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint` `` | Creates an endpoint, and returns the new endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace` `` | Creates a namespace, and returns the new namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.CreateService` `` | Creates a service, and returns the new service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint` `` | Deletes an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace` `` | Deletes a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.DeleteService` `` | Deletes a service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint` `` | Gets an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy` `` | Gets the IAM Policy for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.GetNamespace` `` | Gets a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.GetService` `` | Gets a service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints` `` | Lists all endpoints. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces` `` | Lists all namespaces. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.ListServices` `` | Lists all services belonging to a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy` `` | Sets the IAM Policy for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions` `` | Tests IAM permissions for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint` `` | Updates an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace` `` | Updates a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#google.cloud.servicedirectory.v1.RegistrationService.UpdateService` `` | Updates a service. |

## `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.LookupService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.LookupService.ResolveService` `` | Returns a `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.Service` and its associated endpoints. |

## `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint` `` | Creates an endpoint, and returns the new endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace` `` | Creates a namespace, and returns the new namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService` `` | Creates a service, and returns the new service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint` `` | Deletes an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace` `` | Deletes a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService` `` | Deletes a service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint` `` | Gets an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy` `` | Gets the IAM Policy for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace` `` | Gets a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.GetService` `` | Gets a service. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints` `` | Lists all endpoints. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces` `` | Lists all namespaces. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices` `` | Lists all services belonging to a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy` `` | Sets the IAM Policy for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions` `` | Tests IAM permissions for a resource (namespace or service only). |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint` `` | Updates an endpoint. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace` `` | Updates a namespace. |
| `` `https://docs.cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1beta1#google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService` `` | Updates a service. |