Table of Contents

Class ResourcesResource.FeaturesResource

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

The "features" collection of methods.

public class ResourcesResource.FeaturesResource
Inheritance
ResourcesResource.FeaturesResource
Inherited Members

Constructors

FeaturesResource(IClientService)

Constructs a new resource.

public FeaturesResource(IClientService service)

Parameters

service IClientService

Methods

Delete(string, string)

Deletes a feature.

public virtual ResourcesResource.FeaturesResource.DeleteRequest Delete(string customer, string featureKey)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

featureKey string

The unique ID of the feature to delete.

Returns

ResourcesResource.FeaturesResource.DeleteRequest

Get(string, string)

Retrieves a feature.

public virtual ResourcesResource.FeaturesResource.GetRequest Get(string customer, string featureKey)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

featureKey string

The unique ID of the feature to retrieve.

Returns

ResourcesResource.FeaturesResource.GetRequest

Insert(Feature, string)

Inserts a feature.

public virtual ResourcesResource.FeaturesResource.InsertRequest Insert(Feature body, string customer)

Parameters

body Feature

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

Returns

ResourcesResource.FeaturesResource.InsertRequest

List(string)

Retrieves a list of features for an account.

public virtual ResourcesResource.FeaturesResource.ListRequest List(string customer)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

Returns

ResourcesResource.FeaturesResource.ListRequest

Patch(Feature, string, string)

Updates a feature. This method supports patch semantics.

public virtual ResourcesResource.FeaturesResource.PatchRequest Patch(Feature body, string customer, string featureKey)

Parameters

body Feature

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

featureKey string

The unique ID of the feature to update.

Returns

ResourcesResource.FeaturesResource.PatchRequest

Rename(FeatureRename, string, string)

Renames a feature.

public virtual ResourcesResource.FeaturesResource.RenameRequest Rename(FeatureRename body, string customer, string oldName)

Parameters

body FeatureRename

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

oldName string

The unique ID of the feature to rename.

Returns

ResourcesResource.FeaturesResource.RenameRequest

Update(Feature, string, string)

Updates a feature.

public virtual ResourcesResource.FeaturesResource.UpdateRequest Update(Feature body, string customer, string featureKey)

Parameters

body Feature

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

featureKey string

The unique ID of the feature to update.

Returns

ResourcesResource.FeaturesResource.UpdateRequest