Cloud Storage Client - Class Rest (1.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.32.0 keyboard_arrow_down
Namespace
Google \ Cloud \ Storage \ Connection
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
send
Add the required retry function and send the request.
Parameters Name Description resource
string
resource name, eg: buckets.
method
string
method name, eg: get
options
array
[optional] Options used to build out the request.
whitelisted
array
[optional]
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 2024-11-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]