Show / Hide Table of Contents

Class SchemasResource

The "schemas" collection of methods.

Inheritance
System.Object
SchemasResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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)

Delete schema

Declaration
public virtual SchemasResource.DeleteRequest Delete(string customerId, string schemaKey)
Parameters
Type Name Description
System.String customerId

Immutable ID of the G Suite account.

System.String schemaKey

Name or immutable ID of the schema.

Returns
Type Description
SchemasResource.DeleteRequest

Get(String, String)

Retrieve schema

Declaration
public virtual SchemasResource.GetRequest Get(string customerId, string schemaKey)
Parameters
Type Name Description
System.String customerId

Immutable ID of the G Suite account.

System.String schemaKey

Name or immutable ID of the schema.

Returns
Type Description
SchemasResource.GetRequest

Insert(Schema, String)

Create schema.

Declaration
public virtual SchemasResource.InsertRequest Insert(Schema body, string customerId)
Parameters
Type Name Description
Schema body

The body of the request.

System.String customerId

Immutable ID of the G Suite account.

Returns
Type Description
SchemasResource.InsertRequest

List(String)

Retrieve all schemas for a customer

Declaration
public virtual SchemasResource.ListRequest List(string customerId)
Parameters
Type Name Description
System.String customerId

Immutable ID of the G Suite account.

Returns
Type Description
SchemasResource.ListRequest

Patch(Schema, String, String)

Patch Schema via Apiary Patch Orchestration

Declaration
public virtual SchemasResource.PatchRequest Patch(Schema body, string customerId, string schemaKey)
Parameters
Type Name Description
Schema body

The body of the request.

System.String customerId

Immutable ID of the G Suite account.

System.String schemaKey

Name or immutable ID of the schema.

Returns
Type Description
SchemasResource.PatchRequest

Update(Schema, String, String)

Update schema

Declaration
public virtual SchemasResource.UpdateRequest Update(Schema body, string customerId, string schemaKey)
Parameters
Type Name Description
Schema body

The body of the request.

System.String customerId

Immutable ID of the G Suite account.

System.String schemaKey

Name or immutable ID of the schema.

Returns
Type Description
SchemasResource.UpdateRequest
Back to top