IPWorks Cloud 2020 Android Edition

Questions / Feedback?

B2AppKey Type

A Backblaze B2 application key.

Remarks

This type represents a Backblaze B2 application key.

Fields

AllowedBucketId
String

The Id of the bucket that the application key is restricted to.

This field reflects the Id of the bucket that the application key is restricted to. It will be empty if the application key is not restricted to any specific bucket.

AllowedPrefix
String

The file name prefix that the application key is restricted to.

This field reflects the file name prefix that the application key is restricted to. It will be empty if the application key is not restricted to a specific file name prefix.

Capabilities
String

The capabilities that the application key has.

This field reflects the capabilities that the application key has. It is formatted as a comma-separated list of one or more of the following:

Capability String Related Methods
deleteBuckets DeleteBucket
deleteFiles DeleteFile, DeleteFileVersion
deleteKeys DeleteAppKey
listBuckets GetBucketInfo, ListBuckets
listFiles DeleteFile, ListFiles, ListFileVersions, ListMultipartUploads
listKeys ListAppKeys
readFiles CopyFile, CopyPart, DownloadFile, DownloadFileById, GetFileInfo
shareFiles GetDownloadAuthToken
writeBuckets CreateBucket, UpdateBucket
writeFiles AbortMultipartUpload, CompleteMultipartUpload, CopyFile, CopyPart, HideFile, ListParts, StartMultipartUpload, UploadFile, UploadPart
writeKeys CreateAppKey

ExpirationTime
long

The application key's expiration time.

This field reflects the expiration time of the application key, in milliseconds relative to the Unix epoch. It will be -1 if the application key does not expire.

KeyId
String

The Id of the application key.

This field reflects the unique Id of the application key.

Name
String

The name of the application key.

This field reflects the name assigned to the application key when it was created. Application key names are not used for identification, so there is no requirement for them to be unique.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Android Edition - Version 20.0 [Build 8265]