Show / Hide Table of Contents

Class CalendarListResource.InsertRequest

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

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<CalendarListEntry>
CalendarBaseServiceRequest<CalendarListEntry>
CalendarListResource.InsertRequest
Implements
IClientServiceRequest<CalendarListEntry>
IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<CalendarListEntry>.Alt
CalendarBaseServiceRequest<CalendarListEntry>.Fields
CalendarBaseServiceRequest<CalendarListEntry>.Key
CalendarBaseServiceRequest<CalendarListEntry>.OauthToken
CalendarBaseServiceRequest<CalendarListEntry>.PrettyPrint
CalendarBaseServiceRequest<CalendarListEntry>.QuotaUser
CalendarBaseServiceRequest<CalendarListEntry>.UserIp
ClientServiceRequest<CalendarListEntry>.Execute()
ClientServiceRequest<CalendarListEntry>.ExecuteAsStream()
ClientServiceRequest<CalendarListEntry>.ExecuteAsync()
ClientServiceRequest<CalendarListEntry>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CalendarListEntry>.ExecuteAsStreamAsync()
ClientServiceRequest<CalendarListEntry>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CalendarListEntry>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<CalendarListEntry>.GenerateRequestUri()
ClientServiceRequest<CalendarListEntry>.GetDefaultETagAction(String)
ClientServiceRequest<CalendarListEntry>.ETagAction
ClientServiceRequest<CalendarListEntry>.ModifyRequest
ClientServiceRequest<CalendarListEntry>.RequestParameters
ClientServiceRequest<CalendarListEntry>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class 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
public virtual Nullable<bool> ColorRgbFormat { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.RestPath

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.CalendarListEntry>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Calendar.v3.CalendarBaseServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top