Class DefaultObjectAccessControlsResource
The "defaultObjectAccessControls" collection of methods.
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class DefaultObjectAccessControlsResource
Constructors
DefaultObjectAccessControlsResource(IClientService)
Constructs a new resource.
Declaration
public DefaultObjectAccessControlsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string)
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.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 |
|---|---|
| DefaultObjectAccessControlsResource.DeleteRequest |
Get(string, string)
Returns the default object ACL entry for the specified entity on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.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 |
|---|---|
| DefaultObjectAccessControlsResource.GetRequest |
Insert(ObjectAccessControl, string)
Creates a new default object ACL entry on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.InsertRequest Insert(ObjectAccessControl body, string bucket)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectAccessControl | body | The body of the request. |
| string | bucket | Name of a bucket. |
Returns
| Type | Description |
|---|---|
| DefaultObjectAccessControlsResource.InsertRequest |
List(string)
Retrieves default object ACL entries on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.ListRequest List(string bucket)
Parameters
| Type | Name | Description |
|---|---|---|
| string | bucket | Name of a bucket. |
Returns
| Type | Description |
|---|---|
| DefaultObjectAccessControlsResource.ListRequest |
Patch(ObjectAccessControl, string, string)
Patches a default object ACL entry on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.PatchRequest Patch(ObjectAccessControl body, string bucket, string entity)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectAccessControl | 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 |
|---|---|
| DefaultObjectAccessControlsResource.PatchRequest |
Update(ObjectAccessControl, string, string)
Updates a default object ACL entry on the specified bucket.
Declaration
public virtual DefaultObjectAccessControlsResource.UpdateRequest Update(ObjectAccessControl body, string bucket, string entity)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectAccessControl | 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 |
|---|---|
| DefaultObjectAccessControlsResource.UpdateRequest |