Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
PostPolicyV4 |
Storage.generateSignedPostPolicyV4(BlobInfo blobInfo,
long duration,
TimeUnit unit,
PostPolicyV4.PostConditionsV4 conditions,
Storage.PostPolicyV4Option... options)
Generates a presigned post policy without any fields.
|
PostPolicyV4 |
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.
|
PostPolicyV4 |
Storage.generateSignedPostPolicyV4(BlobInfo blobInfo,
long duration,
TimeUnit unit,
PostPolicyV4.PostFieldsV4 fields,
Storage.PostPolicyV4Option... options)
Generates a presigned post policy without any conditions.
|
PostPolicyV4 |
Storage.generateSignedPostPolicyV4(BlobInfo blobInfo,
long duration,
TimeUnit unit,
Storage.PostPolicyV4Option... options)
Generates a presigned post policy without any fields or conditions.
|
Copyright © 2023 Google LLC. All rights reserved.