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