Class PhoneNumber
Message describing a phone number allocated to a ContactCenter tenant.
Implements
Inherited Members
Namespace: Google.Apis.CCAIPlatform.v1alpha1.Data
Assembly: Google.Apis.CCAIPlatform.v1alpha1.dll
Syntax
public class PhoneNumber : IDirectResponseSchema
Properties
AssignmentState
Output only. Current assignment and lifecycle state.
Declaration
[JsonProperty("assignmentState")]
public virtual string AssignmentState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Carrier
Output only. Underlying carrier hosting the number.
Declaration
[JsonProperty("carrier")]
public virtual string Carrier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ComplianceState
Output only. Regulatory compliance state.
Declaration
[JsonProperty("complianceState")]
public virtual string ComplianceState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CountryCode
Output only. ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "IT").
Declaration
[JsonProperty("countryCode")]
public virtual string CountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Timestamp when the phone number was added to the tenant.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumberType
Output only. Tariff and routing classification.
Declaration
[JsonProperty("numberType")]
public virtual string NumberType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhoneNumberValue
Output only. E.164 formatted phone number (e.g., "+16502530000").
Declaration
[JsonProperty("phoneNumber")]
public virtual string PhoneNumberValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegulatoryBundleId
Output only. Reference ID for the country-specific regulatory bundle, or "LEGACY_VERIFIED".
Declaration
[JsonProperty("regulatoryBundleId")]
public virtual string RegulatoryBundleId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SmsState
Output only. SMS capability state.
Declaration
[JsonProperty("smsState")]
public virtual string SmsState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Timestamp when the phone number record was last modified.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VoiceEnabled
Output only. Whether voice capabilities are enabled for this phone number.
Declaration
[JsonProperty("voiceEnabled")]
public virtual bool? VoiceEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |