pulumi-gcp 9.2.0__py3-none-any.whl → 9.3.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.
Files changed (76) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/api_deployment.py +372 -0
  4. pulumi_gcp/apihub/plugin.py +1 -1
  5. pulumi_gcp/artifactregistry/__init__.py +2 -0
  6. pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
  7. pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
  8. pulumi_gcp/artifactregistry/outputs.py +165 -0
  9. pulumi_gcp/cloudrunv2/_inputs.py +823 -15
  10. pulumi_gcp/cloudrunv2/outputs.py +1749 -743
  11. pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
  12. pulumi_gcp/compute/_inputs.py +28 -0
  13. pulumi_gcp/compute/outputs.py +20 -1
  14. pulumi_gcp/compute/vpn_tunnel.py +97 -23
  15. pulumi_gcp/compute/wire_group.py +2 -0
  16. pulumi_gcp/dataloss/_inputs.py +970 -30
  17. pulumi_gcp/dataloss/outputs.py +850 -20
  18. pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
  19. pulumi_gcp/diagflow/_inputs.py +66 -0
  20. pulumi_gcp/diagflow/conversation_profile.py +84 -0
  21. pulumi_gcp/diagflow/outputs.py +57 -0
  22. pulumi_gcp/discoveryengine/__init__.py +1 -0
  23. pulumi_gcp/discoveryengine/_inputs.py +187 -0
  24. pulumi_gcp/discoveryengine/data_connector.py +1368 -0
  25. pulumi_gcp/discoveryengine/outputs.py +135 -0
  26. pulumi_gcp/discoveryengine/search_engine.py +47 -0
  27. pulumi_gcp/gkebackup/_inputs.py +111 -0
  28. pulumi_gcp/gkebackup/backup_plan.py +72 -0
  29. pulumi_gcp/gkebackup/outputs.py +84 -0
  30. pulumi_gcp/kms/__init__.py +1 -0
  31. pulumi_gcp/kms/_inputs.py +43 -0
  32. pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
  33. pulumi_gcp/kms/outputs.py +43 -0
  34. pulumi_gcp/logging/metric.py +2 -2
  35. pulumi_gcp/looker/instance.py +51 -0
  36. pulumi_gcp/managedkafka/connect_cluster.py +20 -82
  37. pulumi_gcp/managedkafka/connector.py +24 -94
  38. pulumi_gcp/netapp/_inputs.py +28 -5
  39. pulumi_gcp/netapp/outputs.py +19 -3
  40. pulumi_gcp/netapp/storage_pool.py +56 -0
  41. pulumi_gcp/netapp/volume.py +28 -0
  42. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  43. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
  44. pulumi_gcp/oracledatabase/odb_network.py +101 -2
  45. pulumi_gcp/orgpolicy/policy.py +2 -2
  46. pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
  47. pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
  48. pulumi_gcp/pubsub/get_subscription.py +12 -1
  49. pulumi_gcp/pubsub/get_topic.py +15 -4
  50. pulumi_gcp/pubsub/subscription.py +153 -7
  51. pulumi_gcp/pubsub/topic.py +145 -3
  52. pulumi_gcp/pulumi-plugin.json +1 -1
  53. pulumi_gcp/saasruntime/__init__.py +1 -0
  54. pulumi_gcp/saasruntime/_inputs.py +60 -0
  55. pulumi_gcp/saasruntime/outputs.py +55 -0
  56. pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
  57. pulumi_gcp/sql/_inputs.py +122 -3
  58. pulumi_gcp/sql/database_instance.py +47 -0
  59. pulumi_gcp/sql/get_database_instance.py +12 -1
  60. pulumi_gcp/sql/outputs.py +233 -2
  61. pulumi_gcp/storage/bucket.py +52 -24
  62. pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
  63. pulumi_gcp/storage/insights_dataset_config.py +49 -0
  64. pulumi_gcp/storage/insights_report_config.py +47 -0
  65. pulumi_gcp/vertex/_inputs.py +339 -1
  66. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  67. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
  68. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  69. pulumi_gcp/vertex/ai_index.py +74 -2
  70. pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
  71. pulumi_gcp/vertex/get_ai_index.py +12 -1
  72. pulumi_gcp/vertex/outputs.py +303 -1
  73. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/top_level.txt +0 -0
@@ -27,6 +27,7 @@ class PreventionDiscoveryConfigArgs:
27
27
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
28
28
  inspect_templates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
29
29
  org_config: Optional[pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs']] = None,
30
+ other_cloud_starting_location: Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']] = None,
30
31
  status: Optional[pulumi.Input[_builtins.str]] = None,
31
32
  targets: Optional[pulumi.Input[Sequence[pulumi.Input['PreventionDiscoveryConfigTargetArgs']]]] = None):
