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

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

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






Calendar (Calendar API v3-rev20240927-2.0.0)












com.google.api.services.calendar

Class Calendar

  • java.lang.Object
    • com.google.api.client.googleapis.services.AbstractGoogleClient
      • com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
        • com.google.api.services.calendar.Calendar


  • public class Calendar
    extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
    Service definition for Calendar (v3).

    Manipulates events and other calendar data.

    For more information about this service, see the API Documentation

    This service uses CalendarRequestInitializer to initialize global parameters via its Calendar.Builder.

    Since:
    1.3
    Author:
    Google, Inc.
    • Field Detail

      • DEFAULT_ROOT_URL

        public static final String DEFAULT_ROOT_URL
        The default encoded root URL of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_MTLS_ROOT_URL

        public static final String DEFAULT_MTLS_ROOT_URL
        The default encoded mTLS root URL of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.31
        See Also:
        Constant Field Values
      • DEFAULT_SERVICE_PATH

        public static final String DEFAULT_SERVICE_PATH
        The default encoded service path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_BATCH_PATH

        public static final String DEFAULT_BATCH_PATH
        The default encoded batch path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.23
        See Also:
        Constant Field Values
      • DEFAULT_BASE_URL

        public static final String DEFAULT_BASE_URL
        The default encoded base URL of the service. This is determined when the library is generated and normally should not be changed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Calendar

        public Calendar(com.google.api.client.http.HttpTransport transport,
                        com.google.api.client.json.JsonFactory jsonFactory,
                        com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
        Constructor.

        Use Calendar.Builder if you need to specify any of the optional parameters.

        Parameters:
        transport - HTTP transport, which should normally be:
        • Google App Engine: com.google.api.client.extensions.appengine.http.UrlFetchTransport
        • Android: newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp
        • Java: com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
        jsonFactory - JSON factory, which may be:
        • Jackson: com.google.api.client.json.jackson2.JacksonFactory
        • Google GSON: com.google.api.client.json.gson.GsonFactory
        • Android Honeycomb or higher: com.google.api.client.extensions.android.json.AndroidJsonFactory
        httpRequestInitializer - HTTP request initializer or null for none
        Since:
        1.7
    • Method Detail

      • initialize

        protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
                           throws IOException
        Overrides:
        initialize in class com.google.api.client.googleapis.services.AbstractGoogleClient
        Throws:
        IOException
      • acl

        public Calendar.Acl acl()
        An accessor for creating requests from the Acl collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Acl.List request = calendar.acl().list(parameters ...)
         
        Returns:
        the resource collection
      • calendarList

        public Calendar.CalendarList calendarList()
        An accessor for creating requests from the CalendarList collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.CalendarList.List request = calendar.calendarList().list(parameters ...)
         
        Returns:
        the resource collection
      • calendars

        public Calendar.Calendars calendars()
        An accessor for creating requests from the Calendars collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Calendars.List request = calendar.calendars().list(parameters ...)
         
        Returns:
        the resource collection
      • channels

        public Calendar.Channels channels()
        An accessor for creating requests from the Channels collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Channels.List request = calendar.channels().list(parameters ...)
         
        Returns:
        the resource collection
      • colors

        public Calendar.Colors colors()
        An accessor for creating requests from the Colors collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Colors.List request = calendar.colors().list(parameters ...)
         
        Returns:
        the resource collection
      • events

        public Calendar.Events events()
        An accessor for creating requests from the Events collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Events.List request = calendar.events().list(parameters ...)
         
        Returns:
        the resource collection
      • freebusy

        public Calendar.Freebusy freebusy()
        An accessor for creating requests from the Freebusy collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Freebusy.List request = calendar.freebusy().list(parameters ...)
         
        Returns:
        the resource collection
      • settings

        public Calendar.Settings settings()
        An accessor for creating requests from the Settings collection.

        The typical use is:

            Calendar calendar = new Calendar(...);
            Calendar.Settings.List request = calendar.settings().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy