Uses of Class
com.google.cloud.storage.Storage.PostPolicyV4Option
Packages that use Storage.PostPolicyV4Option
-
Uses of Storage.PostPolicyV4Option in com.google.cloud.storage
Methods in com.google.cloud.storage that return Storage.PostPolicyV4OptionModifier and TypeMethodDescriptionstatic Storage.PostPolicyV4Option
Storage.PostPolicyV4Option.signWith
(com.google.auth.ServiceAccountSigner signer) Provides a service account signer to sign the policy.static Storage.PostPolicyV4Option
Storage.PostPolicyV4Option.withBucketBoundHostname
(String bucketBoundHostname) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.static Storage.PostPolicyV4Option
Storage.PostPolicyV4Option.withBucketBoundHostname
(String bucketBoundHostname, Storage.UriScheme uriScheme) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.static Storage.PostPolicyV4Option
Storage.PostPolicyV4Option.withPathStyle()
Generates a path-style URL, which places the bucket name in the path portion of the URL instead of in the hostname, e.g 'https://storage.googleapis.com/mybucket/...'.static Storage.PostPolicyV4Option
Storage.PostPolicyV4Option.withVirtualHostedStyle()
Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.Methods in com.google.cloud.storage with parameters of type Storage.PostPolicyV4OptionModifier and TypeMethodDescriptionStorage.generateSignedPostPolicyV4
(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields.Storage.generateSignedPostPolicyV4
(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a URL and a map of fields that can be specified in an HTML form to submit a POST request.Storage.generateSignedPostPolicyV4
(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any conditions.Storage.generateSignedPostPolicyV4
(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields or conditions.