SDK Client Reference
Classes
ApiError
Bucket
addLifecycleRule
combine
create
createChannel
createNotification
delete
deleteFiles
deleteLabels
disableRequesterPays
enableLogging
enableRequesterPays
exists
file
get
getFiles
getFilesStream
getLabels
getMetadata
getNotifications
getSignedUrl
lock
makePrivate
makePublic
notification
removeRetentionPeriod
setCorsConfiguration
setLabels
setMetadata
setRetentionPeriod
setStorageClass
setUserProject
upload
CRC32C
toBuffer
toJSON
toString
update
validate
valueOf
from
fromBuffer
fromNumber
fromString
Channel
stop
File
copy
createReadStream
createResumableUpload
createWriteStream
delete
download
exists
generateSignedPostPolicyV2
generateSignedPostPolicyV4
get
getExpirationDate
getMetadata
getSignedUrl
isPublic
makePrivate
makePublic
move
publicUrl
rename
rotateEncryptionKey
save
setEncryptionKey
setMetadata
setStorageClass
setUserProject
HmacKey
delete
get
getMetadata
setMetadata
Iam
getPolicy
setPolicy
testPermissions
Notification
create
delete
exists
get
getMetadata
PartialFailureError
ProgressStream
ServiceObject
getRequestInterceptors
requestStream
Storage
bucket
channel
createBucket
createHmacKey
getBuckets
getBucketsStream
getHmacKeysStream
getServiceAccount
hmacKey
TransferManager
downloadFileInChunks
downloadManyFiles
uploadManyFiles
common/service
Global
AUTO_RETRY_DEFAULT
CRC32C_EXTENSIONS
DEFAULT_PARALLEL_CHUNKED_DOWNLOAD_LIMIT
DEFAULT_PARALLEL_DOWNLOAD_LIMIT
DEFAULT_PARALLEL_UPLOAD_LIMIT
DOWNLOAD_IN_CHUNKS_DEFAULT_CHUNK_SIZE
DOWNLOAD_IN_CHUNKS_FILE_SIZE_THRESHOLD
MAX_RETRY_DEFAULT
MAX_RETRY_DELAY_DEFAULT
RETRYABLE_ERR_FN_DEFAULT
RETRY_DELAY_MULTIPLIER_DEFAULT
TOTAL_TIMEOUT_DEFAULT
convertObjKeysToSnakeCase
encodeURI
fixedEncodeURIComponent
formatAsUTCISO
objectEntries
qsStringify
unicodeJSONStringify
PartialFailureError
PartialFailureError
Custom error type for partial errors returned from the API.
Constructor
new PartialFailureError
(b)
Parameters:
Name
Type
Description
b
object
Error object.