lib/fog/google/requests/storage/put_bucket_acl.rb in fog-0.3.21 vs lib/fog/google/requests/storage/put_bucket_acl.rb in fog-0.3.22
- old
+ new
@@ -10,16 +10,17 @@
# * acl<~Hash>:
# * Owner<~Hash>:
# * ID<~String>: id of owner
# * DisplayName<~String>: display name of owner
# * AccessControlList<~Array>:
- # * Grantee<~Hash>:
- # * 'DisplayName'<~String> - Display name of grantee
+ # * scope<~Hash>:
+ # * 'type'<~String> - 'UserById'
# * 'ID'<~String> - Id of grantee
# or
+ # * 'type'<~String> - 'UserByEmail'
# * 'EmailAddress'<~String> - Email address of grantee
# or
- # * 'URI'<~String> - URI of group to grant access for
+ # * 'type'<~String> - type of user to grant permission to
# * Permission<~String> - Permission, in [FULL_CONTROL, WRITE, WRITE_ACP, READ, READ_ACP]
def put_bucket_acl(bucket_name, acl)
data =
<<-DATA
<AccessControlPolicy>