Show / Hide Table of Contents

Class SchemasResource

The "schemas" collection of methods.

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

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 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 resource. You must provide either the customer or the domain parameter.

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 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 resource. You must provide either the customer or the domain parameter.

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
In this article
Back to top Generated by DocFX