google-apis-dialogflow_v2 0.83.0 → 0.84.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: 51eeec463b44ff170bfe02ecd3ef98d0459d88393d818bb5473f1d780127a251
|
4
|
+
data.tar.gz: 24d812fdf511718b5b26d367ab239dab4a8be160b0b2ec2590d68745a9b0b677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 663a648e8e62d7c18fbe8f0ef29e717d798a2a97bdc2eb8bd0d853fd0bb449fd39cc895b3135031b71ca0bed3a476968aa30e362bfec54eb0440ed337b671c2d
|
7
|
+
data.tar.gz: 9c419b86591439a1c31c0438f20ecef29c16959ca8e0b13d1ae106ffe67b1b742642f35c4aba0878c4b602a74a6d7a7ffdd2ffd51e60b91e4c96851954d1be81
|
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::DialogflowV2::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::DialogflowV2::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 DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.84.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
|
|
@@ -4061,16 +4073,29 @@ module Google
|
|
4061
4073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4062
4074
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
4063
4075
|
property :http_method, as: 'httpMethod'
|
4076
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
|
4077
|
+
|
4064
4078
|
hash :parameter_mapping, as: 'parameterMapping'
|
4065
4079
|
property :password, as: 'password'
|
4066
4080
|
property :request_body, as: 'requestBody'
|
4067
4081
|
hash :request_headers, as: 'requestHeaders'
|
4082
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
4068
4083
|
property :uri, as: 'uri'
|
4069
4084
|
property :username, as: 'username'
|
4070
4085
|
property :webhook_type, as: 'webhookType'
|
4071
4086
|
end
|
4072
4087
|
end
|
4073
4088
|
|
4089
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
4090
|
+
# @private
|
4091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4092
|
+
property :client_id, as: 'clientId'
|
4093
|
+
property :client_secret, as: 'clientSecret'
|
4094
|
+
collection :scopes, as: 'scopes'
|
4095
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
4096
|
+
end
|
4097
|
+
end
|
4098
|
+
|
4074
4099
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4075
4100
|
# @private
|
4076
4101
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5088,16 +5113,29 @@ module Google
|
|
5088
5113
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5089
5114
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
5090
5115
|
property :http_method, as: 'httpMethod'
|
5116
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
|
5117
|
+
|
5091
5118
|
hash :parameter_mapping, as: 'parameterMapping'
|
5092
5119
|
property :password, as: 'password'
|
5093
5120
|
property :request_body, as: 'requestBody'
|
5094
5121
|
hash :request_headers, as: 'requestHeaders'
|
5122
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
5095
5123
|
property :uri, as: 'uri'
|
5096
5124
|
property :username, as: 'username'
|
5097
5125
|
property :webhook_type, as: 'webhookType'
|
5098
5126
|
end
|
5099
5127
|
end
|
5100
5128
|
|
5129
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
|
5130
|
+
# @private
|
5131
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5132
|
+
property :client_id, as: 'clientId'
|
5133
|
+
property :client_secret, as: 'clientSecret'
|
5134
|
+
collection :scopes, as: 'scopes'
|
5135
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
5136
|
+
end
|
5137
|
+
end
|
5138
|
+
|
5101
5139
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
5102
5140
|
# @private
|
5103
5141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.84.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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.84.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|