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, "metadata": { string: string, ... }, "network": string, "createTime": string, "updateTime": 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 |
metadata |
Optional. Metadata 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, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). |
createTime |
Output only. The timestamp when the endpoint was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The timestamp when the endpoint was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates an endpoint, and returns the new endpoint. |
|
Deletes an endpoint. |
|
Gets an endpoint. |
|
Lists all endpoints. |
|
Updates an endpoint. |