Containeranalysis_v1alpha1Functions

Functions

Link copied to clipboard
suspend fun getNote(argument: GetNotePlainArgs): GetNoteResult

Returns the requested Note.

suspend fun getNote(argument: suspend GetNotePlainArgsBuilder.() -> Unit): GetNoteResult
suspend fun getNote(noteId: String, project: String? = null): GetNoteResult
Link copied to clipboard

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. Attempting to call this method on a resource without the required permission will result in a PERMISSION_DENIED error. Attempting to call this method on a non-existent resource will result in a NOT_FOUND error if the user has list permission on the project, or a PERMISSION_DENIED error otherwise. The resource takes the following formats: projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID} for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes

suspend fun getNoteIamPolicy(noteId: String, project: String? = null): GetNoteIamPolicyResult
Link copied to clipboard

Returns the requested Occurrence.

suspend fun getOccurrence(occurrenceId: String, project: String? = null): GetOccurrenceResult
Link copied to clipboard

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. Attempting to call this method on a resource without the required permission will result in a PERMISSION_DENIED error. Attempting to call this method on a non-existent resource will result in a NOT_FOUND error if the user has list permission on the project, or a PERMISSION_DENIED error otherwise. The resource takes the following formats: projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID} for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes

suspend fun getOccurrenceIamPolicy(occurrenceId: String, project: String? = null): GetOccurrenceIamPolicyResult
Link copied to clipboard

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. Attempting to call this method on a resource without the required permission will result in a PERMISSION_DENIED error. Attempting to call this method on a non-existent resource will result in a NOT_FOUND error if the user has list permission on the project, or a PERMISSION_DENIED error otherwise. The resource takes the following formats: projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID} for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes