Show / Hide Table of Contents

Class EventsResource.PatchRequest

Updates an event. This method supports patch semantics.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Event>
CalendarBaseServiceRequest<Event>
EventsResource.PatchRequest
Implements
IClientServiceRequest<Event>
IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<Event>.Alt
CalendarBaseServiceRequest<Event>.Fields
CalendarBaseServiceRequest<Event>.Key
CalendarBaseServiceRequest<Event>.OauthToken
CalendarBaseServiceRequest<Event>.PrettyPrint
CalendarBaseServiceRequest<Event>.QuotaUser
CalendarBaseServiceRequest<Event>.UserIp
ClientServiceRequest<Event>.Execute()
ClientServiceRequest<Event>.ExecuteAsStream()
ClientServiceRequest<Event>.ExecuteAsync()
ClientServiceRequest<Event>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Event>.ExecuteAsStreamAsync()
ClientServiceRequest<Event>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Event>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Event>.GenerateRequestUri()
ClientServiceRequest<Event>.GetDefaultETagAction(String)
ClientServiceRequest<Event>.ETagAction
ClientServiceRequest<Event>.ModifyRequest
ClientServiceRequest<Event>.RequestParameters
ClientServiceRequest<Event>.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 PatchRequest : CalendarBaseServiceRequest<Event>, IClientServiceRequest<Event>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Event, String, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Event body, string calendarId, string eventId)
Parameters
Type Name Description
IClientService service
Event body
System.String calendarId
System.String eventId

Properties

AlwaysIncludeEmail

Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).

Declaration
public virtual Nullable<bool> AlwaysIncludeEmail { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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
public virtual string CalendarId { get; }
Property Value
Type Description
System.String

ConferenceDataVersion

Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.

Declaration
public virtual Nullable<int> ConferenceDataVersion { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

EventId

Event identifier.

Declaration
public virtual string EventId { get; }
Property Value
Type Description
System.String

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.Event>.HttpMethod

MaxAttendees

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

Declaration
public virtual Nullable<int> MaxAttendees { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

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.Event>.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.Event>.RestPath

SendNotifications

Deprecated. Please use sendUpdates instead.

Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.

Declaration
public virtual Nullable<bool> SendNotifications { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

SendUpdates

Guests who should receive notifications about the event update (for example, title changes, etc.).

Declaration
public virtual Nullable<EventsResource.PatchRequest.SendUpdatesEnum> SendUpdates { get; set; }
Property Value
Type Description
System.Nullable<EventsResource.PatchRequest.SendUpdatesEnum>

SupportsAttachments

Whether API client performing operation supports event attachments. Optional. The default is False.

Declaration
public virtual Nullable<bool> SupportsAttachments { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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

InitParameters()

Initializes Patch parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top