Send feedback
REST Resource: projects.locations.namespaces
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Namespace
A container for services
. Namespaces allow administrators to group services together and define permissions for a collection of services.
JSON representation
{
"name" : string ,
"labels" : {
string : string ,
...
} ,
"uid" : string
}
Fields
name
string
Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*
.
labels
map (key: string, value: string)
Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
uid
string
Output only. The globally unique identifier of the namespace in the UUID4 format.
Methods
Creates a namespace, and returns the new namespace.
Deletes a namespace.
Gets a namespace.
Gets the IAM Policy for a resource (namespace or service only).
Lists all namespaces.
Updates a namespace.
Sets the IAM Policy for a resource (namespace or service only).
Tests IAM permissions for a resource (namespace or service only).
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-13 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?