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

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

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






Directory.Schemas (Admin SDK API directory_v1-rev20220802-2.0.0)












com.google.api.services.directory

Class Directory.Schemas

  • Enclosing class:
    Directory


    public class Directory.Schemas
    extends Object
    The "schemas" collection of methods.
    • Constructor Detail

      • Schemas

        public Schemas()
    • Method Detail

      • delete

        public Directory.Schemas.Delete delete(String customerId,
                                               String schemaKey)
                                        throws IOException
        Deletes a schema. Create a request for the method "schemas.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:
        customerId - Immutable ID of the Google Workspace account.
        schemaKey - Name or immutable ID of the schema.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Schemas.Get get(String customerId,
                                         String schemaKey)
                                  throws IOException
        Retrieves a schema. Create a request for the method "schemas.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:
        customerId - Immutable ID of the Google Workspace account.
        schemaKey - Name or immutable ID of the schema.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Schemas.List list(String customerId)
                                    throws IOException
        Retrieves all schemas for a customer. Create a request for the method "schemas.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:
        customerId - Immutable ID of the Google Workspace account.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Directory.Schemas.Patch patch(String customerId,
                                             String schemaKey,
                                             Schema content)
                                      throws IOException
        Patches a schema. Create a request for the method "schemas.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:
        customerId - Immutable ID of the Google Workspace account.
        schemaKey - Name or immutable ID of the schema.
        content - the Schema
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Schemas.Update update(String customerId,
                                               String schemaKey,
                                               Schema content)
                                        throws IOException
        Updates a schema. Create a request for the method "schemas.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:
        customerId - Immutable ID of the Google Workspace account.
        schemaKey - Name or immutable ID of the schema.
        content - the Schema
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy