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. -
#google_root_cert_file ⇒ String
Corresponds to the JSON property
googleRootCertFile. -
#name ⇒ String
Corresponds to the JSON property
name. -
#peer_hostnames ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostname>
Corresponds to the JSON property
peerHostnames.
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.
20070 20071 20072 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20070 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>
Corresponds to the JSON property connections
20043 20044 20045 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20043 def connections @connections end |
#display_name ⇒ String
Corresponds to the JSON property displayName
20048 20049 20050 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20048 def display_name @display_name end |
#expected_hostname ⇒ Array<String>
Corresponds to the JSON property expectedHostname
20053 20054 20055 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20053 def expected_hostname @expected_hostname end |
#google_root_cert_file ⇒ String
Corresponds to the JSON property googleRootCertFile
20058 20059 20060 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20058 def google_root_cert_file @google_root_cert_file end |
#name ⇒ String
Corresponds to the JSON property name
20063 20064 20065 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20063 def name @name end |
#peer_hostnames ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostname>
Corresponds to the JSON property peerHostnames
20068 20069 20070 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20068 def peer_hostnames @peer_hostnames end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20075 20076 20077 20078 20079 20080 20081 20082 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20075 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 |