Show / Hide Table of Contents

Class CalendarListResource.UpdateRequest

Updates an existing calendar on the user's calendar list.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<CalendarListEntry>
CalendarBaseServiceRequest<CalendarListEntry>
CalendarListResource.UpdateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<CalendarListEntry>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<CalendarListEntry>.Alt
CalendarBaseServiceRequest<CalendarListEntry>.Fields
CalendarBaseServiceRequest<CalendarListEntry>.Key
CalendarBaseServiceRequest<CalendarListEntry>.OauthToken
CalendarBaseServiceRequest<CalendarListEntry>.PrettyPrint
CalendarBaseServiceRequest<CalendarListEntry>.QuotaUser
CalendarBaseServiceRequest<CalendarListEntry>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.CalendarListEntry>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
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 UpdateRequest : CalendarBaseServiceRequest<CalendarListEntry>, IClientServiceRequest<CalendarListEntry>, IClientServiceRequest

Constructors

UpdateRequest(IClientService, CalendarListEntry, String)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, CalendarListEntry body, string calendarId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
CalendarListEntry body
System.String calendarId

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.

Declaration
[RequestParameter("calendarId", RequestParameterType.Path)]
public virtual string CalendarId { get; }
Property Value
Type Description
System.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.

Declaration
[RequestParameter("colorRgbFormat", RequestParameterType.Query)]
public virtual 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 Update parameter list.

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

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top