Stay organized with collections Save and categorize content based on your preferences.
The Cloud Storage XML API supports several standard HTTP request methods. Each method can use numerous request headers and response headers. The XML API documentation describes all of the supported HTTP methods as well as the most frequently used headers for each method.
Some methods are used to work with both data and metadata depending on context. For example, you can use one PUT Bucket request to create a bucket followed by a second PUT Bucket request to configure logging for the bucket.
The following list shows which XML API method you use to accomplish bucket and object tasks.
Conventions used in the XML API documentation:
The Authorization
header is represented as <authentication string>
. If you are using the XML API to migrate from another storage provider, then the Authorization
has the format discussed in Authentication in a Simple Migration Scenario. Otherwise, the Authorization
header has the format discussed in OAuth 2.0 Authentication.
If you do not provide authorization information when required to perform a request, the Cloud Storage issues a 401 unauthorized error. For more information, see Status Codes.
The Host
header used in the XML API documentation is of the form:
Host: BUCKET-NAME.storage.googleapis.comwhere the bucket name is specified as part of the hostname. In all operations except GET service, you can also specify the bucket as part of the URL path. For more information, see Request Endpoints.
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 2025-10-02 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 2025-10-02 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5