DefaultObjectAccessControls: list

Retrieves default object ACL entries on the specified bucket. Try it now.

Request

HTTP request

GET https://www.googleapis.com/storage/v1/b/bucket/defaultObjectAcl

Parameters

Parameter name Value Description
Path parameters
bucket string Name of a bucket.
Optional query parameters
ifMetagenerationMatch long If present, only return default ACL listing if the bucket's current metageneration matches this value.
ifMetagenerationNotMatch long If present, only return default ACL listing if the bucket's current metageneration does not match the given value.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "storage#objectAccessControls",
  "items": [
    defaultObjectAccessControls Resource
  ]
}
Property name Value Description Notes
kind string The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.
items[] list The list of items.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Storage Documentation