Class EventsResource.PatchRequest
Updates an event. This method supports patch semantics.
public class EventsResource.PatchRequest : CalendarBaseServiceRequest<Event>
- Inheritance
-
EventsResource.PatchRequest
- Inherited Members
Constructors
PatchRequest(IClientService, Event, string, string)
Constructs a new Patch request.
public PatchRequest(IClientService service, Event body, string calendarId, string eventId)
Parameters
Properties
AlwaysIncludeEmail
Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
public virtual bool? AlwaysIncludeEmail { get; set; }
Property Value
- bool?
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
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.
public virtual int? ConferenceDataVersion { get; set; }
Property Value
- int?
EventId
Event identifier.
public virtual string EventId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
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.
public virtual int? MaxAttendees { get; set; }
Property Value
- int?
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
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.
public virtual bool? SendNotifications { get; set; }
Property Value
- bool?
SendUpdates
Guests who should receive notifications about the event update (for example, title changes, etc.).
public virtual EventsResource.PatchRequest.SendUpdatesEnum? SendUpdates { get; set; }
Property Value
SupportsAttachments
Whether API client performing operation supports event attachments. Optional. The default is False.
public virtual bool? SupportsAttachments { get; set; }
Property Value
- bool?
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Patch parameter list.
protected override void InitParameters()