Collection: namespaces

Resource: Namespace

An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.

JSON representation
{
  "namespaceName": string,
  "servingVisibility": enum(Visibility),
}
Fields
namespaceName

string

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

servingVisibility

enum(Visibility)

Specifies what clients may receive attachments under this namespace via beaconinfo.getforobserved.

Visibility

The visibility for a namespace's attachments via beaconinfo.getforobserved.

Enums
VISIBILITY_UNSPECIFIED Do not use this value.
UNLISTED Served only to the project that owns the namespace.
PUBLIC Any project can subscribe to attachments under the namespace.

Methods

list

Lists all attachment namespaces owned by your Google Developers Console project.

update

Updates the information about the specified namespace.