Table of Contents

Class CalendarListResource.PatchRequest

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

Updates an existing calendar on the user's calendar list. This method supports patch semantics.

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

Constructors

PatchRequest(IClientService, CalendarListEntry, string)

Constructs a new Patch request.

public PatchRequest(IClientService service, CalendarListEntry body, string calendarId)

Parameters

service IClientService
body CalendarListEntry
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

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

protected override void InitParameters()