Class ResourcesResource.FeaturesResource
The "features" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class FeaturesResource
Constructors
FeaturesResource(IClientService)
Constructs a new resource.
Declaration
public FeaturesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String, String)
Deletes a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.DeleteRequest Delete(string customer, string featureKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | featureKey | The unique ID of the feature to delete. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.DeleteRequest |
Get(String, String)
Retrieves a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.GetRequest Get(string customer, string featureKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | featureKey | The unique ID of the feature to retrieve. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.GetRequest |
Insert(Feature, String)
Inserts a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.InsertRequest Insert(Feature body, string customer)
Parameters
| Type | Name | Description |
|---|---|---|
| Feature | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.InsertRequest |
List(String)
Retrieves a list of features for an account.
Declaration
public virtual ResourcesResource.FeaturesResource.ListRequest List(string customer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.ListRequest |
Patch(Feature, String, String)
Patches a feature via Apiary Patch Orchestration.
Declaration
public virtual ResourcesResource.FeaturesResource.PatchRequest Patch(Feature body, string customer, string featureKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Feature | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | featureKey | The unique ID of the feature to update. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.PatchRequest |
Rename(FeatureRename, String, String)
Renames a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.RenameRequest Rename(FeatureRename body, string customer, string oldName)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureRename | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | oldName | The unique ID of the feature to rename. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.RenameRequest |
Update(Feature, String, String)
Updates a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.UpdateRequest Update(Feature body, string customer, string featureKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Feature | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | featureKey | The unique ID of the feature to update. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.FeaturesResource.UpdateRequest |