2023-07-22
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.testIamPermissions
HTTP Method: POST
Parameters:
resource
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
Location: path
Required: Yes
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.
Type: string
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:testIamPermissions
Description: Tests IAM permissions for a resource (namespace, service or service workload only).
Parameter Order: resource
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1beta1/{+resource}:testIamPermissions
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.getIamPolicy
Parameter Order: resource
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Gets the IAM Policy for a resource
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:getIamPolicy
Path: v1beta1/{+resource}:getIamPolicy
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.
Location: path
Required: Yes
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
HTTP Method: POST
▼ ▲ servicedirectory.projects.locations.namespaces.serviceWorkloads.setIamPolicy
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
resource
Location: path
Required: Yes
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.
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/serviceWorkloads/[^/]+$
Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/serviceWorkloads/{serviceWorkloadsId}:setIamPolicy
HTTP Method: POST
Path: v1beta1/{+resource}:setIamPolicy
Parameter Order: resource
Description: Sets the IAM Policy for a resource