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
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<
Event>
EventsResource.ImportRequest
Implements
Google.Apis.Requests.IClientServiceRequest<
Event>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Event>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
| Google.Apis.Services.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
[RequestParameter("calendarId", RequestParameterType.Path)]
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
[RequestParameter("conferenceDataVersion", RequestParameterType.Query)]
public virtual int? ConferenceDataVersion { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
HttpMethod
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
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
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
[RequestParameter("supportsAttachments", RequestParameterType.Query)]
public virtual 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
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest