2024-08-24
▼ ▲ containeranalysis.projects.locations.occurrences.testIamPermissions
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:testIamPermissions
Description: Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1/{+resource}:testIamPermissions
HTTP Method: POST
Parameter Order: resource
Parameters:
resource
Location: path
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
Pattern: ^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$
Required: Yes
▼ ▲ containeranalysis.projects.locations.occurrences.getIamPolicy
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:getIamPolicy
Parameters:
resource
Required: Yes
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/[^/]+/occurrences/[^/]+$
Type: string
Location: path
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1/{+resource}:getIamPolicy
HTTP Method: POST
Parameter Order: resource
Description: Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
▼ ▲ containeranalysis.projects.locations.occurrences.setIamPolicy
Parameters:
resource
Pattern: ^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$
Location: path
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
Type: string
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:setIamPolicy
HTTP Method: POST
Parameter Order: resource
Path: v1/{+resource}:setIamPolicy
Description: Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
▼ ▲ containeranalysis.projects.locations.notes.getIamPolicy
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
resource
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/notes/[^/]+$
Location: path
Required: Yes
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.
HTTP Method: POST
Path: v1/{+resource}:getIamPolicy
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:getIamPolicy
Parameter Order: resource
Description: Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
▼ ▲ containeranalysis.projects.locations.notes.setIamPolicy
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: resource
Parameters:
resource
Pattern: ^projects/[^/]+/locations/[^/]+/notes/[^/]+$
Required: Yes
Location: path
Type: string
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.
Path: v1/{+resource}:setIamPolicy
Description: Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:setIamPolicy
HTTP Method: POST
▼ ▲ containeranalysis.projects.locations.notes.testIamPermissions
Parameter Order: resource
Path: v1/{+resource}:testIamPermissions
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
HTTP Method: POST
Parameters:
resource
Location: path
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.
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/notes/[^/]+$
Type: string
Flat Path: v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:testIamPermissions