The "features" collection of methods. Typical usage is:
$adminService = new Google_Service_Directory(...);
$features = $adminService->features;
Methods summary
public
|
#
delete( string $customer, string $featureKey, array $optParams = array() )
Deletes a feature. (features.delete)
Deletes a feature. (features.delete)
Parameters
- $customer
- 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
- The unique ID of the feature to delete.
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_Feature
|
#
get( string $customer, string $featureKey, array $optParams = array() )
Retrieves a feature. (features.get)
Retrieves a feature. (features.get)
Parameters
- $customer
- 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
- The unique ID of the feature to retrieve.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_Feature
|
#
insert( string $customer, Google_Service_Directory_Feature $postBody, array $optParams = array() )
Inserts a feature. (features.insert)
Inserts a feature. (features.insert)
Parameters
- $customer
- 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.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_Features
|
#
listResourcesFeatures( string $customer, array $optParams = array() )
Retrieves a list of features for an account.
(features.listResourcesFeatures)
Retrieves a list of features for an account.
(features.listResourcesFeatures)
Parameters
- $customer
- 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.
- $optParams
- Optional parameters.
Returns
Opt_param
int maxResults Maximum number of results to return.
string pageToken Token to specify the next page in the list.
|
public
Google_Service_Directory_Feature
|
#
patch( string $customer, string $featureKey, Google_Service_Directory_Feature $postBody, array $optParams = array() )
Updates a feature. This method supports patch semantics. (features.patch)
Updates a feature. This method supports patch semantics. (features.patch)
Parameters
- $customer
- 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
- The unique ID of the feature to update.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
|
#
rename( string $customer, string $oldName, Google_Service_Directory_FeatureRename $postBody, array $optParams = array() )
Renames a feature. (features.rename)
Renames a feature. (features.rename)
Parameters
- $customer
- 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
- The unique ID of the feature to rename.
- $postBody
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_Feature
|
#
update( string $customer, string $featureKey, Google_Service_Directory_Feature $postBody, array $optParams = array() )
Updates a feature. (features.update)
Updates a feature. (features.update)
Parameters
- $customer
- 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
- The unique ID of the feature to update.
- $postBody
- $optParams
- Optional parameters.
Returns
|