Package-level declarations

Types

Link copied to clipboard
class Note : KotlinCustomResource

Creates a new note. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class NoteArgs(val attestation: Output<AttestationNoteArgs>? = null, val build: Output<BuildNoteArgs>? = null, val compliance: Output<ComplianceNoteArgs>? = null, val deployment: Output<DeploymentNoteArgs>? = null, val discovery: Output<DiscoveryNoteArgs>? = null, val dsseAttestation: Output<DSSEAttestationNoteArgs>? = null, val expirationTime: Output<String>? = null, val image: Output<ImageNoteArgs>? = null, val longDescription: Output<String>? = null, val noteId: Output<String>? = null, val package: Output<PackageNoteArgs>? = null, val project: Output<String>? = null, val relatedNoteNames: Output<List<String>>? = null, val relatedUrl: Output<List<RelatedUrlArgs>>? = null, val sbomReference: Output<SBOMReferenceNoteArgs>? = null, val shortDescription: Output<String>? = null, val upgrade: Output<UpgradeNoteArgs>? = null, val vulnerability: Output<VulnerabilityNoteArgs>? = null, val vulnerabilityAssessment: Output<VulnerabilityAssessmentNoteArgs>? = null) : ConvertibleToJava<NoteArgs>

Creates a new note. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for NoteArgs.

Link copied to clipboard
class NoteIamBinding : KotlinCustomResource

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

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

Link copied to clipboard
Link copied to clipboard
object NoteIamBindingMapper : ResourceMapper<NoteIamBinding>
Link copied to clipboard
class NoteIamMember : KotlinCustomResource

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

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

Link copied to clipboard
Link copied to clipboard
object NoteIamMemberMapper : ResourceMapper<NoteIamMember>
Link copied to clipboard
Link copied to clipboard
class NoteIamPolicy : KotlinCustomResource

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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class NoteIamPolicyArgs(val bindings: Output<List<BindingArgs>>? = null, val etag: Output<String>? = null, val noteId: Output<String>? = null, val project: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<NoteIamPolicyArgs>

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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
object NoteIamPolicyMapper : ResourceMapper<NoteIamPolicy>
Link copied to clipboard
Link copied to clipboard
object NoteMapper : ResourceMapper<Note>
Link copied to clipboard

Builder for Note.

Link copied to clipboard
class Occurrence : KotlinCustomResource

Creates a new occurrence. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class OccurrenceArgs(val attestation: Output<AttestationOccurrenceArgs>? = null, val build: Output<BuildOccurrenceArgs>? = null, val compliance: Output<ComplianceOccurrenceArgs>? = null, val deployment: Output<DeploymentOccurrenceArgs>? = null, val discovery: Output<DiscoveryOccurrenceArgs>? = null, val dsseAttestation: Output<DSSEAttestationOccurrenceArgs>? = null, val envelope: Output<EnvelopeArgs>? = null, val image: Output<ImageOccurrenceArgs>? = null, val noteName: Output<String>? = null, val package: Output<PackageOccurrenceArgs>? = null, val project: Output<String>? = null, val remediation: Output<String>? = null, val resourceUri: Output<String>? = null, val sbomReference: Output<SBOMReferenceOccurrenceArgs>? = null, val upgrade: Output<UpgradeOccurrenceArgs>? = null, val vulnerability: Output<VulnerabilityOccurrenceArgs>? = null) : ConvertibleToJava<OccurrenceArgs>

Creates a new occurrence. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
class OccurrenceIamBinding : KotlinCustomResource

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

Link copied to clipboard
data class OccurrenceIamBindingArgs(val condition: Output<ConditionArgs>? = null, val members: Output<List<String>>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<OccurrenceIamBindingArgs>

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

Link copied to clipboard
Link copied to clipboard
class OccurrenceIamMember : KotlinCustomResource

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

Link copied to clipboard
data class OccurrenceIamMemberArgs(val condition: Output<ConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<OccurrenceIamMemberArgs>

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

Link copied to clipboard
Link copied to clipboard
class OccurrenceIamPolicy : KotlinCustomResource

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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class OccurrenceIamPolicyArgs(val bindings: Output<List<BindingArgs>>? = null, val etag: Output<String>? = null, val occurrenceId: Output<String>? = null, val project: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<OccurrenceIamPolicyArgs>

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. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
object OccurrenceMapper : ResourceMapper<Occurrence>
Link copied to clipboard

Functions

Link copied to clipboard
fun note(name: String): Note
suspend fun note(name: String, block: suspend NoteResourceBuilder.() -> Unit): Note
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun occurrence(name: String, block: suspend OccurrenceResourceBuilder.() -> Unit): Occurrence