Method: projects.locations.namespaces.services.endpoints.patch

Updates an endpoint.

HTTP request

PATCH https://servicedirectory.googleapis.com/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
endpoint.name

string

Immutable. The resource name for the endpoint in the format projects/*/locations/*/namespaces/*/services/*/endpoints/*.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. List of fields to be updated in this request.

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

Request body

The request body contains an instance of Endpoint.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.