Method: projects.locations.edgeCacheOrigins.patch

Updates the parameters of a single EdgeCacheOrigin.

HTTP request

PATCH https://networkservices.googleapis.com/v1/{edgeCacheOrigin.name=projects/*/locations/*/edgeCacheOrigins/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
edgeCacheOrigin.name

string

Required. The name of the resource as provided by the client when the resource is created. The name must be 1-64 characters long, and match the regular expression [a-zA-Z]([a-zA-Z0-9_-])*, which means that the first character must be a letter, and all following characters must be a dash, an underscore, a letter, or a digit.

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. FieldMask is used to specify the fields to overwrite in the EdgeCacheOrigin resource by the update. The fields specified in updateMask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask value, then all fields are overwritten.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Authorization requires the following IAM permission on the specified resource updateMask:

  • networkservices.edgeCacheOrigins.update

Request body

The request body contains an instance of EdgeCacheOrigin.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.