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

target.apidocs.com.google.api.services.directory.Directory.Resources.Calendars.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






Directory.Resources.Calendars (Admin SDK API directory_v1-rev20220606-1.32.1)












com.google.api.services.directory

Class Directory.Resources.Calendars

  • java.lang.Object
    • com.google.api.services.directory.Directory.Resources.Calendars
  • Enclosing class:
    Directory.Resources


    public class Directory.Resources.Calendars
    extends Object
    The "calendars" collection of methods.
    • Constructor Detail

      • Calendars

        public Calendars()
    • Method Detail

      • delete

        public Directory.Resources.Calendars.Delete delete(String customer,
                                                           String calendarResourceId)
                                                    throws IOException
        Deletes a calendar resource. Create a request for the method "calendars.delete". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
        calendarResourceId - The unique ID of the calendar resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Resources.Calendars.Get get(String customer,
                                                     String calendarResourceId)
                                              throws IOException
        Retrieves a calendar resource. Create a request for the method "calendars.get". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
        calendarResourceId - The unique ID of the calendar resource to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Resources.Calendars.List list(String customer)
                                                throws IOException
        Retrieves a list of calendar resources for an account. Create a request for the method "calendars.list". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Directory.Resources.Calendars.Patch patch(String customer,
                                                         String calendarResourceId,
                                                         CalendarResource content)
                                                  throws IOException
        Patches a calendar resource. Create a request for the method "calendars.patch". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
        calendarResourceId - The unique ID of the calendar resource to update.
        content - the CalendarResource
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Resources.Calendars.Update update(String customer,
                                                           String calendarResourceId,
                                                           CalendarResource content)
                                                    throws IOException
        Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. Create a request for the method "calendars.update". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
        calendarResourceId - The unique ID of the calendar resource to update.
        content - the CalendarResource
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy