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.

Inheritance
System.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(Nullable<Boolean>)
ClientServiceRequest<Event>.GenerateRequestUri()
ClientServiceRequest<Event>.GetDefaultETagAction(String)
ClientServiceRequest<Event>.ETagAction
ClientServiceRequest<Event>.ModifyRequest
ClientServiceRequest<Event>.RequestParameters
ClientServiceRequest<Event>.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 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
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

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
public virtual Nullable<int> ConferenceDataVersion { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.RestPath

SupportsAttachments

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

Declaration
public virtual Nullable<bool> SupportsAttachments { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.GetBody()

InitParameters()

Initializes Import parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Calendar.v3.CalendarBaseServiceRequest<Google.Apis.Calendar.v3.Data.Event>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top