32
33
  """
@@ -41,6 +42,8 @@ class PreventionDiscoveryConfigArgs:
41
42
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] inspect_templates: Detection logic for profile generation
42
43
  :param pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs'] org_config: A nested object resource.
43
44
  Structure is documented below.
45
+ :param pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs'] other_cloud_starting_location: A nested object resource.
46
+ Structure is documented below.
44
47
  :param pulumi.Input[_builtins.str] status: Required. A status for this configuration
45
48
  Possible values are: `RUNNING`, `PAUSED`.
46
49
  :param pulumi.Input[Sequence[pulumi.Input['PreventionDiscoveryConfigTargetArgs']]] targets: Target to match against for determining what to scan and how frequently
@@ -56,6 +59,8 @@ class PreventionDiscoveryConfigArgs:
56
59
  pulumi.set(__self__, "inspect_templates", inspect_templates)
57
60
  if org_config is not None:
58
61
  pulumi.set(__self__, "org_config", org_config)
62
+ if other_cloud_starting_location is not None:
63
+ pulumi.set(__self__, "other_cloud_starting_location", other_cloud_starting_location)
59
64
  if status is not None:
60
65
  pulumi.set(__self__, "status", status)
61
66
  if targets is not None:
@@ -137,6 +142,19 @@ class PreventionDiscoveryConfigArgs:
137
142
  def org_config(self, value: Optional[pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs']]):
138
143
  pulumi.set(self, "org_config", value)
139
144
 
145
+ @_builtins.property
146
+ @pulumi.getter(name="otherCloudStartingLocation")
147
+ def other_cloud_starting_location(self) -> Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']]:
148
+ """
149
+ A nested object resource.
150
+ Structure is documented below.
151
+ """
152
+ return pulumi.get(self, "other_cloud_starting_location")
153
+
154
+ @other_cloud_starting_location.setter
155
+ def other_cloud_starting_location(self, value: Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']]):
156
+ pulumi.set(self, "other_cloud_starting_location", value)
157
+
140
158
  @_builtins.property
141
159
  @pulumi.getter
142
160
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -176,6 +194,7 @@ class _PreventionDiscoveryConfigState:
176
194
  location: Optional[pulumi.Input[_builtins.str]] = None,
177
195
  name: Optional[pulumi.Input[_builtins.str]] = None,
178
196
  org_config: Optional[pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs']] = None,
197
+ other_cloud_starting_location: Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']] = None,
179
198
  parent: Optional[pulumi.Input[_builtins.str]] = None,
180
199
  status: Optional[pulumi.Input[_builtins.str]] = None,
181
200
  targets: Optional[pulumi.Input[Sequence[pulumi.Input['PreventionDiscoveryConfigTargetArgs']]]] = None,
@@ -194,6 +213,8 @@ class _PreventionDiscoveryConfigState:
194
213
  :param pulumi.Input[_builtins.str] name: Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
195
214
  :param pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs'] org_config: A nested object resource.
196
215
  Structure is documented below.
216
+ :param pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs'] other_cloud_starting_location: A nested object resource.
217
+ Structure is documented below.
197
218
  :param pulumi.Input[_builtins.str] parent: The parent of the discovery config in any of the following formats:
198
219
  * `projects/{{project}}/locations/{{location}}`
199
220
  * `organizations/{{organization_id}}/locations/{{location}}`
@@ -221,6 +242,8 @@ class _PreventionDiscoveryConfigState:
221
242
  pulumi.set(__self__, "name", name)
222
243
  if org_config is not None:
223
244
  pulumi.set(__self__, "org_config", org_config)
245
+ if other_cloud_starting_location is not None:
246
+ pulumi.set(__self__, "other_cloud_starting_location", other_cloud_starting_location)
224
247
  if parent is not None:
225
248
  pulumi.set(__self__, "parent", parent)
226
249
  if status is not None:
@@ -341,6 +364,19 @@ class _PreventionDiscoveryConfigState:
341
364
  def org_config(self, value: Optional[pulumi.Input['PreventionDiscoveryConfigOrgConfigArgs']]):
342
365
  pulumi.set(self, "org_config", value)
343
366
 
367
+ @_builtins.property
368
+ @pulumi.getter(name="otherCloudStartingLocation")
369
+ def other_cloud_starting_location(self) -> Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']]:
370
+ """
371
+ A nested object resource.
372
+ Structure is documented below.
373
+ """
374
+ return pulumi.get(self, "other_cloud_starting_location")
375
+
376
+ @other_cloud_starting_location.setter
377
+ def other_cloud_starting_location(self, value: Optional[pulumi.Input['PreventionDiscoveryConfigOtherCloudStartingLocationArgs']]):
378
+ pulumi.set(self, "other_cloud_starting_location", value)
379
+
344
380
  @_builtins.property
345
381
  @pulumi.getter
346
382
  def parent(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -405,6 +441,7 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
405
441
  inspect_templates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
406
442
  location: Optional[pulumi.Input[_builtins.str]] = None,
407
443
  org_config: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOrgConfigArgs', 'PreventionDiscoveryConfigOrgConfigArgsDict']]] = None,
444
+ other_cloud_starting_location: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOtherCloudStartingLocationArgs', 'PreventionDiscoveryConfigOtherCloudStartingLocationArgsDict']]] = None,
408
445
  parent: Optional[pulumi.Input[_builtins.str]] = None,
409
446
  status: Optional[pulumi.Input[_builtins.str]] = None,
410
447
  targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PreventionDiscoveryConfigTargetArgs', 'PreventionDiscoveryConfigTargetArgsDict']]]]] = None,
@@ -447,6 +484,8 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
447
484
  :param pulumi.Input[_builtins.str] location: Location to create the discovery config in.
448
485
  :param pulumi.Input[Union['PreventionDiscoveryConfigOrgConfigArgs', 'PreventionDiscoveryConfigOrgConfigArgsDict']] org_config: A nested object resource.
449
486
  Structure is documented below.
487
+ :param pulumi.Input[Union['PreventionDiscoveryConfigOtherCloudStartingLocationArgs', 'PreventionDiscoveryConfigOtherCloudStartingLocationArgsDict']] other_cloud_starting_location: A nested object resource.
488
+ Structure is documented below.
450
489
  :param pulumi.Input[_builtins.str] parent: The parent of the discovery config in any of the following formats:
451
490
  * `projects/{{project}}/locations/{{location}}`
452
491
  * `organizations/{{organization_id}}/locations/{{location}}`
@@ -510,6 +549,7 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
510
549
  inspect_templates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
511
550
  location: Optional[pulumi.Input[_builtins.str]] = None,
512
551
  org_config: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOrgConfigArgs', 'PreventionDiscoveryConfigOrgConfigArgsDict']]] = None,
552
+ other_cloud_starting_location: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOtherCloudStartingLocationArgs', 'PreventionDiscoveryConfigOtherCloudStartingLocationArgsDict']]] = None,
513
553
  parent: Optional[pulumi.Input[_builtins.str]] = None,
514
554
  status: Optional[pulumi.Input[_builtins.str]] = None,
515
555
  targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PreventionDiscoveryConfigTargetArgs', 'PreventionDiscoveryConfigTargetArgsDict']]]]] = None,
@@ -529,6 +569,7 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
529
569
  raise TypeError("Missing required property 'location'")
530
570
  __props__.__dict__["location"] = location
531
571
  __props__.__dict__["org_config"] = org_config
572
+ __props__.__dict__["other_cloud_starting_location"] = other_cloud_starting_location
532
573
  if parent is None and not opts.urn:
533
574
  raise TypeError("Missing required property 'parent'")
534
575
  __props__.__dict__["parent"] = parent
@@ -558,6 +599,7 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
558
599
  location: Optional[pulumi.Input[_builtins.str]] = None,
559
600
  name: Optional[pulumi.Input[_builtins.str]] = None,
560
601
  org_config: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOrgConfigArgs', 'PreventionDiscoveryConfigOrgConfigArgsDict']]] = None,
602
+ other_cloud_starting_location: Optional[pulumi.Input[Union['PreventionDiscoveryConfigOtherCloudStartingLocationArgs', 'PreventionDiscoveryConfigOtherCloudStartingLocationArgsDict']]] = None,
561
603
  parent: Optional[pulumi.Input[_builtins.str]] = None,
562
604
  status: Optional[pulumi.Input[_builtins.str]] = None,
563
605
  targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PreventionDiscoveryConfigTargetArgs', 'PreventionDiscoveryConfigTargetArgsDict']]]]] = None,
@@ -581,6 +623,8 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
581
623
  :param pulumi.Input[_builtins.str] name: Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
582
624
  :param pulumi.Input[Union['PreventionDiscoveryConfigOrgConfigArgs', 'PreventionDiscoveryConfigOrgConfigArgsDict']] org_config: A nested object resource.
583
625
  Structure is documented below.
626
+ :param pulumi.Input[Union['PreventionDiscoveryConfigOtherCloudStartingLocationArgs', 'PreventionDiscoveryConfigOtherCloudStartingLocationArgsDict']] other_cloud_starting_location: A nested object resource.
627
+ Structure is documented below.
584
628
  :param pulumi.Input[_builtins.str] parent: The parent of the discovery config in any of the following formats:
585
629
  * `projects/{{project}}/locations/{{location}}`
586
630
  * `organizations/{{organization_id}}/locations/{{location}}`
@@ -603,6 +647,7 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
603
647
  __props__.__dict__["location"] = location
604
648
  __props__.__dict__["name"] = name
605
649
  __props__.__dict__["org_config"] = org_config
650
+ __props__.__dict__["other_cloud_starting_location"] = other_cloud_starting_location
606
651
  __props__.__dict__["parent"] = parent
607
652
  __props__.__dict__["status"] = status
608
653
  __props__.__dict__["targets"] = targets
@@ -684,6 +729,15 @@ class PreventionDiscoveryConfig(pulumi.CustomResource):
684
729
  """
