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 |
---|---|---|
System.String | bucket | Name of a bucket. |
System.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 |
---|---|---|
System.String | bucket | Name of a bucket. |
System.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. |
System.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 |
---|---|---|
System.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. |
System.String | bucket | Name of a bucket. |
System.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. |
System.String | bucket | Name of a bucket. |
System.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 |