Table of Contents

Class CalendarListResource.InsertRequest

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

Inserts an existing calendar into the user's calendar list.

public class CalendarListResource.InsertRequest : CalendarBaseServiceRequest<CalendarListEntry>
Inheritance
CalendarListResource.InsertRequest
Inherited Members

Constructors

InsertRequest(IClientService, CalendarListEntry)

Constructs a new Insert request.

public InsertRequest(IClientService service, CalendarListEntry body)

Parameters

service IClientService
body CalendarListEntry

Properties

ColorRgbFormat

Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.

public virtual bool? ColorRgbFormat { get; set; }

Property Value

bool?

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

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Insert parameter list.

protected override void InitParameters()