Class AclResource.PatchRequest
Updates an access control rule. This method supports patch semantics.
Inheritance
AclResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class AclResource.PatchRequest : CalendarBaseServiceRequest<AclRule>, IClientServiceRequest<AclRule>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AclRule, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AclRule body, string calendarId, string ruleId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AclRule | body | |
string | calendarId | |
string | ruleId |
Properties
CalendarId
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
Declaration
[RequestParameter("calendarId", RequestParameterType.Path)]
public virtual string CalendarId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RuleId
ACL rule identifier.
Declaration
[RequestParameter("ruleId", RequestParameterType.Path)]
public virtual string RuleId { get; }
Property Value
Type | Description |
---|---|
string |
SendNotifications
Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.
Declaration
[RequestParameter("sendNotifications", RequestParameterType.Query)]
public virtual bool? SendNotifications { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()