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. -
#google_root_cert_file ⇒ String
Corresponds to the JSON property
googleRootCertFile. -
#name ⇒ String
Corresponds to the JSON property
name. -
#peer_hostnames ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname>
Corresponds to the JSON property
peerHostnames.
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.
15672 15673 15674 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>
Corresponds to the JSON property connections
15645 15646 15647 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15645 def connections @connections end |
#display_name ⇒ String
Corresponds to the JSON property displayName
15650 15651 15652 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15650 def display_name @display_name end |
#expected_hostname ⇒ Array<String>
Corresponds to the JSON property expectedHostname
15655 15656 15657 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15655 def expected_hostname @expected_hostname end |
#google_root_cert_file ⇒ String
Corresponds to the JSON property googleRootCertFile
15660 15661 15662 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15660 def google_root_cert_file @google_root_cert_file end |
#name ⇒ String
Corresponds to the JSON property name
15665 15666 15667 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15665 def name @name end |
#peer_hostnames ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname>
Corresponds to the JSON property peerHostnames
15670 15671 15672 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15670 def peer_hostnames @peer_hostnames end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15677 15678 15679 15680 15681 15682 15683 15684 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15677 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) @google_root_cert_file = args[:google_root_cert_file] if args.key?(:google_root_cert_file) @name = args[:name] if args.key?(:name) @peer_hostnames = args[:peer_hostnames] if args.key?(:peer_hostnames) end |