Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#allowed_sip_trunks ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
Corresponds to the JSON property
allowedSipTrunks. -
#conversation_profile ⇒ String
Corresponds to the JSON property
conversationProfile. -
#lifecycle_state ⇒ String
Corresponds to the JSON property
lifecycleState. -
#name ⇒ String
Corresponds to the JSON property
name. -
#phone_number ⇒ String
Corresponds to the JSON property
phoneNumber. -
#purge_time ⇒ String
Corresponds to the JSON property
purgeTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumber
constructor
A new instance of GoogleCloudDialogflowV2beta1PhoneNumber.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumber
Returns a new instance of GoogleCloudDialogflowV2beta1PhoneNumber.
18696 18697 18698 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_sip_trunks ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
Corresponds to the JSON property allowedSipTrunks
18669 18670 18671 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18669 def allowed_sip_trunks @allowed_sip_trunks end |
#conversation_profile ⇒ String
Corresponds to the JSON property conversationProfile
18674 18675 18676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18674 def conversation_profile @conversation_profile end |
#lifecycle_state ⇒ String
Corresponds to the JSON property lifecycleState
18679 18680 18681 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18679 def lifecycle_state @lifecycle_state end |
#name ⇒ String
Corresponds to the JSON property name
18684 18685 18686 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18684 def name @name end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
18689 18690 18691 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18689 def phone_number @phone_number end |
#purge_time ⇒ String
Corresponds to the JSON property purgeTime
18694 18695 18696 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18694 def purge_time @purge_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18701 18702 18703 18704 18705 18706 18707 18708 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18701 def update!(**args) @allowed_sip_trunks = args[:allowed_sip_trunks] if args.key?(:allowed_sip_trunks) @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) @phone_number = args[:phone_number] if args.key?(:phone_number) @purge_time = args[:purge_time] if args.key?(:purge_time) end |