685
730
  return pulumi.get(self, "org_config")
686
731
 
732
+ @_builtins.property
733
+ @pulumi.getter(name="otherCloudStartingLocation")
734
+ def other_cloud_starting_location(self) -> pulumi.Output[Optional['outputs.PreventionDiscoveryConfigOtherCloudStartingLocation']]:
735
+ """
736
+ A nested object resource.
737
+ Structure is documented below.
738
+ """
739
+ return pulumi.get(self, "other_cloud_starting_location")
740
+
687
741
  @_builtins.property
688
742
  @pulumi.getter
689
743
  def parent(self) -> pulumi.Output[_builtins.str]:
@@ -79,6 +79,8 @@ __all__ = [
79
79
  'ConversationProfileLoggingConfigArgsDict',
80
80
  'ConversationProfileNewMessageEventNotificationConfigArgs',
81
81
  'ConversationProfileNewMessageEventNotificationConfigArgsDict',
82
+ 'ConversationProfileNewRecognitionResultNotificationConfigArgs',
83
+ 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict',
82
84
  'ConversationProfileNotificationConfigArgs',
83
85
  'ConversationProfileNotificationConfigArgsDict',
84
86
  'ConversationProfileSttConfigArgs',
@@ -2718,6 +2720,70 @@ class ConversationProfileNewMessageEventNotificationConfigArgs:
2718
2720
  pulumi.set(self, "topic", value)
2719
2721
 
2720
2722
 
2723
+ if not MYPY:
2724
+ class ConversationProfileNewRecognitionResultNotificationConfigArgsDict(TypedDict):
2725
+ message_format: NotRequired[pulumi.Input[_builtins.str]]
2726
+ """
2727
+ Format of message.
2728
+ Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
2729
+ """
2730
+ topic: NotRequired[pulumi.Input[_builtins.str]]
2731
+ """
2732
+ Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.
2733
+ For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.
2734
+ For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic.
2735
+ Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.
2736
+ """
2737
+ elif False:
2738
+ ConversationProfileNewRecognitionResultNotificationConfigArgsDict: TypeAlias = Mapping[str, Any]
2739
+
2740
+ @pulumi.input_type
2741
+ class ConversationProfileNewRecognitionResultNotificationConfigArgs:
2742
+ def __init__(__self__, *,
2743
+ message_format: Optional[pulumi.Input[_builtins.str]] = None,
2744
+ topic: Optional[pulumi.Input[_builtins.str]] = None):
2745
+ """
2746
+ :param pulumi.Input[_builtins.str] message_format: Format of message.
2747
+ Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
2748
+ :param pulumi.Input[_builtins.str] topic: Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.
2749
+ For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.
2750
+ For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic.
2751
+ Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.
2752
+ """
2753
+ if message_format is not None:
2754
+ pulumi.set(__self__, "message_format", message_format)
2755
+ if topic is not None:
2756
+ pulumi.set(__self__, "topic", topic)
2757
+
2758
+ @_builtins.property
2759
+ @pulumi.getter(name="messageFormat")
2760
+ def message_format(self) -> Optional[pulumi.Input[_builtins.str]]:
2761
+ """
2762
+ Format of message.
2763
+ Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
2764
+ """
2765
+ return pulumi.get(self, "message_format")
2766
+
2767
+ @message_format.setter
2768
+ def message_format(self, value: Optional[pulumi.Input[_builtins.str]]):
2769
+ pulumi.set(self, "message_format", value)
2770
+
2771
+ @_builtins.property
2772
+ @pulumi.getter
2773
+ def topic(self) -> Optional[pulumi.Input[_builtins.str]]:
2774
+ """
2775
+ Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.
2776
+ For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.
2777
+ For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic.
2778
+ Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.
2779
+ """
2780
+ return pulumi.get(self, "topic")
2781
+
2782
+ @topic.setter
2783
+ def topic(self, value: Optional[pulumi.Input[_builtins.str]]):
2784
+ pulumi.set(self, "topic", value)
2785
+
2786
+
2721
2787
  if not MYPY:
2722
2788
  class ConversationProfileNotificationConfigArgsDict(TypedDict):
2723
2789
  message_format: NotRequired[pulumi.Input[_builtins.str]]
@@ -29,6 +29,7 @@ class ConversationProfileArgs:
29
29
  language_code: Optional[pulumi.Input[_builtins.str]] = None,
30
30
  logging_config: Optional[pulumi.Input['ConversationProfileLoggingConfigArgs']] = None,
31
31
  new_message_event_notification_config: Optional[pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs']] = None,
32
+ new_recognition_result_notification_config: Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']] = None,
32
33
  notification_config: Optional[pulumi.Input['ConversationProfileNotificationConfigArgs']] = None,
33
34
  project: Optional[pulumi.Input[_builtins.str]] = None,
34
35
  security_settings: Optional[pulumi.Input[_builtins.str]] = None,
@@ -51,6 +52,8 @@ class ConversationProfileArgs:
51
52
  :param pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs'] new_message_event_notification_config: Pub/Sub topic on which to publish new agent assistant events.
52
53
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
53
54
  Structure is documented below.
55
+ :param pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs'] new_recognition_result_notification_config: Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
56
+ Structure is documented below.
54
57
  :param pulumi.Input['ConversationProfileNotificationConfigArgs'] notification_config: Pub/Sub topic on which to publish new agent assistant events.
55
58
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
56
59
  Structure is documented below.
@@ -77,6 +80,8 @@ class ConversationProfileArgs:
77
80
  pulumi.set(__self__, "logging_config", logging_config)
78
81
  if new_message_event_notification_config is not None:
79
82
  pulumi.set(__self__, "new_message_event_notification_config", new_message_event_notification_config)
83
+ if new_recognition_result_notification_config is not None:
84
+ pulumi.set(__self__, "new_recognition_result_notification_config", new_recognition_result_notification_config)
80
85
  if notification_config is not None:
81
86
  pulumi.set(__self__, "notification_config", notification_config)
82
87
  if project is not None:
@@ -192,6 +197,19 @@ class ConversationProfileArgs:
192
197
  def new_message_event_notification_config(self, value: Optional[pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs']]):
193
198
  pulumi.set(self, "new_message_event_notification_config", value)
194
199
 
200
+ @_builtins.property
201
+ @pulumi.getter(name="newRecognitionResultNotificationConfig")
202
+ def new_recognition_result_notification_config(self) -> Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']]:
203
+ """
204
+ Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
205
+ Structure is documented below.
206
+ """
207
+ return pulumi.get(self, "new_recognition_result_notification_config")
208
+
209
+ @new_recognition_result_notification_config.setter
210
+ def new_recognition_result_notification_config(self, value: Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']]):
211
+ pulumi.set(self, "new_recognition_result_notification_config", value)
212
+
195
213
  @_builtins.property
196
214
  @pulumi.getter(name="notificationConfig")
197
215
  def notification_config(self) -> Optional[pulumi.Input['ConversationProfileNotificationConfigArgs']]:
@@ -282,6 +300,7 @@ class _ConversationProfileState:
282
300
  logging_config: Optional[pulumi.Input['ConversationProfileLoggingConfigArgs']] = None,
283
301
  name: Optional[pulumi.Input[_builtins.str]] = None,
284
302
  new_message_event_notification_config: Optional[pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs']] = None,
303
+ new_recognition_result_notification_config: Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']] = None,
285
304
  notification_config: Optional[pulumi.Input['ConversationProfileNotificationConfigArgs']] = None,
286
305
  project: Optional[pulumi.Input[_builtins.str]] = None,
287
306
  security_settings: Optional[pulumi.Input[_builtins.str]] = None,
@@ -305,6 +324,8 @@ class _ConversationProfileState:
305
324
  :param pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs'] new_message_event_notification_config: Pub/Sub topic on which to publish new agent assistant events.
306
325
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
307
326
  Structure is documented below.
327
+ :param pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs'] new_recognition_result_notification_config: Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
328
+ Structure is documented below.
308
329
  :param pulumi.Input['ConversationProfileNotificationConfigArgs'] notification_config: Pub/Sub topic on which to publish new agent assistant events.
309
330
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
310
331
  Structure is documented below.
@@ -335,6 +356,8 @@ class _ConversationProfileState:
335
356
  pulumi.set(__self__, "name", name)
336
357
  if new_message_event_notification_config is not None:
337
358
  pulumi.set(__self__, "new_message_event_notification_config", new_message_event_notification_config)
359
+ if new_recognition_result_notification_config is not None:
360
+ pulumi.set(__self__, "new_recognition_result_notification_config", new_recognition_result_notification_config)
338
361
  if notification_config is not None:
339
362
  pulumi.set(__self__, "notification_config", notification_config)
340
363
  if project is not None:
@@ -462,6 +485,19 @@ class _ConversationProfileState:
462
485
  def new_message_event_notification_config(self, value: Optional[pulumi.Input['ConversationProfileNewMessageEventNotificationConfigArgs']]):
463
486
  pulumi.set(self, "new_message_event_notification_config", value)
464
487
 
488
+ @_builtins.property
489
+ @pulumi.getter(name="newRecognitionResultNotificationConfig")
490
+ def new_recognition_result_notification_config(self) -> Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']]:
491
+ """
492
+ Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
493
+ Structure is documented below.
494
+ """
495
+ return pulumi.get(self, "new_recognition_result_notification_config")
496
+
497
+ @new_recognition_result_notification_config.setter
498
+ def new_recognition_result_notification_config(self, value: Optional[pulumi.Input['ConversationProfileNewRecognitionResultNotificationConfigArgs']]):
499
+ pulumi.set(self, "new_recognition_result_notification_config", value)
500
+
465
501
  @_builtins.property
466
502
  @pulumi.getter(name="notificationConfig")
467
503
  def notification_config(self) -> Optional[pulumi.Input['ConversationProfileNotificationConfigArgs']]:
@@ -554,6 +590,7 @@ class ConversationProfile(pulumi.CustomResource):
554
590
  location: Optional[pulumi.Input[_builtins.str]] = None,
555
591
  logging_config: Optional[pulumi.Input[Union['ConversationProfileLoggingConfigArgs', 'ConversationProfileLoggingConfigArgsDict']]] = None,
556
592
  new_message_event_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewMessageEventNotificationConfigArgs', 'ConversationProfileNewMessageEventNotificationConfigArgsDict']]] = None,
593
+ new_recognition_result_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewRecognitionResultNotificationConfigArgs', 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict']]] = None,
557
594
  notification_config: Optional[pulumi.Input[Union['ConversationProfileNotificationConfigArgs', 'ConversationProfileNotificationConfigArgsDict']]] = None,
558
595
  project: Optional[pulumi.Input[_builtins.str]] = None,
559
596
  security_settings: Optional[pulumi.Input[_builtins.str]] = None,
@@ -595,6 +632,21 @@ class ConversationProfile(pulumi.CustomResource):
595
632
  },
596
633
  })
