google-apis-dialogflow_v2 0.108.0 → 0.110.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: 12965a7c82e3b176a08c5d4dc8c884c29d49bd789cbebc25c5ae2c40ea5928e2
|
4
|
+
data.tar.gz: e8840266d8586e46f432b1fa265802edfbb9c681dba97fbe698b2516f2dd485d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb365b9c29c56d502010e84848ec1386f016643ed19da49121be51026137914f1e5f57ebb5b018118e2362c685ae82cf1241163db3ed772edc881ba7d360229
|
7
|
+
data.tar.gz: cee0710c2a128074040d6f58bd8e9bf600f478471a42c525f5fba2521aa9ff7d8fc74841b823fd611163a4bc6487ae2844e552724535dd801b61f44c4872d2d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.110.0 (2025-08-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250812
|
6
|
+
|
7
|
+
### v0.109.0 (2025-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250715
|
10
|
+
|
3
11
|
### v0.108.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250627
|
@@ -8159,6 +8159,11 @@ module Google
|
|
8159
8159
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer]
|
8160
8160
|
attr_accessor :faq_answer
|
8161
8161
|
|
8162
|
+
# Suggestion generated using a Generator.
|
8163
|
+
# Corresponds to the JSON property `generatorSuggestion`
|
8164
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion]
|
8165
|
+
attr_accessor :generator_suggestion
|
8166
|
+
|
8162
8167
|
def initialize(**args)
|
8163
8168
|
update!(**args)
|
8164
8169
|
end
|
@@ -8168,6 +8173,7 @@ module Google
|
|
8168
8173
|
@article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer)
|
8169
8174
|
@dialogflow_assist_answer = args[:dialogflow_assist_answer] if args.key?(:dialogflow_assist_answer)
|
8170
8175
|
@faq_answer = args[:faq_answer] if args.key?(:faq_answer)
|
8176
|
+
@generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
|
8171
8177
|
end
|
8172
8178
|
end
|
8173
8179
|
|
@@ -8994,6 +9000,68 @@ module Google
|
|
8994
9000
|
end
|
8995
9001
|
end
|
8996
9002
|
|
9003
|
+
# Represents a connection for SIP Trunk.
|
9004
|
+
class GoogleCloudDialogflowV2Connection
|
9005
|
+
include Google::Apis::Core::Hashable
|
9006
|
+
|
9007
|
+
# Output only. The unique identifier of the SIP Trunk connection.
|
9008
|
+
# Corresponds to the JSON property `connectionId`
|
9009
|
+
# @return [String]
|
9010
|
+
attr_accessor :connection_id
|
9011
|
+
|
9012
|
+
# The error details of Sip Trunk connection authentication.
|
9013
|
+
# Corresponds to the JSON property `errorDetails`
|
9014
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails]
|
9015
|
+
attr_accessor :error_details
|
9016
|
+
|
9017
|
+
# Output only. State of the connection.
|
9018
|
+
# Corresponds to the JSON property `state`
|
9019
|
+
# @return [String]
|
9020
|
+
attr_accessor :state
|
9021
|
+
|
9022
|
+
# Output only. When the connection status changed.
|
9023
|
+
# Corresponds to the JSON property `updateTime`
|
9024
|
+
# @return [String]
|
9025
|
+
attr_accessor :update_time
|
9026
|
+
|
9027
|
+
def initialize(**args)
|
9028
|
+
update!(**args)
|
9029
|
+
end
|
9030
|
+
|
9031
|
+
# Update properties of this object
|
9032
|
+
def update!(**args)
|
9033
|
+
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
9034
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
9035
|
+
@state = args[:state] if args.key?(:state)
|
9036
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
9037
|
+
end
|
9038
|
+
end
|
9039
|
+
|
9040
|
+
# The error details of Sip Trunk connection authentication.
|
9041
|
+
class GoogleCloudDialogflowV2ConnectionErrorDetails
|
9042
|
+
include Google::Apis::Core::Hashable
|
9043
|
+
|
9044
|
+
# Output only. The status of the certificate authentication.
|
9045
|
+
# Corresponds to the JSON property `certificateState`
|
9046
|
+
# @return [String]
|
9047
|
+
attr_accessor :certificate_state
|
9048
|
+
|
9049
|
+
# The error message provided from SIP trunking auth service
|
9050
|
+
# Corresponds to the JSON property `errorMessage`
|
9051
|
+
# @return [String]
|
9052
|
+
attr_accessor :error_message
|
9053
|
+
|
9054
|
+
def initialize(**args)
|
9055
|
+
update!(**args)
|
9056
|
+
end
|
9057
|
+
|
9058
|
+
# Update properties of this object
|
9059
|
+
def update!(**args)
|
9060
|
+
@certificate_state = args[:certificate_state] if args.key?(:certificate_state)
|
9061
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
9062
|
+
end
|
9063
|
+
end
|
9064
|
+
|
8997
9065
|
# Dialogflow contexts are similar to natural language context. If a person says
|
8998
9066
|
# to you "they are orange", you need context in order to understand what "they"
|
8999
9067
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -14677,6 +14745,32 @@ module Google
|
|
14677
14745
|
end
|
14678
14746
|
end
|
14679
14747
|
|
14748
|
+
# The response message for SipTrunks.ListSipTrunks.
|
14749
|
+
class GoogleCloudDialogflowV2ListSipTrunksResponse
|
14750
|
+
include Google::Apis::Core::Hashable
|
14751
|
+
|
14752
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
14753
|
+
# results in the list.
|
14754
|
+
# Corresponds to the JSON property `nextPageToken`
|
14755
|
+
# @return [String]
|
14756
|
+
attr_accessor :next_page_token
|
14757
|
+
|
14758
|
+
# The list of SIP trunks.
|
14759
|
+
# Corresponds to the JSON property `sipTrunks`
|
14760
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk>]
|
14761
|
+
attr_accessor :sip_trunks
|
14762
|
+
|
14763
|
+
def initialize(**args)
|
14764
|
+
update!(**args)
|
14765
|
+
end
|
14766
|
+
|
14767
|
+
# Update properties of this object
|
14768
|
+
def update!(**args)
|
14769
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14770
|
+
@sip_trunks = args[:sip_trunks] if args.key?(:sip_trunks)
|
14771
|
+
end
|
14772
|
+
end
|
14773
|
+
|
14680
14774
|
# The response message for Versions.ListVersions.
|
14681
14775
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
14682
14776
|
include Google::Apis::Core::Hashable
|
@@ -16065,6 +16159,46 @@ module Google
|
|
16065
16159
|
end
|
16066
16160
|
end
|
16067
16161
|
|
16162
|
+
# SipTrunk is the resource that represents a SIP trunk to connect to Google
|
16163
|
+
# Telephony platform SIP trunking service.
|
16164
|
+
class GoogleCloudDialogflowV2SipTrunk
|
16165
|
+
include Google::Apis::Core::Hashable
|
16166
|
+
|
16167
|
+
# Output only. Connections of the SIP trunk.
|
16168
|
+
# Corresponds to the JSON property `connections`
|
16169
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>]
|
16170
|
+
attr_accessor :connections
|
16171
|
+
|
16172
|
+
# Optional. Human readable alias for this trunk.
|
16173
|
+
# Corresponds to the JSON property `displayName`
|
16174
|
+
# @return [String]
|
16175
|
+
attr_accessor :display_name
|
16176
|
+
|
16177
|
+
# Required. The expected hostnames in the peer certificate from partner that is
|
16178
|
+
# used for TLS authentication.
|
16179
|
+
# Corresponds to the JSON property `expectedHostname`
|
16180
|
+
# @return [Array<String>]
|
16181
|
+
attr_accessor :expected_hostname
|
16182
|
+
|
16183
|
+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
16184
|
+
# locations//sipTrunks/`.
|
16185
|
+
# Corresponds to the JSON property `name`
|
16186
|
+
# @return [String]
|
16187
|
+
attr_accessor :name
|
16188
|
+
|
16189
|
+
def initialize(**args)
|
16190
|
+
update!(**args)
|
16191
|
+
end
|
16192
|
+
|
16193
|
+
# Update properties of this object
|
16194
|
+
def update!(**args)
|
16195
|
+
@connections = args[:connections] if args.key?(:connections)
|
16196
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
16197
|
+
@expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname)
|
16198
|
+
@name = args[:name] if args.key?(:name)
|
16199
|
+
end
|
16200
|
+
end
|
16201
|
+
|
16068
16202
|
# Represents a smart reply answer.
|
16069
16203
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
16070
16204
|
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.110.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 = "20250812"
|
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
|
|
@@ -5769,6 +5793,8 @@ module Google
|
|
5769
5793
|
|
5770
5794
|
property :faq_answer, as: 'faqAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer::Representation
|
5771
5795
|
|
5796
|
+
property :generator_suggestion, as: 'generatorSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion::Representation
|
5797
|
+
|
5772
5798
|
end
|
5773
5799
|
end
|
5774
5800
|
|
@@ -6005,6 +6031,25 @@ module Google
|
|
6005
6031
|
end
|
6006
6032
|
end
|
6007
6033
|
|
6034
|
+
class GoogleCloudDialogflowV2Connection
|
6035
|
+
# @private
|
6036
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6037
|
+
property :connection_id, as: 'connectionId'
|
6038
|
+
property :error_details, as: 'errorDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails::Representation
|
6039
|
+
|
6040
|
+
property :state, as: 'state'
|
6041
|
+
property :update_time, as: 'updateTime'
|
6042
|
+
end
|
6043
|
+
end
|
6044
|
+
|
6045
|
+
class GoogleCloudDialogflowV2ConnectionErrorDetails
|
6046
|
+
# @private
|
6047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6048
|
+
property :certificate_state, as: 'certificateState'
|
6049
|
+
property :error_message, as: 'errorMessage'
|
6050
|
+
end
|
6051
|
+
end
|
6052
|
+
|
6008
6053
|
class GoogleCloudDialogflowV2Context
|
6009
6054
|
# @private
|
6010
6055
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7613,6 +7658,15 @@ module Google
|
|
7613
7658
|
end
|
7614
7659
|
end
|
7615
7660
|
|
7661
|
+
class GoogleCloudDialogflowV2ListSipTrunksResponse
|
7662
|
+
# @private
|
7663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7664
|
+
property :next_page_token, as: 'nextPageToken'
|
7665
|
+
collection :sip_trunks, as: 'sipTrunks', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
|
7666
|
+
|
7667
|
+
end
|
7668
|
+
end
|
7669
|
+
|
7616
7670
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
7617
7671
|
# @private
|
7618
7672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7959,6 +8013,17 @@ module Google
|
|
7959
8013
|
end
|
7960
8014
|
end
|
7961
8015
|
|
8016
|
+
class GoogleCloudDialogflowV2SipTrunk
|
8017
|
+
# @private
|
8018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8019
|
+
collection :connections, as: 'connections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection::Representation
|
8020
|
+
|
8021
|
+
property :display_name, as: 'displayName'
|
8022
|
+
collection :expected_hostname, as: 'expectedHostname'
|
8023
|
+
property :name, as: 'name'
|
8024
|
+
end
|
8025
|
+
end
|
8026
|
+
|
7962
8027
|
class GoogleCloudDialogflowV2SmartReplyAnswer
|
7963
8028
|
# @private
|
7964
8029
|
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.110.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.110.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:
|