Class CalendarsResource.ClearRequest
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
Inheritance
CalendarsResource.ClearRequest
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class CalendarsResource.ClearRequest : CalendarBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
ClearRequest(IClientService, string)
Constructs a new Clear request.
Declaration
public ClearRequest(IClientService service, string calendarId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | calendarId |
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
Methods
InitParameters()
Initializes Clear parameter list.
Declaration
protected override void InitParameters()