{ "opencollection": "1.0.0", "info": { "name": "Google Cloud Storage JSON BucketAccessControls API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "BucketAccessControls", "type": "folder" }, "items": [ { "info": { "name": "Google Cloud Storage List Bucket Acl Entries", "type": "http" }, "http": { "method": "GET", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ] }, "docs": "Retrieves ACL entries on the specified bucket. The authenticated user must have the storage.buckets.getIamPolicy permission." }, { "info": { "name": "Google Cloud Storage Create a Bucket Acl Entry", "type": "http" }, "http": { "method": "POST", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new ACL entry on the specified bucket. The authenticated user must have the storage.buckets.setIamPolicy permission." }, { "info": { "name": "Google Cloud Storage Get a Bucket Acl Entry", "type": "http" }, "http": { "method": "GET", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl/:entity", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "entity", "value": "user-example@gmail.com", "type": "path", "description": "The entity holding the permission, in one of the following forms: user-userId, user-email, group-groupId, group-email, domain-domain, project-team-projectId, allUsers, or allAuthenticatedUsers." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ] }, "docs": "Returns the ACL entry for the specified entity on the specified bucket." }, { "info": { "name": "Google Cloud Storage Update a Bucket Acl Entry", "type": "http" }, "http": { "method": "PUT", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl/:entity", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "entity", "value": "user-example@gmail.com", "type": "path", "description": "The entity holding the permission, in one of the following forms: user-userId, user-email, group-groupId, group-email, domain-domain, project-team-projectId, allUsers, or allAuthenticatedUsers." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an ACL entry on the specified bucket." }, { "info": { "name": "Google Cloud Storage Patch a Bucket Acl Entry", "type": "http" }, "http": { "method": "PATCH", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl/:entity", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "entity", "value": "user-example@gmail.com", "type": "path", "description": "The entity holding the permission, in one of the following forms: user-userId, user-email, group-groupId, group-email, domain-domain, project-team-projectId, allUsers, or allAuthenticatedUsers." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Patches an ACL entry on the specified bucket." }, { "info": { "name": "Google Cloud Storage Delete a Bucket Acl Entry", "type": "http" }, "http": { "method": "DELETE", "url": "https://storage.googleapis.com/storage/v1/b/:bucket/acl/:entity", "params": [ { "name": "bucket", "value": "my-bucket", "type": "path", "description": "Name of the bucket. Bucket names must be globally unique and comply with naming requirements." }, { "name": "entity", "value": "user-example@gmail.com", "type": "path", "description": "The entity holding the permission, in one of the following forms: user-userId, user-email, group-groupId, group-email, domain-domain, project-team-projectId, allUsers, or allAuthenticatedUsers." }, { "name": "userProject", "value": "", "type": "query", "description": "The project to be billed for this request. Required for Requester Pays buckets." } ] }, "docs": "Permanently deletes the ACL entry for the specified entity on the specified bucket." } ] } ], "bundled": true }