Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk
- 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
-
#connections ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>
Corresponds to the JSON property
connections. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#expected_hostname ⇒ Array<String>
Corresponds to the JSON property
expectedHostname. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipTrunk
constructor
A new instance of GoogleCloudDialogflowV2beta1SipTrunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipTrunk
Returns a new instance of GoogleCloudDialogflowV2beta1SipTrunk.
19411 19412 19413 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>
Corresponds to the JSON property connections
19394 19395 19396 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19394 def connections @connections end |
#display_name ⇒ String
Corresponds to the JSON property displayName
19399 19400 19401 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19399 def display_name @display_name end |
#expected_hostname ⇒ Array<String>
Corresponds to the JSON property expectedHostname
19404 19405 19406 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19404 def expected_hostname @expected_hostname end |
#name ⇒ String
Corresponds to the JSON property name
19409 19410 19411 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19409 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19416 19417 19418 19419 19420 19421 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19416 def update!(**args) @connections = args[:connections] if args.key?(:connections) @display_name = args[:display_name] if args.key?(:display_name) @expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname) @name = args[:name] if args.key?(:name) end |