Skip to content

Commit 273fed1

Browse files
feat: [google-cloud-dialogflow-cx] Add parameters to adjust LLM input and output token limit and temperature in v3beta1 API (#14697)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Add parameters to adjust LLM input and output token limit and temperature in v3beta1 API feat: add input and output parameters for Flows feat: Return Vertex search document metadata with a datastore response feat: add prompt security settings to the SDK feat: Add generators in fulfillment for v3beta and v3 feat: Add ToolVersion APIs docs: Update environment documentation to add support for ToolVersions feat: add Import/Export playbook functionality to client lib feat: add RestorePlaybookVersion functionality to client lib feat: enable unified tracing API docs: A comment for message `PlaybookInvocation` is changed docs: A comment for message `FlowInvocation` is changed docs: A comment for field `flow` in message `.google.cloud.dialogflow.cx.v3beta1.FlowInvocation` is changed feat: support using secret manager to manage tool/webhook credentials feat: add Event action to Examples feat: add routine and task (existing) playbook types fix!: An existing message `PlaybookInput` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `PlaybookOutput` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `Action` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `UserUtterance` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `AgentUtterance` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `ToolUse` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `PlaybookInvocation` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing message `FlowInvocation` is moved from `google/cloud/dialogflow/cx/v3beta1/example.proto` to `google/cloud/dialogflow/cx/v3beta1/trace.proto` fix!: An existing value `JSON` is removed from enum `DataFormat` END_COMMIT_OVERRIDE PiperOrigin-RevId: 817327474 Source-Link: googleapis/googleapis@8dc86c1 Source-Link: googleapis/googleapis-gen@a3b7135 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6ImEzYjcxMzU1MWQ2M2JiNGIwMWIzMTMyMTdiMjA2YWJjNDdkYzVhMTQifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent accb1e5 commit 273fed1

File tree

70 files changed

+9529
-2239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+9529
-2239
lines changed

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.43.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.43.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/__init__.py

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,13 @@
145145
UpdateEnvironmentRequest,
146146
)
147147
from .types.example import (
148-
Action,
149-
AgentUtterance,
150148
CreateExampleRequest,
151149
DeleteExampleRequest,
152150
Example,
153-
FlowInvocation,
154151
GetExampleRequest,
155152
ListExamplesRequest,
156153
ListExamplesResponse,
157-
OutputState,
158-
PlaybookInput,
159-
PlaybookInvocation,
160-
PlaybookOutput,
161-
ToolUse,
162154
UpdateExampleRequest,
163-
UserUtterance,
164155
)
165156
from .types.experiment import (
166157
CreateExperimentRequest,
@@ -240,21 +231,33 @@
240231
TransitionRoute,
241232
UpdatePageRequest,
242233
)
243-
from .types.parameter_definition import ParameterDefinition
234+
from .types.parameter_definition import (
235+
DataType,
236+
InlineSchema,
237+
ParameterDefinition,
238+
TypeSchema,
239+
)
244240
from .types.playbook import (
245241
CreatePlaybookRequest,
246242
CreatePlaybookVersionRequest,
247243
DeletePlaybookRequest,
248244
DeletePlaybookVersionRequest,
245+
ExportPlaybookRequest,
246+
ExportPlaybookResponse,
249247
GetPlaybookRequest,
250248
GetPlaybookVersionRequest,
251249
Handler,
250+
ImportPlaybookRequest,
251+
ImportPlaybookResponse,
252252
ListPlaybooksRequest,
253253
ListPlaybooksResponse,
254254
ListPlaybookVersionsRequest,
255255
ListPlaybookVersionsResponse,
256256
Playbook,
257+
PlaybookImportStrategy,
257258
PlaybookVersion,
259+
RestorePlaybookVersionRequest,
260+
RestorePlaybookVersionResponse,
258261
UpdatePlaybookRequest,
259262
)
260263
from .types.response_message import ResponseMessage
@@ -363,6 +366,26 @@
363366
UpdateToolRequest,
364367
)
365368
from .types.tool_call import ToolCall, ToolCallResult
369+
from .types.trace import (
370+
Action,
371+
AgentUtterance,
372+
Event,
373+
ExceptionDetail,
374+
FlowInvocation,
375+
FlowTransition,
376+
LlmCall,
377+
NamedMetric,
378+
OutputState,
379+
PlaybookInput,
380+
PlaybookInvocation,
381+
PlaybookOutput,
382+
PlaybookTransition,
383+
RetrievalStrategy,
384+
Span,
385+
Status,
386+
ToolUse,
387+
UserUtterance,
388+
)
366389
from .types.transition_route_group import (
367390
CreateTransitionRouteGroupRequest,
368391
DeleteTransitionRouteGroupRequest,
@@ -474,6 +497,7 @@
474497
"DataStoreConnection",
475498
"DataStoreConnectionSignals",
476499
"DataStoreType",
500+
"DataType",
477501
"DeleteAgentRequest",
478502
"DeleteConversationRequest",
479503
"DeleteEntityTypeRequest",
@@ -506,10 +530,12 @@
506530
"EntityTypesClient",
507531
"Environment",
508532
"EnvironmentsClient",
533+
"Event",
509534
"EventHandler",
510535
"EventInput",
511536
"Example",
512537
"ExamplesClient",
538+
"ExceptionDetail",
513539
"Experiment",
514540
"ExperimentsClient",
515541
"ExportAgentRequest",
@@ -522,6 +548,8 @@
522548
"ExportIntentsMetadata",
523549
"ExportIntentsRequest",
524550
"ExportIntentsResponse",
551+
"ExportPlaybookRequest",
552+
"ExportPlaybookResponse",
525553
"ExportTestCasesMetadata",
526554
"ExportTestCasesRequest",
527555
"ExportTestCasesResponse",
@@ -532,6 +560,7 @@
532560
"Flow",
533561
"FlowImportStrategy",
534562
"FlowInvocation",
563+
"FlowTransition",
535564
"FlowValidationResult",
536565
"FlowsClient",
537566
"Form",
@@ -578,11 +607,14 @@
578607
"ImportIntentsMetadata",
579608
"ImportIntentsRequest",
580609
"ImportIntentsResponse",
610+
"ImportPlaybookRequest",
611+
"ImportPlaybookResponse",
581612
"ImportStrategy",
582613
"ImportTestCasesMetadata",
583614
"ImportTestCasesRequest",
584615
"ImportTestCasesResponse",
585616
"InlineDestination",
617+
"InlineSchema",
586618
"InlineSource",
587619
"InputAudioConfig",
588620
"Intent",
@@ -640,13 +672,15 @@
640672
"ListVersionsResponse",
641673
"ListWebhooksRequest",
642674
"ListWebhooksResponse",
675+
"LlmCall",
643676
"LlmModelSettings",
644677
"LoadVersionRequest",
645678
"LookupEnvironmentHistoryRequest",
646679
"LookupEnvironmentHistoryResponse",
647680
"Match",
648681
"MatchIntentRequest",
649682
"MatchIntentResponse",
683+
"NamedMetric",
650684
"NluSettings",
651685
"OutputAudioConfig",
652686
"OutputAudioEncoding",
@@ -657,9 +691,11 @@
657691
"ParameterDefinition",
658692
"Phrase",
659693
"Playbook",
694+
"PlaybookImportStrategy",
660695
"PlaybookInput",
661696
"PlaybookInvocation",
662697
"PlaybookOutput",
698+
"PlaybookTransition",
663699
"PlaybookVersion",
664700
"PlaybooksClient",
665701
"QueryInput",
@@ -668,8 +704,11 @@
668704
"ResourceName",
669705
"ResponseMessage",
670706
"RestoreAgentRequest",
707+
"RestorePlaybookVersionRequest",
708+
"RestorePlaybookVersionResponse",
671709
"RestoreToolVersionRequest",
672710
"RestoreToolVersionResponse",
711+
"RetrievalStrategy",
673712
"RolloutConfig",
674713
"RolloutState",
675714
"RunContinuousTestMetadata",
@@ -687,11 +726,13 @@
687726
"SessionEntityTypesClient",
688727
"SessionInfo",
689728
"SessionsClient",
729+
"Span",
690730
"SpeechModelVariant",
691731
"SpeechToTextSettings",
692732
"SpeechWordInfo",
693733
"SsmlVoiceGender",
694734
"StartExperimentRequest",
735+
"Status",
695736
"StopExperimentRequest",
696737
"StreamingDetectIntentRequest",
697738
"StreamingDetectIntentResponse",
@@ -720,6 +761,7 @@
720761
"TransitionRouteGroup",
721762
"TransitionRouteGroupCoverage",
722763
"TransitionRouteGroupsClient",
764+
"TypeSchema",
723765
"UpdateAgentRequest",
724766
"UpdateEntityTypeRequest",
725767
"UpdateEnvironmentRequest",

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/gapic_metadata.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,11 @@
13531353
"delete_playbook_version"
13541354
]
13551355
},
1356+
"ExportPlaybook": {
1357+
"methods": [
1358+
"export_playbook"
1359+
]
1360+
},
13561361
"GetPlaybook": {
13571362
"methods": [
13581363
"get_playbook"
@@ -1363,6 +1368,11 @@
13631368
"get_playbook_version"
13641369
]
13651370
},
1371+
"ImportPlaybook": {
1372+
"methods": [
1373+
"import_playbook"
1374+
]
1375+
},
13661376
"ListPlaybookVersions": {
13671377
"methods": [
13681378
"list_playbook_versions"
@@ -1373,6 +1383,11 @@
13731383
"list_playbooks"
13741384
]
13751385
},
1386+
"RestorePlaybookVersion": {
1387+
"methods": [
1388+
"restore_playbook_version"
1389+
]
1390+
},
13761391
"UpdatePlaybook": {
13771392
"methods": [
13781393
"update_playbook"
@@ -1403,6 +1418,11 @@
14031418
"delete_playbook_version"
14041419
]
14051420
},
1421+
"ExportPlaybook": {
1422+
"methods": [
1423+
"export_playbook"
1424+
]
1425+
},
14061426
"GetPlaybook": {
14071427
"methods": [
14081428
"get_playbook"
@@ -1413,6 +1433,11 @@
14131433
"get_playbook_version"
14141434
]
14151435
},
1436+
"ImportPlaybook": {
1437+
"methods": [
1438+
"import_playbook"
1439+
]
1440+
},
14161441
"ListPlaybookVersions": {
14171442
"methods": [
14181443
"list_playbook_versions"
@@ -1423,6 +1448,11 @@
14231448
"list_playbooks"
14241449
]
14251450
},
1451+
"RestorePlaybookVersion": {
1452+
"methods": [
1453+
"restore_playbook_version"
1454+
]
1455+
},
14261456
"UpdatePlaybook": {
14271457
"methods": [
14281458
"update_playbook"
@@ -1453,6 +1483,11 @@
14531483
"delete_playbook_version"
14541484
]
14551485
},
1486+
"ExportPlaybook": {
1487+
"methods": [
1488+
"export_playbook"
1489+
]
1490+
},
14561491
"GetPlaybook": {
14571492
"methods": [
14581493
"get_playbook"
@@ -1463,6 +1498,11 @@
14631498
"get_playbook_version"
14641499
]
14651500
},
1501+
"ImportPlaybook": {
1502+
"methods": [
1503+
"import_playbook"
1504+
]
1505+
},
14661506
"ListPlaybookVersions": {
14671507
"methods": [
14681508
"list_playbook_versions"
@@ -1473,6 +1513,11 @@
14731513
"list_playbooks"
14741514
]
14751515
},
1516+
"RestorePlaybookVersion": {
1517+
"methods": [
1518+
"restore_playbook_version"
1519+
]
1520+
},
14761521
"UpdatePlaybook": {
14771522
"methods": [
14781523
"update_playbook"

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.43.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/services/conversation_history/async_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,18 @@ class ConversationHistoryAsyncClient:
104104
parse_example_path = staticmethod(ConversationHistoryClient.parse_example_path)
105105
flow_path = staticmethod(ConversationHistoryClient.flow_path)
106106
parse_flow_path = staticmethod(ConversationHistoryClient.parse_flow_path)
107+
generator_path = staticmethod(ConversationHistoryClient.generator_path)
108+
parse_generator_path = staticmethod(ConversationHistoryClient.parse_generator_path)
107109
intent_path = staticmethod(ConversationHistoryClient.intent_path)
108110
parse_intent_path = staticmethod(ConversationHistoryClient.parse_intent_path)
109111
page_path = staticmethod(ConversationHistoryClient.page_path)
110112
parse_page_path = staticmethod(ConversationHistoryClient.parse_page_path)
111113
playbook_path = staticmethod(ConversationHistoryClient.playbook_path)
112114
parse_playbook_path = staticmethod(ConversationHistoryClient.parse_playbook_path)
115+
secret_version_path = staticmethod(ConversationHistoryClient.secret_version_path)
116+
parse_secret_version_path = staticmethod(
117+
ConversationHistoryClient.parse_secret_version_path
118+
)
113119
service_path = staticmethod(ConversationHistoryClient.service_path)
114120
parse_service_path = staticmethod(ConversationHistoryClient.parse_service_path)
115121
session_path = staticmethod(ConversationHistoryClient.session_path)

0 commit comments

Comments
 (0)