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 Attestor : IMessage<Attestor>, IEquatable<Attestor>, IDeepCloneable<Attestor>, IBufferMessage, IMessage

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

An \[attestor\]\[google.cloud.binaryauthorization.v1.Attestor\] that attests to
container image artifacts. An existing attestor cannot be modified except
where indicated.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Attestor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.Attestor.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Attestor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.Attestor.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Attestor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.Attestor.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

### Attestor()

    public Attestor()

### Attestor(Attestor)

    public Attestor(Attestor other)

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

## Properties

### AttestorName

    public AttestorName AttestorName { get; set; }

[AttestorName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.AttestorName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.Attestor.md.txt#Google_Cloud_BinaryAuthorization_V1_Attestor_Name) resource name property.

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

### AttestorTypeCase

    public Attestor.AttestorTypeOneofCase AttestorTypeCase { get; }

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

### Description

    public string Description { get; set; }

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

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

### Etag

    public string Etag { get; set; }

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>.

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

### Name

    public string Name { get; set; }

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

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Time when the attestor was last updated.

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

### UserOwnedGrafeasNote

    public UserOwnedGrafeasNote UserOwnedGrafeasNote { get; set; }

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

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