# Compute Engine v1 API - Class AWSV4Signature (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Compute Engine v1 API class AWSV4Signature.

Messages

Contains the configurations necessary to generate a signature for access to
private storage buckets that support Signature Version 4 for authentication.
The service name for generating the authentication header will always default
to 's3'.

## Inheritance

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

## Implements

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

## 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.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Constructors

### AWSV4Signature()

    public AWSV4Signature()

### AWSV4Signature(AWSV4Signature)

    public AWSV4Signature(AWSV4Signature other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AWSV4Signature` |

## Properties

### AccessKey

    public string AccessKey { get; set; }

The access key used for s3 bucket authentication. Required for updating or
creating a backend that uses AWS v4 signature authentication, but will not
be returned as part of the configuration when queried with a REST API GET
request.

@InputOnly

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### AccessKeyId

    public string AccessKeyId { get; set; }

The identifier of an access key used for s3 bucket authentication.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### AccessKeyVersion

    public string AccessKeyVersion { get; set; }

The optional version identifier for the access key. You can use this to
keep track of different iterations of your access key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasAccessKey

    public bool HasAccessKey { get; }

Gets whether the "access_key" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasAccessKeyId

    public bool HasAccessKeyId { get; }

Gets whether the "access_key_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasAccessKeyVersion

    public bool HasAccessKeyVersion { get; }

Gets whether the "access_key_version" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasOriginRegion

    public bool HasOriginRegion { get; }

Gets whether the "origin_region" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### OriginRegion

    public string OriginRegion { get; set; }

The name of the cloud region of your origin. This is a free-form field with
the name of the region your cloud uses to host your origin. For example,
"us-east-1" for AWS or "us-ashburn-1" for OCI.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |