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 |
---|---|---|
System.String | bucket | Name of a bucket. |
System.String | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
System.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 |
---|---|---|
System.String | bucket | Name of a bucket. |
System.String | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
System.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. |
System.String | bucket | Name of a bucket. |
System.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 |
---|---|---|
System.String | bucket | Name of a bucket. |
System.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. |
System.String | bucket | Name of a bucket. |
System.String | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
System.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. |
System.String | bucket | Name of a bucket. |
System.String | storageObject | Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. |
System.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 |