Table of Contents

Class EventsResource.InsertRequest

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

Creates an event.

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

Constructors

InsertRequest(IClientService, Event, string)

Constructs a new Insert request.

public InsertRequest(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

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MaxAttendees

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

public virtual int? MaxAttendees { get; set; }

Property Value

int?

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

SendNotifications

Whether to send notifications about the creation of the new event. Optional. The default is False.

public virtual bool? SendNotifications { get; set; }

Property Value

bool?

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 Insert parameter list.

protected override void InitParameters()