target.apidocs.com.google.api.services.directory.Directory.Resources.Features.html Maven / Gradle / Ivy
Directory.Resources.Features (Admin SDK API directory_v1-rev20220125-1.32.1)
com.google.api.services.directory
Class Directory.Resources.Features
- java.lang.Object
-
- com.google.api.services.directory.Directory.Resources.Features
-
- Enclosing class:
- Directory.Resources
public class Directory.Resources.Features
extends Object
The "features" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Resources.Features.Delete
class
Directory.Resources.Features.Get
class
Directory.Resources.Features.Insert
class
Directory.Resources.Features.List
class
Directory.Resources.Features.Patch
class
Directory.Resources.Features.Rename
class
Directory.Resources.Features.Update
-
Constructor Summary
Constructors
Constructor and Description
Features()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.Resources.Features.Delete
delete(String customer,
String featureKey)
Deletes a feature.
Directory.Resources.Features.Get
get(String customer,
String featureKey)
Retrieves a feature.
Directory.Resources.Features.Insert
insert(String customer,
Feature content)
Inserts a feature.
Directory.Resources.Features.List
list(String customer)
Retrieves a list of features for an account.
Directory.Resources.Features.Patch
patch(String customer,
String featureKey,
Feature content)
Patches a feature.
Directory.Resources.Features.Rename
rename(String customer,
String oldName,
FeatureRename content)
Renames a feature.
Directory.Resources.Features.Update
update(String customer,
String featureKey,
Feature content)
Updates a feature.
-
-
Method Detail
-
delete
public Directory.Resources.Features.Delete delete(String customer,
String featureKey)
throws IOException
Deletes a feature.
Create a request for the method "features.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace 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.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Resources.Features.Get get(String customer,
String featureKey)
throws IOException
Retrieves a feature.
Create a request for the method "features.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace 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.
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.Resources.Features.Insert insert(String customer,
Feature content)
throws IOException
Inserts a feature.
Create a request for the method "features.insert".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
content
- the Feature
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Resources.Features.List list(String customer)
throws IOException
Retrieves a list of features for an account.
Create a request for the method "features.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
- Returns:
- the request
- Throws:
IOException
-
patch
public Directory.Resources.Features.Patch patch(String customer,
String featureKey,
Feature content)
throws IOException
Patches a feature.
Create a request for the method "features.patch".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace 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.
content
- the Feature
- Returns:
- the request
- Throws:
IOException
-
rename
public Directory.Resources.Features.Rename rename(String customer,
String oldName,
FeatureRename content)
throws IOException
Renames a feature.
Create a request for the method "features.rename".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace 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.
content
- the FeatureRename
- Returns:
- the request
- Throws:
IOException
-
update
public Directory.Resources.Features.Update update(String customer,
String featureKey,
Feature content)
throws IOException
Updates a feature.
Create a request for the method "features.update".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace 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.
content
- the Feature
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.