Table of Contents

Class EventsResource.ImportRequest

Namespace
Google.Apis.Calendar.v3
Assembly
Google.Apis.Calendar.v3.dll

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

public class EventsResource.ImportRequest : CalendarBaseServiceRequest<Event>
Inheritance
EventsResource.ImportRequest
Inherited Members

Constructors

ImportRequest(IClientService, Event, string)

Constructs a new Import request.

public ImportRequest(IClientService service, Event body, string calendarId)

Parameters

service IClientService
body Event
calendarId string

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.

public virtual string CalendarId { get; }

Property Value

string

ConferenceDataVersion

Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.

public virtual int? ConferenceDataVersion { get; set; }

Property Value

int?

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

SupportsAttachments

Whether API client performing operation supports event attachments. Optional. The default is False.

public virtual bool? SupportsAttachments { get; set; }

Property Value

bool?

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Import parameter list.

protected override void InitParameters()