To list a bucket's storage class you make a GET request that is
scoped to a bucket and you use the
storageClass query string
parameter. The storage class value is returned in an XML document in the
Query string parameters
||You can use this to display the storage class of the bucket, such as STANDARD, NEARLINE, COLDLINE, or ARCHIVE.||No|
Request body elements
This request does not include an XML document in the request body.
The following syntax applies to GET Bucket requests that use the
storageClass query string parameter.
GET /?storageClass HTTP/1.1 Host: BUCKET_NAME.storage.googleapis.com Date: DATE Content-Length: 0 Authorization: AUTHENTICATION_STRING
The request can return a variety of response headers depending on the request headers you use.
Response body elements
The following response body elements are applicable only if you use the
storageClass query string parameter to display how data is stored
in the bucket.
||The storage class of the bucket, such as STANDARD, NEARLINE, COLDLINE, or ARCHIVE.|