|
const | MAX_KEYS = 1000 |
|
const | METADATA_HEADER_PREFIX = 'x-goog-meta-' |
|
const | DEFAULT_READ_SIZE = 524288 |
|
const | DEFAULT_READ_CACHE_EXPIRY_SECONDS = 3600 |
|
const | DEFAULT_MAXIMUM_NUMBER_OF_RETRIES = 2 |
|
const | DEFAULT_WRITABLE_CACHE_EXPIRY_SECONDS = 600 |
|
const | READ_SCOPE = "https://www.googleapis.com/auth/devstorage.read_only" |
|
const | WRITE_SCOPE = "https://www.googleapis.com/auth/devstorage.read_write" |
|
const | FULL_SCOPE = "https://www.googleapis.com/auth/devstorage.full_control" |
|
const | OAUTH_TOKEN_FORMAT = "OAuth %s" |
|
const | PARTIAL_CONTENT_RANGE_FORMAT = "bytes %d-%d/*" |
|
const | FINAL_CONTENT_RANGE_FORMAT = "bytes %d-%d/%d" |
|
const | FINAL_CONTENT_RANGE_NO_DATA = "bytes */%d" |
|
const | DELIMITER = '/' |
|
const | FOLDER_SUFFIX = '_$folder$' |
|
const | WRITABLE_TEMP_FILENAME = "/_ah_is_writable_temp_file" |
|
const | S_IFREG = 0100000 |
|
const | S_IFDIR = 0040000 |
|
const | S_IRWXU = 00700 |
|
const | S_IRUSR = 00400 |
|
const | S_IWUSR = 00200 |
|
const | S_IXUSR = 00100 |
|
const | S_IRWXG = 00070 |
|
const | S_IRGRP = 00040 |
|
const | S_IWGRP = 00020 |
|
const | S_IXGRP = 00010 |
|
const | S_IRWXO = 00007 |
|
const | S_IROTH = 00004 |
|
const | S_IWOTH = 00002 |
|
const | S_IXOTH = 00001 |
|
const | CONTENT_RANGE_REGEX = "/bytes\s+(\d+)-(\d+)\/(\d+)/i" |
|
const | MEMCACHE_KEY_FORMAT = "_ah_gs_read_cache_%s_%s" |
|
const | WRITABLE_MEMCACHE_KEY_FORMAT = "_ah_gs_write_bucket_cache_%s" |
|
|
static | createObjectUrl ($bucket, $object=null) |
|
static | POST |
|
static | enable_optimistic_cache |
|
| getOAuthTokenHeader ($scopes) |
|
| getRangeHeader ($start_byte, $end_byte) |
|
| makeHttpRequest ($url, $method, $headers, $body=null) |
|
| getHeaderValue ($header_name, $headers) |
|
| createStatArray ($stat_args) |
|
| tryParseCloudStorageErrorMessage ($gcs_result, &$code, &$message) |
|
| getErrorMessage ($http_status_code, $http_result, $msg_prefix="Cloud Storage Error:") |
|
static | extractMetaData (array $headers) |
|
| $bucket_name |
|
| $object_name |
|
| $context_options = [] |
|
| $url |
|
| $anonymous |
|
static | $METADATA_HEADERS |
|
static | $retry_error_codes |
|
static | $retry_exception_codes |
|
static | $valid_acl_values |
|
static | $upload_start_header = ["x-goog-resumable" => "start"] |
|
Client for deleting objects from Google Cloud Storage.