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 and Description |
---|
Schemas() |
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.
|
public Directory.Schemas.Delete delete(String customerId, String schemaKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the Google Workspace account.schemaKey
- Name or immutable ID of the schema.IOException
public Directory.Schemas.Get get(String customerId, String schemaKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to
fetch all groups for a customer, use this field instead of `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.schemaKey
- Name or immutable ID of the schema.IOException
public Directory.Schemas.Insert insert(String customerId, Schema content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the Google Workspace account.content
- the Schema
IOException
public Directory.Schemas.List list(String customerId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to
fetch all groups for a customer, use this field instead of `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.IOException
public Directory.Schemas.Patch patch(String customerId, String schemaKey, Schema content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the Google Workspace account.schemaKey
- Name or immutable ID of the schema.content
- the Schema
IOException
public Directory.Schemas.Update update(String customerId, String schemaKey, Schema content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the Google Workspace account.schemaKey
- Name or immutable ID of the schema.content
- the Schema
IOException
Copyright © 2011–2023 Google. All rights reserved.