Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipTrunk

Returns a new instance of GoogleCloudDialogflowV2beta1SipTrunk.



20130
20131
20132
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20130

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>

Corresponds to the JSON property connections



20103
20104
20105
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20103

def connections
  @connections
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


20108
20109
20110
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20108

def display_name
  @display_name
end

#expected_hostnameArray<String>

Corresponds to the JSON property expectedHostname

Returns:

  • (Array<String>)


20113
20114
20115
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20113

def expected_hostname
  @expected_hostname
end

#google_root_cert_fileString

Corresponds to the JSON property googleRootCertFile

Returns:

  • (String)


20118
20119
20120
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20118

def google_root_cert_file
  @google_root_cert_file
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


20123
20124
20125
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20123

def name
  @name
end

#peer_hostnamesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipHostname>

Corresponds to the JSON property peerHostnames



20128
20129
20130
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20128

def peer_hostnames
  @peer_hostnames
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20135
20136
20137
20138
20139
20140
20141
20142
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20135

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