2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class UserOwnedGrafeasNote : IMessage<UserOwnedGrafeasNote>, IEquatable<UserOwnedGrafeasNote>, IDeepCloneable<UserOwnedGrafeasNote>, IBufferMessage, IMessage

Reference documentation and code samples for the Binary Authorization v1 API class UserOwnedGrafeasNote.

An \[user owned Grafeas
note\]\[google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote\] references a
Grafeas Attestation.Authority Note created by the user.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UserOwnedGrafeasNote

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[UserOwnedGrafeasNote](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.UserOwnedGrafeasNote.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UserOwnedGrafeasNote](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.UserOwnedGrafeasNote.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[UserOwnedGrafeasNote](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.UserOwnedGrafeasNote.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BinaryAuthorization.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.md.txt)

## Assembly

Google.Cloud.BinaryAuthorization.V1.dll

## Constructors

### UserOwnedGrafeasNote()

    public UserOwnedGrafeasNote()

### UserOwnedGrafeasNote(UserOwnedGrafeasNote)

    public UserOwnedGrafeasNote(UserOwnedGrafeasNote other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UserOwnedGrafeasNote` |

## Properties

### DelegationServiceAccountEmail

    public string DelegationServiceAccountEmail { get; set; }

Output only. This field will contain the service account email address
that this attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the
\[note_reference\]\[google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote.note_reference\]
in Container Analysis (`containeranalysis.notes.occurrences.viewer`).

This email address is fixed for the lifetime of the attestor, but callers
should not make any other assumptions about the service account email;
future versions may use an email based on a different naming pattern.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NoteReference

    public string NoteReference { get; set; }

Required. The Grafeas resource name of a Attestation.Authority Note,
created by the user, in the format: `projects/[PROJECT_ID]/notes/*`. This
field may not be updated. A project ID must be used, not a project number.

An attestation by this attestor is stored as a Grafeas
Attestation.Authority Occurrence that names a container image and that
links to this Note. Grafeas is an external dependency.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PublicKeys

    public RepeatedField<AttestorPublicKey> PublicKeys { get; }

Optional. Public keys that verify attestations signed by this
attestor. This field may be updated.

If this field is non-empty, one of the specified public keys must
verify that an attestation was signed by this attestor for the
image specified in the admission request.

If this field is empty, this attestor always returns that no
valid attestations exist.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldAttestorPublicKey` |   |