Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1PhoneNumber[][src]

pub struct GoogleCloudDialogflowV2beta1PhoneNumber {
    pub conversation_profile: Option<String>,
    pub phone_number: Option<String>,
    pub lifecycle_state: Option<String>,
    pub name: Option<String>,
}

Represents a phone number. PhoneNumber resources enable phone calls to be answered by Dialogflow services and are added to a project through a PhoneNumberOrder.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Optional. The conversation profile calls to this PhoneNumber should use. Format: projects/<Project ID>/conversationProfiles/<ConversationProfile ID>.

Output only. Phone number in E.164 format. An example of a correctly formatted phone number: +15556767888.

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.

Required. The unique identifier of this phone number. Format: projects/<Project ID>/phoneNumbers/<PhoneNumber ID>.

Trait Implementations

Auto Trait Implementations