Cloud Storage JSON API
  1. Schemas
Cloud Storage JSON API
  • buckets
    • /b
      GET
    • /b
      POST
    • /b/{bucket}
      DELETE
    • /b/{bucket}
      GET
    • /b/{bucket}
      PATCH
    • /b/{bucket}
      PUT
  • bucketAccessControls
    • /b/{bucket}/acl
      GET
    • /b/{bucket}/acl
      POST
    • /b/{bucket}/acl/{entity}
      DELETE
    • /b/{bucket}/acl/{entity}
      GET
    • /b/{bucket}/acl/{entity}
      PATCH
    • /b/{bucket}/acl/{entity}
      PUT
  • defaultObjectAccessControls
    • /b/{bucket}/defaultObjectAcl
      GET
    • /b/{bucket}/defaultObjectAcl
      POST
    • /b/{bucket}/defaultObjectAcl/{entity}
      DELETE
    • /b/{bucket}/defaultObjectAcl/{entity}
      GET
    • /b/{bucket}/defaultObjectAcl/{entity}
      PATCH
    • /b/{bucket}/defaultObjectAcl/{entity}
      PUT
  • objects
    • /b/{bucket}/o
    • /b/{bucket}/o
    • /b/{bucket}/o/watch
    • /b/{bucket}/o/{object}
    • /b/{bucket}/o/{object}
    • /b/{bucket}/o/{object}
    • /b/{bucket}/o/{object}
    • /b/{destinationBucket}/o/{destinationObject}/compose
    • /b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}
  • objectAccessControls
    • /b/{bucket}/o/{object}/acl
    • /b/{bucket}/o/{object}/acl
    • /b/{bucket}/o/{object}/acl/{entity}
    • /b/{bucket}/o/{object}/acl/{entity}
    • /b/{bucket}/o/{object}/acl/{entity}
    • /b/{bucket}/o/{object}/acl/{entity}
  • channels
    • /channels/stop
  • Schemas
    • Schemas
      • Bucket
      • BucketAccessControl
      • BucketAccessControls
      • Buckets
      • Channel
      • ComposeRequest
      • Object
      • ObjectAccessControl
      • ObjectAccessControls
      • Objects
  1. Schemas

Buckets

A list of buckets.

{
    "items": [
        {
            "acl": [
                {
                    "bucket": "string",
                    "domain": "string",
                    "email": "string",
                    "entity": "string",
                    "entityId": "string",
                    "etag": "string",
                    "id": "string",
                    "kind": "storage#bucketAccessControl",
                    "role": "string",
                    "selfLink": "string"
                }
            ],
            "cors": [
                {
                    "maxAgeSeconds": 0,
                    "method": [
                        "string"
                    ],
                    "origin": [
                        "string"
                    ],
                    "responseHeader": [
                        "string"
                    ]
                }
            ],
            "defaultObjectAcl": [
                {
                    "bucket": "string",
                    "domain": "string",
                    "email": "string",
                    "entity": "string",
                    "entityId": "string",
                    "etag": "string",
                    "generation": "string",
                    "id": "string",
                    "kind": "storage#objectAccessControl",
                    "object": "string",
                    "role": "string",
                    "selfLink": "string"
                }
            ],
            "etag": "string",
            "id": "string",
            "kind": "storage#bucket",
            "lifecycle": {
                "rule": [
                    {
                        "action": {
                            "type": "string"
                        },
                        "condition": {
                            "age": 0,
                            "createdBefore": "2019-08-24",
                            "isLive": true,
                            "numNewerVersions": 0
                        }
                    }
                ]
            },
            "location": "string",
            "logging": {
                "logBucket": "string",
                "logObjectPrefix": "string"
            },
            "metageneration": "string",
            "name": "string",
            "owner": {
                "entity": "string",
                "entityId": "string"
            },
            "selfLink": "string",
            "storageClass": "string",
            "timeCreated": "2019-08-24T14:15:22Z",
            "versioning": {
                "enabled": true
            },
            "website": {
                "mainPageSuffix": "string",
                "notFoundPage": "string"
            }
        }
    ],
    "kind": "storage#buckets",
    "nextPageToken": "string"
}
Built with