Google Cloud Storage v1 API - Enum UrlSigner.PostPolicyStandardElement (4.7.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.

Namespace

Google.Cloud.Storage.V1

Assembly

Google.Cloud.Storage.V1.dll

Fields

NameDescription
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 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 in ISO8601 basic format. When using this element for SetStartsWith(PostPolicyStandardElement, 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 is not specified. Allowed values are OK, Created, NoContent.