Resource: Endpoint
An individual endpoint that provides a service
. The service must already exist to create an endpoint.
JSON representation |
---|
{ "name": string, "address": string, "port": integer, "annotations": { string: string, ... }, "network": string, "uid": string } |
Fields | |
---|---|
name |
Immutable. The resource name for the endpoint in the format |
address |
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like:
Limited to 45 characters. |
port |
Optional. Service Directory rejects values outside of |
annotations |
Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions:
Note: This field is equivalent to the An object containing a list of |
network |
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, we also check to make sure that you have the servicedirectory.networks.attach permission on the project specified. |
uid |
Output only. The globally unique identifier of the endpoint in the UUID4 format. |
Methods |
|
---|---|
|
Creates an endpoint, and returns the new endpoint. |
|
Deletes an endpoint. |
|
Gets an endpoint. |
|
Lists all endpoints. |
|
Updates an endpoint. |