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

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

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






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












com.google.api.services.calendar

Class Calendar.Events.Get

    • Constructor Detail

      • Get

        protected Get(String calendarId,
                      String eventId)
        Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter. Create a request for the method "events.get". 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.
        eventId - Event identifier.
        Since:
        1.13
    • Method Detail

      • executeUsingHead

        public com.google.api.client.http.HttpResponse executeUsingHead()
                                                                 throws IOException
        Overrides:
        executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Event>
        Throws:
        IOException
      • buildHttpRequestUsingHead

        public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
                                                                         throws IOException
        Overrides:
        buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Event>
        Throws:
        IOException
      • 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.Get 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.
      • getEventId

        public String getEventId()
        Event identifier.
      • getAlwaysIncludeEmail

        public Boolean getAlwaysIncludeEmail()
        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).
      • setAlwaysIncludeEmail

        public Calendar.Events.Get setAlwaysIncludeEmail(Boolean 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).
      • 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.Get 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.
      • getTimeZone

        public String getTimeZone()
        Time zone used in the response. Optional. The default is the time zone of the calendar.
      • setTimeZone

        public Calendar.Events.Get setTimeZone(String timeZone)
        Time zone used in the response. Optional. The default is the time zone of the calendar.

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy