Method: projects.locations.namespaces.patch

Updates a namespace.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
namespace.name

string

Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.

Query parameters

Parameters
updateMask

string (FieldMask format)

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

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

Request body

The request body contains an instance of Namespace.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.