597
634
  ```
635
+ ### Dialogflow Conversation Profile Recognition Result Notification
636
+
637
+ ```python
638
+ import pulumi
639
+ import pulumi_gcp as gcp
640
+
641
+ recognition_result_notification_profile_topic = gcp.pubsub.Topic("recognition_result_notification_profile", name="recognition-result-notification")
642
+ recognition_result_notification_profile = gcp.diagflow.ConversationProfile("recognition_result_notification_profile",
643
+ display_name="dialogflow-profile",
644
+ location="global",
645
+ new_recognition_result_notification_config={
646
+ "topic": recognition_result_notification_profile_topic.id,
647
+ "message_format": "JSON",
648
+ })
649
+ ```
598
650
 
599
651
  ## Import
600
652
 
@@ -624,6 +676,8 @@ class ConversationProfile(pulumi.CustomResource):
624
676
  :param pulumi.Input[Union['ConversationProfileNewMessageEventNotificationConfigArgs', 'ConversationProfileNewMessageEventNotificationConfigArgsDict']] new_message_event_notification_config: Pub/Sub topic on which to publish new agent assistant events.
625
677
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
626
678
  Structure is documented below.
679
+ :param pulumi.Input[Union['ConversationProfileNewRecognitionResultNotificationConfigArgs', 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict']] new_recognition_result_notification_config: Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
680
+ Structure is documented below.
627
681
  :param pulumi.Input[Union['ConversationProfileNotificationConfigArgs', 'ConversationProfileNotificationConfigArgsDict']] notification_config: Pub/Sub topic on which to publish new agent assistant events.
628
682
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
629
683
  Structure is documented below.
@@ -676,6 +730,21 @@ class ConversationProfile(pulumi.CustomResource):
676
730
  },
677
731
  })
678
732
  ```
