google-apis-dialogflow_v3beta1 0.96.0 → 0.98.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +497 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +217 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a20fc91a0bfb72169faa7a89768e6cf302ca044e914024a2a331d5b67899b39
|
4
|
+
data.tar.gz: 7fb50de0659e02f0716e2771edac7118638c21d428236d22eef13cfac9f6d46f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47bdc164dc178a6059eb8dac18e78dafdedc5aea9336b05b63942a8cfe2793ac5cf494c680321e53ecc40293779b420480aa54a4d601fa6889c54f21e9365a92
|
7
|
+
data.tar.gz: 2995d148b45411b0ebbf572f3d548c994dfa02e5a65733dcb1a16e1e8ef4bba2f9498d8deaae753ba63eceac43b817c5c08fdef0f6955aab4d1966ce7e2a1b53
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.98.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250325
|
6
|
+
|
7
|
+
### v0.97.0 (2025-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250313
|
10
|
+
|
3
11
|
### v0.96.0 (2025-03-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250310
|
@@ -3345,6 +3345,22 @@ module Google
|
|
3345
3345
|
# @return [Hash<String,String>]
|
3346
3346
|
attr_accessor :request_headers
|
3347
3347
|
|
3348
|
+
# Optional. The SecretManager secret version resource storing the username:
|
3349
|
+
# password pair for HTTP Basic authentication. Format: `projects/`project`/
|
3350
|
+
# secrets/`secret`/versions/`version``
|
3351
|
+
# Corresponds to the JSON property `secretVersionForUsernamePassword`
|
3352
|
+
# @return [String]
|
3353
|
+
attr_accessor :secret_version_for_username_password
|
3354
|
+
|
3355
|
+
# Optional. The HTTP request headers to send together with webhook requests.
|
3356
|
+
# Header values are stored in SecretManager secret versions. When the same
|
3357
|
+
# header name is specified in both `request_headers` and `
|
3358
|
+
# secret_versions_for_request_headers`, the value in `
|
3359
|
+
# secret_versions_for_request_headers` will be used.
|
3360
|
+
# Corresponds to the JSON property `secretVersionsForRequestHeaders`
|
3361
|
+
# @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
|
3362
|
+
attr_accessor :secret_versions_for_request_headers
|
3363
|
+
|
3348
3364
|
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
3349
3365
|
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
3350
3366
|
# agent). The generated token is sent in the Authorization header.
|
@@ -3381,6 +3397,8 @@ module Google
|
|
3381
3397
|
@password = args[:password] if args.key?(:password)
|
3382
3398
|
@request_body = args[:request_body] if args.key?(:request_body)
|
3383
3399
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
3400
|
+
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
|
3401
|
+
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
|
3384
3402
|
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
3385
3403
|
@uri = args[:uri] if args.key?(:uri)
|
3386
3404
|
@username = args[:username] if args.key?(:username)
|
@@ -3408,6 +3426,13 @@ module Google
|
|
3408
3426
|
# @return [Array<String>]
|
3409
3427
|
attr_accessor :scopes
|
3410
3428
|
|
3429
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
3430
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
3431
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
3432
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
3433
|
+
# @return [String]
|
3434
|
+
attr_accessor :secret_version_for_client_secret
|
3435
|
+
|
3411
3436
|
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
3412
3437
|
# access token.
|
3413
3438
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -3423,10 +3448,32 @@ module Google
|
|
3423
3448
|
@client_id = args[:client_id] if args.key?(:client_id)
|
3424
3449
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
3425
3450
|
@scopes = args[:scopes] if args.key?(:scopes)
|
3451
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
3426
3452
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
3427
3453
|
end
|
3428
3454
|
end
|
3429
3455
|
|
3456
|
+
# Represents the value of an HTTP header stored in a SecretManager secret
|
3457
|
+
# version.
|
3458
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
3459
|
+
include Google::Apis::Core::Hashable
|
3460
|
+
|
3461
|
+
# Required. The SecretManager secret version resource storing the header value.
|
3462
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
3463
|
+
# Corresponds to the JSON property `secretVersion`
|
3464
|
+
# @return [String]
|
3465
|
+
attr_accessor :secret_version
|
3466
|
+
|
3467
|
+
def initialize(**args)
|
3468
|
+
update!(**args)
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
# Update properties of this object
|
3472
|
+
def update!(**args)
|
3473
|
+
@secret_version = args[:secret_version] if args.key?(:secret_version)
|
3474
|
+
end
|
3475
|
+
end
|
3476
|
+
|
3430
3477
|
# The request message for a webhook call. The request is sent as a JSON object
|
3431
3478
|
# and the field names will be presented in camel cases. You may see undocumented
|
3432
3479
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -3769,16 +3816,33 @@ module Google
|
|
3769
3816
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance]
|
3770
3817
|
attr_accessor :agent_utterance
|
3771
3818
|
|
3819
|
+
# Event represents the event sent by the customer.
|
3820
|
+
# Corresponds to the JSON property `event`
|
3821
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event]
|
3822
|
+
attr_accessor :event
|
3823
|
+
|
3772
3824
|
# Stores metadata of the invocation of a CX flow.
|
3773
3825
|
# Corresponds to the JSON property `flowInvocation`
|
3774
3826
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation]
|
3775
3827
|
attr_accessor :flow_invocation
|
3776
3828
|
|
3829
|
+
# Stores metadata of the transition to a target CX flow. Flow transition actions
|
3830
|
+
# exit the caller playbook and enter the child flow.
|
3831
|
+
# Corresponds to the JSON property `flowTransition`
|
3832
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTransition]
|
3833
|
+
attr_accessor :flow_transition
|
3834
|
+
|
3777
3835
|
# Stores metadata of the invocation of a child playbook.
|
3778
3836
|
# Corresponds to the JSON property `playbookInvocation`
|
3779
3837
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation]
|
3780
3838
|
attr_accessor :playbook_invocation
|
3781
3839
|
|
3840
|
+
# Stores metadata of the transition to another target playbook. Playbook
|
3841
|
+
# transition actions exit the caller playbook and enter the target playbook.
|
3842
|
+
# Corresponds to the JSON property `playbookTransition`
|
3843
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition]
|
3844
|
+
attr_accessor :playbook_transition
|
3845
|
+
|
3782
3846
|
# Stores metadata of the invocation of an action supported by a tool.
|
3783
3847
|
# Corresponds to the JSON property `toolUse`
|
3784
3848
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse]
|
@@ -3796,8 +3860,11 @@ module Google
|
|
3796
3860
|
# Update properties of this object
|
3797
3861
|
def update!(**args)
|
3798
3862
|
@agent_utterance = args[:agent_utterance] if args.key?(:agent_utterance)
|
3863
|
+
@event = args[:event] if args.key?(:event)
|
3799
3864
|
@flow_invocation = args[:flow_invocation] if args.key?(:flow_invocation)
|
3865
|
+
@flow_transition = args[:flow_transition] if args.key?(:flow_transition)
|
3800
3866
|
@playbook_invocation = args[:playbook_invocation] if args.key?(:playbook_invocation)
|
3867
|
+
@playbook_transition = args[:playbook_transition] if args.key?(:playbook_transition)
|
3801
3868
|
@tool_use = args[:tool_use] if args.key?(:tool_use)
|
3802
3869
|
@user_utterance = args[:user_utterance] if args.key?(:user_utterance)
|
3803
3870
|
end
|
@@ -6524,6 +6591,25 @@ module Google
|
|
6524
6591
|
end
|
6525
6592
|
end
|
6526
6593
|
|
6594
|
+
# Event represents the event sent by the customer.
|
6595
|
+
class GoogleCloudDialogflowCxV3beta1Event
|
6596
|
+
include Google::Apis::Core::Hashable
|
6597
|
+
|
6598
|
+
# Required. Name of the event.
|
6599
|
+
# Corresponds to the JSON property `event`
|
6600
|
+
# @return [String]
|
6601
|
+
attr_accessor :event
|
6602
|
+
|
6603
|
+
def initialize(**args)
|
6604
|
+
update!(**args)
|
6605
|
+
end
|
6606
|
+
|
6607
|
+
# Update properties of this object
|
6608
|
+
def update!(**args)
|
6609
|
+
@event = args[:event] if args.key?(:event)
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6527
6613
|
# An event handler specifies an event that can be handled during a session. When
|
6528
6614
|
# the specified event happens, the following actions are taken in order: * If
|
6529
6615
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -7706,6 +7792,33 @@ module Google
|
|
7706
7792
|
end
|
7707
7793
|
end
|
7708
7794
|
|
7795
|
+
# Stores metadata of the transition to a target CX flow. Flow transition actions
|
7796
|
+
# exit the caller playbook and enter the child flow.
|
7797
|
+
class GoogleCloudDialogflowCxV3beta1FlowTransition
|
7798
|
+
include Google::Apis::Core::Hashable
|
7799
|
+
|
7800
|
+
# Output only. The display name of the flow.
|
7801
|
+
# Corresponds to the JSON property `displayName`
|
7802
|
+
# @return [String]
|
7803
|
+
attr_accessor :display_name
|
7804
|
+
|
7805
|
+
# Required. The unique identifier of the flow. Format: `projects//locations//
|
7806
|
+
# agents/`.
|
7807
|
+
# Corresponds to the JSON property `flow`
|
7808
|
+
# @return [String]
|
7809
|
+
attr_accessor :flow
|
7810
|
+
|
7811
|
+
def initialize(**args)
|
7812
|
+
update!(**args)
|
7813
|
+
end
|
7814
|
+
|
7815
|
+
# Update properties of this object
|
7816
|
+
def update!(**args)
|
7817
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7818
|
+
@flow = args[:flow] if args.key?(:flow)
|
7819
|
+
end
|
7820
|
+
end
|
7821
|
+
|
7709
7822
|
# The response message for Flows.GetFlowValidationResult.
|
7710
7823
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
7711
7824
|
include Google::Apis::Core::Hashable
|
@@ -10812,6 +10925,11 @@ module Google
|
|
10812
10925
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>]
|
10813
10926
|
attr_accessor :output_parameter_definitions
|
10814
10927
|
|
10928
|
+
# Optional. Type of the playbook.
|
10929
|
+
# Corresponds to the JSON property `playbookType`
|
10930
|
+
# @return [String]
|
10931
|
+
attr_accessor :playbook_type
|
10932
|
+
|
10815
10933
|
# Output only. The resource name of flows referenced by the current playbook in
|
10816
10934
|
# the instructions.
|
10817
10935
|
# Corresponds to the JSON property `referencedFlows`
|
@@ -10862,6 +10980,7 @@ module Google
|
|
10862
10980
|
@llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
|
10863
10981
|
@name = args[:name] if args.key?(:name)
|
10864
10982
|
@output_parameter_definitions = args[:output_parameter_definitions] if args.key?(:output_parameter_definitions)
|
10983
|
+
@playbook_type = args[:playbook_type] if args.key?(:playbook_type)
|
10865
10984
|
@referenced_flows = args[:referenced_flows] if args.key?(:referenced_flows)
|
10866
10985
|
@referenced_playbooks = args[:referenced_playbooks] if args.key?(:referenced_playbooks)
|
10867
10986
|
@referenced_tools = args[:referenced_tools] if args.key?(:referenced_tools)
|
@@ -11018,6 +11137,33 @@ module Google
|
|
11018
11137
|
end
|
11019
11138
|
end
|
11020
11139
|
|
11140
|
+
# Stores metadata of the transition to another target playbook. Playbook
|
11141
|
+
# transition actions exit the caller playbook and enter the target playbook.
|
11142
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookTransition
|
11143
|
+
include Google::Apis::Core::Hashable
|
11144
|
+
|
11145
|
+
# Output only. The display name of the playbook.
|
11146
|
+
# Corresponds to the JSON property `displayName`
|
11147
|
+
# @return [String]
|
11148
|
+
attr_accessor :display_name
|
11149
|
+
|
11150
|
+
# Required. The unique identifier of the playbook. Format: `projects//locations//
|
11151
|
+
# agents//playbooks/`.
|
11152
|
+
# Corresponds to the JSON property `playbook`
|
11153
|
+
# @return [String]
|
11154
|
+
attr_accessor :playbook
|
11155
|
+
|
11156
|
+
def initialize(**args)
|
11157
|
+
update!(**args)
|
11158
|
+
end
|
11159
|
+
|
11160
|
+
# Update properties of this object
|
11161
|
+
def update!(**args)
|
11162
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
11163
|
+
@playbook = args[:playbook] if args.key?(:playbook)
|
11164
|
+
end
|
11165
|
+
end
|
11166
|
+
|
11021
11167
|
# Playbook version is a snapshot of the playbook at certain timestamp.
|
11022
11168
|
class GoogleCloudDialogflowCxV3beta1PlaybookVersion
|
11023
11169
|
include Google::Apis::Core::Hashable
|
@@ -13164,6 +13310,13 @@ module Google
|
|
13164
13310
|
# @return [String]
|
13165
13311
|
attr_accessor :request_location
|
13166
13312
|
|
13313
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
13314
|
+
# API key. If this field is set, the `api_key` field will be ignored. Format: `
|
13315
|
+
# projects/`project`/secrets/`secret`/versions/`version``
|
13316
|
+
# Corresponds to the JSON property `secretVersionForApiKey`
|
13317
|
+
# @return [String]
|
13318
|
+
attr_accessor :secret_version_for_api_key
|
13319
|
+
|
13167
13320
|
def initialize(**args)
|
13168
13321
|
update!(**args)
|
13169
13322
|
end
|
@@ -13173,6 +13326,7 @@ module Google
|
|
13173
13326
|
@api_key = args[:api_key] if args.key?(:api_key)
|
13174
13327
|
@key_name = args[:key_name] if args.key?(:key_name)
|
13175
13328
|
@request_location = args[:request_location] if args.key?(:request_location)
|
13329
|
+
@secret_version_for_api_key = args[:secret_version_for_api_key] if args.key?(:secret_version_for_api_key)
|
13176
13330
|
end
|
13177
13331
|
end
|
13178
13332
|
|
@@ -13180,6 +13334,13 @@ module Google
|
|
13180
13334
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
|
13181
13335
|
include Google::Apis::Core::Hashable
|
13182
13336
|
|
13337
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
13338
|
+
# Bearer token. If this field is set, the `token` field will be ignored. Format:
|
13339
|
+
# `projects/`project`/secrets/`secret`/versions/`version``
|
13340
|
+
# Corresponds to the JSON property `secretVersionForToken`
|
13341
|
+
# @return [String]
|
13342
|
+
attr_accessor :secret_version_for_token
|
13343
|
+
|
13183
13344
|
# Optional. The text token appended to the text `Bearer` to the request
|
13184
13345
|
# Authorization header. [Session parameters reference](https://cloud.google.com/
|
13185
13346
|
# dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
|
@@ -13194,6 +13355,7 @@ module Google
|
|
13194
13355
|
|
13195
13356
|
# Update properties of this object
|
13196
13357
|
def update!(**args)
|
13358
|
+
@secret_version_for_token = args[:secret_version_for_token] if args.key?(:secret_version_for_token)
|
13197
13359
|
@token = args[:token] if args.key?(:token)
|
13198
13360
|
end
|
13199
13361
|
end
|
@@ -13223,6 +13385,13 @@ module Google
|
|
13223
13385
|
# @return [Array<String>]
|
13224
13386
|
attr_accessor :scopes
|
13225
13387
|
|
13388
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
13389
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
13390
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
13391
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
13392
|
+
# @return [String]
|
13393
|
+
attr_accessor :secret_version_for_client_secret
|
13394
|
+
|
13226
13395
|
# Required. The token endpoint in the OAuth provider to exchange for an access
|
13227
13396
|
# token.
|
13228
13397
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -13239,6 +13408,7 @@ module Google
|
|
13239
13408
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
13240
13409
|
@oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
|
13241
13410
|
@scopes = args[:scopes] if args.key?(:scopes)
|
13411
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
13242
13412
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
13243
13413
|
end
|
13244
13414
|
end
|
@@ -14692,6 +14862,22 @@ module Google
|
|
14692
14862
|
# @return [Hash<String,String>]
|
14693
14863
|
attr_accessor :request_headers
|
14694
14864
|
|
14865
|
+
# Optional. The SecretManager secret version resource storing the username:
|
14866
|
+
# password pair for HTTP Basic authentication. Format: `projects/`project`/
|
14867
|
+
# secrets/`secret`/versions/`version``
|
14868
|
+
# Corresponds to the JSON property `secretVersionForUsernamePassword`
|
14869
|
+
# @return [String]
|
14870
|
+
attr_accessor :secret_version_for_username_password
|
14871
|
+
|
14872
|
+
# Optional. The HTTP request headers to send together with webhook requests.
|
14873
|
+
# Header values are stored in SecretManager secret versions. When the same
|
14874
|
+
# header name is specified in both `request_headers` and `
|
14875
|
+
# secret_versions_for_request_headers`, the value in `
|
14876
|
+
# secret_versions_for_request_headers` will be used.
|
14877
|
+
# Corresponds to the JSON property `secretVersionsForRequestHeaders`
|
14878
|
+
# @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
|
14879
|
+
attr_accessor :secret_versions_for_request_headers
|
14880
|
+
|
14695
14881
|
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
14696
14882
|
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
14697
14883
|
# agent). The generated token is sent in the Authorization header.
|
@@ -14728,6 +14914,8 @@ module Google
|
|
14728
14914
|
@password = args[:password] if args.key?(:password)
|
14729
14915
|
@request_body = args[:request_body] if args.key?(:request_body)
|
14730
14916
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
14917
|
+
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
|
14918
|
+
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
|
14731
14919
|
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
14732
14920
|
@uri = args[:uri] if args.key?(:uri)
|
14733
14921
|
@username = args[:username] if args.key?(:username)
|
@@ -14755,6 +14943,13 @@ module Google
|
|
14755
14943
|
# @return [Array<String>]
|
14756
14944
|
attr_accessor :scopes
|
14757
14945
|
|
14946
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
14947
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
14948
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
14949
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
14950
|
+
# @return [String]
|
14951
|
+
attr_accessor :secret_version_for_client_secret
|
14952
|
+
|
14758
14953
|
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
14759
14954
|
# access token.
|
14760
14955
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -14770,10 +14965,32 @@ module Google
|
|
14770
14965
|
@client_id = args[:client_id] if args.key?(:client_id)
|
14771
14966
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
14772
14967
|
@scopes = args[:scopes] if args.key?(:scopes)
|
14968
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
14773
14969
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
14774
14970
|
end
|
14775
14971
|
end
|
14776
14972
|
|
14973
|
+
# Represents the value of an HTTP header stored in a SecretManager secret
|
14974
|
+
# version.
|
14975
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
14976
|
+
include Google::Apis::Core::Hashable
|
14977
|
+
|
14978
|
+
# Required. The SecretManager secret version resource storing the header value.
|
14979
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
14980
|
+
# Corresponds to the JSON property `secretVersion`
|
14981
|
+
# @return [String]
|
14982
|
+
attr_accessor :secret_version
|
14983
|
+
|
14984
|
+
def initialize(**args)
|
14985
|
+
update!(**args)
|
14986
|
+
end
|
14987
|
+
|
14988
|
+
# Update properties of this object
|
14989
|
+
def update!(**args)
|
14990
|
+
@secret_version = args[:secret_version] if args.key?(:secret_version)
|
14991
|
+
end
|
14992
|
+
end
|
14993
|
+
|
14777
14994
|
# The request message for a webhook call. The request is sent as a JSON object
|
14778
14995
|
# and the field names will be presented in camel cases. You may see undocumented
|
14779
14996
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -16052,6 +16269,11 @@ module Google
|
|
16052
16269
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion]
|
16053
16270
|
attr_accessor :summary_suggestion
|
16054
16271
|
|
16272
|
+
# Optional. List of request and response for tool calls executed.
|
16273
|
+
# Corresponds to the JSON property `toolCallInfo`
|
16274
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
|
16275
|
+
attr_accessor :tool_call_info
|
16276
|
+
|
16055
16277
|
def initialize(**args)
|
16056
16278
|
update!(**args)
|
16057
16279
|
end
|
@@ -16060,6 +16282,32 @@ module Google
|
|
16060
16282
|
def update!(**args)
|
16061
16283
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
16062
16284
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
16285
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
16286
|
+
end
|
16287
|
+
end
|
16288
|
+
|
16289
|
+
# Request and response for a tool call.
|
16290
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
16291
|
+
include Google::Apis::Core::Hashable
|
16292
|
+
|
16293
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
16294
|
+
# Corresponds to the JSON property `toolCall`
|
16295
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall]
|
16296
|
+
attr_accessor :tool_call
|
16297
|
+
|
16298
|
+
# The result of calling a tool's action.
|
16299
|
+
# Corresponds to the JSON property `toolCallResult`
|
16300
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult]
|
16301
|
+
attr_accessor :tool_call_result
|
16302
|
+
|
16303
|
+
def initialize(**args)
|
16304
|
+
update!(**args)
|
16305
|
+
end
|
16306
|
+
|
16307
|
+
# Update properties of this object
|
16308
|
+
def update!(**args)
|
16309
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
16310
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
16063
16311
|
end
|
16064
16312
|
end
|
16065
16313
|
|
@@ -18549,6 +18797,115 @@ module Google
|
|
18549
18797
|
end
|
18550
18798
|
end
|
18551
18799
|
|
18800
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
18801
|
+
class GoogleCloudDialogflowV2ToolCall
|
18802
|
+
include Google::Apis::Core::Hashable
|
18803
|
+
|
18804
|
+
# Required. The name of the tool's action associated with this call.
|
18805
|
+
# Corresponds to the JSON property `action`
|
18806
|
+
# @return [String]
|
18807
|
+
attr_accessor :action
|
18808
|
+
|
18809
|
+
# Output only. Create time of the tool call.
|
18810
|
+
# Corresponds to the JSON property `createTime`
|
18811
|
+
# @return [String]
|
18812
|
+
attr_accessor :create_time
|
18813
|
+
|
18814
|
+
# Optional. The action's input parameters.
|
18815
|
+
# Corresponds to the JSON property `inputParameters`
|
18816
|
+
# @return [Hash<String,Object>]
|
18817
|
+
attr_accessor :input_parameters
|
18818
|
+
|
18819
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
18820
|
+
# tools/`.
|
18821
|
+
# Corresponds to the JSON property `tool`
|
18822
|
+
# @return [String]
|
18823
|
+
attr_accessor :tool
|
18824
|
+
|
18825
|
+
def initialize(**args)
|
18826
|
+
update!(**args)
|
18827
|
+
end
|
18828
|
+
|
18829
|
+
# Update properties of this object
|
18830
|
+
def update!(**args)
|
18831
|
+
@action = args[:action] if args.key?(:action)
|
18832
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
18833
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
18834
|
+
@tool = args[:tool] if args.key?(:tool)
|
18835
|
+
end
|
18836
|
+
end
|
18837
|
+
|
18838
|
+
# The result of calling a tool's action.
|
18839
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
18840
|
+
include Google::Apis::Core::Hashable
|
18841
|
+
|
18842
|
+
# Required. The name of the tool's action associated with this call.
|
18843
|
+
# Corresponds to the JSON property `action`
|
18844
|
+
# @return [String]
|
18845
|
+
attr_accessor :action
|
18846
|
+
|
18847
|
+
# Only populated if the response content is utf-8 encoded.
|
18848
|
+
# Corresponds to the JSON property `content`
|
18849
|
+
# @return [String]
|
18850
|
+
attr_accessor :content
|
18851
|
+
|
18852
|
+
# Output only. Create time of the tool call result.
|
18853
|
+
# Corresponds to the JSON property `createTime`
|
18854
|
+
# @return [String]
|
18855
|
+
attr_accessor :create_time
|
18856
|
+
|
18857
|
+
# An error produced by the tool call.
|
18858
|
+
# Corresponds to the JSON property `error`
|
18859
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError]
|
18860
|
+
attr_accessor :error
|
18861
|
+
|
18862
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
18863
|
+
# byte fields are base64 encoded).
|
18864
|
+
# Corresponds to the JSON property `rawContent`
|
18865
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
18866
|
+
# @return [String]
|
18867
|
+
attr_accessor :raw_content
|
18868
|
+
|
18869
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
18870
|
+
# tools/`.
|
18871
|
+
# Corresponds to the JSON property `tool`
|
18872
|
+
# @return [String]
|
18873
|
+
attr_accessor :tool
|
18874
|
+
|
18875
|
+
def initialize(**args)
|
18876
|
+
update!(**args)
|
18877
|
+
end
|
18878
|
+
|
18879
|
+
# Update properties of this object
|
18880
|
+
def update!(**args)
|
18881
|
+
@action = args[:action] if args.key?(:action)
|
18882
|
+
@content = args[:content] if args.key?(:content)
|
18883
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
18884
|
+
@error = args[:error] if args.key?(:error)
|
18885
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
18886
|
+
@tool = args[:tool] if args.key?(:tool)
|
18887
|
+
end
|
18888
|
+
end
|
18889
|
+
|
18890
|
+
# An error produced by the tool call.
|
18891
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
18892
|
+
include Google::Apis::Core::Hashable
|
18893
|
+
|
18894
|
+
# Optional. The error message of the function.
|
18895
|
+
# Corresponds to the JSON property `message`
|
18896
|
+
# @return [String]
|
18897
|
+
attr_accessor :message
|
18898
|
+
|
18899
|
+
def initialize(**args)
|
18900
|
+
update!(**args)
|
18901
|
+
end
|
18902
|
+
|
18903
|
+
# Update properties of this object
|
18904
|
+
def update!(**args)
|
18905
|
+
@message = args[:message] if args.key?(:message)
|
18906
|
+
end
|
18907
|
+
end
|
18908
|
+
|
18552
18909
|
# Metadata for a ConversationModels.UndeployConversationModel operation.
|
18553
18910
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
18554
18911
|
include Google::Apis::Core::Hashable
|
@@ -19412,6 +19769,11 @@ module Google
|
|
19412
19769
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion]
|
19413
19770
|
attr_accessor :summary_suggestion
|
19414
19771
|
|
19772
|
+
# Optional. List of request and response for tool calls executed.
|
19773
|
+
# Corresponds to the JSON property `toolCallInfo`
|
19774
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
|
19775
|
+
attr_accessor :tool_call_info
|
19776
|
+
|
19415
19777
|
def initialize(**args)
|
19416
19778
|
update!(**args)
|
19417
19779
|
end
|
@@ -19420,6 +19782,32 @@ module Google
|
|
19420
19782
|
def update!(**args)
|
19421
19783
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
19422
19784
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
19785
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
19786
|
+
end
|
19787
|
+
end
|
19788
|
+
|
19789
|
+
# Request and response for a tool call.
|
19790
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
19791
|
+
include Google::Apis::Core::Hashable
|
19792
|
+
|
19793
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
19794
|
+
# Corresponds to the JSON property `toolCall`
|
19795
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall]
|
19796
|
+
attr_accessor :tool_call
|
19797
|
+
|
19798
|
+
# The result of calling a tool's action.
|
19799
|
+
# Corresponds to the JSON property `toolCallResult`
|
19800
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult]
|
19801
|
+
attr_accessor :tool_call_result
|
19802
|
+
|
19803
|
+
def initialize(**args)
|
19804
|
+
update!(**args)
|
19805
|
+
end
|
19806
|
+
|
19807
|
+
# Update properties of this object
|
19808
|
+
def update!(**args)
|
19809
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
19810
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
19423
19811
|
end
|
19424
19812
|
end
|
19425
19813
|
|
@@ -22693,6 +23081,115 @@ module Google
|
|
22693
23081
|
end
|
22694
23082
|
end
|
22695
23083
|
|
23084
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
23085
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
23086
|
+
include Google::Apis::Core::Hashable
|
23087
|
+
|
23088
|
+
# Required. The name of the tool's action associated with this call.
|
23089
|
+
# Corresponds to the JSON property `action`
|
23090
|
+
# @return [String]
|
23091
|
+
attr_accessor :action
|
23092
|
+
|
23093
|
+
# Output only. Create time of the tool call.
|
23094
|
+
# Corresponds to the JSON property `createTime`
|
23095
|
+
# @return [String]
|
23096
|
+
attr_accessor :create_time
|
23097
|
+
|
23098
|
+
# Optional. The action's input parameters.
|
23099
|
+
# Corresponds to the JSON property `inputParameters`
|
23100
|
+
# @return [Hash<String,Object>]
|
23101
|
+
attr_accessor :input_parameters
|
23102
|
+
|
23103
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
23104
|
+
# tools/`.
|
23105
|
+
# Corresponds to the JSON property `tool`
|
23106
|
+
# @return [String]
|
23107
|
+
attr_accessor :tool
|
23108
|
+
|
23109
|
+
def initialize(**args)
|
23110
|
+
update!(**args)
|
23111
|
+
end
|
23112
|
+
|
23113
|
+
# Update properties of this object
|
23114
|
+
def update!(**args)
|
23115
|
+
@action = args[:action] if args.key?(:action)
|
23116
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
23117
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
23118
|
+
@tool = args[:tool] if args.key?(:tool)
|
23119
|
+
end
|
23120
|
+
end
|
23121
|
+
|
23122
|
+
# The result of calling a tool's action.
|
23123
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
23124
|
+
include Google::Apis::Core::Hashable
|
23125
|
+
|
23126
|
+
# Required. The name of the tool's action associated with this call.
|
23127
|
+
# Corresponds to the JSON property `action`
|
23128
|
+
# @return [String]
|
23129
|
+
attr_accessor :action
|
23130
|
+
|
23131
|
+
# Only populated if the response content is utf-8 encoded.
|
23132
|
+
# Corresponds to the JSON property `content`
|
23133
|
+
# @return [String]
|
23134
|
+
attr_accessor :content
|
23135
|
+
|
23136
|
+
# Output only. Create time of the tool call result.
|
23137
|
+
# Corresponds to the JSON property `createTime`
|
23138
|
+
# @return [String]
|
23139
|
+
attr_accessor :create_time
|
23140
|
+
|
23141
|
+
# An error produced by the tool call.
|
23142
|
+
# Corresponds to the JSON property `error`
|
23143
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError]
|
23144
|
+
attr_accessor :error
|
23145
|
+
|
23146
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
23147
|
+
# byte fields are base64 encoded).
|
23148
|
+
# Corresponds to the JSON property `rawContent`
|
23149
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
23150
|
+
# @return [String]
|
23151
|
+
attr_accessor :raw_content
|
23152
|
+
|
23153
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
23154
|
+
# tools/`.
|
23155
|
+
# Corresponds to the JSON property `tool`
|
23156
|
+
# @return [String]
|
23157
|
+
attr_accessor :tool
|
23158
|
+
|
23159
|
+
def initialize(**args)
|
23160
|
+
update!(**args)
|
23161
|
+
end
|
23162
|
+
|
23163
|
+
# Update properties of this object
|
23164
|
+
def update!(**args)
|
23165
|
+
@action = args[:action] if args.key?(:action)
|
23166
|
+
@content = args[:content] if args.key?(:content)
|
23167
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
23168
|
+
@error = args[:error] if args.key?(:error)
|
23169
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
23170
|
+
@tool = args[:tool] if args.key?(:tool)
|
23171
|
+
end
|
23172
|
+
end
|
23173
|
+
|
23174
|
+
# An error produced by the tool call.
|
23175
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
23176
|
+
include Google::Apis::Core::Hashable
|
23177
|
+
|
23178
|
+
# Optional. The error message of the function.
|
23179
|
+
# Corresponds to the JSON property `message`
|
23180
|
+
# @return [String]
|
23181
|
+
attr_accessor :message
|
23182
|
+
|
23183
|
+
def initialize(**args)
|
23184
|
+
update!(**args)
|
23185
|
+
end
|
23186
|
+
|
23187
|
+
# Update properties of this object
|
23188
|
+
def update!(**args)
|
23189
|
+
@message = args[:message] if args.key?(:message)
|
23190
|
+
end
|
23191
|
+
end
|
23192
|
+
|
22696
23193
|
# The request message for a webhook call.
|
22697
23194
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
22698
23195
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.98.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250325"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,12 @@ module Google
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
575
575
|
end
|
576
576
|
|
577
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
577
583
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
578
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
585
|
|
@@ -1042,6 +1048,12 @@ module Google
|
|
1042
1048
|
include Google::Apis::Core::JsonObjectSupport
|
1043
1049
|
end
|
1044
1050
|
|
1051
|
+
class GoogleCloudDialogflowCxV3beta1Event
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1053
|
+
|
1054
|
+
include Google::Apis::Core::JsonObjectSupport
|
1055
|
+
end
|
1056
|
+
|
1045
1057
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
1046
1058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
1059
|
|
@@ -1216,6 +1228,12 @@ module Google
|
|
1216
1228
|
include Google::Apis::Core::JsonObjectSupport
|
1217
1229
|
end
|
1218
1230
|
|
1231
|
+
class GoogleCloudDialogflowCxV3beta1FlowTransition
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1233
|
+
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
1235
|
+
end
|
1236
|
+
|
1219
1237
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
1220
1238
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
1239
|
|
@@ -1774,6 +1792,12 @@ module Google
|
|
1774
1792
|
include Google::Apis::Core::JsonObjectSupport
|
1775
1793
|
end
|
1776
1794
|
|
1795
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookTransition
|
1796
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1797
|
+
|
1798
|
+
include Google::Apis::Core::JsonObjectSupport
|
1799
|
+
end
|
1800
|
+
|
1777
1801
|
class GoogleCloudDialogflowCxV3beta1PlaybookVersion
|
1778
1802
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1779
1803
|
|
@@ -2374,6 +2398,12 @@ module Google
|
|
2374
2398
|
include Google::Apis::Core::JsonObjectSupport
|
2375
2399
|
end
|
2376
2400
|
|
2401
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
2402
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2403
|
+
|
2404
|
+
include Google::Apis::Core::JsonObjectSupport
|
2405
|
+
end
|
2406
|
+
|
2377
2407
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
2378
2408
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
2409
|
|
@@ -2584,6 +2614,12 @@ module Google
|
|
2584
2614
|
include Google::Apis::Core::JsonObjectSupport
|
2585
2615
|
end
|
2586
2616
|
|
2617
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
2618
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2619
|
+
|
2620
|
+
include Google::Apis::Core::JsonObjectSupport
|
2621
|
+
end
|
2622
|
+
|
2587
2623
|
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
2588
2624
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2589
2625
|
|
@@ -2980,6 +3016,24 @@ module Google
|
|
2980
3016
|
include Google::Apis::Core::JsonObjectSupport
|
2981
3017
|
end
|
2982
3018
|
|
3019
|
+
class GoogleCloudDialogflowV2ToolCall
|
3020
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3021
|
+
|
3022
|
+
include Google::Apis::Core::JsonObjectSupport
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
3026
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3027
|
+
|
3028
|
+
include Google::Apis::Core::JsonObjectSupport
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
3032
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3033
|
+
|
3034
|
+
include Google::Apis::Core::JsonObjectSupport
|
3035
|
+
end
|
3036
|
+
|
2983
3037
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
2984
3038
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2985
3039
|
|
@@ -3118,6 +3172,12 @@ module Google
|
|
3118
3172
|
include Google::Apis::Core::JsonObjectSupport
|
3119
3173
|
end
|
3120
3174
|
|
3175
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
3176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3177
|
+
|
3178
|
+
include Google::Apis::Core::JsonObjectSupport
|
3179
|
+
end
|
3180
|
+
|
3121
3181
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
3122
3182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3123
3183
|
|
@@ -3646,6 +3706,24 @@ module Google
|
|
3646
3706
|
include Google::Apis::Core::JsonObjectSupport
|
3647
3707
|
end
|
3648
3708
|
|
3709
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
3710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3711
|
+
|
3712
|
+
include Google::Apis::Core::JsonObjectSupport
|
3713
|
+
end
|
3714
|
+
|
3715
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
3716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3717
|
+
|
3718
|
+
include Google::Apis::Core::JsonObjectSupport
|
3719
|
+
end
|
3720
|
+
|
3721
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
3722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3723
|
+
|
3724
|
+
include Google::Apis::Core::JsonObjectSupport
|
3725
|
+
end
|
3726
|
+
|
3649
3727
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
3650
3728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3651
3729
|
|
@@ -4602,6 +4680,9 @@ module Google
|
|
4602
4680
|
property :password, as: 'password'
|
4603
4681
|
property :request_body, as: 'requestBody'
|
4604
4682
|
hash :request_headers, as: 'requestHeaders'
|
4683
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
4684
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
4685
|
+
|
4605
4686
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
4606
4687
|
property :uri, as: 'uri'
|
4607
4688
|
property :username, as: 'username'
|
@@ -4615,10 +4696,18 @@ module Google
|
|
4615
4696
|
property :client_id, as: 'clientId'
|
4616
4697
|
property :client_secret, as: 'clientSecret'
|
4617
4698
|
collection :scopes, as: 'scopes'
|
4699
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
4618
4700
|
property :token_endpoint, as: 'tokenEndpoint'
|
4619
4701
|
end
|
4620
4702
|
end
|
4621
4703
|
|
4704
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
4705
|
+
# @private
|
4706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4707
|
+
property :secret_version, as: 'secretVersion'
|
4708
|
+
end
|
4709
|
+
end
|
4710
|
+
|
4622
4711
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4623
4712
|
# @private
|
4624
4713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4719,10 +4808,16 @@ module Google
|
|
4719
4808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4720
4809
|
property :agent_utterance, as: 'agentUtterance', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance::Representation
|
4721
4810
|
|
4811
|
+
property :event, as: 'event', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event::Representation
|
4812
|
+
|
4722
4813
|
property :flow_invocation, as: 'flowInvocation', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation::Representation
|
4723
4814
|
|
4815
|
+
property :flow_transition, as: 'flowTransition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTransition::Representation
|
4816
|
+
|
4724
4817
|
property :playbook_invocation, as: 'playbookInvocation', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation::Representation
|
4725
4818
|
|
4819
|
+
property :playbook_transition, as: 'playbookTransition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition::Representation
|
4820
|
+
|
4726
4821
|
property :tool_use, as: 'toolUse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse::Representation
|
4727
4822
|
|
4728
4823
|
property :user_utterance, as: 'userUtterance', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance::Representation
|
@@ -5465,6 +5560,13 @@ module Google
|
|
5465
5560
|
end
|
5466
5561
|
end
|
5467
5562
|
|
5563
|
+
class GoogleCloudDialogflowCxV3beta1Event
|
5564
|
+
# @private
|
5565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5566
|
+
property :event, as: 'event'
|
5567
|
+
end
|
5568
|
+
end
|
5569
|
+
|
5468
5570
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
5469
5571
|
# @private
|
5470
5572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5767,6 +5869,14 @@ module Google
|
|
5767
5869
|
end
|
5768
5870
|
end
|
5769
5871
|
|
5872
|
+
class GoogleCloudDialogflowCxV3beta1FlowTransition
|
5873
|
+
# @private
|
5874
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5875
|
+
property :display_name, as: 'displayName'
|
5876
|
+
property :flow, as: 'flow'
|
5877
|
+
end
|
5878
|
+
end
|
5879
|
+
|
5770
5880
|
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
|
5771
5881
|
# @private
|
5772
5882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6634,6 +6744,7 @@ module Google
|
|
6634
6744
|
property :name, as: 'name'
|
6635
6745
|
collection :output_parameter_definitions, as: 'outputParameterDefinitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition::Representation
|
6636
6746
|
|
6747
|
+
property :playbook_type, as: 'playbookType'
|
6637
6748
|
collection :referenced_flows, as: 'referencedFlows'
|
6638
6749
|
collection :referenced_playbooks, as: 'referencedPlaybooks'
|
6639
6750
|
collection :referenced_tools, as: 'referencedTools'
|
@@ -6691,6 +6802,14 @@ module Google
|
|
6691
6802
|
end
|
6692
6803
|
end
|
6693
6804
|
|
6805
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookTransition
|
6806
|
+
# @private
|
6807
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6808
|
+
property :display_name, as: 'displayName'
|
6809
|
+
property :playbook, as: 'playbook'
|
6810
|
+
end
|
6811
|
+
end
|
6812
|
+
|
6694
6813
|
class GoogleCloudDialogflowCxV3beta1PlaybookVersion
|
6695
6814
|
# @private
|
6696
6815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7258,12 +7377,14 @@ module Google
|
|
7258
7377
|
property :api_key, as: 'apiKey'
|
7259
7378
|
property :key_name, as: 'keyName'
|
7260
7379
|
property :request_location, as: 'requestLocation'
|
7380
|
+
property :secret_version_for_api_key, as: 'secretVersionForApiKey'
|
7261
7381
|
end
|
7262
7382
|
end
|
7263
7383
|
|
7264
7384
|
class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
|
7265
7385
|
# @private
|
7266
7386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7387
|
+
property :secret_version_for_token, as: 'secretVersionForToken'
|
7267
7388
|
property :token, as: 'token'
|
7268
7389
|
end
|
7269
7390
|
end
|
@@ -7275,6 +7396,7 @@ module Google
|
|
7275
7396
|
property :client_secret, as: 'clientSecret'
|
7276
7397
|
property :oauth_grant_type, as: 'oauthGrantType'
|
7277
7398
|
collection :scopes, as: 'scopes'
|
7399
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
7278
7400
|
property :token_endpoint, as: 'tokenEndpoint'
|
7279
7401
|
end
|
7280
7402
|
end
|
@@ -7692,6 +7814,9 @@ module Google
|
|
7692
7814
|
property :password, as: 'password'
|
7693
7815
|
property :request_body, as: 'requestBody'
|
7694
7816
|
hash :request_headers, as: 'requestHeaders'
|
7817
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
7818
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
7819
|
+
|
7695
7820
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
7696
7821
|
property :uri, as: 'uri'
|
7697
7822
|
property :username, as: 'username'
|
@@ -7705,10 +7830,18 @@ module Google
|
|
7705
7830
|
property :client_id, as: 'clientId'
|
7706
7831
|
property :client_secret, as: 'clientSecret'
|
7707
7832
|
collection :scopes, as: 'scopes'
|
7833
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
7708
7834
|
property :token_endpoint, as: 'tokenEndpoint'
|
7709
7835
|
end
|
7710
7836
|
end
|
7711
7837
|
|
7838
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
7839
|
+
# @private
|
7840
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7841
|
+
property :secret_version, as: 'secretVersion'
|
7842
|
+
end
|
7843
|
+
end
|
7844
|
+
|
7712
7845
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
7713
7846
|
# @private
|
7714
7847
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8054,6 +8187,18 @@ module Google
|
|
8054
8187
|
|
8055
8188
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion::Representation
|
8056
8189
|
|
8190
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
|
8191
|
+
|
8192
|
+
end
|
8193
|
+
end
|
8194
|
+
|
8195
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
8196
|
+
# @private
|
8197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8198
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall::Representation
|
8199
|
+
|
8200
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult::Representation
|
8201
|
+
|
8057
8202
|
end
|
8058
8203
|
end
|
8059
8204
|
|
@@ -8752,6 +8897,36 @@ module Google
|
|
8752
8897
|
end
|
8753
8898
|
end
|
8754
8899
|
|
8900
|
+
class GoogleCloudDialogflowV2ToolCall
|
8901
|
+
# @private
|
8902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8903
|
+
property :action, as: 'action'
|
8904
|
+
property :create_time, as: 'createTime'
|
8905
|
+
hash :input_parameters, as: 'inputParameters'
|
8906
|
+
property :tool, as: 'tool'
|
8907
|
+
end
|
8908
|
+
end
|
8909
|
+
|
8910
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
8911
|
+
# @private
|
8912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8913
|
+
property :action, as: 'action'
|
8914
|
+
property :content, as: 'content'
|
8915
|
+
property :create_time, as: 'createTime'
|
8916
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError::Representation
|
8917
|
+
|
8918
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
8919
|
+
property :tool, as: 'tool'
|
8920
|
+
end
|
8921
|
+
end
|
8922
|
+
|
8923
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
8924
|
+
# @private
|
8925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8926
|
+
property :message, as: 'message'
|
8927
|
+
end
|
8928
|
+
end
|
8929
|
+
|
8755
8930
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
8756
8931
|
# @private
|
8757
8932
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8975,6 +9150,18 @@ module Google
|
|
8975
9150
|
|
8976
9151
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
|
8977
9152
|
|
9153
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
|
9154
|
+
|
9155
|
+
end
|
9156
|
+
end
|
9157
|
+
|
9158
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
9159
|
+
# @private
|
9160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9161
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall::Representation
|
9162
|
+
|
9163
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
|
9164
|
+
|
8978
9165
|
end
|
8979
9166
|
end
|
8980
9167
|
|
@@ -9895,6 +10082,36 @@ module Google
|
|
9895
10082
|
end
|
9896
10083
|
end
|
9897
10084
|
|
10085
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
10086
|
+
# @private
|
10087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10088
|
+
property :action, as: 'action'
|
10089
|
+
property :create_time, as: 'createTime'
|
10090
|
+
hash :input_parameters, as: 'inputParameters'
|
10091
|
+
property :tool, as: 'tool'
|
10092
|
+
end
|
10093
|
+
end
|
10094
|
+
|
10095
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
10096
|
+
# @private
|
10097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10098
|
+
property :action, as: 'action'
|
10099
|
+
property :content, as: 'content'
|
10100
|
+
property :create_time, as: 'createTime'
|
10101
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
|
10102
|
+
|
10103
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
10104
|
+
property :tool, as: 'tool'
|
10105
|
+
end
|
10106
|
+
end
|
10107
|
+
|
10108
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
10109
|
+
# @private
|
10110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10111
|
+
property :message, as: 'message'
|
10112
|
+
end
|
10113
|
+
end
|
10114
|
+
|
9898
10115
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
9899
10116
|
# @private
|
9900
10117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,6 +85,9 @@ module Google
|
|
85
85
|
# Lists information about the supported locations for this service.
|
86
86
|
# @param [String] name
|
87
87
|
# The resource that owns the locations collection, if applicable.
|
88
|
+
# @param [Array<String>, String] extra_location_types
|
89
|
+
# Optional. A list of extra location types that should be used as conditions for
|
90
|
+
# controlling the visibility of the locations.
|
88
91
|
# @param [String] filter
|
89
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
90
93
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -112,11 +115,12 @@ module Google
|
|
112
115
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
116
119
|
command = make_simple_command(:get, 'v3beta1/{+name}/locations', options)
|
117
120
|
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse::Representation
|
118
121
|
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse
|
119
122
|
command.params['name'] = name unless name.nil?
|
123
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
120
124
|
command.query['filter'] = filter unless filter.nil?
|
121
125
|
command.query['pageSize'] = page_size unless page_size.nil?
|
122
126
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.98.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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_v3beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.98.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|