Class CalendarListResource.InsertRequest
Inserts an existing calendar into the user's calendar list.
Inheritance
CalendarListResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class CalendarListResource.InsertRequest : CalendarBaseServiceRequest<CalendarListEntry>, IClientServiceRequest<CalendarListEntry>, IClientServiceRequest
Constructors
InsertRequest(IClientService, CalendarListEntry)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, CalendarListEntry body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CalendarListEntry | body |
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.
Declaration
[RequestParameter("colorRgbFormat", RequestParameterType.Query)]
public virtual bool? ColorRgbFormat { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()