Show / Hide Table of Contents

Class CalendarsResource.ClearRequest

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<System.String>
CalendarBaseServiceRequest<System.String>
CalendarsResource.ClearRequest
Implements
IClientServiceRequest<System.String>
IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<String>.Alt
CalendarBaseServiceRequest<String>.Fields
CalendarBaseServiceRequest<String>.Key
CalendarBaseServiceRequest<String>.OauthToken
CalendarBaseServiceRequest<String>.PrettyPrint
CalendarBaseServiceRequest<String>.QuotaUser
CalendarBaseServiceRequest<String>.UserIp
ClientServiceRequest<String>.Execute()
ClientServiceRequest<String>.ExecuteAsStream()
ClientServiceRequest<String>.ExecuteAsync()
ClientServiceRequest<String>.ExecuteAsync(CancellationToken)
ClientServiceRequest<String>.ExecuteAsStreamAsync()
ClientServiceRequest<String>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<String>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<String>.GenerateRequestUri()
ClientServiceRequest<String>.GetBody()
ClientServiceRequest<String>.GetDefaultETagAction(String)
ClientServiceRequest<String>.ETagAction
ClientServiceRequest<String>.ModifyRequest
ClientServiceRequest<String>.RequestParameters
ClientServiceRequest<String>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top