Uses of Class
com.google.cloud.storage.Storage.SignUrlOption
Packages that use Storage.SignUrlOption
-
Uses of Storage.SignUrlOption in com.google.cloud.storage
Methods in com.google.cloud.storage that return Storage.SignUrlOptionModifier and TypeMethodDescriptionstatic Storage.SignUrlOptionStorage.SignUrlOption.httpMethod(HttpMethod httpMethod) The HTTP method to be used with the signed URL.static Storage.SignUrlOptionStorage.SignUrlOption.signWith(com.google.auth.ServiceAccountSigner signer) Provides a service account signer to sign the URL.static Storage.SignUrlOptionStorage.SignUrlOption.withBucketBoundHostname(String bucketBoundHostname) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.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. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.withContentType()Use it if signature should include the blob's content-type.static Storage.SignUrlOptionStorage.SignUrlOption.withExtHeaders(Map<String, String> extHeaders) Use it if signature should include the blob's canonicalized extended headers.static Storage.SignUrlOptionStorage.SignUrlOption.withHostName(String hostName) Use a different host name than the default host name 'storage.googleapis.com'.static Storage.SignUrlOptionStorage.SignUrlOption.withMd5()Use it if signature should include the blob's md5.static Storage.SignUrlOptionStorage.SignUrlOption.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.SignUrlOptionStorage.SignUrlOption.withQueryParams(Map<String, String> queryParams) Use if the URL should contain additional query parameters.static Storage.SignUrlOptionStorage.SignUrlOption.withV2Signature()Use if signature version should be V2.static Storage.SignUrlOptionStorage.SignUrlOption.withV4Signature()Use if signature version should be V4.static Storage.SignUrlOptionStorage.SignUrlOption.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.SignUrlOptionModifier and TypeMethodDescriptionBlob.signUrl(long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for this blob.Storage.signUrl(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for a blob.