ProjectsLocationsNamespaces
class ProjectsLocationsNamespaces extends Resource (View source)
The "namespaces" collection of methods.
Typical usage is:
$servicedirectoryService = new Google\Service\ServiceDirectory(...);
$namespaces = $servicedirectoryService->projects_locations_namespaces;
Methods
Creates a namespace, and returns the new namespace. (namespaces.create)
Deletes a namespace. This also deletes all services and endpoints in the namespace. (namespaces.delete)
Gets a namespace. (namespaces.get)
Gets the IAM Policy for a resource (namespace or service only).
Lists all namespaces. (namespaces.listProjectsLocationsNamespaces)
Updates a namespace. (namespaces.patch)
Sets the IAM Policy for a resource (namespace or service only).
Tests IAM permissions for a resource (namespace or service only).
Details
ServicedirectoryNamespace
create(string $parent, ServicedirectoryNamespace $postBody, array $optParams = [])
Creates a namespace, and returns the new namespace. (namespaces.create)
ServicedirectoryEmpty
delete(string $name, array $optParams = [])
Deletes a namespace. This also deletes all services and endpoints in the namespace. (namespaces.delete)
ServicedirectoryNamespace
get(string $name, array $optParams = [])
Gets a namespace. (namespaces.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the IAM Policy for a resource (namespace or service only).
(namespaces.getIamPolicy)
ListNamespacesResponse
listProjectsLocationsNamespaces(string $parent, array $optParams = [])
Lists all namespaces. (namespaces.listProjectsLocationsNamespaces)
ServicedirectoryNamespace
patch(string $name, ServicedirectoryNamespace $postBody, array $optParams = [])
Updates a namespace. (namespaces.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the IAM Policy for a resource (namespace or service only).
(namespaces.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Tests IAM permissions for a resource (namespace or service only).
(namespaces.testIamPermissions)