733
+ ### Dialogflow Conversation Profile Recognition Result Notification
734
+
735
+ ```python
736
+ import pulumi
737
+ import pulumi_gcp as gcp
738
+
739
+ recognition_result_notification_profile_topic = gcp.pubsub.Topic("recognition_result_notification_profile", name="recognition-result-notification")
740
+ recognition_result_notification_profile = gcp.diagflow.ConversationProfile("recognition_result_notification_profile",
741
+ display_name="dialogflow-profile",
742
+ location="global",
743
+ new_recognition_result_notification_config={
744
+ "topic": recognition_result_notification_profile_topic.id,
745
+ "message_format": "JSON",
746
+ })
747
+ ```
679
748
 
680
749
  ## Import
681
750
 
@@ -712,6 +781,7 @@ class ConversationProfile(pulumi.CustomResource):
712
781
  location: Optional[pulumi.Input[_builtins.str]] = None,
713
782
  logging_config: Optional[pulumi.Input[Union['ConversationProfileLoggingConfigArgs', 'ConversationProfileLoggingConfigArgsDict']]] = None,
714
783
  new_message_event_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewMessageEventNotificationConfigArgs', 'ConversationProfileNewMessageEventNotificationConfigArgsDict']]] = None,
784
+ new_recognition_result_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewRecognitionResultNotificationConfigArgs', 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict']]] = None,
715
785
  notification_config: Optional[pulumi.Input[Union['ConversationProfileNotificationConfigArgs', 'ConversationProfileNotificationConfigArgsDict']]] = None,
