Resource: PhoneNumber
Represents a phone number. PhoneNumber resources enable phone calls to be answered by Dialogflow services and are added to a project through a PhoneNumberOrder.
| JSON representation |
|---|
{ "name": string, "phoneNumber": string, "conversationProfile": string, "lifecycleState": enum ( |
| Fields | |
|---|---|
name |
Optional. The unique identifier of this phone number. Required for |
phoneNumber |
Output only. Phone number in E.164 format. An example of a correctly formatted phone number: +15556767888. |
conversationProfile |
Optional. The conversation profile calls to this |
lifecycleState |
Output only. The state of the |
purgeTime |
Output only. The time at which this resource will be purged. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field inbound_restriction. Restricts inbound calls inbound_restriction can be only one of the following: |
|
allowedSipTrunks |
Optional. Only allow calls from the specified SIP trunks. |
Methods |
|
|---|---|
|
Requests deletion of a PhoneNumber. |
|
Returns the list of all phone numbers in the specified project. |
|
Updates the specified PhoneNumber. |
|
Cancels the deletion request for a PhoneNumber. |