Class ProjectsResource.PhoneNumbersResource.UndeleteRequest
Cancels the deletion request for a PhoneNumber. This method may only be called on a PhoneNumber in
the DELETE_REQUESTED state.
Inheritance
ProjectsResource.PhoneNumbersResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.PhoneNumbersResource.UndeleteRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1PhoneNumber>, IClientServiceRequest<GoogleCloudDialogflowV2beta1PhoneNumber>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest | body | |
| string | name |
Properties
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
Name
Required. The unique identifier of the PhoneNumber to delete. Format: projects//phoneNumbers/.
Format: projects//locations//phoneNumbers/.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Undelete parameter list.
Declaration
protected override void InitParameters()