get Occurrence Iam Policy
suspend fun getOccurrenceIamPolicy(argument: GetOccurrenceIamPolicyPlainArgs): GetOccurrenceIamPolicyResult
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.
Return
null
Parameters
argument
null
suspend fun getOccurrenceIamPolicy(occurrenceId: String, project: String? = null): GetOccurrenceIamPolicyResult
Return
null
See also
Parameters
occurrence Id
project
suspend fun getOccurrenceIamPolicy(argument: suspend GetOccurrenceIamPolicyPlainArgsBuilder.() -> Unit): GetOccurrenceIamPolicyResult
Return
null
See also
Parameters
argument
Builder for com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.inputs.GetOccurrenceIamPolicyPlainArgs.