Cloud Storage Client - Class Rest (1.30.3)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.30.3keyboard_arrow_down
Methods
__construct
Parameter
Name
Description
config
array
projectId
Returns
Type
Description
string
deleteAcl
Parameter
Name
Description
args
array
getAcl
Parameter
Name
Description
args
array
listAcl
Parameter
Name
Description
args
array
insertAcl
Parameter
Name
Description
args
array
patchAcl
Parameter
Name
Description
args
array
deleteBucket
Parameter
Name
Description
args
array
getBucket
Parameter
Name
Description
args
array
listBuckets
Parameter
Name
Description
args
array
insertBucket
Parameter
Name
Description
args
array
patchBucket
Parameter
Name
Description
args
array
deleteObject
Parameter
Name
Description
args
array
copyObject
Parameter
Name
Description
args
array
rewriteObject
Parameter
Name
Description
args
array
composeObject
Parameter
Name
Description
args
array
getObject
Parameter
Name
Description
args
array
listObjects
Parameter
Name
Description
args
array
patchObject
Parameter
Name
Description
args
array
downloadObject
Parameter
Name
Description
args
array
downloadObjectAsync
Parameter
Name
Description
args
array
insertObject
Parameter
Name
Description
args
array
getBucketIamPolicy
Parameter
Name
Description
args
array
setBucketIamPolicy
Parameter
Name
Description
args
array
testBucketIamPermissions
Parameter
Name
Description
args
array
getNotification
Parameter
Name
Description
args
array
deleteNotification
Parameter
Name
Description
args
array
insertNotification
Parameter
Name
Description
args
array
listNotifications
Parameter
Name
Description
args
array
getServiceAccount
Parameter
Name
Description
args
array
lockRetentionPolicy
Parameter
Name
Description
args
array
createHmacKey
Parameter
Name
Description
args
array
deleteHmacKey
Parameter
Name
Description
args
array
getHmacKey
Parameter
Name
Description
args
array
updateHmacKey
Parameter
Name
Description
args
array
listHmacKeys
Parameter
Name
Description
args
array
Constants
BASE_URI
Value: 'https://storage.googleapis.com/storage/v1/'
DEFAULT_API_ENDPOINT
Value: 'https://storage.googleapis.com'
UPLOAD_URI
Value: 'https://storage.googleapis.com/upload/storage/v1/b/{bucket}/o{?query*}'
UPLOAD_PATH
Value: 'upload/storage/v1/b/{bucket}/o{?query*}'
DOWNLOAD_URI
Value: 'https://storage.googleapis.com/storage/v1/b/{bucket}/o/{object}{?query*}'
DOWNLOAD_PATH
Value: 'storage/v1/b/{bucket}/o/{object}{?query*}'
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]