NoteIamMemberArgs

data class NoteIamMemberArgs(val condition: Output<ConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<NoteIamMemberArgs>

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_DENIEDerror. 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 NoteIamMemberArgs(condition: Output<ConditionArgs>? = null, member: Output<String>? = null, name: Output<String>? = null, role: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NoteIamMemberArgs

Properties

Link copied to clipboard
val condition: Output<ConditionArgs>? = null

An IAM Condition for a given binding.

Link copied to clipboard
val member: Output<String>? = null

Identity that will be granted the privilege in role. The entry can have one of the following values:

Link copied to clipboard
val name: Output<String>? = null

The name of the resource to manage IAM policies for.

Link copied to clipboard
val role: Output<String>? = null

The role that should be applied.