Class NotesResource.PermissionsResource.BatchDeleteRequest
Deletes one or more permissions on the note. The specified entities will immediately lose access. A
permission with the OWNER
role can't be removed. If removing a permission fails, then the entire
request fails and no changes are made. Returns a 400 bad request error if a specified permission does
not exist on the note.
Inheritance
NotesResource.PermissionsResource.BatchDeleteRequest
Inherited Members
Namespace: Google.Apis.Keep.v1
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class NotesResource.PermissionsResource.BatchDeleteRequest : KeepBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
BatchDeleteRequest(IClientService, BatchDeletePermissionsRequest, string)
Constructs a new BatchDelete request.
Declaration
public BatchDeleteRequest(IClientService service, BatchDeletePermissionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchDeletePermissionsRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Keep.v1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Keep.v1.Data.Empty>.MethodName
Parent
The parent resource shared by all permissions being deleted. Format: notes/{note}
If this is set,
the parent of all of the permissions specified in the DeletePermissionRequest messages must match
this field.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Keep.v1.Data.Empty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Keep.v1.Data.Empty>.GetBody()
InitParameters()
Initializes BatchDelete parameter list.
Declaration
protected override void InitParameters()