Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Empty>
KeepBaseServiceRequest<Empty>
NotesResource.PermissionsResource.BatchDeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
KeepBaseServiceRequest<Empty>.Xgafv
KeepBaseServiceRequest<Empty>.AccessToken
KeepBaseServiceRequest<Empty>.Alt
KeepBaseServiceRequest<Empty>.Callback
KeepBaseServiceRequest<Empty>.Fields
KeepBaseServiceRequest<Empty>.Key
KeepBaseServiceRequest<Empty>.OauthToken
KeepBaseServiceRequest<Empty>.PrettyPrint
KeepBaseServiceRequest<Empty>.QuotaUser
KeepBaseServiceRequest<Empty>.UploadType
KeepBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
ClientServiceRequest<Empty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Empty>.GetBody()

InitParameters()

Initializes BatchDelete parameter list.

Declaration
protected override void InitParameters()
Overrides
KeepBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX