AttestorArgs

data class AttestorArgs(val attestorId: Output<String>? = null, val description: Output<String>? = null, val etag: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val userOwnedGrafeasNote: Output<UserOwnedGrafeasNoteArgs>? = null) : ConvertibleToJava<AttestorArgs>

Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists.

Constructors

Link copied to clipboard
fun AttestorArgs(attestorId: Output<String>? = null, description: Output<String>? = null, etag: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, userOwnedGrafeasNote: Output<UserOwnedGrafeasNoteArgs>? = null)

Functions

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

Properties

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

Required. The attestors ID.

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

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.

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

Optional. A checksum, returned by the server, that can be sent on update requests to ensure the attestor has an up-to-date value before attempting to update it. See https://google.aip.dev/154.

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

The resource name, in the format: projects/*/attestors/*. This field may not be updated.

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

This specifies how an attestation will be read, and how it will be used during policy enforcement. //