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 |
---|---|---|
IClientService | 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 |
---|---|---|
string | bucket | Name of a bucket. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.DeleteRequest |
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 |
---|---|---|
string | bucket | Name of a bucket. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.GetRequest |
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 |
---|---|---|
BucketAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.InsertRequest |
List(string)
Retrieves ACL entries on the specified bucket.
Declaration
public virtual BucketAccessControlsResource.ListRequest List(string bucket)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of a bucket. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.ListRequest |
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 |
---|---|---|
BucketAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.PatchRequest |
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 |
---|---|---|
BucketAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
BucketAccessControlsResource.UpdateRequest |