All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.calendar.Calendar.Events.Insert.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241101-2.0.0
Show newest version






Calendar.Events.Insert (Calendar API v3-rev20240927-2.0.0)












com.google.api.services.calendar

Class Calendar.Events.Insert

    • Constructor Detail

      • Insert

        protected Insert(String calendarId,
                         Event content)
        Creates an event. Create a request for the method "events.insert". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        Calendar.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        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.
        content - the Event
        Since:
        1.13
    • Method Detail

      • getCalendarId

        public String getCalendarId()
        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.
      • setCalendarId

        public Calendar.Events.Insert setCalendarId(String 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.
      • getConferenceDataVersion

        public Integer getConferenceDataVersion()
        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. [minimum: 0] [maximum: 1]
      • setConferenceDataVersion

        public Calendar.Events.Insert setConferenceDataVersion(Integer 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.
      • getMaxAttendees

        public Integer getMaxAttendees()
        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. [minimum: 1]
      • setMaxAttendees

        public Calendar.Events.Insert setMaxAttendees(Integer 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.
      • getSendNotifications

        public Boolean getSendNotifications()
        Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the new event. Note that some emails might still be sent even if you set the value to false. The default is false.
      • setSendNotifications

        public Calendar.Events.Insert setSendNotifications(Boolean sendNotifications)
        Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the new event. Note that some emails might still be sent even if you set the value to false. The default is false.
      • getSendUpdates

        public String getSendUpdates()
        Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
      • setSendUpdates

        public Calendar.Events.Insert setSendUpdates(String sendUpdates)
        Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
      • getSupportsAttachments

        public Boolean getSupportsAttachments()
        Whether API client performing operation supports event attachments. Optional. The default is False.
      • setSupportsAttachments

        public Calendar.Events.Insert setSupportsAttachments(Boolean supportsAttachments)
        Whether API client performing operation supports event attachments. Optional. The default is False.

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy