Note Iam Binding Args
data class NoteIamBindingArgs(val condition: Output<ConditionArgs>? = null, val members: Output<List<String>>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<NoteIamBindingArgs>
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. Attempting to call this method without these permissions will result in a PERMISSION_DENIED
error. Attempting to call this method on a non-existent resource will result in a
NOT_FOUNDerror if the user has
containeranalysis.notes.listpermission on a
Noteor
containeranalysis.occurrences.liston an
Occurrence, or a
PERMISSION_DENIEDerror otherwise. The resource takes the following formats:
projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes
Constructors
Link copied to clipboard
fun NoteIamBindingArgs(condition: Output<ConditionArgs>? = null, members: Output<List<String>>? = null, name: Output<String>? = null, role: Output<String>? = null)