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

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

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






Directory.Resources.Buildings (Admin SDK API directory_v1-rev20220802-2.0.0)












com.google.api.services.directory

Class Directory.Resources.Buildings

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


    public class Directory.Resources.Buildings
    extends Object
    The "buildings" collection of methods.
    • Constructor Detail

      • Buildings

        public Buildings()
    • Method Detail

      • delete

        public Directory.Resources.Buildings.Delete delete(String customer,
                                                           String buildingId)
                                                    throws IOException
        Deletes a building. Create a request for the method "buildings.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.
        buildingId - The id of the building to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Resources.Buildings.Get get(String customer,
                                                     String buildingId)
                                              throws IOException
        Retrieves a building. Create a request for the method "buildings.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.
        buildingId - The unique ID of the building to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Directory.Resources.Buildings.Insert insert(String customer,
                                                           Building content)
                                                    throws IOException
        Inserts a building. Create a request for the method "buildings.insert". 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.
        content - the Building
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Resources.Buildings.List list(String customer)
                                                throws IOException
        Retrieves a list of buildings for an account. Create a request for the method "buildings.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.Buildings.Patch patch(String customer,
                                                         String buildingId,
                                                         Building content)
                                                  throws IOException
        Patches a building. Create a request for the method "buildings.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.
        buildingId - The id of the building to update.
        content - the Building
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Resources.Buildings.Update update(String customer,
                                                           String buildingId,
                                                           Building content)
                                                    throws IOException
        Updates a building. Create a request for the method "buildings.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.
        buildingId - The id of the building to update.
        content - the Building
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy