google-apis-dialogflow_v2 0.108.0 → 0.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f3eea867c9d9167650f3815413af569757782605beafc474fff2b056c24117f
|
4
|
+
data.tar.gz: d2b0daee939706e7435ca4e4d882e39598403ab3d7b7c8f62a0e5d2d6c9ea87f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ed80a5363e776eff2940636b1928acefdc5ab8e7ee851271d146748cec714207d4598e12beef49100a53b4ed4088666977d6985c270977a3289923d20a2cae5
|
7
|
+
data.tar.gz: 1b2b09758eea36c76e57b6d3c062a7ea647a3d00c72cf8c18e1775dc6c1c9704846929ae9a2dd1aed01388d88514d62673ae99963d5aed7f733ed517131f4383
|
data/CHANGELOG.md
CHANGED
@@ -8994,6 +8994,68 @@ module Google
|
|
8994
8994
|
end
|
8995
8995
|
end
|
8996
8996
|
|
8997
|
+
# Represents a connection for SIP Trunk.
|
8998
|
+
class GoogleCloudDialogflowV2Connection
|
8999
|
+
include Google::Apis::Core::Hashable
|
9000
|
+
|
9001
|
+
# Output only. The unique identifier of the SIP Trunk connection.
|
9002
|
+
# Corresponds to the JSON property `connectionId`
|
9003
|
+
# @return [String]
|
9004
|
+
attr_accessor :connection_id
|
9005
|
+
|
9006
|
+
# The error details of Sip Trunk connection authentication.
|
9007
|
+
# Corresponds to the JSON property `errorDetails`
|
9008
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails]
|
9009
|
+
attr_accessor :error_details
|
9010
|
+
|
9011
|
+
# Output only. State of the connection.
|
9012
|
+
# Corresponds to the JSON property `state`
|
9013
|
+
# @return [String]
|
9014
|
+
attr_accessor :state
|
9015
|
+
|
9016
|
+
# Output only. When the connection status changed.
|
9017
|
+
# Corresponds to the JSON property `updateTime`
|
9018
|
+
# @return [String]
|
9019
|
+
attr_accessor :update_time
|
9020
|
+
|
9021
|
+
def initialize(**args)
|
9022
|
+
update!(**args)
|
9023
|
+
end
|
9024
|
+
|
9025
|
+
# Update properties of this object
|
9026
|
+
def update!(**args)
|
9027
|
+
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
9028
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
9029
|
+
@state = args[:state] if args.key?(:state)
|
9030
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
9031
|
+
end
|
9032
|
+
end
|
9033
|
+
|
9034
|
+
# The error details of Sip Trunk connection authentication.
|
9035
|
+
class GoogleCloudDialogflowV2ConnectionErrorDetails
|
9036
|
+
include Google::Apis::Core::Hashable
|
9037
|
+
|
9038
|
+
# Output only. The status of the certificate authentication.
|
9039
|
+
# Corresponds to the JSON property `certificateState`
|
9040
|
+
# @return [String]
|
9041
|
+
attr_accessor :certificate_state
|
9042
|
+
|
9043
|
+
# The error message provided from SIP trunking auth service
|
9044
|
+
# Corresponds to the JSON property `errorMessage`
|
9045
|
+
# @return [String]
|
9046
|
+
attr_accessor :error_message
|
9047
|
+
|
9048
|
+
def initialize(**args)
|
9049
|
+
update!(**args)
|
9050
|
+
end
|
9051
|
+
|
9052
|
+
# Update properties of this object
|
9053
|
+
def update!(**args)
|
9054
|
+
@certificate_state = args[:certificate_state] if args.key?(:certificate_state)
|
9055
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
9056
|
+
end
|
9057
|
+
end
|
9058
|
+
|
8997
9059
|
# Dialogflow contexts are similar to natural language context. If a person says
|
8998
9060
|
# to you "they are orange", you need context in order to understand what "they"
|
8999
9061
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -14677,6 +14739,32 @@ module Google
|
|
14677
14739
|
end
|
14678
14740
|
end
|
14679
14741
|
|
14742
|
+
# The response message for SipTrunks.ListSipTrunks.
|
14743
|
+
class GoogleCloudDialogflowV2ListSipTrunksResponse
|
14744
|
+
include Google::Apis::Core::Hashable
|
14745
|
+
|
14746
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
14747
|
+
# results in the list.
|
14748
|
+
# Corresponds to the JSON property `nextPageToken`
|
14749
|
+
# @return [String]
|
14750
|
+
attr_accessor :next_page_token
|
14751
|
+
|
14752
|
+
# The list of SIP trunks.
|
14753
|
+
# Corresponds to the JSON property `sipTrunks`
|
14754
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk>]
|
14755
|
+
attr_accessor :sip_trunks
|
14756
|
+
|
14757
|
+
def initialize(**args)
|
14758
|
+
update!(**args)
|
14759
|
+
end
|
14760
|
+
|
14761
|
+
# Update properties of this object
|
14762
|
+
def update!(**args)
|
14763
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14764
|
+
@sip_trunks = args[:sip_trunks] if args.key?(:sip_trunks)
|
14765
|
+
end
|
14766
|
+
end
|
14767
|
+
|
14680
14768
|
# The response message for Versions.ListVersions.
|
14681
14769
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
14682
14770
|
include Google::Apis::Core::Hashable
|
@@ -16065,6 +16153,46 @@ module Google
|
|
16065
16153
|
end
|
16066
16154
|
end
|
16067
16155
|
|
16156
|
+
# SipTrunk is the resource that represents a SIP trunk to connect to Google
|
16157
|
+
# Telephony platform SIP trunking service.
|
16158
|
+
class GoogleCloudDialogflowV2SipTrunk
|
16159
|
+
include Google::Apis::Core::Hashable
|
16160
|
+
|
16161
|
+
# Output only. Connections of the SIP trunk.
|
16162
|
+
# Corresponds to the JSON property `connections`
|
16163
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>]
|
16164
|
+
attr_accessor :connections
|
16165
|
+
|
16166
|
+
# Optional. Human readable alias for this trunk.
|
16167
|
+
# Corresponds to the JSON property `displayName`
|
16168
|
+
# @return [String]
|
16169
|
+
attr_accessor :display_name
|
16170
|
+
|
16171
|
+
# Required. The expected hostnames in the peer certificate from partner that is
|
16172
|
+
# used for TLS authentication.
|
16173
|
+
# Corresponds to the JSON property `expectedHostname`
|
16174
|
+
# @return [Array<String>]
|
16175
|
+
attr_accessor :expected_hostname
|
16176
|
+
|
16177
|
+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
16178
|
+
# locations//sipTrunks/`.
|
16179
|
+
# Corresponds to the JSON property `name`
|
16180
|
+
# @return [String]
|
16181
|
+
attr_accessor :name
|
16182
|
+
|
16183
|
+
def initialize(**args)
|
16184
|
+
update!(**args)
|
16185
|
+
end
|
16186
|
+
|
16187
|
+
# Update properties of this object
|
16188
|
+
def update!(**args)
|
16189
|
+
@connections = args[:connections] if args.key?(:connections)
|
16190
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
16191
|
+
@expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname)
|
16192
|
+
@name = args[:name] if args.key?(:name)
|
16193
|
+
end
|
16194
|
+
end
|
16195
|
+
|
16068
16196
|
# Represents a smart reply answer.
|
16069
16197
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
16070
16198
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.109.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250715"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1456,6 +1456,18 @@ module Google
|
|
1456
1456
|
include Google::Apis::Core::JsonObjectSupport
|
1457
1457
|
end
|
1458
1458
|
|
1459
|
+
class GoogleCloudDialogflowV2Connection
|
1460
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
|
+
|
1462
|
+
include Google::Apis::Core::JsonObjectSupport
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
class GoogleCloudDialogflowV2ConnectionErrorDetails
|
1466
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1467
|
+
|
1468
|
+
include Google::Apis::Core::JsonObjectSupport
|
1469
|
+
end
|
1470
|
+
|
1459
1471
|
class GoogleCloudDialogflowV2Context
|
1460
1472
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
1473
|
|
@@ -2404,6 +2416,12 @@ module Google
|
|
2404
2416
|
include Google::Apis::Core::JsonObjectSupport
|
2405
2417
|
end
|
2406
2418
|
|
2419
|
+
class GoogleCloudDialogflowV2ListSipTrunksResponse
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2421
|
+
|
2422
|
+
include Google::Apis::Core::JsonObjectSupport
|
2423
|
+
end
|
2424
|
+
|
2407
2425
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
2408
2426
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
2427
|
|
@@ -2602,6 +2620,12 @@ module Google
|
|
2602
2620
|
include Google::Apis::Core::JsonObjectSupport
|
2603
2621
|
end
|
2604
2622
|
|
2623
|
+
class GoogleCloudDialogflowV2SipTrunk
|
2624
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2625
|
+
|
2626
|
+
include Google::Apis::Core::JsonObjectSupport
|
2627
|
+
end
|
2628
|
+
|
2605
2629
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
2606
2630
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2607
2631
|
|
@@ -6005,6 +6029,25 @@ module Google
|
|
6005
6029
|
end
|
6006
6030
|
end
|
6007
6031
|
|
6032
|
+
class GoogleCloudDialogflowV2Connection
|
6033
|
+
# @private
|
6034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6035
|
+
property :connection_id, as: 'connectionId'
|
6036
|
+
property :error_details, as: 'errorDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails::Representation
|
6037
|
+
|
6038
|
+
property :state, as: 'state'
|
6039
|
+
property :update_time, as: 'updateTime'
|
6040
|
+
end
|
6041
|
+
end
|
6042
|
+
|
6043
|
+
class GoogleCloudDialogflowV2ConnectionErrorDetails
|
6044
|
+
# @private
|
6045
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6046
|
+
property :certificate_state, as: 'certificateState'
|
6047
|
+
property :error_message, as: 'errorMessage'
|
6048
|
+
end
|
6049
|
+
end
|
6050
|
+
|
6008
6051
|
class GoogleCloudDialogflowV2Context
|
6009
6052
|
# @private
|
6010
6053
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7613,6 +7656,15 @@ module Google
|
|
7613
7656
|
end
|
7614
7657
|
end
|
7615
7658
|
|
7659
|
+
class GoogleCloudDialogflowV2ListSipTrunksResponse
|
7660
|
+
# @private
|
7661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7662
|
+
property :next_page_token, as: 'nextPageToken'
|
7663
|
+
collection :sip_trunks, as: 'sipTrunks', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
7664
|
+
|
7665
|
+
end
|
7666
|
+
end
|
7667
|
+
|
7616
7668
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
7617
7669
|
# @private
|
7618
7670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7959,6 +8011,17 @@ module Google
|
|
7959
8011
|
end
|
7960
8012
|
end
|
7961
8013
|
|
8014
|
+
class GoogleCloudDialogflowV2SipTrunk
|
8015
|
+
# @private
|
8016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8017
|
+
collection :connections, as: 'connections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection::Representation
|
8018
|
+
|
8019
|
+
property :display_name, as: 'displayName'
|
8020
|
+
collection :expected_hostname, as: 'expectedHostname'
|
8021
|
+
property :name, as: 'name'
|
8022
|
+
end
|
8023
|
+
end
|
8024
|
+
|
7962
8025
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
7963
8026
|
# @private
|
7964
8027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9939,6 +9939,177 @@ module Google
|
|
9939
9939
|
execute_or_queue_command(command, &block)
|
9940
9940
|
end
|
9941
9941
|
|
9942
|
+
# Creates a SipTrunk for a specified location.
|
9943
|
+
# @param [String] parent
|
9944
|
+
# Required. The location to create a SIP trunk for. Format: `projects//locations/
|
9945
|
+
# `.
|
9946
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] google_cloud_dialogflow_v2_sip_trunk_object
|
9947
|
+
# @param [String] fields
|
9948
|
+
# Selector specifying which fields to include in a partial response.
|
9949
|
+
# @param [String] quota_user
|
9950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9952
|
+
# @param [Google::Apis::RequestOptions] options
|
9953
|
+
# Request-specific options
|
9954
|
+
#
|
9955
|
+
# @yield [result, err] Result & error if block supplied
|
9956
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] parsed result object
|
9957
|
+
# @yieldparam err [StandardError] error object if request failed
|
9958
|
+
#
|
9959
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk]
|
9960
|
+
#
|
9961
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9962
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9963
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9964
|
+
def create_project_location_sip_trunk(parent, google_cloud_dialogflow_v2_sip_trunk_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9965
|
+
command = make_simple_command(:post, 'v2/{+parent}/sipTrunks', options)
|
9966
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
9967
|
+
command.request_object = google_cloud_dialogflow_v2_sip_trunk_object
|
9968
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
9969
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
|
9970
|
+
command.params['parent'] = parent unless parent.nil?
|
9971
|
+
command.query['fields'] = fields unless fields.nil?
|
9972
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9973
|
+
execute_or_queue_command(command, &block)
|
9974
|
+
end
|
9975
|
+
|
9976
|
+
# Deletes a specified SipTrunk.
|
9977
|
+
# @param [String] name
|
9978
|
+
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
9979
|
+
# sipTrunks/`.
|
9980
|
+
# @param [String] fields
|
9981
|
+
# Selector specifying which fields to include in a partial response.
|
9982
|
+
# @param [String] quota_user
|
9983
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9984
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9985
|
+
# @param [Google::Apis::RequestOptions] options
|
9986
|
+
# Request-specific options
|
9987
|
+
#
|
9988
|
+
# @yield [result, err] Result & error if block supplied
|
9989
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
9990
|
+
# @yieldparam err [StandardError] error object if request failed
|
9991
|
+
#
|
9992
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
9993
|
+
#
|
9994
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9995
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9996
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9997
|
+
def delete_project_location_sip_trunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
9998
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
9999
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
10000
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
10001
|
+
command.params['name'] = name unless name.nil?
|
10002
|
+
command.query['fields'] = fields unless fields.nil?
|
10003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10004
|
+
execute_or_queue_command(command, &block)
|
10005
|
+
end
|
10006
|
+
|
10007
|
+
# Retrieves the specified SipTrunk.
|
10008
|
+
# @param [String] name
|
10009
|
+
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
10010
|
+
# sipTrunks/`.
|
10011
|
+
# @param [String] fields
|
10012
|
+
# Selector specifying which fields to include in a partial response.
|
10013
|
+
# @param [String] quota_user
|
10014
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10015
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10016
|
+
# @param [Google::Apis::RequestOptions] options
|
10017
|
+
# Request-specific options
|
10018
|
+
#
|
10019
|
+
# @yield [result, err] Result & error if block supplied
|
10020
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] parsed result object
|
10021
|
+
# @yieldparam err [StandardError] error object if request failed
|
10022
|
+
#
|
10023
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk]
|
10024
|
+
#
|
10025
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10026
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10027
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10028
|
+
def get_project_location_sip_trunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
10029
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
10030
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
10031
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
|
10032
|
+
command.params['name'] = name unless name.nil?
|
10033
|
+
command.query['fields'] = fields unless fields.nil?
|
10034
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10035
|
+
execute_or_queue_command(command, &block)
|
10036
|
+
end
|
10037
|
+
|
10038
|
+
# Returns a list of SipTrunks in the specified location.
|
10039
|
+
# @param [String] parent
|
10040
|
+
# Required. The location to list SIP trunks from. Format: `projects//locations/`.
|
10041
|
+
# @param [Fixnum] page_size
|
10042
|
+
# Optional. The maximum number of items to return in a single page. By default
|
10043
|
+
# 100 and at most 1000.
|
10044
|
+
# @param [String] page_token
|
10045
|
+
# Optional. The next_page_token value returned from a previous list request.
|
10046
|
+
# @param [String] fields
|
10047
|
+
# Selector specifying which fields to include in a partial response.
|
10048
|
+
# @param [String] quota_user
|
10049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10051
|
+
# @param [Google::Apis::RequestOptions] options
|
10052
|
+
# Request-specific options
|
10053
|
+
#
|
10054
|
+
# @yield [result, err] Result & error if block supplied
|
10055
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSipTrunksResponse] parsed result object
|
10056
|
+
# @yieldparam err [StandardError] error object if request failed
|
10057
|
+
#
|
10058
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSipTrunksResponse]
|
10059
|
+
#
|
10060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10063
|
+
def list_project_location_sip_trunks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10064
|
+
command = make_simple_command(:get, 'v2/{+parent}/sipTrunks', options)
|
10065
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSipTrunksResponse::Representation
|
10066
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSipTrunksResponse
|
10067
|
+
command.params['parent'] = parent unless parent.nil?
|
10068
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
10069
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10070
|
+
command.query['fields'] = fields unless fields.nil?
|
10071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10072
|
+
execute_or_queue_command(command, &block)
|
10073
|
+
end
|
10074
|
+
|
10075
|
+
# Updates the specified SipTrunk.
|
10076
|
+
# @param [String] name
|
10077
|
+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
10078
|
+
# locations//sipTrunks/`.
|
10079
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] google_cloud_dialogflow_v2_sip_trunk_object
|
10080
|
+
# @param [String] update_mask
|
10081
|
+
# Optional. The mask to control which fields get updated. If the mask is not
|
10082
|
+
# present, all fields will be updated.
|
10083
|
+
# @param [String] fields
|
10084
|
+
# Selector specifying which fields to include in a partial response.
|
10085
|
+
# @param [String] quota_user
|
10086
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10087
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10088
|
+
# @param [Google::Apis::RequestOptions] options
|
10089
|
+
# Request-specific options
|
10090
|
+
#
|
10091
|
+
# @yield [result, err] Result & error if block supplied
|
10092
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk] parsed result object
|
10093
|
+
# @yieldparam err [StandardError] error object if request failed
|
10094
|
+
#
|
10095
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk]
|
10096
|
+
#
|
10097
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10098
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10099
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10100
|
+
def patch_project_location_sip_trunk(name, google_cloud_dialogflow_v2_sip_trunk_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10101
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
10102
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
10103
|
+
command.request_object = google_cloud_dialogflow_v2_sip_trunk_object
|
10104
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
10105
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
|
10106
|
+
command.params['name'] = name unless name.nil?
|
10107
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
10108
|
+
command.query['fields'] = fields unless fields.nil?
|
10109
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10110
|
+
execute_or_queue_command(command, &block)
|
10111
|
+
end
|
10112
|
+
|
9942
10113
|
# Generates and returns a suggestion for a conversation that does not have a
|
9943
10114
|
# resource created for it.
|
9944
10115
|
# @param [String] parent
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.109.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.109.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|