target.apidocs.com.google.api.services.directory.Directory.Schemas.html Maven / Gradle / Ivy
Directory.Schemas (Admin SDK API directory_v1-rev20220802-2.0.0)
com.google.api.services.directory
Class Directory.Schemas
- java.lang.Object
-
- com.google.api.services.directory.Directory.Schemas
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Schemas.Delete
class
Directory.Schemas.Get
class
Directory.Schemas.Insert
class
Directory.Schemas.List
class
Directory.Schemas.Patch
class
Directory.Schemas.Update
-
Constructor Summary
Constructors
Constructor and Description
Schemas()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.Schemas.Delete
delete(String customerId,
String schemaKey)
Deletes a schema.
Directory.Schemas.Get
get(String customerId,
String schemaKey)
Retrieves a schema.
Directory.Schemas.Insert
insert(String customerId,
Schema content)
Creates a schema.
Directory.Schemas.List
list(String customerId)
Retrieves all schemas for a customer.
Directory.Schemas.Patch
patch(String customerId,
String schemaKey,
Schema content)
Patches a schema.
Directory.Schemas.Update
update(String customerId,
String schemaKey,
Schema content)
Updates a schema.
-
-
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
-
insert
public Directory.Schemas.Insert insert(String customerId,
Schema content)
throws IOException
Creates a schema.
Create a request for the method "schemas.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:
customerId
- Immutable ID of the Google Workspace account.
content
- 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.