Class CalendarsResource.ClearRequest
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
Inheritance
System.Object
ClientServiceRequest<System.String>
CalendarBaseServiceRequest<System.String>
CalendarsResource.ClearRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class 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 | |
| System.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
public virtual string CalendarId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath
Methods
InitParameters()
Initializes Clear parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Calendar.v3.CalendarBaseServiceRequest<System.String>.InitParameters()