Class SchemasResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "schemas" collection of methods.
public class SchemasResource
- Inheritance
-
SchemasResource
- Inherited Members
Constructors
SchemasResource(IClientService)
Constructs a new resource.
public SchemasResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string)
Delete schema
public virtual SchemasResource.DeleteRequest Delete(string customerId, string schemaKey)
Parameters
customerId
stringImmutable ID of the G Suite account
schemaKey
stringName or immutable ID of the schema
Returns
Get(string, string)
Retrieve schema
public virtual SchemasResource.GetRequest Get(string customerId, string schemaKey)
Parameters
customerId
stringImmutable ID of the G Suite account
schemaKey
stringName or immutable ID of the schema
Returns
Insert(Schema, string)
Create schema.
public virtual SchemasResource.InsertRequest Insert(Schema body, string customerId)
Parameters
Returns
List(string)
Retrieve all schemas for a customer
public virtual SchemasResource.ListRequest List(string customerId)
Parameters
customerId
stringImmutable ID of the G Suite account
Returns
Patch(Schema, string, string)
Update schema. This method supports patch semantics.
public virtual SchemasResource.PatchRequest Patch(Schema body, string customerId, string schemaKey)
Parameters
body
SchemaThe body of the request.
customerId
stringImmutable ID of the G Suite account
schemaKey
stringName or immutable ID of the schema.
Returns
Update(Schema, string, string)
Update schema
public virtual SchemasResource.UpdateRequest Update(Schema body, string customerId, string schemaKey)
Parameters
body
SchemaThe body of the request.
customerId
stringImmutable ID of the G Suite account
schemaKey
stringName or immutable ID of the schema.