2022-07-01
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.testIamPermissions
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Tests IAM permissions for a resource (namespace, service or service workload only).
HTTP Method: POST
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:testIamPermissions
Path: v1beta1/{+resource}:testIamPermissions
Parameters:
resource
Type: string
Description: REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
Location: path
Required: Yes
Parameter Order: resource
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.setIamPolicy
Description: Sets the IAM Policy for a resource (namespace or service only).
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:setIamPolicy
Parameter Order: resource
HTTP Method: POST
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1beta1/{+resource}:setIamPolicy
Parameters:
resource
Description: REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
Type: string
Location: path
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.getIamPolicy
Parameter Order: resource
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
resource
Description: REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
Type: string
Required: Yes
Location: path
Path: v1beta1/{+resource}:getIamPolicy
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:getIamPolicy
Description: Gets the IAM Policy for a resource (namespace or service only).
HTTP Method: POST