| Package | Description | 
|---|---|
| com.google.cloud.storage | 
 A client for Cloud Storage - Unified object storage. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Storage.SignUrlOption | 
Storage.SignUrlOption.httpMethod(HttpMethod httpMethod)
The HTTP method to be used with the signed URL. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.signWith(com.google.auth.ServiceAccountSigner signer)
Provides a service account signer to sign the URL. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withContentType()
Use it if signature should include the blob's content-type. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withExtHeaders(Map<String,String> extHeaders)
Use it if signature should include the blob's canonicalized extended headers. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withHostName(String hostName)
Use a different host name than the default host name 'storage.googleapis.com' 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withMd5()
Use it if signature should include the blob's md5. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withV2Signature()
Use if signature version should be V2. 
 | 
static Storage.SignUrlOption | 
Storage.SignUrlOption.withV4Signature()
Use if signature version should be V4. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
URL | 
Storage.signUrl(BlobInfo blobInfo,
       long duration,
       TimeUnit unit,
       Storage.SignUrlOption... options)
Generates a signed URL for a blob. 
 | 
URL | 
Blob.signUrl(long duration,
       TimeUnit unit,
       Storage.SignUrlOption... options)
Generates a signed URL for this blob. 
 | 
Copyright © 2019 Google LLC. All rights reserved.