Provider Note Iam Member Args
data class ProviderNoteIamMemberArgs(val condition: Output<ConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<ProviderNoteIamMemberArgs>
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 ProviderNoteIamMemberArgs(condition: Output<ConditionArgs>? = null, member: Output<String>? = null, name: Output<String>? = null, role: Output<String>? = null)