Class ResourcesResource.FeaturesResource
The "features" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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. |
string | customer | The unique ID for the customer's Google Workspace 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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
Returns
Type | Description |
---|---|
ResourcesResource.FeaturesResource.ListRequest |
Patch(Feature, string, string)
Patches a feature.
Declaration
public virtual ResourcesResource.FeaturesResource.PatchRequest Patch(Feature body, string customer, string featureKey)
Parameters
Type | Name | Description |
---|---|---|
Feature | body | The body of the request. |
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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. |
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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. |
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
string | featureKey | The unique ID of the feature to update. |
Returns
Type | Description |
---|---|
ResourcesResource.FeaturesResource.UpdateRequest |