Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#connections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>
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) ⇒ GoogleCloudDialogflowV2SipTrunk
constructor
A new instance of GoogleCloudDialogflowV2SipTrunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipTrunk
Returns a new instance of GoogleCloudDialogflowV2SipTrunk.
15308 15309 15310 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>
Corresponds to the JSON property connections
15291 15292 15293 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15291 def connections @connections end |
#display_name ⇒ String
Corresponds to the JSON property displayName
15296 15297 15298 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15296 def display_name @display_name end |
#expected_hostname ⇒ Array<String>
Corresponds to the JSON property expectedHostname
15301 15302 15303 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15301 def expected_hostname @expected_hostname end |
#name ⇒ String
Corresponds to the JSON property name
15306 15307 15308 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15306 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15313 15314 15315 15316 15317 15318 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15313 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 |