Class ObjectAccessControlsResource
The "objectAccessControls" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ObjectAccessControlsResource
Constructors
ObjectAccessControlsResource(IClientService)
Constructs a new resource.
Declaration
public ObjectAccessControlsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Permanently deletes the ACL entry for the specified entity on the specified object.
Declaration
public virtual ObjectAccessControlsResource.DeleteRequest Delete(string bucket, string storageObject, string entity)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.DeleteRequest |
Get(string, string, string)
Returns the ACL entry for the specified entity on the specified object.
Declaration
public virtual ObjectAccessControlsResource.GetRequest Get(string bucket, string storageObject, string entity)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.GetRequest |
Insert(ObjectAccessControl, string, string)
Creates a new ACL entry on the specified object.
Declaration
public virtual ObjectAccessControlsResource.InsertRequest Insert(ObjectAccessControl body, string bucket, string storageObject)
Parameters
Type | Name | Description |
---|---|---|
ObjectAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.InsertRequest |
List(string, string)
Retrieves ACL entries on the specified object.
Declaration
public virtual ObjectAccessControlsResource.ListRequest List(string bucket, string storageObject)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.ListRequest |
Patch(ObjectAccessControl, string, string, string)
Patches an ACL entry on the specified object.
Declaration
public virtual ObjectAccessControlsResource.PatchRequest Patch(ObjectAccessControl body, string bucket, string storageObject, string entity)
Parameters
Type | Name | Description |
---|---|---|
ObjectAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.PatchRequest |
Update(ObjectAccessControl, string, string, string)
Updates an ACL entry on the specified object.
Declaration
public virtual ObjectAccessControlsResource.UpdateRequest Update(ObjectAccessControl body, string bucket, string storageObject, string entity)
Parameters
Type | Name | Description |
---|---|---|
ObjectAccessControl | body | The body of the request. |
string | bucket | Name of a bucket. |
string | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
string | entity | The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. |
Returns
Type | Description |
---|---|
ObjectAccessControlsResource.UpdateRequest |