716
786
  project: Optional[pulumi.Input[_builtins.str]] = None,
717
787
  security_settings: Optional[pulumi.Input[_builtins.str]] = None,
@@ -739,6 +809,7 @@ class ConversationProfile(pulumi.CustomResource):
739
809
  __props__.__dict__["location"] = location
740
810
  __props__.__dict__["logging_config"] = logging_config
741
811
  __props__.__dict__["new_message_event_notification_config"] = new_message_event_notification_config
812
+ __props__.__dict__["new_recognition_result_notification_config"] = new_recognition_result_notification_config
742
813
  __props__.__dict__["notification_config"] = notification_config
743
814
  __props__.__dict__["project"] = project
744
815
  __props__.__dict__["security_settings"] = security_settings
@@ -765,6 +836,7 @@ class ConversationProfile(pulumi.CustomResource):
765
836
  logging_config: Optional[pulumi.Input[Union['ConversationProfileLoggingConfigArgs', 'ConversationProfileLoggingConfigArgsDict']]] = None,
766
837
  name: Optional[pulumi.Input[_builtins.str]] = None,
767
838
  new_message_event_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewMessageEventNotificationConfigArgs', 'ConversationProfileNewMessageEventNotificationConfigArgsDict']]] = None,
839
+ new_recognition_result_notification_config: Optional[pulumi.Input[Union['ConversationProfileNewRecognitionResultNotificationConfigArgs', 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict']]] = None,
768
840
  notification_config: Optional[pulumi.Input[Union['ConversationProfileNotificationConfigArgs', 'ConversationProfileNotificationConfigArgsDict']]] = None,
769
841
  project: Optional[pulumi.Input[_builtins.str]] = None,
770
842
  security_settings: Optional[pulumi.Input[_builtins.str]] = None,
@@ -793,6 +865,8 @@ class ConversationProfile(pulumi.CustomResource):
793
865
  :param pulumi.Input[Union['ConversationProfileNewMessageEventNotificationConfigArgs', 'ConversationProfileNewMessageEventNotificationConfigArgsDict']] new_message_event_notification_config: Pub/Sub topic on which to publish new agent assistant events.
794
866
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
795
867
  Structure is documented below.
868
+ :param pulumi.Input[Union['ConversationProfileNewRecognitionResultNotificationConfigArgs', 'ConversationProfileNewRecognitionResultNotificationConfigArgsDict']] new_recognition_result_notification_config: Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
869
+ Structure is documented below.
796
870
  :param pulumi.Input[Union['ConversationProfileNotificationConfigArgs', 'ConversationProfileNotificationConfigArgsDict']] notification_config: Pub/Sub topic on which to publish new agent assistant events.
797
871
  Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
798
872
  Structure is documented below.
@@ -818,6 +892,7 @@ class ConversationProfile(pulumi.CustomResource):
818
892
  __props__.__dict__["logging_config"] = logging_config
819
893
  __props__.__dict__["name"] = name
820
894
  __props__.__dict__["new_message_event_notification_config"] = new_message_event_notification_config
895
+ __props__.__dict__["new_recognition_result_notification_config"] = new_recognition_result_notification_config
821
896
  __props__.__dict__["notification_config"] = notification_config
822
897
  __props__.__dict__["project"] = project
823
898
  __props__.__dict__["security_settings"] = security_settings
@@ -904,6 +979,15 @@ class ConversationProfile(pulumi.CustomResource):
904
979
  """
905
980
  return pulumi.get(self, "new_message_event_notification_config")
906
981
 
982
+ @_builtins.property
983
+ @pulumi.getter(name="newRecognitionResultNotificationConfig")
984
+ def new_recognition_result_notification_config(self) -> pulumi.Output[Optional['outputs.ConversationProfileNewRecognitionResultNotificationConfig']]:
985
+ """
986
+ Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id"
987
+ Structure is documented below.
988
+ """
989
+ return pulumi.get(self, "new_recognition_result_notification_config")
990
+
907
991
  @_builtins.property
908
992
  @pulumi.getter(name="notificationConfig")
909
993
  def notification_config(self) -> pulumi.Output[Optional['outputs.ConversationProfileNotificationConfig']]:
@@ -48,6 +48,7 @@ __all__ = [
48
48
  'ConversationProfileHumanAgentHandoffConfigLivePersonConfig',
49
49
  'ConversationProfileLoggingConfig',
50
50
  'ConversationProfileNewMessageEventNotificationConfig',
51
+ 'ConversationProfileNewRecognitionResultNotificationConfig',
51
52
  'ConversationProfileNotificationConfig',
52
53
  'ConversationProfileSttConfig',
53
54
  'ConversationProfileTtsConfig',
@@ -2129,6 +2130,62 @@ class ConversationProfileNewMessageEventNotificationConfig(dict):
2129
2130
  return pulumi.get(self, "topic")
2130
2131
 
2131
2132
 
2133
+ @pulumi.output_type
2134
+ class ConversationProfileNewRecognitionResultNotificationConfig(dict):
2135
+ @staticmethod
2136
+ def __key_warning(key: str):
2137
+ suggest = None
2138
+ if key == "messageFormat":
2139
+ suggest = "message_format"
2140
+
2141
+ if suggest:
2142
+ pulumi.log.warn(f"Key '{key}' not found in ConversationProfileNewRecognitionResultNotificationConfig. Access the value via the '{suggest}' property getter instead.")
2143
+
2144
+ def __getitem__(self, key: str) -> Any:
2145
+ ConversationProfileNewRecognitionResultNotificationConfig.__key_warning(key)
2146
+ return super().__getitem__(key)
2147
+
2148
+ def get(self, key: str, default = None) -> Any:
2149
+ ConversationProfileNewRecognitionResultNotificationConfig.__key_warning(key)
2150
+ return super().get(key, default)
2151
+
2152
+ def __init__(__self__, *,
2153
+ message_format: Optional[_builtins.str] = None,
2154
+ topic: Optional[_builtins.str] = None):
2155
+ """
2156
+ :param _builtins.str message_format: Format of message.
2157
+ Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
2158
+ :param _builtins.str topic: Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.
2159
+ For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.
2160
+ For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic.
2161
+ Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.
2162
+ """
2163
+ if message_format is not None:
2164
+ pulumi.set(__self__, "message_format", message_format)
2165
+ if topic is not None:
2166
+ pulumi.set(__self__, "topic", topic)
2167
+
2168
+ @_builtins.property
2169
+ @pulumi.getter(name="messageFormat")
2170
+ def message_format(self) -> Optional[_builtins.str]:
2171
+ """
2172
+ Format of message.
2173
+ Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
2174
+ """
2175
+ return pulumi.get(self, "message_format")
2176
+
2177
+ @_builtins.property
2178
+ @pulumi.getter
2179
+ def topic(self) -> Optional[_builtins.str]:
2180
+ """
2181
+ Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.
2182
+ For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.
2183
+ For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent role for the topic.
2184
+ Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.
2185
+ """
2186
+ return pulumi.get(self, "topic")
2187
+
2188
+
2132
2189
  @pulumi.output_type
2133
2190
  class ConversationProfileNotificationConfig(dict):
2134
2191
  @staticmethod
@@ -9,6 +9,7 @@ import typing
9
9
  from .acl_config import *
10
10
  from .chat_engine import *
11
11
  from .cmek_config import *
12
+ from .data_connector import *
12
13
  from .data_store import *
13
14
  from .recommendation_engine import *
14
15
  from .schema import *