projects

Updates the parameters of the specified WasmPlugin resource.

patch/v1/{+name}

Request

  • Base URL: https://networkservices.googleapis.com
  • URL: https://networkservices.googleapis.com/v1/{+name}
  • 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

namestring required

Identifier. Name of the WasmPlugin resource in the following format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.

Query parameters

updateMaskstring

Optional. Used to specify the fields to be overwritten in the WasmPlugin resource by the update. The fields specified in the update_mask field are relative to the resource, not the full request. An omitted update_mask field is treated as an implied update_mask field equivalent to all fields that are populated (that have a non-empty value). The update_mask field supports a special value *, which means that each field in the given WasmPlugin resource (including the empty ones) replaces the current value.

updateMaskstring

Optional. Field mask is used to specify the fields to be overwritten in the ServiceBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Request body

createTimestring google-datetime

Output only. The timestamp when the resource was created.

descriptionstring

Optional. A human-readable description of the resource.

labelsobject

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

mainVersionIdstring

Optional. The ID of the WasmPluginVersion resource that is the currently serving one. The version referred to must be a child of this WasmPlugin resource.

namestring

Identifier. Name of the WasmPlugin resource in the following format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

versionsobject

Optional. All versions of this WasmPlugin resource in the key-value format. The key is the resource ID, and the value is the VersionDetails object. Lets you create or update a WasmPlugin resource and its versions in a single request. When the main_version_id field is not empty, it must point to one of the VersionDetails objects in the map. If provided in a PATCH request, the new versions replace the previous set. Any version omitted from the versions field is removed. Because the WasmPluginVersion resource is immutable, if a WasmPluginVersion resource with the same name already exists and differs, the request fails. Note: In a GET request, this field is populated only if the field GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • warning

      deleted the query request parameter requestId

    • info

      api operation id networkservices.projects.locations.authzExtensions.patch removed and replaced with networkservices.projects.locations.wasmPlugins.patch

    • info

      added the new optional query request parameter updateMask

    • warning

      deleted the query request parameter updateMask

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      api operation id networkservices.projects.locations.agentGateways.patch removed and replaced with networkservices.projects.locations.authzExtensions.patch

    • info

      added the new optional query request parameter requestId

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property