Class BucketAccessControlsResource
The "bucketAccessControls" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class BucketAccessControlsResource
Constructors
BucketAccessControlsResource(IClientService)
Constructs a new resource.
Declaration
public BucketAccessControlsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Delete(String, String)
Permanently deletes the ACL entry for the specified entity on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.DeleteRequest Delete(string bucket, string entity)
Parameters
Type | Name | Description |
---|---|---|
System. |
bucket | Name of a bucket. |
System. |
entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
Bucket |
Get(String, String)
Returns the ACL entry for the specified entity on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.GetRequest Get(string bucket, string entity)
Parameters
Type | Name | Description |
---|---|---|
System. |
bucket | Name of a bucket. |
System. |
entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
Bucket |
Insert(BucketAccessControl, String)
Creates a new ACL entry on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.InsertRequest Insert(BucketAccessControl body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
Bucket |
body | The body of the request. |
System. |
bucket | Name of a bucket. |
Returns
Type | Description |
---|---|
Bucket |
List(String)
Retrieves ACL entries on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.ListRequest List(string bucket)
Parameters
Type | Name | Description |
---|---|---|
System. |
bucket | Name of a bucket. |
Returns
Type | Description |
---|---|
Bucket |
Patch(BucketAccessControl, String, String)
Patches an ACL entry on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.PatchRequest Patch(BucketAccessControl body, string bucket, string entity)
Parameters
Type | Name | Description |
---|---|---|
Bucket |
body | The body of the request. |
System. |
bucket | Name of a bucket. |
System. |
entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
Bucket |
Update(BucketAccessControl, String, String)
Updates an ACL entry on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.UpdateRequest Update(BucketAccessControl body, string bucket, string entity)
Parameters
Type | Name | Description |
---|---|---|
Bucket |
body | The body of the request. |
System. |
bucket | Name of a bucket. |
System. |
entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
Bucket |