Class ResourcesResource.FeaturesResource.RenameRequest
Renames a feature.
Inheritance
ResourcesResource.FeaturesResource.RenameRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.FeaturesResource.RenameRequest : DirectoryBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
RenameRequest(IClientService, FeatureRename, string, string)
Constructs a new Rename request.
Declaration
public RenameRequest(IClientService service, FeatureRename body, string customer, string oldName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FeatureRename | body | |
string | customer | |
string | oldName |
Properties
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.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OldName
The unique ID of the feature to rename.
Declaration
[RequestParameter("oldName", RequestParameterType.Path)]
public virtual string OldName { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Rename parameter list.
Declaration
protected override void InitParameters()