Class NotesResource.PermissionsResource.BatchCreateRequest
Creates one or more permissions on the note. Only permissions with the WRITER
role may be created. If
adding any permission fails, then the entire request fails and no changes are made.
Inheritance
NotesResource.PermissionsResource.BatchCreateRequest
Inherited Members
Namespace: Google.Apis.Keep.v1
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class NotesResource.PermissionsResource.BatchCreateRequest : KeepBaseServiceRequest<BatchCreatePermissionsResponse>, IClientServiceRequest<BatchCreatePermissionsResponse>, IClientServiceRequest
Constructors
BatchCreateRequest(IClientService, BatchCreatePermissionsRequest, string)
Constructs a new BatchCreate request.
Declaration
public BatchCreateRequest(IClientService service, BatchCreatePermissionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchCreatePermissionsRequest | 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.BatchCreatePermissionsResponse>.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.BatchCreatePermissionsResponse>.MethodName
Parent
The parent resource shared by all Permissions being created. Format: notes/{note}
If this is set,
the parent field in the CreatePermission messages must either be empty or 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.BatchCreatePermissionsResponse>.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.BatchCreatePermissionsResponse>.GetBody()
InitParameters()
Initializes BatchCreate parameter list.
Declaration
protected override void InitParameters()