projects

Creates a new ProducerExtension resource in a given project and location.

post/v1/{+parent}/producerExtensions

Request

  • Base URL: https://networkservices.googleapis.com
  • URL: https://networkservices.googleapis.com/v1/{+parent}/producerExtensions
  • 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 ProducerExtension resource. Must be in the format projects/{project}/locations/{location}.

Query parameters

producerExtensionIdstring

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

Request body

createTimestring google-datetime

Output only. The timestamp when the resource was created.

descriptionstring

Optional. A human-readable description of the resource.

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 labels associated with the ProducerExtension resource. The format must comply with the following requirements.

namestring

Identifier. Name of the ProducerExtension resource in the following format: projects/{project}/locations/{location}/producerExtensions/{producer_extension}.

phase'PHASE_UNSPECIFIED' | 'TRAFFIC' | 'AUTHZ'

Required. The phase in which this ProducerExtension should execute.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

Response

Successful response

Changes