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
stringThe 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
stringThe unique ID of the feature to delete.
Returns
Get(string, string)
Retrieves a feature.
public virtual ResourcesResource.FeaturesResource.GetRequest Get(string customer, string featureKey)
Parameters
customer
stringThe 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
stringThe unique ID of the feature to retrieve.
Returns
Insert(Feature, string)
Inserts a feature.
public virtual ResourcesResource.FeaturesResource.InsertRequest Insert(Feature body, string customer)
Parameters
body
FeatureThe body of the request.
customer
stringThe 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
List(string)
Retrieves a list of features for an account.
public virtual ResourcesResource.FeaturesResource.ListRequest List(string customer)
Parameters
customer
stringThe 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
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
FeatureThe body of the request.
customer
stringThe 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
stringThe unique ID of the feature to update.
Returns
Rename(FeatureRename, string, string)
Renames a feature.
public virtual ResourcesResource.FeaturesResource.RenameRequest Rename(FeatureRename body, string customer, string oldName)
Parameters
body
FeatureRenameThe body of the request.
customer
stringThe 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
stringThe unique ID of the feature to rename.
Returns
Update(Feature, string, string)
Updates a feature.
public virtual ResourcesResource.FeaturesResource.UpdateRequest Update(Feature body, string customer, string featureKey)
Parameters
body
FeatureThe body of the request.
customer
stringThe 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
stringThe unique ID of the feature to update.