Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SipTrunk

Returns a new instance of GoogleCloudDialogflowV2SipTrunk.



15708
15709
15710
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15708

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

Instance Attribute Details

#connectionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>

Corresponds to the JSON property connections



15681
15682
15683
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15681

def connections
  @connections
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


15686
15687
15688
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15686

def display_name
  @display_name
end

#expected_hostnameArray<String>

Corresponds to the JSON property expectedHostname

Returns:

  • (Array<String>)


15691
15692
15693
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15691

def expected_hostname
  @expected_hostname
end

#google_root_cert_fileString

Corresponds to the JSON property googleRootCertFile

Returns:

  • (String)


15696
15697
15698
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15696

def google_root_cert_file
  @google_root_cert_file
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


15701
15702
15703
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15701

def name
  @name
end

#peer_hostnamesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipHostname>

Corresponds to the JSON property peerHostnames



15706
15707
15708
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15706

def peer_hostnames
  @peer_hostnames
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15713

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