projects

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

post/v1/{+parent}/extensionBindings

Request

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

Query parameters

extensionBindingIdstring

Required. Short name of the ExtensionBinding 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 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.

failOpenboolean

Optional. Determines the behavior of the extension binding when the call to the extension fails or times out. Default value is FALSE. When set to TRUE, failures of the extension are silently ignored.

labelsobject

Optional. Set of labels associated with the ExtensionBinding resource. The format must comply with the following requirements.

namestring

Identifier. Name of the ExtensionBinding resource in the following format: projects/{project}/locations/{location}/extensionBindings/{extension_binding}.

priorityinteger

Optional. Priority of the extension binding. Lower numbers indicate higher priority. The priority determines the order in which extension bindings are applied to a request.

producerExtensionstring

Required. The name of the extension that this binding should attach to target resources. Format: For Google-provided extensions, specify the service endpoint, for example modelarmor.us-central1.rep.googleapis.com.

producerMetadataobject

Optional. Additional metadata that should be passed to the attached extension with each request. This field is subject to the following limitations: * The total size of the metadata must be less than 1 KiB. * The total number of keys must be less than 16. * The length of each key must be less than 64 characters. * The length of each value must be less than 1024 characters.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

Response

Successful response

Changes