Cloud Storage Client - Class Rest (1.33.1)
Stay organized with collections
Save and categorize content based on your preferences.
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-05-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]