Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
- 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
-
#carrier_ids ⇒ Array<String>
Corresponds to the JSON property
carrierIds. -
#sip_trunks ⇒ Array<String>
Corresponds to the JSON property
sipTrunks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
constructor
A new instance of GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks
Returns a new instance of GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks.
18658 18659 18660 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier_ids ⇒ Array<String>
Corresponds to the JSON property carrierIds
18651 18652 18653 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18651 def carrier_ids @carrier_ids end |
#sip_trunks ⇒ Array<String>
Corresponds to the JSON property sipTrunks
18656 18657 18658 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18656 def sip_trunks @sip_trunks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18663 18664 18665 18666 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18663 def update!(**args) @carrier_ids = args[:carrier_ids] if args.key?(:carrier_ids) @sip_trunks = args[:sip_trunks] if args.key?(:sip_trunks) end |