ProjectsLocationsNamespacesServices
class ProjectsLocationsNamespacesServices extends Resource (View source)
The "services" collection of methods.
Typical usage is:
$servicedirectoryService = new Google\Service\ServiceDirectory(...);
$services = $servicedirectoryService->projects_locations_namespaces_services;
Methods
Deletes a service. This also deletes all endpoints associated with the service. (services.delete)
Gets the IAM Policy for a resource (namespace or service only).
Lists all services belonging to a namespace.
Returns a service and its associated endpoints. Resolving a service is not considered an active developer method. (services.resolve)
Sets the IAM Policy for a resource (namespace or service only).
Tests IAM permissions for a resource (namespace or service only).
Details
Service
create(string $parent, Service $postBody, array $optParams = [])
Creates a service, and returns the new service. (services.create)
ServicedirectoryEmpty
delete(string $name, array $optParams = [])
Deletes a service. This also deletes all endpoints associated with the service. (services.delete)
Service
get(string $name, array $optParams = [])
Gets a service. (services.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the IAM Policy for a resource (namespace or service only).
(services.getIamPolicy)
ListServicesResponse
listProjectsLocationsNamespacesServices(string $parent, array $optParams = [])
Lists all services belonging to a namespace.
(services.listProjectsLocationsNamespacesServices)
Service
patch(string $name, Service $postBody, array $optParams = [])
Updates a service. (services.patch)
ResolveServiceResponse
resolve(string $name, ResolveServiceRequest $postBody, array $optParams = [])
Returns a service and its associated endpoints. Resolving a service is not considered an active developer method. (services.resolve)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the IAM Policy for a resource (namespace or service only).
(services.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Tests IAM permissions for a resource (namespace or service only).
(services.testIamPermissions)