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).
- phone numbers patch projects (request|response)
- phone numbers delete projects (response)
- phone numbers undelete projects (response)
Fields
conversation_profile: Option<String>
Optional. The conversation profile calls to this PhoneNumber
should use.
Format: projects/<Project ID>/conversationProfiles/<ConversationProfile ID>
.
phone_number: Option<String>
Output only. Phone number in E.164 format. An example of a correctly formatted phone number: +15556767888.
lifecycle_state: Option<String>
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.
name: Option<String>
Required. The unique identifier of this phone number.
Format: projects/<Project ID>/phoneNumbers/<PhoneNumber ID>
.
Trait Implementations
impl Default for GoogleCloudDialogflowV2beta1PhoneNumber
[src]
impl Default for GoogleCloudDialogflowV2beta1PhoneNumber
fn default() -> GoogleCloudDialogflowV2beta1PhoneNumber
[src]
fn default() -> GoogleCloudDialogflowV2beta1PhoneNumber
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2beta1PhoneNumber
[src]
impl Clone for GoogleCloudDialogflowV2beta1PhoneNumber
fn clone(&self) -> GoogleCloudDialogflowV2beta1PhoneNumber
[src]
fn clone(&self) -> GoogleCloudDialogflowV2beta1PhoneNumber
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2beta1PhoneNumber
[src]
impl Debug for GoogleCloudDialogflowV2beta1PhoneNumber
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for GoogleCloudDialogflowV2beta1PhoneNumber
[src]
impl RequestValue for GoogleCloudDialogflowV2beta1PhoneNumber
impl ResponseResult for GoogleCloudDialogflowV2beta1PhoneNumber
[src]
impl ResponseResult for GoogleCloudDialogflowV2beta1PhoneNumber