5.0.0 (latest) 4.16.0 4.15.0 4.14.0 4.13.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.7.0 3.6.0 3.5.0 3.4.0

    public enum UrlSigner.PostPolicyStandardElement

Reference documentation and code samples for the Google Cloud Storage v1 API enum UrlSigner.PostPolicyStandardElement.

A standard element that can be added to a [UrlSigner.PostPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UrlSigner.PostPolicy).

## Namespace

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

## Assembly

Google.Cloud.Storage.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Acl` | The ACL that you want to allow for the objects that will be uploaded. |
| `BucketName` | The name of the bucket that you want to allow uploads to. Alternatively, you can include the bucket name when you add the [Key](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UrlSigner.PostPolicyStandardElement#Google_Cloud_Storage_V1_UrlSigner_PostPolicyStandardElement_Key) element. |
| `CacheControl` | The cache control you want to allow for the objects that will be uploaded. |
| `ContentDisposition` | The content disposition you want to allow for the objects that will be uploaded. |
| `ContentEncoding` | The content encoding you want to allow for the objects that will be uploaded. |
| `ContentLength` | The content length you want to allow for the objects that will be uploaded. |
| `ContentType` | The content type you want to allow for the objects that will be uploaded. |
| `Key` | The acceptable key name or a prefix for the uploaded objects. This element should always be present in a post policy. |
| `ObjectExpiry` | The date and time you want to allow before objects that will be uploaded are considered stale by the browser. The value for this element will be included in the [UrlSigner.PostPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UrlSigner.PostPolicy) in ISO8601 basic format. When using this element for [SetStartsWith(PostPolicyStandardElement, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UrlSigner.PostPolicy#Google_Cloud_Storage_V1_UrlSigner_PostPolicy_SetStartsWith_Google_Cloud_Storage_V1_UrlSigner_PostPolicyStandardElement_System_String_) you should specify the part of the ISO8601 basic format representation that you want values on upload to start with. |
| `SuccessActionRedirect` | The allowed URL to which the client is redirected upon successful upload. |
| `SuccessActionStatus` | The status code returned to the client upon successful upload if [SuccessActionRedirect](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UrlSigner.PostPolicyStandardElement#Google_Cloud_Storage_V1_UrlSigner_PostPolicyStandardElement_SuccessActionRedirect) is not specified. Allowed values are [OK](https://learn.microsoft.com/dotnet/api/system.net.httpstatuscode#system-net-httpstatuscode-ok), [Created](https://learn.microsoft.com/dotnet/api/system.net.httpstatuscode#system-net-httpstatuscode-created), [NoContent](https://learn.microsoft.com/dotnet/api/system.net.httpstatuscode#system-net-httpstatuscode-nocontent). |