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.
userProject string The project to be billed for this request. Required for Requester Pays buckets.

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 defaultObjectAccessControls.

Try it!

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

此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Cloud Storage
需要帮助?请访问我们的支持页面