Class SchemasResource
The "schemas" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class SchemasResource
Constructors
SchemasResource(IClientService)
Constructs a new resource.
Declaration
public SchemasResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Deletes a schema.
Declaration
public virtual SchemasResource.DeleteRequest Delete(string customerId, string schemaKey)
Parameters
Type | Name | Description |
---|---|---|
string | customerId | Immutable ID of the Google Workspace account. |
string | schemaKey | Name or immutable ID of the schema. |
Returns
Type | Description |
---|---|
SchemasResource.DeleteRequest |
Get(string, string)
Retrieves a schema.
Declaration
public virtual SchemasResource.GetRequest Get(string customerId, string schemaKey)
Parameters
Type | Name | Description |
---|---|---|
string | 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 |
string | schemaKey | Name or immutable ID of the schema. |
Returns
Type | Description |
---|---|
SchemasResource.GetRequest |
Insert(Schema, string)
Creates a schema.
Declaration
public virtual SchemasResource.InsertRequest Insert(Schema body, string customerId)
Parameters
Type | Name | Description |
---|---|---|
Schema | body | The body of the request. |
string | customerId | Immutable ID of the Google Workspace account. |
Returns
Type | Description |
---|---|
SchemasResource.InsertRequest |
List(string)
Retrieves all schemas for a customer.
Declaration
public virtual SchemasResource.ListRequest List(string customerId)
Parameters
Type | Name | Description |
---|---|---|
string | 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 |
Returns
Type | Description |
---|---|
SchemasResource.ListRequest |
Patch(Schema, string, string)
Patches a schema.
Declaration
public virtual SchemasResource.PatchRequest Patch(Schema body, string customerId, string schemaKey)
Parameters
Type | Name | Description |
---|---|---|
Schema | body | The body of the request. |
string | customerId | Immutable ID of the Google Workspace account. |
string | schemaKey | Name or immutable ID of the schema. |
Returns
Type | Description |
---|---|
SchemasResource.PatchRequest |
Update(Schema, string, string)
Updates a schema.
Declaration
public virtual SchemasResource.UpdateRequest Update(Schema body, string customerId, string schemaKey)
Parameters
Type | Name | Description |
---|---|---|
Schema | body | The body of the request. |
string | customerId | Immutable ID of the Google Workspace account. |
string | schemaKey | Name or immutable ID of the schema. |
Returns
Type | Description |
---|---|
SchemasResource.UpdateRequest |