Method: namespaces.update

Updates the information about the specified namespace. Only the namespace visibility can be updated.

HTTP request

PUT https://proximitybeacon.googleapis.com/v1beta1/{namespace.namespaceName=namespaces/*}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
namespace.namespaceName

string

Resource name of this namespace. Namespaces names have the format: namespaces/namespace.

Query parameters

Parameters
projectId

string

The project id of the namespace to update. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.

Request body

The request body contains an instance of Namespace.

Response body

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

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/userlocation.beacon.registry

For more information, see the Auth Guide.