google-apis-dialogflow_v2beta1 0.82.0 → 0.83.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0453a35fab40c1340d7627c4fb82c80deac20f2eba22af60d542845c493f379d
|
4
|
+
data.tar.gz: 634070f930757a852b354d2eb3fac663867bb7b4d0132d441d0b07852b34cccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d9ab330c0cb18aea647b4314606be8d2401d9869439c639933ed8471564a938764a5ed7edaee09be267470c1e81551d0cd22106ed88b9f328bfc3ffa1b3325a
|
7
|
+
data.tar.gz: '087d4dd3c7cc2e1ec3f56933f786dbe23992a5236f78130cea04132ca137e3d2079c5a692fc955564cd05a385cbdcf9cd7c01e5cfc13079acc450c1404c5d7e9'
|
data/CHANGELOG.md
CHANGED
@@ -3381,6 +3381,12 @@ module Google
|
|
3381
3381
|
# @return [String]
|
3382
3382
|
attr_accessor :http_method
|
3383
3383
|
|
3384
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
3385
|
+
# authentication.
|
3386
|
+
# Corresponds to the JSON property `oauthConfig`
|
3387
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig]
|
3388
|
+
attr_accessor :oauth_config
|
3389
|
+
|
3384
3390
|
# Optional. Maps the values extracted from specific fields of the flexible
|
3385
3391
|
# webhook response into session parameters. - Key: session parameter name -
|
3386
3392
|
# Value: field path in the webhook response
|
@@ -3404,6 +3410,13 @@ module Google
|
|
3404
3410
|
# @return [Hash<String,String>]
|
3405
3411
|
attr_accessor :request_headers
|
3406
3412
|
|
3413
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
3414
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
3415
|
+
# agent). The generated token is sent in the Authorization header.
|
3416
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
3417
|
+
# @return [String]
|
3418
|
+
attr_accessor :service_agent_auth
|
3419
|
+
|
3407
3420
|
# Required. The webhook URI for receiving POST requests. It must use https
|
3408
3421
|
# protocol.
|
3409
3422
|
# Corresponds to the JSON property `uri`
|
@@ -3428,16 +3441,57 @@ module Google
|
|
3428
3441
|
def update!(**args)
|
3429
3442
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
3430
3443
|
@http_method = args[:http_method] if args.key?(:http_method)
|
3444
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
3431
3445
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
3432
3446
|
@password = args[:password] if args.key?(:password)
|
3433
3447
|
@request_body = args[:request_body] if args.key?(:request_body)
|
3434
3448
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
3449
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
3435
3450
|
@uri = args[:uri] if args.key?(:uri)
|
3436
3451
|
@username = args[:username] if args.key?(:username)
|
3437
3452
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
3438
3453
|
end
|
3439
3454
|
end
|
3440
3455
|
|
3456
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
3457
|
+
# authentication.
|
3458
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
3459
|
+
include Google::Apis::Core::Hashable
|
3460
|
+
|
3461
|
+
# Required. The client ID provided by the 3rd party platform.
|
3462
|
+
# Corresponds to the JSON property `clientId`
|
3463
|
+
# @return [String]
|
3464
|
+
attr_accessor :client_id
|
3465
|
+
|
3466
|
+
# Required. The client secret provided by the 3rd party platform.
|
3467
|
+
# Corresponds to the JSON property `clientSecret`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :client_secret
|
3470
|
+
|
3471
|
+
# Optional. The OAuth scopes to grant.
|
3472
|
+
# Corresponds to the JSON property `scopes`
|
3473
|
+
# @return [Array<String>]
|
3474
|
+
attr_accessor :scopes
|
3475
|
+
|
3476
|
+
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
3477
|
+
# access token.
|
3478
|
+
# Corresponds to the JSON property `tokenEndpoint`
|
3479
|
+
# @return [String]
|
3480
|
+
attr_accessor :token_endpoint
|
3481
|
+
|
3482
|
+
def initialize(**args)
|
3483
|
+
update!(**args)
|
3484
|
+
end
|
3485
|
+
|
3486
|
+
# Update properties of this object
|
3487
|
+
def update!(**args)
|
3488
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
3489
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
3490
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
3491
|
+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
3492
|
+
end
|
3493
|
+
end
|
3494
|
+
|
3441
3495
|
# The request message for a webhook call. The request is sent as a JSON object
|
3442
3496
|
# and the field names will be presented in camel cases. You may see undocumented
|
3443
3497
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -7118,6 +7172,12 @@ module Google
|
|
7118
7172
|
# @return [String]
|
7119
7173
|
attr_accessor :http_method
|
7120
7174
|
|
7175
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
7176
|
+
# authentication.
|
7177
|
+
# Corresponds to the JSON property `oauthConfig`
|
7178
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig]
|
7179
|
+
attr_accessor :oauth_config
|
7180
|
+
|
7121
7181
|
# Optional. Maps the values extracted from specific fields of the flexible
|
7122
7182
|
# webhook response into session parameters. - Key: session parameter name -
|
7123
7183
|
# Value: field path in the webhook response
|
@@ -7141,6 +7201,13 @@ module Google
|
|
7141
7201
|
# @return [Hash<String,String>]
|
7142
7202
|
attr_accessor :request_headers
|
7143
7203
|
|
7204
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
7205
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
7206
|
+
# agent). The generated token is sent in the Authorization header.
|
7207
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
7208
|
+
# @return [String]
|
7209
|
+
attr_accessor :service_agent_auth
|
7210
|
+
|
7144
7211
|
# Required. The webhook URI for receiving POST requests. It must use https
|
7145
7212
|
# protocol.
|
7146
7213
|
# Corresponds to the JSON property `uri`
|
@@ -7165,16 +7232,57 @@ module Google
|
|
7165
7232
|
def update!(**args)
|
7166
7233
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
7167
7234
|
@http_method = args[:http_method] if args.key?(:http_method)
|
7235
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
7168
7236
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
7169
7237
|
@password = args[:password] if args.key?(:password)
|
7170
7238
|
@request_body = args[:request_body] if args.key?(:request_body)
|
7171
7239
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
7240
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
7172
7241
|
@uri = args[:uri] if args.key?(:uri)
|
7173
7242
|
@username = args[:username] if args.key?(:username)
|
7174
7243
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
7175
7244
|
end
|
7176
7245
|
end
|
7177
7246
|
|
7247
|
+
# Represents configuration of OAuth client credential flow for 3rd party API
|
7248
|
+
# authentication.
|
7249
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
7250
|
+
include Google::Apis::Core::Hashable
|
7251
|
+
|
7252
|
+
# Required. The client ID provided by the 3rd party platform.
|
7253
|
+
# Corresponds to the JSON property `clientId`
|
7254
|
+
# @return [String]
|
7255
|
+
attr_accessor :client_id
|
7256
|
+
|
7257
|
+
# Required. The client secret provided by the 3rd party platform.
|
7258
|
+
# Corresponds to the JSON property `clientSecret`
|
7259
|
+
# @return [String]
|
7260
|
+
attr_accessor :client_secret
|
7261
|
+
|
7262
|
+
# Optional. The OAuth scopes to grant.
|
7263
|
+
# Corresponds to the JSON property `scopes`
|
7264
|
+
# @return [Array<String>]
|
7265
|
+
attr_accessor :scopes
|
7266
|
+
|
7267
|
+
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
7268
|
+
# access token.
|
7269
|
+
# Corresponds to the JSON property `tokenEndpoint`
|
7270
|
+
# @return [String]
|
7271
|
+
attr_accessor :token_endpoint
|
7272
|
+
|
7273
|
+
def initialize(**args)
|
7274
|
+
update!(**args)
|
7275
|
+
end
|
7276
|
+
|
7277
|
+
# Update properties of this object
|
7278
|
+
def update!(**args)
|
7279
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
7280
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
7281
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
7282
|
+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
7283
|
+
end
|
7284
|
+
end
|
7285
|
+
|
7178
7286
|
# The request message for a webhook call. The request is sent as a JSON object
|
7179
7287
|
# and the field names will be presented in camel cases. You may see undocumented
|
7180
7288
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.83.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -604,6 +604,12 @@ module Google
|
|
604
604
|
include Google::Apis::Core::JsonObjectSupport
|
605
605
|
end
|
606
606
|
|
607
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
607
613
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
608
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
615
|
|
@@ -1234,6 +1240,12 @@ module Google
|
|
1234
1240
|
include Google::Apis::Core::JsonObjectSupport
|
1235
1241
|
end
|
1236
1242
|
|
1243
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
1244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
|
+
|
1246
|
+
include Google::Apis::Core::JsonObjectSupport
|
1247
|
+
end
|
1248
|
+
|
1237
1249
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
1238
1250
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
1251
|
|
@@ -4079,16 +4091,29 @@ module Google
|
|
4079
4091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4080
4092
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
4081
4093
|
property :http_method, as: 'httpMethod'
|
4094
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
|
4095
|
+
|
4082
4096
|
hash :parameter_mapping, as: 'parameterMapping'
|
4083
4097
|
property :password, as: 'password'
|
4084
4098
|
property :request_body, as: 'requestBody'
|
4085
4099
|
hash :request_headers, as: 'requestHeaders'
|
4100
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
4086
4101
|
property :uri, as: 'uri'
|
4087
4102
|
property :username, as: 'username'
|
4088
4103
|
property :webhook_type, as: 'webhookType'
|
4089
4104
|
end
|
4090
4105
|
end
|
4091
4106
|
|
4107
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
4108
|
+
# @private
|
4109
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4110
|
+
property :client_id, as: 'clientId'
|
4111
|
+
property :client_secret, as: 'clientSecret'
|
4112
|
+
collection :scopes, as: 'scopes'
|
4113
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4092
4117
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4093
4118
|
# @private
|
4094
4119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5106,16 +5131,29 @@ module Google
|
|
5106
5131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5107
5132
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
5108
5133
|
property :http_method, as: 'httpMethod'
|
5134
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
|
5135
|
+
|
5109
5136
|
hash :parameter_mapping, as: 'parameterMapping'
|
5110
5137
|
property :password, as: 'password'
|
5111
5138
|
property :request_body, as: 'requestBody'
|
5112
5139
|
hash :request_headers, as: 'requestHeaders'
|
5140
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
5113
5141
|
property :uri, as: 'uri'
|
5114
5142
|
property :username, as: 'username'
|
5115
5143
|
property :webhook_type, as: 'webhookType'
|
5116
5144
|
end
|
5117
5145
|
end
|
5118
5146
|
|
5147
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
5148
|
+
# @private
|
5149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5150
|
+
property :client_id, as: 'clientId'
|
5151
|
+
property :client_secret, as: 'clientSecret'
|
5152
|
+
collection :scopes, as: 'scopes'
|
5153
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
5154
|
+
end
|
5155
|
+
end
|
5156
|
+
|
5119
5157
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
5120
5158
|
# @private
|
5121
5159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.83.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|