public sealed class PhoneNumber : IMessage<PhoneNumber>, IEquatable<PhoneNumber>, IDeepCloneable<PhoneNumber>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class 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][google.cloud.dialogflow.v2beta1.PhoneNumberOrder].
Implements
IMessagePhoneNumber, IEquatablePhoneNumber, IDeepCloneablePhoneNumber, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
PhoneNumber()
public PhoneNumber()
PhoneNumber(PhoneNumber)
public PhoneNumber(PhoneNumber other)
Parameter | |
---|---|
Name | Description |
other |
PhoneNumber |
Properties
ConversationProfile
public string ConversationProfile { get; set; }
Optional. The conversation profile calls to this PhoneNumber
should use.
The project ID here should be the same as the one in
[name][google.cloud.dialogflow.v2beta1.PhoneNumber.name].
Format: projects/<Project ID>/conversationProfiles/<ConversationProfile
ID>
.
Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<ConversationProfile ID>
.
Property Value | |
---|---|
Type | Description |
string |
LifecycleState
public PhoneNumber.Types.LifecycleState LifecycleState { get; set; }
Output only. The state of the PhoneNumber
. Defaults to ACTIVE
.
PhoneNumber
objects set to DELETE_REQUESTED
always decline incoming
calls and can be removed completely within 30 days.
Property Value | |
---|---|
Type | Description |
PhoneNumberTypesLifecycleState |
Name
public string Name { get; set; }
Optional. The unique identifier of this phone number.
Required for
[PhoneNumbers.UpdatePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber]
method. Format: projects/<Project ID>/phoneNumbers/<PhoneNumber ID>
.
Format: projects/<Project ID>/locations/<Location
ID>/phoneNumbers/<PhoneNumber ID>
.
Property Value | |
---|---|
Type | Description |
string |
PhoneNumberName
public PhoneNumberName PhoneNumberName { get; set; }
PhoneNumberName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
PhoneNumberName |
PhoneNumber_
public string PhoneNumber_ { get; set; }
Output only. Phone number in E.164 format. An example of a correctly formatted phone number: +15556767888.
Property Value | |
---|---|
Type | Description |
string |