# Enum ETagAction (1.73.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.73.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.ETagAction)
- [1.69.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.69.0/Google.Apis.ETagAction)
- [1.68.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.ETagAction)
- [1.60.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.ETagAction)
- [1.59.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.ETagAction)
- [1.55.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.ETagAction)
- [1.50.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.ETagAction)

    public enum ETagAction

Defines the behaviour/header used for sending an etag along with a request.

## Namespace

[Google.Apis](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis)

## Assembly

Google.Apis.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Default` | The default etag behaviour will be determined by the type of the request. |
| `IfMatch` | The ETag will be added as an "If-Match" header. A request sent with an "If-Match" header will only succeed if both ETags are identical. |
| `IfNoneMatch` | The ETag will be added as an "If-None-Match" header. A request sent with an "If-None-Match" header will only succeed if ETags are not identical. |
| `Ignore` | The ETag won't be added to the header of the request. |

## Extension Method

[Utilities.ThrowIfNull\<ETagAction\>(ETagAction, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)