projects

Creates a new AgentConnectivityTemplate in a given project and location.

post/v1/{+parent}/agentConnectivityTemplates

Request

  • Base URL: https://networkservices.googleapis.com
  • URL: https://networkservices.googleapis.com/v1/{+parent}/agentConnectivityTemplates
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

Required. The parent resource of the AgentConnectivityTemplate. Must be in the format projects/*/locations/*.

Query parameters

agentConnectivityTemplateIdstring

Required. Short name of the AgentConnectivityTemplate resource to be created.

Request body

accessPath'ACCESS_PATH_UNSPECIFIED' | 'CLIENT_TO_AGENT' | 'AGENT_TO_ANYWHERE'

Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource model. The path is immutable once set. Exactly one path can be set.

accessTypesstring[]

Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be configured.

agentCompute'AGENT_COMPUTE_UNSPECIFIED' | 'GKE' | 'CLOUD_RUN' | 'BORG' | 'GCE_VM'

Optional. The compute environment where the agent is hosted. Exactly one type of compute must be chosen.

createTimestring google-datetime

Output only. The timestamp when the resource was created.

deploymentModel'DEPLOYMENT_MODEL_UNSPECIFIED' | 'CENTRALIZED' | 'AMBIENT'

Required. The deployment model for the gateway.

descriptionstring

Optional. A free-text description of the resource. Max length 1024 characters.

etagstring

Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.

labelsobject

Optional. Set of label tags associated with the AgentConnectivityTemplate resource.

namestring

Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern projects/*/locations/*/agentConnectivityTemplates/.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

Response

Successful response

Changes