Show / Hide Table of Contents

Class EventsResource.ImportRequest

Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported. Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Event>
CalendarBaseServiceRequest<Event>
EventsResource.ImportRequest
Implements
IClientServiceRequest<Event>
IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<Event>.Alt
CalendarBaseServiceRequest<Event>.Fields
CalendarBaseServiceRequest<Event>.Key
CalendarBaseServiceRequest<Event>.OauthToken
CalendarBaseServiceRequest<Event>.PrettyPrint
CalendarBaseServiceRequest<Event>.QuotaUser
CalendarBaseServiceRequest<Event>.UserIp
ClientServiceRequest<Event>.Execute()
ClientServiceRequest<Event>.ExecuteAsStream()
ClientServiceRequest<Event>.ExecuteAsync()
ClientServiceRequest<Event>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Event>.ExecuteAsStreamAsync()
ClientServiceRequest<Event>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Event>.CreateRequest(bool?)
ClientServiceRequest<Event>.GenerateRequestUri()
ClientServiceRequest<Event>.GetDefaultETagAction(string)
ClientServiceRequest<Event>.ETagAction
ClientServiceRequest<Event>.ModifyRequest
ClientServiceRequest<Event>.ValidateParameters
ClientServiceRequest<Event>.ApiVersion
ClientServiceRequest<Event>.RequestParameters
ClientServiceRequest<Event>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class EventsResource.ImportRequest : CalendarBaseServiceRequest<Event>, IClientServiceRequest<Event>, IClientServiceRequest

Constructors

ImportRequest(IClientService, Event, string)

Constructs a new Import request.

Declaration
public ImportRequest(IClientService service, Event body, string calendarId)
Parameters
Type Name Description
IClientService service
Event body
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

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.

Declaration
[RequestParameter("conferenceDataVersion", RequestParameterType.Query)]
public virtual int? ConferenceDataVersion { get; set; }
Property Value
Type Description
int?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Event>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Event>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Event>.RestPath

SupportsAttachments

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

Declaration
[RequestParameter("supportsAttachments", RequestParameterType.Query)]
public virtual bool? SupportsAttachments { 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
ClientServiceRequest<Event>.GetBody()

InitParameters()

Initializes Import parameter list.

Declaration
protected override void InitParameters()
Overrides
CalendarBaseServiceRequest<Event>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX