Table of Contents

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 string

Immutable ID of the G Suite account

schemaKey string

Name or immutable ID of the schema

Returns

SchemasResource.DeleteRequest

Get(string, string)

Retrieve schema

public virtual SchemasResource.GetRequest Get(string customerId, string schemaKey)

Parameters

customerId string

Immutable ID of the G Suite account

schemaKey string

Name or immutable ID of the schema

Returns

SchemasResource.GetRequest

Insert(Schema, string)

Create schema.

public virtual SchemasResource.InsertRequest Insert(Schema body, string customerId)

Parameters

body Schema

The body of the request.

customerId string

Immutable ID of the G Suite account

Returns

SchemasResource.InsertRequest

List(string)

Retrieve all schemas for a customer

public virtual SchemasResource.ListRequest List(string customerId)

Parameters

customerId string

Immutable ID of the G Suite account

Returns

SchemasResource.ListRequest

Patch(Schema, string, string)

Update schema. This method supports patch semantics.

public virtual SchemasResource.PatchRequest Patch(Schema body, string customerId, string schemaKey)

Parameters

body Schema

The body of the request.

customerId string

Immutable ID of the G Suite account

schemaKey string

Name or immutable ID of the schema.

Returns

SchemasResource.PatchRequest

Update(Schema, string, string)

Update schema

public virtual SchemasResource.UpdateRequest Update(Schema body, string customerId, string schemaKey)

Parameters

body Schema

The body of the request.

customerId string

Immutable ID of the G Suite account

schemaKey string

Name or immutable ID of the schema.

Returns

SchemasResource.UpdateRequest