pulumi-gcp 8.30.1a1747132587__py3-none-any.whl → 8.31.0__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +8 -0
- pulumi_gcp/alloydb/_inputs.py +164 -0
- pulumi_gcp/alloydb/outputs.py +211 -0
- pulumi_gcp/apigee/_inputs.py +20 -0
- pulumi_gcp/apigee/outputs.py +12 -0
- pulumi_gcp/bigquery/routine.py +56 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificateauthority/_inputs.py +20 -19
- pulumi_gcp/certificateauthority/authority.py +70 -0
- pulumi_gcp/certificateauthority/outputs.py +12 -11
- pulumi_gcp/cloudfunctionsv2/function.py +4 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +312 -0
- pulumi_gcp/compute/cross_site_network.py +374 -0
- pulumi_gcp/compute/get_health_check.py +12 -1
- pulumi_gcp/compute/health_check.py +120 -0
- pulumi_gcp/compute/outputs.py +353 -0
- pulumi_gcp/compute/region_health_check.py +120 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataproc/get_metastore_service.py +1 -12
- pulumi_gcp/dataproc/metastore_service.py +0 -61
- pulumi_gcp/diagflow/_inputs.py +6280 -2644
- pulumi_gcp/diagflow/cx_flow.py +304 -0
- pulumi_gcp/diagflow/cx_page.py +290 -0
- pulumi_gcp/diagflow/outputs.py +4616 -1862
- pulumi_gcp/netapp/backup.py +56 -0
- pulumi_gcp/netapp/backup_vault.py +185 -0
- pulumi_gcp/netapp/storage_pool.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +47 -0
- pulumi_gcp/networkconnectivity/regional_endpoint.py +13 -13
- pulumi_gcp/networkservices/_inputs.py +43 -0
- pulumi_gcp/networkservices/edge_cache_origin.py +61 -0
- pulumi_gcp/networkservices/outputs.py +43 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +1 -12
- pulumi_gcp/redis/instance.py +0 -61
- pulumi_gcp/spanner/database.py +56 -0
- pulumi_gcp/spanner/get_database.py +12 -1
- pulumi_gcp/storage/bucket.py +4 -4
- pulumi_gcp/storage/get_bucket_object_content.py +29 -1
- {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/RECORD +45 -44
- {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/diagflow/cx_flow.py
CHANGED
@@ -27,6 +27,7 @@ class CxFlowArgs:
|
|
27
27
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
28
28
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]] = None,
|
29
29
|
is_default_start_flow: Optional[pulumi.Input[builtins.bool]] = None,
|
30
|
+
knowledge_connector_settings: Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']] = None,
|
30
31
|
language_code: Optional[pulumi.Input[builtins.str]] = None,
|
31
32
|
nlu_settings: Optional[pulumi.Input['CxFlowNluSettingsArgs']] = None,
|
32
33
|
parent: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -51,6 +52,8 @@ class CxFlowArgs:
|
|
51
52
|
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
52
53
|
|
53
54
|
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
55
|
+
:param pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs'] knowledge_connector_settings: Knowledge connector configuration.
|
56
|
+
Structure is documented below.
|
54
57
|
:param pulumi.Input[builtins.str] language_code: The language of the following fields in flow:
|
55
58
|
Flow.event_handlers.trigger_fulfillment.messages
|
56
59
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -83,6 +86,8 @@ class CxFlowArgs:
|
|
83
86
|
pulumi.set(__self__, "event_handlers", event_handlers)
|
84
87
|
if is_default_start_flow is not None:
|
85
88
|
pulumi.set(__self__, "is_default_start_flow", is_default_start_flow)
|
89
|
+
if knowledge_connector_settings is not None:
|
90
|
+
pulumi.set(__self__, "knowledge_connector_settings", knowledge_connector_settings)
|
86
91
|
if language_code is not None:
|
87
92
|
pulumi.set(__self__, "language_code", language_code)
|
88
93
|
if nlu_settings is not None:
|
@@ -166,6 +171,19 @@ class CxFlowArgs:
|
|
166
171
|
def is_default_start_flow(self, value: Optional[pulumi.Input[builtins.bool]]):
|
167
172
|
pulumi.set(self, "is_default_start_flow", value)
|
168
173
|
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="knowledgeConnectorSettings")
|
176
|
+
def knowledge_connector_settings(self) -> Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']]:
|
177
|
+
"""
|
178
|
+
Knowledge connector configuration.
|
179
|
+
Structure is documented below.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "knowledge_connector_settings")
|
182
|
+
|
183
|
+
@knowledge_connector_settings.setter
|
184
|
+
def knowledge_connector_settings(self, value: Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']]):
|
185
|
+
pulumi.set(self, "knowledge_connector_settings", value)
|
186
|
+
|
169
187
|
@property
|
170
188
|
@pulumi.getter(name="languageCode")
|
171
189
|
def language_code(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -252,6 +270,7 @@ class _CxFlowState:
|
|
252
270
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
253
271
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]] = None,
|
254
272
|
is_default_start_flow: Optional[pulumi.Input[builtins.bool]] = None,
|
273
|
+
knowledge_connector_settings: Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']] = None,
|
255
274
|
language_code: Optional[pulumi.Input[builtins.str]] = None,
|
256
275
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
257
276
|
nlu_settings: Optional[pulumi.Input['CxFlowNluSettingsArgs']] = None,
|
@@ -277,6 +296,8 @@ class _CxFlowState:
|
|
277
296
|
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
278
297
|
|
279
298
|
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
299
|
+
:param pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs'] knowledge_connector_settings: Knowledge connector configuration.
|
300
|
+
Structure is documented below.
|
280
301
|
:param pulumi.Input[builtins.str] language_code: The language of the following fields in flow:
|
281
302
|
Flow.event_handlers.trigger_fulfillment.messages
|
282
303
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -312,6 +333,8 @@ class _CxFlowState:
|
|
312
333
|
pulumi.set(__self__, "event_handlers", event_handlers)
|
313
334
|
if is_default_start_flow is not None:
|
314
335
|
pulumi.set(__self__, "is_default_start_flow", is_default_start_flow)
|
336
|
+
if knowledge_connector_settings is not None:
|
337
|
+
pulumi.set(__self__, "knowledge_connector_settings", knowledge_connector_settings)
|
315
338
|
if language_code is not None:
|
316
339
|
pulumi.set(__self__, "language_code", language_code)
|
317
340
|
if name is not None:
|
@@ -397,6 +420,19 @@ class _CxFlowState:
|
|
397
420
|
def is_default_start_flow(self, value: Optional[pulumi.Input[builtins.bool]]):
|
398
421
|
pulumi.set(self, "is_default_start_flow", value)
|
399
422
|
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="knowledgeConnectorSettings")
|
425
|
+
def knowledge_connector_settings(self) -> Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']]:
|
426
|
+
"""
|
427
|
+
Knowledge connector configuration.
|
428
|
+
Structure is documented below.
|
429
|
+
"""
|
430
|
+
return pulumi.get(self, "knowledge_connector_settings")
|
431
|
+
|
432
|
+
@knowledge_connector_settings.setter
|
433
|
+
def knowledge_connector_settings(self, value: Optional[pulumi.Input['CxFlowKnowledgeConnectorSettingsArgs']]):
|
434
|
+
pulumi.set(self, "knowledge_connector_settings", value)
|
435
|
+
|
400
436
|
@property
|
401
437
|
@pulumi.getter(name="languageCode")
|
402
438
|
def language_code(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -499,6 +535,7 @@ class CxFlow(pulumi.CustomResource):
|
|
499
535
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
500
536
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxFlowEventHandlerArgs', 'CxFlowEventHandlerArgsDict']]]]] = None,
|
501
537
|
is_default_start_flow: Optional[pulumi.Input[builtins.bool]] = None,
|
538
|
+
knowledge_connector_settings: Optional[pulumi.Input[Union['CxFlowKnowledgeConnectorSettingsArgs', 'CxFlowKnowledgeConnectorSettingsArgsDict']]] = None,
|
502
539
|
language_code: Optional[pulumi.Input[builtins.str]] = None,
|
503
540
|
nlu_settings: Optional[pulumi.Input[Union['CxFlowNluSettingsArgs', 'CxFlowNluSettingsArgsDict']]] = None,
|
504
541
|
parent: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -611,6 +648,20 @@ class CxFlow(pulumi.CustomResource):
|
|
611
648
|
name="dialogflowcx-bucket",
|
612
649
|
location="US",
|
613
650
|
uniform_bucket_level_access=True)
|
651
|
+
my_datastore = gcp.discoveryengine.DataStore("my_datastore",
|
652
|
+
location="global",
|
653
|
+
data_store_id="datastore-flow-full",
|
654
|
+
display_name="datastore-flow-full",
|
655
|
+
industry_vertical="GENERIC",
|
656
|
+
content_config="NO_CONTENT",
|
657
|
+
solution_types=["SOLUTION_TYPE_CHAT"])
|
658
|
+
my_webhook = gcp.diagflow.CxWebhook("my_webhook",
|
659
|
+
parent=agent.id,
|
660
|
+
display_name="MyWebhook",
|
661
|
+
generic_web_service={
|
662
|
+
"uri": "https://example.com",
|
663
|
+
})
|
664
|
+
project = gcp.organizations.get_project()
|
614
665
|
basic_flow = gcp.diagflow.CxFlow("basic_flow",
|
615
666
|
parent=agent.id,
|
616
667
|
display_name="MyFlow",
|
@@ -879,6 +930,117 @@ class CxFlow(pulumi.CustomResource):
|
|
879
930
|
"enable_interaction_logging": True,
|
880
931
|
"enable_consent_based_redaction": True,
|
881
932
|
},
|
933
|
+
},
|
934
|
+
knowledge_connector_settings={
|
935
|
+
"enabled": True,
|
936
|
+
"trigger_fulfillment": {
|
937
|
+
"messages": [
|
938
|
+
{
|
939
|
+
"channel": "some-channel",
|
940
|
+
"text": {
|
941
|
+
"texts": ["information completed, navigating to page 2"],
|
942
|
+
},
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"payload": " {\\"some-key\\": \\"some-value\\", \\"other-key\\": [\\"other-value\\"]}\\n",
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"conversation_success": {
|
949
|
+
"metadata": " {\\"some-metadata-key\\": \\"some-value\\", \\"other-metadata-key\\": 1234}\\n",
|
950
|
+
},
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"output_audio_text": {
|
954
|
+
"text": "some output text",
|
955
|
+
},
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"output_audio_text": {
|
959
|
+
"ssml": " <speak>Some example <say-as interpret-as=\\"characters\\">SSML XML</say-as></speak>\\n",
|
960
|
+
},
|
961
|
+
},
|
962
|
+
{
|
963
|
+
"live_agent_handoff": {
|
964
|
+
"metadata": " {\\"some-metadata-key\\": \\"some-value\\", \\"other-metadata-key\\": 1234}\\n",
|
965
|
+
},
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"play_audio": {
|
969
|
+
"audio_uri": "http://example.com/some-audio-file.mp3",
|
970
|
+
},
|
971
|
+
},
|
972
|
+
{
|
973
|
+
"telephony_transfer_call": {
|
974
|
+
"phone_number": "1-234-567-8902",
|
975
|
+
},
|
976
|
+
},
|
977
|
+
],
|
978
|
+
"webhook": my_webhook.id,
|
979
|
+
"return_partial_responses": True,
|
980
|
+
"tag": "some-tag",
|
981
|
+
"set_parameter_actions": [{
|
982
|
+
"parameter": "some-param",
|
983
|
+
"value": "123.45",
|
984
|
+
}],
|
985
|
+
"conditional_cases": [{
|
986
|
+
"cases": json.dumps([
|
987
|
+
{
|
988
|
+
"condition": "$sys.func.RAND() < 0.5",
|
989
|
+
"caseContent": [{
|
990
|
+
"message": {
|
991
|
+
"text": {
|
992
|
+
"text": ["First case"],
|
993
|
+
},
|
994
|
+
},
|
995
|
+
}],
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"caseContent": [{
|
999
|
+
"message": {
|
1000
|
+
"text": {
|
1001
|
+
"text": ["Final case"],
|
1002
|
+
},
|
1003
|
+
},
|
1004
|
+
}],
|
1005
|
+
},
|
1006
|
+
]),
|
1007
|
+
}],
|
1008
|
+
"advanced_settings": {
|
1009
|
+
"speech_settings": {
|
1010
|
+
"endpointer_sensitivity": 30,
|
1011
|
+
"no_speech_timeout": "3.500s",
|
1012
|
+
"use_timeout_based_endpointing": True,
|
1013
|
+
"models": {
|
1014
|
+
"name": "wrench",
|
1015
|
+
"mass": "1.3kg",
|
1016
|
+
"count": "3",
|
1017
|
+
},
|
1018
|
+
},
|
1019
|
+
"dtmf_settings": {
|
1020
|
+
"enabled": True,
|
1021
|
+
"max_digits": 1,
|
1022
|
+
"finish_digit": "#",
|
1023
|
+
"interdigit_timeout_duration": "3.500s",
|
1024
|
+
"endpointing_timeout_duration": "3.500s",
|
1025
|
+
},
|
1026
|
+
"logging_settings": {
|
1027
|
+
"enable_stackdriver_logging": True,
|
1028
|
+
"enable_interaction_logging": True,
|
1029
|
+
"enable_consent_based_redaction": True,
|
1030
|
+
},
|
1031
|
+
},
|
1032
|
+
"enable_generative_fallback": True,
|
1033
|
+
},
|
1034
|
+
"data_store_connections": [{
|
1035
|
+
"data_store_type": "UNSTRUCTURED",
|
1036
|
+
"data_store": pulumi.Output.all(
|
1037
|
+
location=agent.location,
|
1038
|
+
data_store_id=my_datastore.data_store_id
|
1039
|
+
).apply(lambda resolved_outputs: f"projects/{project.number}/locations/{resolved_outputs['location']}/collections/default_collection/dataStores/{resolved_outputs['data_store_id']}")
|
1040
|
+
,
|
1041
|
+
"document_processing_mode": "DOCUMENTS",
|
1042
|
+
}],
|
1043
|
+
"target_flow": agent.start_flow,
|
882
1044
|
})
|
883
1045
|
```
|
884
1046
|
|
@@ -919,6 +1081,8 @@ class CxFlow(pulumi.CustomResource):
|
|
919
1081
|
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
920
1082
|
|
921
1083
|
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
1084
|
+
:param pulumi.Input[Union['CxFlowKnowledgeConnectorSettingsArgs', 'CxFlowKnowledgeConnectorSettingsArgsDict']] knowledge_connector_settings: Knowledge connector configuration.
|
1085
|
+
Structure is documented below.
|
922
1086
|
:param pulumi.Input[builtins.str] language_code: The language of the following fields in flow:
|
923
1087
|
Flow.event_handlers.trigger_fulfillment.messages
|
924
1088
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -1054,6 +1218,20 @@ class CxFlow(pulumi.CustomResource):
|
|
1054
1218
|
name="dialogflowcx-bucket",
|
1055
1219
|
location="US",
|
1056
1220
|
uniform_bucket_level_access=True)
|
1221
|
+
my_datastore = gcp.discoveryengine.DataStore("my_datastore",
|
1222
|
+
location="global",
|
1223
|
+
data_store_id="datastore-flow-full",
|
1224
|
+
display_name="datastore-flow-full",
|
1225
|
+
industry_vertical="GENERIC",
|
1226
|
+
content_config="NO_CONTENT",
|
1227
|
+
solution_types=["SOLUTION_TYPE_CHAT"])
|
1228
|
+
my_webhook = gcp.diagflow.CxWebhook("my_webhook",
|
1229
|
+
parent=agent.id,
|
1230
|
+
display_name="MyWebhook",
|
1231
|
+
generic_web_service={
|
1232
|
+
"uri": "https://example.com",
|
1233
|
+
})
|
1234
|
+
project = gcp.organizations.get_project()
|
1057
1235
|
basic_flow = gcp.diagflow.CxFlow("basic_flow",
|
1058
1236
|
parent=agent.id,
|
1059
1237
|
display_name="MyFlow",
|
@@ -1322,6 +1500,117 @@ class CxFlow(pulumi.CustomResource):
|
|
1322
1500
|
"enable_interaction_logging": True,
|
1323
1501
|
"enable_consent_based_redaction": True,
|
1324
1502
|
},
|
1503
|
+
},
|
1504
|
+
knowledge_connector_settings={
|
1505
|
+
"enabled": True,
|
1506
|
+
"trigger_fulfillment": {
|
1507
|
+
"messages": [
|
1508
|
+
{
|
1509
|
+
"channel": "some-channel",
|
1510
|
+
"text": {
|
1511
|
+
"texts": ["information completed, navigating to page 2"],
|
1512
|
+
},
|
1513
|
+
},
|
1514
|
+
{
|
1515
|
+
"payload": " {\\"some-key\\": \\"some-value\\", \\"other-key\\": [\\"other-value\\"]}\\n",
|
1516
|
+
},
|
1517
|
+
{
|
1518
|
+
"conversation_success": {
|
1519
|
+
"metadata": " {\\"some-metadata-key\\": \\"some-value\\", \\"other-metadata-key\\": 1234}\\n",
|
1520
|
+
},
|
1521
|
+
},
|
1522
|
+
{
|
1523
|
+
"output_audio_text": {
|
1524
|
+
"text": "some output text",
|
1525
|
+
},
|
1526
|
+
},
|
1527
|
+
{
|
1528
|
+
"output_audio_text": {
|
1529
|
+
"ssml": " <speak>Some example <say-as interpret-as=\\"characters\\">SSML XML</say-as></speak>\\n",
|
1530
|
+
},
|
1531
|
+
},
|
1532
|
+
{
|
1533
|
+
"live_agent_handoff": {
|
1534
|
+
"metadata": " {\\"some-metadata-key\\": \\"some-value\\", \\"other-metadata-key\\": 1234}\\n",
|
1535
|
+
},
|
1536
|
+
},
|
1537
|
+
{
|
1538
|
+
"play_audio": {
|
1539
|
+
"audio_uri": "http://example.com/some-audio-file.mp3",
|
1540
|
+
},
|
1541
|
+
},
|
1542
|
+
{
|
1543
|
+
"telephony_transfer_call": {
|
1544
|
+
"phone_number": "1-234-567-8902",
|
1545
|
+
},
|
1546
|
+
},
|
1547
|
+
],
|
1548
|
+
"webhook": my_webhook.id,
|
1549
|
+
"return_partial_responses": True,
|
1550
|
+
"tag": "some-tag",
|
1551
|
+
"set_parameter_actions": [{
|
1552
|
+
"parameter": "some-param",
|
1553
|
+
"value": "123.45",
|
1554
|
+
}],
|
1555
|
+
"conditional_cases": [{
|
1556
|
+
"cases": json.dumps([
|
1557
|
+
{
|
1558
|
+
"condition": "$sys.func.RAND() < 0.5",
|
1559
|
+
"caseContent": [{
|
1560
|
+
"message": {
|
1561
|
+
"text": {
|
1562
|
+
"text": ["First case"],
|
1563
|
+
},
|
1564
|
+
},
|
1565
|
+
}],
|
1566
|
+
},
|
1567
|
+
{
|
1568
|
+
"caseContent": [{
|
1569
|
+
"message": {
|
1570
|
+
"text": {
|
1571
|
+
"text": ["Final case"],
|
1572
|
+
},
|
1573
|
+
},
|
1574
|
+
}],
|
1575
|
+
},
|
1576
|
+
]),
|
1577
|
+
}],
|
1578
|
+
"advanced_settings": {
|
1579
|
+
"speech_settings": {
|
1580
|
+
"endpointer_sensitivity": 30,
|
1581
|
+
"no_speech_timeout": "3.500s",
|
1582
|
+
"use_timeout_based_endpointing": True,
|
1583
|
+
"models": {
|
1584
|
+
"name": "wrench",
|
1585
|
+
"mass": "1.3kg",
|
1586
|
+
"count": "3",
|
1587
|
+
},
|
1588
|
+
},
|
1589
|
+
"dtmf_settings": {
|
1590
|
+
"enabled": True,
|
1591
|
+
"max_digits": 1,
|
1592
|
+
"finish_digit": "#",
|
1593
|
+
"interdigit_timeout_duration": "3.500s",
|
1594
|
+
"endpointing_timeout_duration": "3.500s",
|
1595
|
+
},
|
1596
|
+
"logging_settings": {
|
1597
|
+
"enable_stackdriver_logging": True,
|
1598
|
+
"enable_interaction_logging": True,
|
1599
|
+
"enable_consent_based_redaction": True,
|
1600
|
+
},
|
1601
|
+
},
|
1602
|
+
"enable_generative_fallback": True,
|
1603
|
+
},
|
1604
|
+
"data_store_connections": [{
|
1605
|
+
"data_store_type": "UNSTRUCTURED",
|
1606
|
+
"data_store": pulumi.Output.all(
|
1607
|
+
location=agent.location,
|
1608
|
+
data_store_id=my_datastore.data_store_id
|
1609
|
+
).apply(lambda resolved_outputs: f"projects/{project.number}/locations/{resolved_outputs['location']}/collections/default_collection/dataStores/{resolved_outputs['data_store_id']}")
|
1610
|
+
,
|
1611
|
+
"document_processing_mode": "DOCUMENTS",
|
1612
|
+
}],
|
1613
|
+
"target_flow": agent.start_flow,
|
1325
1614
|
})
|
1326
1615
|
```
|
1327
1616
|
|
@@ -1363,6 +1652,7 @@ class CxFlow(pulumi.CustomResource):
|
|
1363
1652
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
1364
1653
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxFlowEventHandlerArgs', 'CxFlowEventHandlerArgsDict']]]]] = None,
|
1365
1654
|
is_default_start_flow: Optional[pulumi.Input[builtins.bool]] = None,
|
1655
|
+
knowledge_connector_settings: Optional[pulumi.Input[Union['CxFlowKnowledgeConnectorSettingsArgs', 'CxFlowKnowledgeConnectorSettingsArgsDict']]] = None,
|
1366
1656
|
language_code: Optional[pulumi.Input[builtins.str]] = None,
|
1367
1657
|
nlu_settings: Optional[pulumi.Input[Union['CxFlowNluSettingsArgs', 'CxFlowNluSettingsArgsDict']]] = None,
|
1368
1658
|
parent: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1384,6 +1674,7 @@ class CxFlow(pulumi.CustomResource):
|
|
1384
1674
|
__props__.__dict__["display_name"] = display_name
|
1385
1675
|
__props__.__dict__["event_handlers"] = event_handlers
|
1386
1676
|
__props__.__dict__["is_default_start_flow"] = is_default_start_flow
|
1677
|
+
__props__.__dict__["knowledge_connector_settings"] = knowledge_connector_settings
|
1387
1678
|
__props__.__dict__["language_code"] = language_code
|
1388
1679
|
__props__.__dict__["nlu_settings"] = nlu_settings
|
1389
1680
|
__props__.__dict__["parent"] = parent
|
@@ -1405,6 +1696,7 @@ class CxFlow(pulumi.CustomResource):
|
|
1405
1696
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
1406
1697
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxFlowEventHandlerArgs', 'CxFlowEventHandlerArgsDict']]]]] = None,
|
1407
1698
|
is_default_start_flow: Optional[pulumi.Input[builtins.bool]] = None,
|
1699
|
+
knowledge_connector_settings: Optional[pulumi.Input[Union['CxFlowKnowledgeConnectorSettingsArgs', 'CxFlowKnowledgeConnectorSettingsArgsDict']]] = None,
|
1408
1700
|
language_code: Optional[pulumi.Input[builtins.str]] = None,
|
1409
1701
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
1410
1702
|
nlu_settings: Optional[pulumi.Input[Union['CxFlowNluSettingsArgs', 'CxFlowNluSettingsArgsDict']]] = None,
|
@@ -1435,6 +1727,8 @@ class CxFlow(pulumi.CustomResource):
|
|
1435
1727
|
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
1436
1728
|
|
1437
1729
|
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
1730
|
+
:param pulumi.Input[Union['CxFlowKnowledgeConnectorSettingsArgs', 'CxFlowKnowledgeConnectorSettingsArgsDict']] knowledge_connector_settings: Knowledge connector configuration.
|
1731
|
+
Structure is documented below.
|
1438
1732
|
:param pulumi.Input[builtins.str] language_code: The language of the following fields in flow:
|
1439
1733
|
Flow.event_handlers.trigger_fulfillment.messages
|
1440
1734
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -1469,6 +1763,7 @@ class CxFlow(pulumi.CustomResource):
|
|
1469
1763
|
__props__.__dict__["display_name"] = display_name
|
1470
1764
|
__props__.__dict__["event_handlers"] = event_handlers
|
1471
1765
|
__props__.__dict__["is_default_start_flow"] = is_default_start_flow
|
1766
|
+
__props__.__dict__["knowledge_connector_settings"] = knowledge_connector_settings
|
1472
1767
|
__props__.__dict__["language_code"] = language_code
|
1473
1768
|
__props__.__dict__["name"] = name
|
1474
1769
|
__props__.__dict__["nlu_settings"] = nlu_settings
|
@@ -1529,6 +1824,15 @@ class CxFlow(pulumi.CustomResource):
|
|
1529
1824
|
"""
|
1530
1825
|
return pulumi.get(self, "is_default_start_flow")
|
1531
1826
|
|
1827
|
+
@property
|
1828
|
+
@pulumi.getter(name="knowledgeConnectorSettings")
|
1829
|
+
def knowledge_connector_settings(self) -> pulumi.Output[Optional['outputs.CxFlowKnowledgeConnectorSettings']]:
|
1830
|
+
"""
|
1831
|
+
Knowledge connector configuration.
|
1832
|
+
Structure is documented below.
|
1833
|
+
"""
|
1834
|
+
return pulumi.get(self, "knowledge_connector_settings")
|
1835
|
+
|
1532
1836
|
@property
|
1533
1837
|
@pulumi.getter(name="languageCode")
|
1534
1838
|
def language_code(self) -> pulumi.Output[Optional[builtins.str]]:
|