Class DefaultObjectAccessControlsResource
The "defaultObjectAccessControls" collection of methods.
Inheritance
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 |
---|---|---|
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 |
---|---|
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 |
---|---|---|
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 |
---|---|
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. |
System.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 |
---|---|---|
System.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. |
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 |
---|---|
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. |
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 |
---|---|
DefaultObjectAccessControlsResource.UpdateRequest |