Containeranalysis_v1beta1Functions

Functions

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

Gets the specified 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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

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

Gets the specified 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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

suspend fun getOccurrenceIamPolicy(occurrenceId: String, project: String? = null): GetOccurrenceIamPolicyResult