Class ProjectsResource.LocationsResource.PhoneNumbersResource
The "phoneNumbers" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.PhoneNumbersResource
Constructors
PhoneNumbersResource(IClientService)
Constructs a new resource.
Declaration
public PhoneNumbersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Delete(string)
Requests deletion of a PhoneNumber
. The PhoneNumber
is moved into the DELETE_REQUESTED state
immediately, and is deleted approximately 30 days later. This method may only be called on a
PhoneNumber
in the ACTIVE state.
Declaration
public virtual ProjectsResource.LocationsResource.PhoneNumbersResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The unique identifier of the |
Returns
Type | Description |
---|---|
Projects |
List(string)
Returns the list of all phone numbers in the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.PhoneNumbersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project to list all |
Returns
Type | Description |
---|---|
Projects |
Patch(GoogleCloudDialogflowV2beta1PhoneNumber, string)
Updates the specified PhoneNumber
.
Declaration
public virtual ProjectsResource.LocationsResource.PhoneNumbersResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1PhoneNumber body, string name)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | name | Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber
method. Format: |
Returns
Type | Description |
---|---|
Projects |
Undelete(GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest, string)
Cancels the deletion request for a PhoneNumber
. This method may only be called on a PhoneNumber
in the DELETE_REQUESTED state.
Declaration
public virtual ProjectsResource.LocationsResource.PhoneNumbersResource.UndeleteRequest Undelete(GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | name | Required. The unique identifier of the |
Returns
Type | Description |
---|---|
Projects |