pulumi-gcp 8.35.0a1750142992__py3-none-any.whl → 8.35.0a1750229953__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 (52) hide show
  1. pulumi_gcp/__init__.py +8 -0
  2. pulumi_gcp/backupdisasterrecovery/backup_plan.py +100 -7
  3. pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +35 -7
  4. pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +12 -1
  5. pulumi_gcp/bigqueryanalyticshub/listing.py +108 -0
  6. pulumi_gcp/compute/_inputs.py +2028 -175
  7. pulumi_gcp/compute/disk.py +7 -7
  8. pulumi_gcp/compute/outputs.py +1483 -110
  9. pulumi_gcp/compute/region_url_map.py +344 -0
  10. pulumi_gcp/compute/target_http_proxy.py +118 -0
  11. pulumi_gcp/compute/target_https_proxy.py +132 -0
  12. pulumi_gcp/compute/url_map.py +344 -0
  13. pulumi_gcp/compute/vpn_tunnel.py +178 -0
  14. pulumi_gcp/dataplex/__init__.py +1 -0
  15. pulumi_gcp/dataplex/get_data_quality_rules.py +169 -0
  16. pulumi_gcp/dataplex/outputs.py +420 -0
  17. pulumi_gcp/diagflow/__init__.py +1 -0
  18. pulumi_gcp/diagflow/_inputs.py +939 -0
  19. pulumi_gcp/diagflow/cx_agent.py +34 -0
  20. pulumi_gcp/diagflow/cx_tool.py +899 -0
  21. pulumi_gcp/diagflow/outputs.py +780 -0
  22. pulumi_gcp/firestore/field.py +6 -6
  23. pulumi_gcp/gkehub/membership_binding.py +6 -6
  24. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  25. pulumi_gcp/gkehub/namespace.py +4 -4
  26. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  27. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  28. pulumi_gcp/integrationconnectors/_inputs.py +24 -1
  29. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  30. pulumi_gcp/integrationconnectors/outputs.py +15 -1
  31. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  32. pulumi_gcp/managedkafka/connector.py +4 -4
  33. pulumi_gcp/netapp/_inputs.py +23 -0
  34. pulumi_gcp/netapp/outputs.py +16 -0
  35. pulumi_gcp/netapp/storage_pool.py +108 -0
  36. pulumi_gcp/networkconnectivity/_inputs.py +71 -1
  37. pulumi_gcp/networkconnectivity/outputs.py +64 -1
  38. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  39. pulumi_gcp/notebooks/runtime.py +4 -0
  40. pulumi_gcp/orgpolicy/policy.py +2 -2
  41. pulumi_gcp/pubsub/subscription.py +6 -6
  42. pulumi_gcp/pulumi-plugin.json +1 -1
  43. pulumi_gcp/redis/_inputs.py +77 -0
  44. pulumi_gcp/redis/cluster.py +32 -0
  45. pulumi_gcp/redis/outputs.py +63 -0
  46. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  47. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  48. pulumi_gcp/vertex/ai_index_endpoint_deployed_index.py +99 -64
  49. {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/METADATA +1 -1
  50. {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/RECORD +52 -50
  51. {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/WHEEL +0 -0
  52. {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/top_level.txt +0 -0
@@ -187,6 +187,19 @@ __all__ = [
187
187
  'CxTestCaseTestCaseConversationTurnVirtualAgentOutputTextResponse',
188
188
  'CxTestCaseTestCaseConversationTurnVirtualAgentOutputTriggeredIntent',
189
189
  'CxTestCaseTestConfig',
190
+ 'CxToolDataStoreSpec',
191
+ 'CxToolDataStoreSpecDataStoreConnection',
192
+ 'CxToolDataStoreSpecFallbackPrompt',
193
+ 'CxToolFunctionSpec',
194
+ 'CxToolOpenApiSpec',
195
+ 'CxToolOpenApiSpecAuthentication',
196
+ 'CxToolOpenApiSpecAuthenticationApiKeyConfig',
197
+ 'CxToolOpenApiSpecAuthenticationBearerTokenConfig',
198
+ 'CxToolOpenApiSpecAuthenticationOauthConfig',
199
+ 'CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig',
200
+ 'CxToolOpenApiSpecServiceDirectoryConfig',
201
+ 'CxToolOpenApiSpecTlsConfig',
202
+ 'CxToolOpenApiSpecTlsConfigCaCert',
190
203
  'CxVersionNluSetting',
191
204
  'CxWebhookGenericWebService',
192
205
  'CxWebhookServiceDirectory',
@@ -10403,6 +10416,773 @@ class CxTestCaseTestConfig(dict):
10403
10416
  return pulumi.get(self, "tracking_parameters")
10404
10417
 
10405
10418
 
10419
+ @pulumi.output_type
10420
+ class CxToolDataStoreSpec(dict):
10421
+ @staticmethod
10422
+ def __key_warning(key: str):
10423
+ suggest = None
10424
+ if key == "dataStoreConnections":
10425
+ suggest = "data_store_connections"
10426
+ elif key == "fallbackPrompt":
10427
+ suggest = "fallback_prompt"
10428
+
10429
+ if suggest:
10430
+ pulumi.log.warn(f"Key '{key}' not found in CxToolDataStoreSpec. Access the value via the '{suggest}' property getter instead.")
10431
+
10432
+ def __getitem__(self, key: str) -> Any:
10433
+ CxToolDataStoreSpec.__key_warning(key)
10434
+ return super().__getitem__(key)
10435
+
10436
+ def get(self, key: str, default = None) -> Any:
10437
+ CxToolDataStoreSpec.__key_warning(key)
10438
+ return super().get(key, default)
10439
+
10440
+ def __init__(__self__, *,
10441
+ data_store_connections: Sequence['outputs.CxToolDataStoreSpecDataStoreConnection'],
10442
+ fallback_prompt: 'outputs.CxToolDataStoreSpecFallbackPrompt'):
10443
+ """
10444
+ :param Sequence['CxToolDataStoreSpecDataStoreConnectionArgs'] data_store_connections: List of data stores to search.
10445
+ Structure is documented below.
10446
+ :param 'CxToolDataStoreSpecFallbackPromptArgs' fallback_prompt: Fallback prompt configurations to use.
10447
+ """
10448
+ pulumi.set(__self__, "data_store_connections", data_store_connections)
10449
+ pulumi.set(__self__, "fallback_prompt", fallback_prompt)
10450
+
10451
+ @property
10452
+ @pulumi.getter(name="dataStoreConnections")
10453
+ def data_store_connections(self) -> Sequence['outputs.CxToolDataStoreSpecDataStoreConnection']:
10454
+ """
10455
+ List of data stores to search.
10456
+ Structure is documented below.
10457
+ """
10458
+ return pulumi.get(self, "data_store_connections")
10459
+
10460
+ @property
10461
+ @pulumi.getter(name="fallbackPrompt")
10462
+ def fallback_prompt(self) -> 'outputs.CxToolDataStoreSpecFallbackPrompt':
10463
+ """
10464
+ Fallback prompt configurations to use.
10465
+ """
10466
+ return pulumi.get(self, "fallback_prompt")
10467
+
10468
+
10469
+ @pulumi.output_type
10470
+ class CxToolDataStoreSpecDataStoreConnection(dict):
10471
+ @staticmethod
10472
+ def __key_warning(key: str):
10473
+ suggest = None
10474
+ if key == "dataStore":
10475
+ suggest = "data_store"
10476
+ elif key == "dataStoreType":
10477
+ suggest = "data_store_type"
10478
+ elif key == "documentProcessingMode":
10479
+ suggest = "document_processing_mode"
10480
+
10481
+ if suggest:
10482
+ pulumi.log.warn(f"Key '{key}' not found in CxToolDataStoreSpecDataStoreConnection. Access the value via the '{suggest}' property getter instead.")
10483
+
10484
+ def __getitem__(self, key: str) -> Any:
10485
+ CxToolDataStoreSpecDataStoreConnection.__key_warning(key)
10486
+ return super().__getitem__(key)
10487
+
10488
+ def get(self, key: str, default = None) -> Any:
10489
+ CxToolDataStoreSpecDataStoreConnection.__key_warning(key)
10490
+ return super().get(key, default)
10491
+
10492
+ def __init__(__self__, *,
10493
+ data_store: Optional[builtins.str] = None,
10494
+ data_store_type: Optional[builtins.str] = None,
10495
+ document_processing_mode: Optional[builtins.str] = None):
10496
+ """
10497
+ :param builtins.str data_store: The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
10498
+ :param builtins.str data_store_type: The type of the connected data store.
10499
+ See [DataStoreType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#datastoretype) for valid values.
10500
+ :param builtins.str document_processing_mode: The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
10501
+ See [DocumentProcessingMode](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#documentprocessingmode) for valid values.
10502
+ """
10503
+ if data_store is not None:
10504
+ pulumi.set(__self__, "data_store", data_store)
10505
+ if data_store_type is not None:
10506
+ pulumi.set(__self__, "data_store_type", data_store_type)
10507
+ if document_processing_mode is not None:
10508
+ pulumi.set(__self__, "document_processing_mode", document_processing_mode)
10509
+
10510
+ @property
10511
+ @pulumi.getter(name="dataStore")
10512
+ def data_store(self) -> Optional[builtins.str]:
10513
+ """
10514
+ The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
10515
+ """
10516
+ return pulumi.get(self, "data_store")
10517
+
10518
+ @property
10519
+ @pulumi.getter(name="dataStoreType")
10520
+ def data_store_type(self) -> Optional[builtins.str]:
10521
+ """
10522
+ The type of the connected data store.
10523
+ See [DataStoreType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#datastoretype) for valid values.
10524
+ """
10525
+ return pulumi.get(self, "data_store_type")
10526
+
10527
+ @property
10528
+ @pulumi.getter(name="documentProcessingMode")
10529
+ def document_processing_mode(self) -> Optional[builtins.str]:
10530
+ """
10531
+ The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.
10532
+ See [DocumentProcessingMode](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#documentprocessingmode) for valid values.
10533
+ """
10534
+ return pulumi.get(self, "document_processing_mode")
10535
+
10536
+
10537
+ @pulumi.output_type
10538
+ class CxToolDataStoreSpecFallbackPrompt(dict):
10539
+ def __init__(__self__):
10540
+ pass
10541
+
10542
+
10543
+ @pulumi.output_type
10544
+ class CxToolFunctionSpec(dict):
10545
+ @staticmethod
10546
+ def __key_warning(key: str):
10547
+ suggest = None
10548
+ if key == "inputSchema":
10549
+ suggest = "input_schema"
10550
+ elif key == "outputSchema":
10551
+ suggest = "output_schema"
10552
+
10553
+ if suggest:
10554
+ pulumi.log.warn(f"Key '{key}' not found in CxToolFunctionSpec. Access the value via the '{suggest}' property getter instead.")
10555
+
10556
+ def __getitem__(self, key: str) -> Any:
10557
+ CxToolFunctionSpec.__key_warning(key)
10558
+ return super().__getitem__(key)
10559
+
10560
+ def get(self, key: str, default = None) -> Any:
10561
+ CxToolFunctionSpec.__key_warning(key)
10562
+ return super().get(key, default)
10563
+
10564
+ def __init__(__self__, *,
10565
+ input_schema: Optional[builtins.str] = None,
10566
+ output_schema: Optional[builtins.str] = None):
10567
+ """
10568
+ :param builtins.str input_schema: Optional. The JSON schema is encapsulated in a [google.protobuf.Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct) to describe the input of the function.
10569
+ This input is a JSON object that contains the function's parameters as properties of the object
10570
+ :param builtins.str output_schema: Optional. The JSON schema is encapsulated in a [google.protobuf.Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct) to describe the output of the function.
10571
+ This output is a JSON object that contains the function's parameters as properties of the object
10572
+ """
10573
+ if input_schema is not None:
10574
+ pulumi.set(__self__, "input_schema", input_schema)
10575
+ if output_schema is not None:
10576
+ pulumi.set(__self__, "output_schema", output_schema)
10577
+
10578
+ @property
10579
+ @pulumi.getter(name="inputSchema")
10580
+ def input_schema(self) -> Optional[builtins.str]:
10581
+ """
10582
+ Optional. The JSON schema is encapsulated in a [google.protobuf.Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct) to describe the input of the function.
10583
+ This input is a JSON object that contains the function's parameters as properties of the object
10584
+ """
10585
+ return pulumi.get(self, "input_schema")
10586
+
10587
+ @property
10588
+ @pulumi.getter(name="outputSchema")
10589
+ def output_schema(self) -> Optional[builtins.str]:
10590
+ """
10591
+ Optional. The JSON schema is encapsulated in a [google.protobuf.Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct) to describe the output of the function.
10592
+ This output is a JSON object that contains the function's parameters as properties of the object
10593
+ """
10594
+ return pulumi.get(self, "output_schema")
10595
+
10596
+
10597
+ @pulumi.output_type
10598
+ class CxToolOpenApiSpec(dict):
10599
+ @staticmethod
10600
+ def __key_warning(key: str):
10601
+ suggest = None
10602
+ if key == "textSchema":
10603
+ suggest = "text_schema"
10604
+ elif key == "serviceDirectoryConfig":
10605
+ suggest = "service_directory_config"
10606
+ elif key == "tlsConfig":
10607
+ suggest = "tls_config"
10608
+
10609
+ if suggest:
10610
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpec. Access the value via the '{suggest}' property getter instead.")
10611
+
10612
+ def __getitem__(self, key: str) -> Any:
10613
+ CxToolOpenApiSpec.__key_warning(key)
10614
+ return super().__getitem__(key)
10615
+
10616
+ def get(self, key: str, default = None) -> Any:
10617
+ CxToolOpenApiSpec.__key_warning(key)
10618
+ return super().get(key, default)
10619
+
10620
+ def __init__(__self__, *,
10621
+ text_schema: builtins.str,
10622
+ authentication: Optional['outputs.CxToolOpenApiSpecAuthentication'] = None,
10623
+ service_directory_config: Optional['outputs.CxToolOpenApiSpecServiceDirectoryConfig'] = None,
10624
+ tls_config: Optional['outputs.CxToolOpenApiSpecTlsConfig'] = None):
10625
+ """
10626
+ :param builtins.str text_schema: The OpenAPI schema specified as a text.
10627
+ This field is part of a union field `schema`: only one of `textSchema` may be set.
10628
+ :param 'CxToolOpenApiSpecAuthenticationArgs' authentication: Optional. Authentication information required by the API.
10629
+ Structure is documented below.
10630
+ :param 'CxToolOpenApiSpecServiceDirectoryConfigArgs' service_directory_config: Optional. Service Directory configuration.
10631
+ Structure is documented below.
10632
+ :param 'CxToolOpenApiSpecTlsConfigArgs' tls_config: Optional. TLS configuration for the HTTPS verification.
10633
+ Structure is documented below.
10634
+ """
10635
+ pulumi.set(__self__, "text_schema", text_schema)
10636
+ if authentication is not None:
10637
+ pulumi.set(__self__, "authentication", authentication)
10638
+ if service_directory_config is not None:
10639
+ pulumi.set(__self__, "service_directory_config", service_directory_config)
10640
+ if tls_config is not None:
10641
+ pulumi.set(__self__, "tls_config", tls_config)
10642
+
10643
+ @property
10644
+ @pulumi.getter(name="textSchema")
10645
+ def text_schema(self) -> builtins.str:
10646
+ """
10647
+ The OpenAPI schema specified as a text.
10648
+ This field is part of a union field `schema`: only one of `textSchema` may be set.
10649
+ """
10650
+ return pulumi.get(self, "text_schema")
10651
+
10652
+ @property
10653
+ @pulumi.getter
10654
+ def authentication(self) -> Optional['outputs.CxToolOpenApiSpecAuthentication']:
10655
+ """
10656
+ Optional. Authentication information required by the API.
10657
+ Structure is documented below.
10658
+ """
10659
+ return pulumi.get(self, "authentication")
10660
+
10661
+ @property
10662
+ @pulumi.getter(name="serviceDirectoryConfig")
10663
+ def service_directory_config(self) -> Optional['outputs.CxToolOpenApiSpecServiceDirectoryConfig']:
10664
+ """
10665
+ Optional. Service Directory configuration.
10666
+ Structure is documented below.
10667
+ """
10668
+ return pulumi.get(self, "service_directory_config")
10669
+
10670
+ @property
10671
+ @pulumi.getter(name="tlsConfig")
10672
+ def tls_config(self) -> Optional['outputs.CxToolOpenApiSpecTlsConfig']:
10673
+ """
10674
+ Optional. TLS configuration for the HTTPS verification.
10675
+ Structure is documented below.
10676
+ """
10677
+ return pulumi.get(self, "tls_config")
10678
+
10679
+
10680
+ @pulumi.output_type
10681
+ class CxToolOpenApiSpecAuthentication(dict):
10682
+ @staticmethod
10683
+ def __key_warning(key: str):
10684
+ suggest = None
10685
+ if key == "apiKeyConfig":
10686
+ suggest = "api_key_config"
10687
+ elif key == "bearerTokenConfig":
10688
+ suggest = "bearer_token_config"
10689
+ elif key == "oauthConfig":
10690
+ suggest = "oauth_config"
10691
+ elif key == "serviceAgentAuthConfig":
10692
+ suggest = "service_agent_auth_config"
10693
+
10694
+ if suggest:
10695
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecAuthentication. Access the value via the '{suggest}' property getter instead.")
10696
+
10697
+ def __getitem__(self, key: str) -> Any:
10698
+ CxToolOpenApiSpecAuthentication.__key_warning(key)
10699
+ return super().__getitem__(key)
10700
+
10701
+ def get(self, key: str, default = None) -> Any:
10702
+ CxToolOpenApiSpecAuthentication.__key_warning(key)
10703
+ return super().get(key, default)
10704
+
10705
+ def __init__(__self__, *,
10706
+ api_key_config: Optional['outputs.CxToolOpenApiSpecAuthenticationApiKeyConfig'] = None,
10707
+ bearer_token_config: Optional['outputs.CxToolOpenApiSpecAuthenticationBearerTokenConfig'] = None,
10708
+ oauth_config: Optional['outputs.CxToolOpenApiSpecAuthenticationOauthConfig'] = None,
10709
+ service_agent_auth_config: Optional['outputs.CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig'] = None):
10710
+ """
10711
+ :param 'CxToolOpenApiSpecAuthenticationApiKeyConfigArgs' api_key_config: Config for API key auth.
10712
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10713
+ Structure is documented below.
10714
+ :param 'CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs' bearer_token_config: Config for bearer token auth.
10715
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10716
+ Structure is documented below.
10717
+ :param 'CxToolOpenApiSpecAuthenticationOauthConfigArgs' oauth_config: Config for OAuth.
10718
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10719
+ Structure is documented below.
10720
+ :param 'CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs' service_agent_auth_config: Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.
10721
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10722
+ Structure is documented below.
10723
+ """
10724
+ if api_key_config is not None:
10725
+ pulumi.set(__self__, "api_key_config", api_key_config)
10726
+ if bearer_token_config is not None:
10727
+ pulumi.set(__self__, "bearer_token_config", bearer_token_config)
10728
+ if oauth_config is not None:
10729
+ pulumi.set(__self__, "oauth_config", oauth_config)
10730
+ if service_agent_auth_config is not None:
10731
+ pulumi.set(__self__, "service_agent_auth_config", service_agent_auth_config)
10732
+
10733
+ @property
10734
+ @pulumi.getter(name="apiKeyConfig")
10735
+ def api_key_config(self) -> Optional['outputs.CxToolOpenApiSpecAuthenticationApiKeyConfig']:
10736
+ """
10737
+ Config for API key auth.
10738
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10739
+ Structure is documented below.
10740
+ """
10741
+ return pulumi.get(self, "api_key_config")
10742
+
10743
+ @property
10744
+ @pulumi.getter(name="bearerTokenConfig")
10745
+ def bearer_token_config(self) -> Optional['outputs.CxToolOpenApiSpecAuthenticationBearerTokenConfig']:
10746
+ """
10747
+ Config for bearer token auth.
10748
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10749
+ Structure is documented below.
10750
+ """
10751
+ return pulumi.get(self, "bearer_token_config")
10752
+
10753
+ @property
10754
+ @pulumi.getter(name="oauthConfig")
10755
+ def oauth_config(self) -> Optional['outputs.CxToolOpenApiSpecAuthenticationOauthConfig']:
10756
+ """
10757
+ Config for OAuth.
10758
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10759
+ Structure is documented below.
10760
+ """
10761
+ return pulumi.get(self, "oauth_config")
10762
+
10763
+ @property
10764
+ @pulumi.getter(name="serviceAgentAuthConfig")
10765
+ def service_agent_auth_config(self) -> Optional['outputs.CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig']:
10766
+ """
10767
+ Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.
10768
+ This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
10769
+ Structure is documented below.
10770
+ """
10771
+ return pulumi.get(self, "service_agent_auth_config")
10772
+
10773
+
10774
+ @pulumi.output_type
10775
+ class CxToolOpenApiSpecAuthenticationApiKeyConfig(dict):
10776
+ @staticmethod
10777
+ def __key_warning(key: str):
10778
+ suggest = None
10779
+ if key == "keyName":
10780
+ suggest = "key_name"
10781
+ elif key == "requestLocation":
10782
+ suggest = "request_location"
10783
+ elif key == "apiKey":
10784
+ suggest = "api_key"
10785
+ elif key == "secretVersionForApiKey":
10786
+ suggest = "secret_version_for_api_key"
10787
+
10788
+ if suggest:
10789
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecAuthenticationApiKeyConfig. Access the value via the '{suggest}' property getter instead.")
10790
+
10791
+ def __getitem__(self, key: str) -> Any:
10792
+ CxToolOpenApiSpecAuthenticationApiKeyConfig.__key_warning(key)
10793
+ return super().__getitem__(key)
10794
+
10795
+ def get(self, key: str, default = None) -> Any:
10796
+ CxToolOpenApiSpecAuthenticationApiKeyConfig.__key_warning(key)
10797
+ return super().get(key, default)
10798
+
10799
+ def __init__(__self__, *,
10800
+ key_name: builtins.str,
10801
+ request_location: builtins.str,
10802
+ api_key: Optional[builtins.str] = None,
10803
+ secret_version_for_api_key: Optional[builtins.str] = None):
10804
+ """
10805
+ :param builtins.str key_name: The parameter name or the header name of the API key.
10806
+ E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
10807
+ :param builtins.str request_location: Key location in the request.
10808
+ See [RequestLocation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#requestlocation) for valid values.
10809
+ :param builtins.str api_key: Optional. The API key. If the `secretVersionForApiKey`` field is set, this field will be ignored.
10810
+ **Note**: This property is sensitive and will not be displayed in the plan.
10811
+ :param builtins.str secret_version_for_api_key: Optional. The name of the SecretManager secret version resource storing the API key.
10812
+ If this field is set, the apiKey field will be ignored.
10813
+ Format: projects/{project}/secrets/{secret}/versions/{version}
10814
+ """
10815
+ pulumi.set(__self__, "key_name", key_name)
10816
+ pulumi.set(__self__, "request_location", request_location)
10817
+ if api_key is not None:
10818
+ pulumi.set(__self__, "api_key", api_key)
10819
+ if secret_version_for_api_key is not None:
10820
+ pulumi.set(__self__, "secret_version_for_api_key", secret_version_for_api_key)
10821
+
10822
+ @property
10823
+ @pulumi.getter(name="keyName")
10824
+ def key_name(self) -> builtins.str:
10825
+ """
10826
+ The parameter name or the header name of the API key.
10827
+ E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
10828
+ """
10829
+ return pulumi.get(self, "key_name")
10830
+
10831
+ @property
10832
+ @pulumi.getter(name="requestLocation")
10833
+ def request_location(self) -> builtins.str:
10834
+ """
10835
+ Key location in the request.
10836
+ See [RequestLocation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#requestlocation) for valid values.
10837
+ """
10838
+ return pulumi.get(self, "request_location")
10839
+
10840
+ @property
10841
+ @pulumi.getter(name="apiKey")
10842
+ def api_key(self) -> Optional[builtins.str]:
10843
+ """
10844
+ Optional. The API key. If the `secretVersionForApiKey`` field is set, this field will be ignored.
10845
+ **Note**: This property is sensitive and will not be displayed in the plan.
10846
+ """
10847
+ return pulumi.get(self, "api_key")
10848
+
10849
+ @property
10850
+ @pulumi.getter(name="secretVersionForApiKey")
10851
+ def secret_version_for_api_key(self) -> Optional[builtins.str]:
10852
+ """
10853
+ Optional. The name of the SecretManager secret version resource storing the API key.
10854
+ If this field is set, the apiKey field will be ignored.
10855
+ Format: projects/{project}/secrets/{secret}/versions/{version}
10856
+ """
10857
+ return pulumi.get(self, "secret_version_for_api_key")
10858
+
10859
+
10860
+ @pulumi.output_type
10861
+ class CxToolOpenApiSpecAuthenticationBearerTokenConfig(dict):
10862
+ @staticmethod
10863
+ def __key_warning(key: str):
10864
+ suggest = None
10865
+ if key == "secretVersionForToken":
10866
+ suggest = "secret_version_for_token"
10867
+
10868
+ if suggest:
10869
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecAuthenticationBearerTokenConfig. Access the value via the '{suggest}' property getter instead.")
10870
+
10871
+ def __getitem__(self, key: str) -> Any:
10872
+ CxToolOpenApiSpecAuthenticationBearerTokenConfig.__key_warning(key)
10873
+ return super().__getitem__(key)
10874
+
10875
+ def get(self, key: str, default = None) -> Any:
10876
+ CxToolOpenApiSpecAuthenticationBearerTokenConfig.__key_warning(key)
10877
+ return super().get(key, default)
10878
+
10879
+ def __init__(__self__, *,
10880
+ secret_version_for_token: Optional[builtins.str] = None,
10881
+ token: Optional[builtins.str] = None):
10882
+ """
10883
+ :param builtins.str secret_version_for_token: Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the `token` field will be ignored.
10884
+ Format: projects/{project}/secrets/{secret}/versions/{version}
10885
+ :param builtins.str token: Optional. The text token appended to the text Bearer to the request Authorization header.
10886
+ [Session parameters reference](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the token dynamically, e.g. `$session.params.parameter-id`.
10887
+ **Note**: This property is sensitive and will not be displayed in the plan.
10888
+ """
10889
+ if secret_version_for_token is not None:
10890
+ pulumi.set(__self__, "secret_version_for_token", secret_version_for_token)
10891
+ if token is not None:
10892
+ pulumi.set(__self__, "token", token)
10893
+
10894
+ @property
10895
+ @pulumi.getter(name="secretVersionForToken")
10896
+ def secret_version_for_token(self) -> Optional[builtins.str]:
10897
+ """
10898
+ Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the `token` field will be ignored.
10899
+ Format: projects/{project}/secrets/{secret}/versions/{version}
10900
+ """
10901
+ return pulumi.get(self, "secret_version_for_token")
10902
+
10903
+ @property
10904
+ @pulumi.getter
10905
+ def token(self) -> Optional[builtins.str]:
10906
+ """
10907
+ Optional. The text token appended to the text Bearer to the request Authorization header.
10908
+ [Session parameters reference](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the token dynamically, e.g. `$session.params.parameter-id`.
10909
+ **Note**: This property is sensitive and will not be displayed in the plan.
10910
+ """
10911
+ return pulumi.get(self, "token")
10912
+
10913
+
10914
+ @pulumi.output_type
10915
+ class CxToolOpenApiSpecAuthenticationOauthConfig(dict):
10916
+ @staticmethod
10917
+ def __key_warning(key: str):
10918
+ suggest = None
10919
+ if key == "clientId":
10920
+ suggest = "client_id"
10921
+ elif key == "oauthGrantType":
10922
+ suggest = "oauth_grant_type"
10923
+ elif key == "tokenEndpoint":
10924
+ suggest = "token_endpoint"
10925
+ elif key == "clientSecret":
10926
+ suggest = "client_secret"
10927
+ elif key == "secretVersionForClientSecret":
10928
+ suggest = "secret_version_for_client_secret"
10929
+
10930
+ if suggest:
10931
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecAuthenticationOauthConfig. Access the value via the '{suggest}' property getter instead.")
10932
+
10933
+ def __getitem__(self, key: str) -> Any:
10934
+ CxToolOpenApiSpecAuthenticationOauthConfig.__key_warning(key)
10935
+ return super().__getitem__(key)
10936
+
10937
+ def get(self, key: str, default = None) -> Any:
10938
+ CxToolOpenApiSpecAuthenticationOauthConfig.__key_warning(key)
10939
+ return super().get(key, default)
10940
+
10941
+ def __init__(__self__, *,
10942
+ client_id: builtins.str,
10943
+ oauth_grant_type: builtins.str,
10944
+ token_endpoint: builtins.str,
10945
+ client_secret: Optional[builtins.str] = None,
10946
+ scopes: Optional[Sequence[builtins.str]] = None,
10947
+ secret_version_for_client_secret: Optional[builtins.str] = None):
10948
+ """
10949
+ :param builtins.str client_id: The client ID from the OAuth provider.
10950
+ :param builtins.str oauth_grant_type: OAuth grant types.
10951
+ See [OauthGrantType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#oauthgranttype) for valid values
10952
+ :param builtins.str token_endpoint: The token endpoint in the OAuth provider to exchange for an access token.
10953
+ :param builtins.str client_secret: Optional. The client secret from the OAuth provider. If the `secretVersionForClientSecret` field is set, this field will be ignored.
10954
+ **Note**: This property is sensitive and will not be displayed in the plan.
10955
+ :param Sequence[builtins.str] scopes: Optional. The OAuth scopes to grant.
10956
+ :param builtins.str secret_version_for_client_secret: Optional. The name of the SecretManager secret version resource storing the client secret.
10957
+ If this field is set, the clientSecret field will be ignored.
10958
+ Format: projects/{project}/secrets/{secret}/versions/{version}
10959
+ """
10960
+ pulumi.set(__self__, "client_id", client_id)
10961
+ pulumi.set(__self__, "oauth_grant_type", oauth_grant_type)
10962
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
10963
+ if client_secret is not None:
10964
+ pulumi.set(__self__, "client_secret", client_secret)
10965
+ if scopes is not None:
10966
+ pulumi.set(__self__, "scopes", scopes)
10967
+ if secret_version_for_client_secret is not None:
10968
+ pulumi.set(__self__, "secret_version_for_client_secret", secret_version_for_client_secret)
10969
+
10970
+ @property
10971
+ @pulumi.getter(name="clientId")
10972
+ def client_id(self) -> builtins.str:
10973
+ """
10974
+ The client ID from the OAuth provider.
10975
+ """
10976
+ return pulumi.get(self, "client_id")
10977
+
10978
+ @property
10979
+ @pulumi.getter(name="oauthGrantType")
10980
+ def oauth_grant_type(self) -> builtins.str:
10981
+ """
10982
+ OAuth grant types.
10983
+ See [OauthGrantType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#oauthgranttype) for valid values
10984
+ """
10985
+ return pulumi.get(self, "oauth_grant_type")
10986
+
10987
+ @property
10988
+ @pulumi.getter(name="tokenEndpoint")
10989
+ def token_endpoint(self) -> builtins.str:
10990
+ """
10991
+ The token endpoint in the OAuth provider to exchange for an access token.
10992
+ """
10993
+ return pulumi.get(self, "token_endpoint")
10994
+
10995
+ @property
10996
+ @pulumi.getter(name="clientSecret")
10997
+ def client_secret(self) -> Optional[builtins.str]:
10998
+ """
10999
+ Optional. The client secret from the OAuth provider. If the `secretVersionForClientSecret` field is set, this field will be ignored.
11000
+ **Note**: This property is sensitive and will not be displayed in the plan.
11001
+ """
11002
+ return pulumi.get(self, "client_secret")
11003
+
11004
+ @property
11005
+ @pulumi.getter
11006
+ def scopes(self) -> Optional[Sequence[builtins.str]]:
11007
+ """
11008
+ Optional. The OAuth scopes to grant.
11009
+ """
11010
+ return pulumi.get(self, "scopes")
11011
+
11012
+ @property
11013
+ @pulumi.getter(name="secretVersionForClientSecret")
11014
+ def secret_version_for_client_secret(self) -> Optional[builtins.str]:
11015
+ """
11016
+ Optional. The name of the SecretManager secret version resource storing the client secret.
11017
+ If this field is set, the clientSecret field will be ignored.
11018
+ Format: projects/{project}/secrets/{secret}/versions/{version}
11019
+ """
11020
+ return pulumi.get(self, "secret_version_for_client_secret")
11021
+
11022
+
11023
+ @pulumi.output_type
11024
+ class CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig(dict):
11025
+ @staticmethod
11026
+ def __key_warning(key: str):
11027
+ suggest = None
11028
+ if key == "serviceAgentAuth":
11029
+ suggest = "service_agent_auth"
11030
+
11031
+ if suggest:
11032
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig. Access the value via the '{suggest}' property getter instead.")
11033
+
11034
+ def __getitem__(self, key: str) -> Any:
11035
+ CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig.__key_warning(key)
11036
+ return super().__getitem__(key)
11037
+
11038
+ def get(self, key: str, default = None) -> Any:
11039
+ CxToolOpenApiSpecAuthenticationServiceAgentAuthConfig.__key_warning(key)
11040
+ return super().get(key, default)
11041
+
11042
+ def __init__(__self__, *,
11043
+ service_agent_auth: Optional[builtins.str] = None):
11044
+ """
11045
+ :param builtins.str service_agent_auth: Optional. Indicate the auth token type generated from the Diglogflow service agent.
11046
+ The generated token is sent in the Authorization header.
11047
+ See [ServiceAgentAuth](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#serviceagentauth) for valid values.
11048
+ """
11049
+ if service_agent_auth is not None:
11050
+ pulumi.set(__self__, "service_agent_auth", service_agent_auth)
11051
+
11052
+ @property
11053
+ @pulumi.getter(name="serviceAgentAuth")
11054
+ def service_agent_auth(self) -> Optional[builtins.str]:
11055
+ """
11056
+ Optional. Indicate the auth token type generated from the Diglogflow service agent.
11057
+ The generated token is sent in the Authorization header.
11058
+ See [ServiceAgentAuth](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#serviceagentauth) for valid values.
11059
+ """
11060
+ return pulumi.get(self, "service_agent_auth")
11061
+
11062
+
11063
+ @pulumi.output_type
11064
+ class CxToolOpenApiSpecServiceDirectoryConfig(dict):
11065
+ def __init__(__self__, *,
11066
+ service: builtins.str):
11067
+ """
11068
+ :param builtins.str service: The name of [Service Directory](https://cloud.google.com/service-directory/docs) service.
11069
+ Format: projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>. LocationID of the service directory must be the same as the location of the agent.
11070
+ """
11071
+ pulumi.set(__self__, "service", service)
11072
+
11073
+ @property
11074
+ @pulumi.getter
11075
+ def service(self) -> builtins.str:
11076
+ """
11077
+ The name of [Service Directory](https://cloud.google.com/service-directory/docs) service.
11078
+ Format: projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>. LocationID of the service directory must be the same as the location of the agent.
11079
+ """
11080
+ return pulumi.get(self, "service")
11081
+
11082
+
11083
+ @pulumi.output_type
11084
+ class CxToolOpenApiSpecTlsConfig(dict):
11085
+ @staticmethod
11086
+ def __key_warning(key: str):
11087
+ suggest = None
11088
+ if key == "caCerts":
11089
+ suggest = "ca_certs"
11090
+
11091
+ if suggest:
11092
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecTlsConfig. Access the value via the '{suggest}' property getter instead.")
11093
+
11094
+ def __getitem__(self, key: str) -> Any:
11095
+ CxToolOpenApiSpecTlsConfig.__key_warning(key)
11096
+ return super().__getitem__(key)
11097
+
11098
+ def get(self, key: str, default = None) -> Any:
11099
+ CxToolOpenApiSpecTlsConfig.__key_warning(key)
11100
+ return super().get(key, default)
11101
+
11102
+ def __init__(__self__, *,
11103
+ ca_certs: Sequence['outputs.CxToolOpenApiSpecTlsConfigCaCert']):
11104
+ """
11105
+ :param Sequence['CxToolOpenApiSpecTlsConfigCaCertArgs'] ca_certs: Specifies a list of allowed custom CA certificates for HTTPS verification.
11106
+ Structure is documented below.
11107
+ """
11108
+ pulumi.set(__self__, "ca_certs", ca_certs)
11109
+
11110
+ @property
11111
+ @pulumi.getter(name="caCerts")
11112
+ def ca_certs(self) -> Sequence['outputs.CxToolOpenApiSpecTlsConfigCaCert']:
11113
+ """
11114
+ Specifies a list of allowed custom CA certificates for HTTPS verification.
11115
+ Structure is documented below.
11116
+ """
11117
+ return pulumi.get(self, "ca_certs")
11118
+
11119
+
11120
+ @pulumi.output_type
11121
+ class CxToolOpenApiSpecTlsConfigCaCert(dict):
11122
+ @staticmethod
11123
+ def __key_warning(key: str):
11124
+ suggest = None
11125
+ if key == "displayName":
11126
+ suggest = "display_name"
11127
+
11128
+ if suggest:
11129
+ pulumi.log.warn(f"Key '{key}' not found in CxToolOpenApiSpecTlsConfigCaCert. Access the value via the '{suggest}' property getter instead.")
11130
+
11131
+ def __getitem__(self, key: str) -> Any:
11132
+ CxToolOpenApiSpecTlsConfigCaCert.__key_warning(key)
11133
+ return super().__getitem__(key)
11134
+
11135
+ def get(self, key: str, default = None) -> Any:
11136
+ CxToolOpenApiSpecTlsConfigCaCert.__key_warning(key)
11137
+ return super().get(key, default)
11138
+
11139
+ def __init__(__self__, *,
11140
+ cert: builtins.str,
11141
+ display_name: builtins.str):
11142
+ """
11143
+ :param builtins.str cert: The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store.
11144
+ If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates.
11145
+ N.B. Make sure the HTTPS server certificates are signed with "subject alt name".
11146
+ For instance a certificate can be self-signed using the following command:
11147
+ ```
11148
+ openssl x509 -req -days 200 -in example.com.csr \\
11149
+ -signkey example.com.key \\
11150
+ -out example.com.crt \\
11151
+ -extfile <(printf "\\nsubjectAltName='DNS:www.example.com'")
11152
+ ```
11153
+ A base64-encoded string.
11154
+ :param builtins.str display_name: The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
11155
+ """
11156
+ pulumi.set(__self__, "cert", cert)
11157
+ pulumi.set(__self__, "display_name", display_name)
11158
+
11159
+ @property
11160
+ @pulumi.getter
11161
+ def cert(self) -> builtins.str:
11162
+ """
11163
+ The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store.
11164
+ If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates.
11165
+ N.B. Make sure the HTTPS server certificates are signed with "subject alt name".
11166
+ For instance a certificate can be self-signed using the following command:
11167
+ ```
11168
+ openssl x509 -req -days 200 -in example.com.csr \\
11169
+ -signkey example.com.key \\
11170
+ -out example.com.crt \\
11171
+ -extfile <(printf "\\nsubjectAltName='DNS:www.example.com'")
11172
+ ```
11173
+ A base64-encoded string.
11174
+ """
11175
+ return pulumi.get(self, "cert")
11176
+
11177
+ @property
11178
+ @pulumi.getter(name="displayName")
11179
+ def display_name(self) -> builtins.str:
11180
+ """
11181
+ The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
11182
+ """
11183
+ return pulumi.get(self, "display_name")
11184
+
11185
+
10406
11186
  @pulumi.output_type
10407
11187
  class CxVersionNluSetting(dict):
10408
11188
  @staticmethod