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.
- pulumi_gcp/__init__.py +8 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +100 -7
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +35 -7
- pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +12 -1
- pulumi_gcp/bigqueryanalyticshub/listing.py +108 -0
- pulumi_gcp/compute/_inputs.py +2028 -175
- pulumi_gcp/compute/disk.py +7 -7
- pulumi_gcp/compute/outputs.py +1483 -110
- pulumi_gcp/compute/region_url_map.py +344 -0
- pulumi_gcp/compute/target_http_proxy.py +118 -0
- pulumi_gcp/compute/target_https_proxy.py +132 -0
- pulumi_gcp/compute/url_map.py +344 -0
- pulumi_gcp/compute/vpn_tunnel.py +178 -0
- pulumi_gcp/dataplex/__init__.py +1 -0
- pulumi_gcp/dataplex/get_data_quality_rules.py +169 -0
- pulumi_gcp/dataplex/outputs.py +420 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +939 -0
- pulumi_gcp/diagflow/cx_agent.py +34 -0
- pulumi_gcp/diagflow/cx_tool.py +899 -0
- pulumi_gcp/diagflow/outputs.py +780 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/_inputs.py +24 -1
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +15 -1
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/netapp/_inputs.py +23 -0
- pulumi_gcp/netapp/outputs.py +16 -0
- pulumi_gcp/netapp/storage_pool.py +108 -0
- pulumi_gcp/networkconnectivity/_inputs.py +71 -1
- pulumi_gcp/networkconnectivity/outputs.py +64 -1
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/notebooks/runtime.py +4 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +77 -0
- pulumi_gcp/redis/cluster.py +32 -0
- pulumi_gcp/redis/outputs.py +63 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint_deployed_index.py +99 -64
- {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/RECORD +52 -50
- {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.35.0a1750142992.dist-info → pulumi_gcp-8.35.0a1750229953.dist-info}/top_level.txt +0 -0
pulumi_gcp/diagflow/_inputs.py
CHANGED
@@ -356,6 +356,32 @@ __all__ = [
|
|
356
356
|
'CxTestCaseTestCaseConversationTurnVirtualAgentOutputTriggeredIntentArgsDict',
|
357
357
|
'CxTestCaseTestConfigArgs',
|
358
358
|
'CxTestCaseTestConfigArgsDict',
|
359
|
+
'CxToolDataStoreSpecArgs',
|
360
|
+
'CxToolDataStoreSpecArgsDict',
|
361
|
+
'CxToolDataStoreSpecDataStoreConnectionArgs',
|
362
|
+
'CxToolDataStoreSpecDataStoreConnectionArgsDict',
|
363
|
+
'CxToolDataStoreSpecFallbackPromptArgs',
|
364
|
+
'CxToolDataStoreSpecFallbackPromptArgsDict',
|
365
|
+
'CxToolFunctionSpecArgs',
|
366
|
+
'CxToolFunctionSpecArgsDict',
|
367
|
+
'CxToolOpenApiSpecArgs',
|
368
|
+
'CxToolOpenApiSpecArgsDict',
|
369
|
+
'CxToolOpenApiSpecAuthenticationArgs',
|
370
|
+
'CxToolOpenApiSpecAuthenticationArgsDict',
|
371
|
+
'CxToolOpenApiSpecAuthenticationApiKeyConfigArgs',
|
372
|
+
'CxToolOpenApiSpecAuthenticationApiKeyConfigArgsDict',
|
373
|
+
'CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs',
|
374
|
+
'CxToolOpenApiSpecAuthenticationBearerTokenConfigArgsDict',
|
375
|
+
'CxToolOpenApiSpecAuthenticationOauthConfigArgs',
|
376
|
+
'CxToolOpenApiSpecAuthenticationOauthConfigArgsDict',
|
377
|
+
'CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs',
|
378
|
+
'CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgsDict',
|
379
|
+
'CxToolOpenApiSpecServiceDirectoryConfigArgs',
|
380
|
+
'CxToolOpenApiSpecServiceDirectoryConfigArgsDict',
|
381
|
+
'CxToolOpenApiSpecTlsConfigArgs',
|
382
|
+
'CxToolOpenApiSpecTlsConfigArgsDict',
|
383
|
+
'CxToolOpenApiSpecTlsConfigCaCertArgs',
|
384
|
+
'CxToolOpenApiSpecTlsConfigCaCertArgsDict',
|
359
385
|
'CxVersionNluSettingArgs',
|
360
386
|
'CxVersionNluSettingArgsDict',
|
361
387
|
'CxWebhookGenericWebServiceArgs',
|
@@ -13552,6 +13578,919 @@ class CxTestCaseTestConfigArgs:
|
|
13552
13578
|
pulumi.set(self, "tracking_parameters", value)
|
13553
13579
|
|
13554
13580
|
|
13581
|
+
if not MYPY:
|
13582
|
+
class CxToolDataStoreSpecArgsDict(TypedDict):
|
13583
|
+
data_store_connections: pulumi.Input[Sequence[pulumi.Input['CxToolDataStoreSpecDataStoreConnectionArgsDict']]]
|
13584
|
+
"""
|
13585
|
+
List of data stores to search.
|
13586
|
+
Structure is documented below.
|
13587
|
+
"""
|
13588
|
+
fallback_prompt: pulumi.Input['CxToolDataStoreSpecFallbackPromptArgsDict']
|
13589
|
+
"""
|
13590
|
+
Fallback prompt configurations to use.
|
13591
|
+
"""
|
13592
|
+
elif False:
|
13593
|
+
CxToolDataStoreSpecArgsDict: TypeAlias = Mapping[str, Any]
|
13594
|
+
|
13595
|
+
@pulumi.input_type
|
13596
|
+
class CxToolDataStoreSpecArgs:
|
13597
|
+
def __init__(__self__, *,
|
13598
|
+
data_store_connections: pulumi.Input[Sequence[pulumi.Input['CxToolDataStoreSpecDataStoreConnectionArgs']]],
|
13599
|
+
fallback_prompt: pulumi.Input['CxToolDataStoreSpecFallbackPromptArgs']):
|
13600
|
+
"""
|
13601
|
+
:param pulumi.Input[Sequence[pulumi.Input['CxToolDataStoreSpecDataStoreConnectionArgs']]] data_store_connections: List of data stores to search.
|
13602
|
+
Structure is documented below.
|
13603
|
+
:param pulumi.Input['CxToolDataStoreSpecFallbackPromptArgs'] fallback_prompt: Fallback prompt configurations to use.
|
13604
|
+
"""
|
13605
|
+
pulumi.set(__self__, "data_store_connections", data_store_connections)
|
13606
|
+
pulumi.set(__self__, "fallback_prompt", fallback_prompt)
|
13607
|
+
|
13608
|
+
@property
|
13609
|
+
@pulumi.getter(name="dataStoreConnections")
|
13610
|
+
def data_store_connections(self) -> pulumi.Input[Sequence[pulumi.Input['CxToolDataStoreSpecDataStoreConnectionArgs']]]:
|
13611
|
+
"""
|
13612
|
+
List of data stores to search.
|
13613
|
+
Structure is documented below.
|
13614
|
+
"""
|
13615
|
+
return pulumi.get(self, "data_store_connections")
|
13616
|
+
|
13617
|
+
@data_store_connections.setter
|
13618
|
+
def data_store_connections(self, value: pulumi.Input[Sequence[pulumi.Input['CxToolDataStoreSpecDataStoreConnectionArgs']]]):
|
13619
|
+
pulumi.set(self, "data_store_connections", value)
|
13620
|
+
|
13621
|
+
@property
|
13622
|
+
@pulumi.getter(name="fallbackPrompt")
|
13623
|
+
def fallback_prompt(self) -> pulumi.Input['CxToolDataStoreSpecFallbackPromptArgs']:
|
13624
|
+
"""
|
13625
|
+
Fallback prompt configurations to use.
|
13626
|
+
"""
|
13627
|
+
return pulumi.get(self, "fallback_prompt")
|
13628
|
+
|
13629
|
+
@fallback_prompt.setter
|
13630
|
+
def fallback_prompt(self, value: pulumi.Input['CxToolDataStoreSpecFallbackPromptArgs']):
|
13631
|
+
pulumi.set(self, "fallback_prompt", value)
|
13632
|
+
|
13633
|
+
|
13634
|
+
if not MYPY:
|
13635
|
+
class CxToolDataStoreSpecDataStoreConnectionArgsDict(TypedDict):
|
13636
|
+
data_store: NotRequired[pulumi.Input[builtins.str]]
|
13637
|
+
"""
|
13638
|
+
The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
|
13639
|
+
"""
|
13640
|
+
data_store_type: NotRequired[pulumi.Input[builtins.str]]
|
13641
|
+
"""
|
13642
|
+
The type of the connected data store.
|
13643
|
+
See [DataStoreType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#datastoretype) for valid values.
|
13644
|
+
"""
|
13645
|
+
document_processing_mode: NotRequired[pulumi.Input[builtins.str]]
|
13646
|
+
"""
|
13647
|
+
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.
|
13648
|
+
See [DocumentProcessingMode](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#documentprocessingmode) for valid values.
|
13649
|
+
"""
|
13650
|
+
elif False:
|
13651
|
+
CxToolDataStoreSpecDataStoreConnectionArgsDict: TypeAlias = Mapping[str, Any]
|
13652
|
+
|
13653
|
+
@pulumi.input_type
|
13654
|
+
class CxToolDataStoreSpecDataStoreConnectionArgs:
|
13655
|
+
def __init__(__self__, *,
|
13656
|
+
data_store: Optional[pulumi.Input[builtins.str]] = None,
|
13657
|
+
data_store_type: Optional[pulumi.Input[builtins.str]] = None,
|
13658
|
+
document_processing_mode: Optional[pulumi.Input[builtins.str]] = None):
|
13659
|
+
"""
|
13660
|
+
:param pulumi.Input[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}
|
13661
|
+
:param pulumi.Input[builtins.str] data_store_type: The type of the connected data store.
|
13662
|
+
See [DataStoreType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#datastoretype) for valid values.
|
13663
|
+
:param pulumi.Input[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.
|
13664
|
+
See [DocumentProcessingMode](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#documentprocessingmode) for valid values.
|
13665
|
+
"""
|
13666
|
+
if data_store is not None:
|
13667
|
+
pulumi.set(__self__, "data_store", data_store)
|
13668
|
+
if data_store_type is not None:
|
13669
|
+
pulumi.set(__self__, "data_store_type", data_store_type)
|
13670
|
+
if document_processing_mode is not None:
|
13671
|
+
pulumi.set(__self__, "document_processing_mode", document_processing_mode)
|
13672
|
+
|
13673
|
+
@property
|
13674
|
+
@pulumi.getter(name="dataStore")
|
13675
|
+
def data_store(self) -> Optional[pulumi.Input[builtins.str]]:
|
13676
|
+
"""
|
13677
|
+
The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
|
13678
|
+
"""
|
13679
|
+
return pulumi.get(self, "data_store")
|
13680
|
+
|
13681
|
+
@data_store.setter
|
13682
|
+
def data_store(self, value: Optional[pulumi.Input[builtins.str]]):
|
13683
|
+
pulumi.set(self, "data_store", value)
|
13684
|
+
|
13685
|
+
@property
|
13686
|
+
@pulumi.getter(name="dataStoreType")
|
13687
|
+
def data_store_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
13688
|
+
"""
|
13689
|
+
The type of the connected data store.
|
13690
|
+
See [DataStoreType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#datastoretype) for valid values.
|
13691
|
+
"""
|
13692
|
+
return pulumi.get(self, "data_store_type")
|
13693
|
+
|
13694
|
+
@data_store_type.setter
|
13695
|
+
def data_store_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
13696
|
+
pulumi.set(self, "data_store_type", value)
|
13697
|
+
|
13698
|
+
@property
|
13699
|
+
@pulumi.getter(name="documentProcessingMode")
|
13700
|
+
def document_processing_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
13701
|
+
"""
|
13702
|
+
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.
|
13703
|
+
See [DocumentProcessingMode](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection#documentprocessingmode) for valid values.
|
13704
|
+
"""
|
13705
|
+
return pulumi.get(self, "document_processing_mode")
|
13706
|
+
|
13707
|
+
@document_processing_mode.setter
|
13708
|
+
def document_processing_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
13709
|
+
pulumi.set(self, "document_processing_mode", value)
|
13710
|
+
|
13711
|
+
|
13712
|
+
if not MYPY:
|
13713
|
+
class CxToolDataStoreSpecFallbackPromptArgsDict(TypedDict):
|
13714
|
+
pass
|
13715
|
+
elif False:
|
13716
|
+
CxToolDataStoreSpecFallbackPromptArgsDict: TypeAlias = Mapping[str, Any]
|
13717
|
+
|
13718
|
+
@pulumi.input_type
|
13719
|
+
class CxToolDataStoreSpecFallbackPromptArgs:
|
13720
|
+
def __init__(__self__):
|
13721
|
+
pass
|
13722
|
+
|
13723
|
+
|
13724
|
+
if not MYPY:
|
13725
|
+
class CxToolFunctionSpecArgsDict(TypedDict):
|
13726
|
+
input_schema: NotRequired[pulumi.Input[builtins.str]]
|
13727
|
+
"""
|
13728
|
+
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.
|
13729
|
+
This input is a JSON object that contains the function's parameters as properties of the object
|
13730
|
+
"""
|
13731
|
+
output_schema: NotRequired[pulumi.Input[builtins.str]]
|
13732
|
+
"""
|
13733
|
+
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.
|
13734
|
+
This output is a JSON object that contains the function's parameters as properties of the object
|
13735
|
+
"""
|
13736
|
+
elif False:
|
13737
|
+
CxToolFunctionSpecArgsDict: TypeAlias = Mapping[str, Any]
|
13738
|
+
|
13739
|
+
@pulumi.input_type
|
13740
|
+
class CxToolFunctionSpecArgs:
|
13741
|
+
def __init__(__self__, *,
|
13742
|
+
input_schema: Optional[pulumi.Input[builtins.str]] = None,
|
13743
|
+
output_schema: Optional[pulumi.Input[builtins.str]] = None):
|
13744
|
+
"""
|
13745
|
+
:param pulumi.Input[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.
|
13746
|
+
This input is a JSON object that contains the function's parameters as properties of the object
|
13747
|
+
:param pulumi.Input[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.
|
13748
|
+
This output is a JSON object that contains the function's parameters as properties of the object
|
13749
|
+
"""
|
13750
|
+
if input_schema is not None:
|
13751
|
+
pulumi.set(__self__, "input_schema", input_schema)
|
13752
|
+
if output_schema is not None:
|
13753
|
+
pulumi.set(__self__, "output_schema", output_schema)
|
13754
|
+
|
13755
|
+
@property
|
13756
|
+
@pulumi.getter(name="inputSchema")
|
13757
|
+
def input_schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
13758
|
+
"""
|
13759
|
+
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.
|
13760
|
+
This input is a JSON object that contains the function's parameters as properties of the object
|
13761
|
+
"""
|
13762
|
+
return pulumi.get(self, "input_schema")
|
13763
|
+
|
13764
|
+
@input_schema.setter
|
13765
|
+
def input_schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
13766
|
+
pulumi.set(self, "input_schema", value)
|
13767
|
+
|
13768
|
+
@property
|
13769
|
+
@pulumi.getter(name="outputSchema")
|
13770
|
+
def output_schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
13771
|
+
"""
|
13772
|
+
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.
|
13773
|
+
This output is a JSON object that contains the function's parameters as properties of the object
|
13774
|
+
"""
|
13775
|
+
return pulumi.get(self, "output_schema")
|
13776
|
+
|
13777
|
+
@output_schema.setter
|
13778
|
+
def output_schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
13779
|
+
pulumi.set(self, "output_schema", value)
|
13780
|
+
|
13781
|
+
|
13782
|
+
if not MYPY:
|
13783
|
+
class CxToolOpenApiSpecArgsDict(TypedDict):
|
13784
|
+
text_schema: pulumi.Input[builtins.str]
|
13785
|
+
"""
|
13786
|
+
The OpenAPI schema specified as a text.
|
13787
|
+
This field is part of a union field `schema`: only one of `textSchema` may be set.
|
13788
|
+
"""
|
13789
|
+
authentication: NotRequired[pulumi.Input['CxToolOpenApiSpecAuthenticationArgsDict']]
|
13790
|
+
"""
|
13791
|
+
Optional. Authentication information required by the API.
|
13792
|
+
Structure is documented below.
|
13793
|
+
"""
|
13794
|
+
service_directory_config: NotRequired[pulumi.Input['CxToolOpenApiSpecServiceDirectoryConfigArgsDict']]
|
13795
|
+
"""
|
13796
|
+
Optional. Service Directory configuration.
|
13797
|
+
Structure is documented below.
|
13798
|
+
"""
|
13799
|
+
tls_config: NotRequired[pulumi.Input['CxToolOpenApiSpecTlsConfigArgsDict']]
|
13800
|
+
"""
|
13801
|
+
Optional. TLS configuration for the HTTPS verification.
|
13802
|
+
Structure is documented below.
|
13803
|
+
"""
|
13804
|
+
elif False:
|
13805
|
+
CxToolOpenApiSpecArgsDict: TypeAlias = Mapping[str, Any]
|
13806
|
+
|
13807
|
+
@pulumi.input_type
|
13808
|
+
class CxToolOpenApiSpecArgs:
|
13809
|
+
def __init__(__self__, *,
|
13810
|
+
text_schema: pulumi.Input[builtins.str],
|
13811
|
+
authentication: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationArgs']] = None,
|
13812
|
+
service_directory_config: Optional[pulumi.Input['CxToolOpenApiSpecServiceDirectoryConfigArgs']] = None,
|
13813
|
+
tls_config: Optional[pulumi.Input['CxToolOpenApiSpecTlsConfigArgs']] = None):
|
13814
|
+
"""
|
13815
|
+
:param pulumi.Input[builtins.str] text_schema: The OpenAPI schema specified as a text.
|
13816
|
+
This field is part of a union field `schema`: only one of `textSchema` may be set.
|
13817
|
+
:param pulumi.Input['CxToolOpenApiSpecAuthenticationArgs'] authentication: Optional. Authentication information required by the API.
|
13818
|
+
Structure is documented below.
|
13819
|
+
:param pulumi.Input['CxToolOpenApiSpecServiceDirectoryConfigArgs'] service_directory_config: Optional. Service Directory configuration.
|
13820
|
+
Structure is documented below.
|
13821
|
+
:param pulumi.Input['CxToolOpenApiSpecTlsConfigArgs'] tls_config: Optional. TLS configuration for the HTTPS verification.
|
13822
|
+
Structure is documented below.
|
13823
|
+
"""
|
13824
|
+
pulumi.set(__self__, "text_schema", text_schema)
|
13825
|
+
if authentication is not None:
|
13826
|
+
pulumi.set(__self__, "authentication", authentication)
|
13827
|
+
if service_directory_config is not None:
|
13828
|
+
pulumi.set(__self__, "service_directory_config", service_directory_config)
|
13829
|
+
if tls_config is not None:
|
13830
|
+
pulumi.set(__self__, "tls_config", tls_config)
|
13831
|
+
|
13832
|
+
@property
|
13833
|
+
@pulumi.getter(name="textSchema")
|
13834
|
+
def text_schema(self) -> pulumi.Input[builtins.str]:
|
13835
|
+
"""
|
13836
|
+
The OpenAPI schema specified as a text.
|
13837
|
+
This field is part of a union field `schema`: only one of `textSchema` may be set.
|
13838
|
+
"""
|
13839
|
+
return pulumi.get(self, "text_schema")
|
13840
|
+
|
13841
|
+
@text_schema.setter
|
13842
|
+
def text_schema(self, value: pulumi.Input[builtins.str]):
|
13843
|
+
pulumi.set(self, "text_schema", value)
|
13844
|
+
|
13845
|
+
@property
|
13846
|
+
@pulumi.getter
|
13847
|
+
def authentication(self) -> Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationArgs']]:
|
13848
|
+
"""
|
13849
|
+
Optional. Authentication information required by the API.
|
13850
|
+
Structure is documented below.
|
13851
|
+
"""
|
13852
|
+
return pulumi.get(self, "authentication")
|
13853
|
+
|
13854
|
+
@authentication.setter
|
13855
|
+
def authentication(self, value: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationArgs']]):
|
13856
|
+
pulumi.set(self, "authentication", value)
|
13857
|
+
|
13858
|
+
@property
|
13859
|
+
@pulumi.getter(name="serviceDirectoryConfig")
|
13860
|
+
def service_directory_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecServiceDirectoryConfigArgs']]:
|
13861
|
+
"""
|
13862
|
+
Optional. Service Directory configuration.
|
13863
|
+
Structure is documented below.
|
13864
|
+
"""
|
13865
|
+
return pulumi.get(self, "service_directory_config")
|
13866
|
+
|
13867
|
+
@service_directory_config.setter
|
13868
|
+
def service_directory_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecServiceDirectoryConfigArgs']]):
|
13869
|
+
pulumi.set(self, "service_directory_config", value)
|
13870
|
+
|
13871
|
+
@property
|
13872
|
+
@pulumi.getter(name="tlsConfig")
|
13873
|
+
def tls_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecTlsConfigArgs']]:
|
13874
|
+
"""
|
13875
|
+
Optional. TLS configuration for the HTTPS verification.
|
13876
|
+
Structure is documented below.
|
13877
|
+
"""
|
13878
|
+
return pulumi.get(self, "tls_config")
|
13879
|
+
|
13880
|
+
@tls_config.setter
|
13881
|
+
def tls_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecTlsConfigArgs']]):
|
13882
|
+
pulumi.set(self, "tls_config", value)
|
13883
|
+
|
13884
|
+
|
13885
|
+
if not MYPY:
|
13886
|
+
class CxToolOpenApiSpecAuthenticationArgsDict(TypedDict):
|
13887
|
+
api_key_config: NotRequired[pulumi.Input['CxToolOpenApiSpecAuthenticationApiKeyConfigArgsDict']]
|
13888
|
+
"""
|
13889
|
+
Config for API key auth.
|
13890
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13891
|
+
Structure is documented below.
|
13892
|
+
"""
|
13893
|
+
bearer_token_config: NotRequired[pulumi.Input['CxToolOpenApiSpecAuthenticationBearerTokenConfigArgsDict']]
|
13894
|
+
"""
|
13895
|
+
Config for bearer token auth.
|
13896
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13897
|
+
Structure is documented below.
|
13898
|
+
"""
|
13899
|
+
oauth_config: NotRequired[pulumi.Input['CxToolOpenApiSpecAuthenticationOauthConfigArgsDict']]
|
13900
|
+
"""
|
13901
|
+
Config for OAuth.
|
13902
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13903
|
+
Structure is documented below.
|
13904
|
+
"""
|
13905
|
+
service_agent_auth_config: NotRequired[pulumi.Input['CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgsDict']]
|
13906
|
+
"""
|
13907
|
+
Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.
|
13908
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13909
|
+
Structure is documented below.
|
13910
|
+
"""
|
13911
|
+
elif False:
|
13912
|
+
CxToolOpenApiSpecAuthenticationArgsDict: TypeAlias = Mapping[str, Any]
|
13913
|
+
|
13914
|
+
@pulumi.input_type
|
13915
|
+
class CxToolOpenApiSpecAuthenticationArgs:
|
13916
|
+
def __init__(__self__, *,
|
13917
|
+
api_key_config: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationApiKeyConfigArgs']] = None,
|
13918
|
+
bearer_token_config: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs']] = None,
|
13919
|
+
oauth_config: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationOauthConfigArgs']] = None,
|
13920
|
+
service_agent_auth_config: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs']] = None):
|
13921
|
+
"""
|
13922
|
+
:param pulumi.Input['CxToolOpenApiSpecAuthenticationApiKeyConfigArgs'] api_key_config: Config for API key auth.
|
13923
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13924
|
+
Structure is documented below.
|
13925
|
+
:param pulumi.Input['CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs'] bearer_token_config: Config for bearer token auth.
|
13926
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13927
|
+
Structure is documented below.
|
13928
|
+
:param pulumi.Input['CxToolOpenApiSpecAuthenticationOauthConfigArgs'] oauth_config: Config for OAuth.
|
13929
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13930
|
+
Structure is documented below.
|
13931
|
+
:param pulumi.Input['CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs'] service_agent_auth_config: Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.
|
13932
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13933
|
+
Structure is documented below.
|
13934
|
+
"""
|
13935
|
+
if api_key_config is not None:
|
13936
|
+
pulumi.set(__self__, "api_key_config", api_key_config)
|
13937
|
+
if bearer_token_config is not None:
|
13938
|
+
pulumi.set(__self__, "bearer_token_config", bearer_token_config)
|
13939
|
+
if oauth_config is not None:
|
13940
|
+
pulumi.set(__self__, "oauth_config", oauth_config)
|
13941
|
+
if service_agent_auth_config is not None:
|
13942
|
+
pulumi.set(__self__, "service_agent_auth_config", service_agent_auth_config)
|
13943
|
+
|
13944
|
+
@property
|
13945
|
+
@pulumi.getter(name="apiKeyConfig")
|
13946
|
+
def api_key_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationApiKeyConfigArgs']]:
|
13947
|
+
"""
|
13948
|
+
Config for API key auth.
|
13949
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13950
|
+
Structure is documented below.
|
13951
|
+
"""
|
13952
|
+
return pulumi.get(self, "api_key_config")
|
13953
|
+
|
13954
|
+
@api_key_config.setter
|
13955
|
+
def api_key_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationApiKeyConfigArgs']]):
|
13956
|
+
pulumi.set(self, "api_key_config", value)
|
13957
|
+
|
13958
|
+
@property
|
13959
|
+
@pulumi.getter(name="bearerTokenConfig")
|
13960
|
+
def bearer_token_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs']]:
|
13961
|
+
"""
|
13962
|
+
Config for bearer token auth.
|
13963
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13964
|
+
Structure is documented below.
|
13965
|
+
"""
|
13966
|
+
return pulumi.get(self, "bearer_token_config")
|
13967
|
+
|
13968
|
+
@bearer_token_config.setter
|
13969
|
+
def bearer_token_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs']]):
|
13970
|
+
pulumi.set(self, "bearer_token_config", value)
|
13971
|
+
|
13972
|
+
@property
|
13973
|
+
@pulumi.getter(name="oauthConfig")
|
13974
|
+
def oauth_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationOauthConfigArgs']]:
|
13975
|
+
"""
|
13976
|
+
Config for OAuth.
|
13977
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13978
|
+
Structure is documented below.
|
13979
|
+
"""
|
13980
|
+
return pulumi.get(self, "oauth_config")
|
13981
|
+
|
13982
|
+
@oauth_config.setter
|
13983
|
+
def oauth_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationOauthConfigArgs']]):
|
13984
|
+
pulumi.set(self, "oauth_config", value)
|
13985
|
+
|
13986
|
+
@property
|
13987
|
+
@pulumi.getter(name="serviceAgentAuthConfig")
|
13988
|
+
def service_agent_auth_config(self) -> Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs']]:
|
13989
|
+
"""
|
13990
|
+
Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.
|
13991
|
+
This field is part of a union field `auth_config`: Only one of `apiKeyConfig`, `oauthConfig`, `serviceAgentAuthConfig`, or `bearerTokenConfig` may be set.
|
13992
|
+
Structure is documented below.
|
13993
|
+
"""
|
13994
|
+
return pulumi.get(self, "service_agent_auth_config")
|
13995
|
+
|
13996
|
+
@service_agent_auth_config.setter
|
13997
|
+
def service_agent_auth_config(self, value: Optional[pulumi.Input['CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs']]):
|
13998
|
+
pulumi.set(self, "service_agent_auth_config", value)
|
13999
|
+
|
14000
|
+
|
14001
|
+
if not MYPY:
|
14002
|
+
class CxToolOpenApiSpecAuthenticationApiKeyConfigArgsDict(TypedDict):
|
14003
|
+
key_name: pulumi.Input[builtins.str]
|
14004
|
+
"""
|
14005
|
+
The parameter name or the header name of the API key.
|
14006
|
+
E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
|
14007
|
+
"""
|
14008
|
+
request_location: pulumi.Input[builtins.str]
|
14009
|
+
"""
|
14010
|
+
Key location in the request.
|
14011
|
+
See [RequestLocation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#requestlocation) for valid values.
|
14012
|
+
"""
|
14013
|
+
api_key: NotRequired[pulumi.Input[builtins.str]]
|
14014
|
+
"""
|
14015
|
+
Optional. The API key. If the `secretVersionForApiKey`` field is set, this field will be ignored.
|
14016
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14017
|
+
"""
|
14018
|
+
secret_version_for_api_key: NotRequired[pulumi.Input[builtins.str]]
|
14019
|
+
"""
|
14020
|
+
Optional. The name of the SecretManager secret version resource storing the API key.
|
14021
|
+
If this field is set, the apiKey field will be ignored.
|
14022
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14023
|
+
"""
|
14024
|
+
elif False:
|
14025
|
+
CxToolOpenApiSpecAuthenticationApiKeyConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14026
|
+
|
14027
|
+
@pulumi.input_type
|
14028
|
+
class CxToolOpenApiSpecAuthenticationApiKeyConfigArgs:
|
14029
|
+
def __init__(__self__, *,
|
14030
|
+
key_name: pulumi.Input[builtins.str],
|
14031
|
+
request_location: pulumi.Input[builtins.str],
|
14032
|
+
api_key: Optional[pulumi.Input[builtins.str]] = None,
|
14033
|
+
secret_version_for_api_key: Optional[pulumi.Input[builtins.str]] = None):
|
14034
|
+
"""
|
14035
|
+
:param pulumi.Input[builtins.str] key_name: The parameter name or the header name of the API key.
|
14036
|
+
E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
|
14037
|
+
:param pulumi.Input[builtins.str] request_location: Key location in the request.
|
14038
|
+
See [RequestLocation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#requestlocation) for valid values.
|
14039
|
+
:param pulumi.Input[builtins.str] api_key: Optional. The API key. If the `secretVersionForApiKey`` field is set, this field will be ignored.
|
14040
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14041
|
+
:param pulumi.Input[builtins.str] secret_version_for_api_key: Optional. The name of the SecretManager secret version resource storing the API key.
|
14042
|
+
If this field is set, the apiKey field will be ignored.
|
14043
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14044
|
+
"""
|
14045
|
+
pulumi.set(__self__, "key_name", key_name)
|
14046
|
+
pulumi.set(__self__, "request_location", request_location)
|
14047
|
+
if api_key is not None:
|
14048
|
+
pulumi.set(__self__, "api_key", api_key)
|
14049
|
+
if secret_version_for_api_key is not None:
|
14050
|
+
pulumi.set(__self__, "secret_version_for_api_key", secret_version_for_api_key)
|
14051
|
+
|
14052
|
+
@property
|
14053
|
+
@pulumi.getter(name="keyName")
|
14054
|
+
def key_name(self) -> pulumi.Input[builtins.str]:
|
14055
|
+
"""
|
14056
|
+
The parameter name or the header name of the API key.
|
14057
|
+
E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
|
14058
|
+
"""
|
14059
|
+
return pulumi.get(self, "key_name")
|
14060
|
+
|
14061
|
+
@key_name.setter
|
14062
|
+
def key_name(self, value: pulumi.Input[builtins.str]):
|
14063
|
+
pulumi.set(self, "key_name", value)
|
14064
|
+
|
14065
|
+
@property
|
14066
|
+
@pulumi.getter(name="requestLocation")
|
14067
|
+
def request_location(self) -> pulumi.Input[builtins.str]:
|
14068
|
+
"""
|
14069
|
+
Key location in the request.
|
14070
|
+
See [RequestLocation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#requestlocation) for valid values.
|
14071
|
+
"""
|
14072
|
+
return pulumi.get(self, "request_location")
|
14073
|
+
|
14074
|
+
@request_location.setter
|
14075
|
+
def request_location(self, value: pulumi.Input[builtins.str]):
|
14076
|
+
pulumi.set(self, "request_location", value)
|
14077
|
+
|
14078
|
+
@property
|
14079
|
+
@pulumi.getter(name="apiKey")
|
14080
|
+
def api_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
14081
|
+
"""
|
14082
|
+
Optional. The API key. If the `secretVersionForApiKey`` field is set, this field will be ignored.
|
14083
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14084
|
+
"""
|
14085
|
+
return pulumi.get(self, "api_key")
|
14086
|
+
|
14087
|
+
@api_key.setter
|
14088
|
+
def api_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
14089
|
+
pulumi.set(self, "api_key", value)
|
14090
|
+
|
14091
|
+
@property
|
14092
|
+
@pulumi.getter(name="secretVersionForApiKey")
|
14093
|
+
def secret_version_for_api_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
14094
|
+
"""
|
14095
|
+
Optional. The name of the SecretManager secret version resource storing the API key.
|
14096
|
+
If this field is set, the apiKey field will be ignored.
|
14097
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14098
|
+
"""
|
14099
|
+
return pulumi.get(self, "secret_version_for_api_key")
|
14100
|
+
|
14101
|
+
@secret_version_for_api_key.setter
|
14102
|
+
def secret_version_for_api_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
14103
|
+
pulumi.set(self, "secret_version_for_api_key", value)
|
14104
|
+
|
14105
|
+
|
14106
|
+
if not MYPY:
|
14107
|
+
class CxToolOpenApiSpecAuthenticationBearerTokenConfigArgsDict(TypedDict):
|
14108
|
+
secret_version_for_token: NotRequired[pulumi.Input[builtins.str]]
|
14109
|
+
"""
|
14110
|
+
Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the `token` field will be ignored.
|
14111
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14112
|
+
"""
|
14113
|
+
token: NotRequired[pulumi.Input[builtins.str]]
|
14114
|
+
"""
|
14115
|
+
Optional. The text token appended to the text Bearer to the request Authorization header.
|
14116
|
+
[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`.
|
14117
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14118
|
+
"""
|
14119
|
+
elif False:
|
14120
|
+
CxToolOpenApiSpecAuthenticationBearerTokenConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14121
|
+
|
14122
|
+
@pulumi.input_type
|
14123
|
+
class CxToolOpenApiSpecAuthenticationBearerTokenConfigArgs:
|
14124
|
+
def __init__(__self__, *,
|
14125
|
+
secret_version_for_token: Optional[pulumi.Input[builtins.str]] = None,
|
14126
|
+
token: Optional[pulumi.Input[builtins.str]] = None):
|
14127
|
+
"""
|
14128
|
+
:param pulumi.Input[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.
|
14129
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14130
|
+
:param pulumi.Input[builtins.str] token: Optional. The text token appended to the text Bearer to the request Authorization header.
|
14131
|
+
[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`.
|
14132
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14133
|
+
"""
|
14134
|
+
if secret_version_for_token is not None:
|
14135
|
+
pulumi.set(__self__, "secret_version_for_token", secret_version_for_token)
|
14136
|
+
if token is not None:
|
14137
|
+
pulumi.set(__self__, "token", token)
|
14138
|
+
|
14139
|
+
@property
|
14140
|
+
@pulumi.getter(name="secretVersionForToken")
|
14141
|
+
def secret_version_for_token(self) -> Optional[pulumi.Input[builtins.str]]:
|
14142
|
+
"""
|
14143
|
+
Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the `token` field will be ignored.
|
14144
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14145
|
+
"""
|
14146
|
+
return pulumi.get(self, "secret_version_for_token")
|
14147
|
+
|
14148
|
+
@secret_version_for_token.setter
|
14149
|
+
def secret_version_for_token(self, value: Optional[pulumi.Input[builtins.str]]):
|
14150
|
+
pulumi.set(self, "secret_version_for_token", value)
|
14151
|
+
|
14152
|
+
@property
|
14153
|
+
@pulumi.getter
|
14154
|
+
def token(self) -> Optional[pulumi.Input[builtins.str]]:
|
14155
|
+
"""
|
14156
|
+
Optional. The text token appended to the text Bearer to the request Authorization header.
|
14157
|
+
[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`.
|
14158
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14159
|
+
"""
|
14160
|
+
return pulumi.get(self, "token")
|
14161
|
+
|
14162
|
+
@token.setter
|
14163
|
+
def token(self, value: Optional[pulumi.Input[builtins.str]]):
|
14164
|
+
pulumi.set(self, "token", value)
|
14165
|
+
|
14166
|
+
|
14167
|
+
if not MYPY:
|
14168
|
+
class CxToolOpenApiSpecAuthenticationOauthConfigArgsDict(TypedDict):
|
14169
|
+
client_id: pulumi.Input[builtins.str]
|
14170
|
+
"""
|
14171
|
+
The client ID from the OAuth provider.
|
14172
|
+
"""
|
14173
|
+
oauth_grant_type: pulumi.Input[builtins.str]
|
14174
|
+
"""
|
14175
|
+
OAuth grant types.
|
14176
|
+
See [OauthGrantType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#oauthgranttype) for valid values
|
14177
|
+
"""
|
14178
|
+
token_endpoint: pulumi.Input[builtins.str]
|
14179
|
+
"""
|
14180
|
+
The token endpoint in the OAuth provider to exchange for an access token.
|
14181
|
+
"""
|
14182
|
+
client_secret: NotRequired[pulumi.Input[builtins.str]]
|
14183
|
+
"""
|
14184
|
+
Optional. The client secret from the OAuth provider. If the `secretVersionForClientSecret` field is set, this field will be ignored.
|
14185
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14186
|
+
"""
|
14187
|
+
scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
14188
|
+
"""
|
14189
|
+
Optional. The OAuth scopes to grant.
|
14190
|
+
"""
|
14191
|
+
secret_version_for_client_secret: NotRequired[pulumi.Input[builtins.str]]
|
14192
|
+
"""
|
14193
|
+
Optional. The name of the SecretManager secret version resource storing the client secret.
|
14194
|
+
If this field is set, the clientSecret field will be ignored.
|
14195
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14196
|
+
"""
|
14197
|
+
elif False:
|
14198
|
+
CxToolOpenApiSpecAuthenticationOauthConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14199
|
+
|
14200
|
+
@pulumi.input_type
|
14201
|
+
class CxToolOpenApiSpecAuthenticationOauthConfigArgs:
|
14202
|
+
def __init__(__self__, *,
|
14203
|
+
client_id: pulumi.Input[builtins.str],
|
14204
|
+
oauth_grant_type: pulumi.Input[builtins.str],
|
14205
|
+
token_endpoint: pulumi.Input[builtins.str],
|
14206
|
+
client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
14207
|
+
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
14208
|
+
secret_version_for_client_secret: Optional[pulumi.Input[builtins.str]] = None):
|
14209
|
+
"""
|
14210
|
+
:param pulumi.Input[builtins.str] client_id: The client ID from the OAuth provider.
|
14211
|
+
:param pulumi.Input[builtins.str] oauth_grant_type: OAuth grant types.
|
14212
|
+
See [OauthGrantType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#oauthgranttype) for valid values
|
14213
|
+
:param pulumi.Input[builtins.str] token_endpoint: The token endpoint in the OAuth provider to exchange for an access token.
|
14214
|
+
:param pulumi.Input[builtins.str] client_secret: Optional. The client secret from the OAuth provider. If the `secretVersionForClientSecret` field is set, this field will be ignored.
|
14215
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14216
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scopes: Optional. The OAuth scopes to grant.
|
14217
|
+
:param pulumi.Input[builtins.str] secret_version_for_client_secret: Optional. The name of the SecretManager secret version resource storing the client secret.
|
14218
|
+
If this field is set, the clientSecret field will be ignored.
|
14219
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14220
|
+
"""
|
14221
|
+
pulumi.set(__self__, "client_id", client_id)
|
14222
|
+
pulumi.set(__self__, "oauth_grant_type", oauth_grant_type)
|
14223
|
+
pulumi.set(__self__, "token_endpoint", token_endpoint)
|
14224
|
+
if client_secret is not None:
|
14225
|
+
pulumi.set(__self__, "client_secret", client_secret)
|
14226
|
+
if scopes is not None:
|
14227
|
+
pulumi.set(__self__, "scopes", scopes)
|
14228
|
+
if secret_version_for_client_secret is not None:
|
14229
|
+
pulumi.set(__self__, "secret_version_for_client_secret", secret_version_for_client_secret)
|
14230
|
+
|
14231
|
+
@property
|
14232
|
+
@pulumi.getter(name="clientId")
|
14233
|
+
def client_id(self) -> pulumi.Input[builtins.str]:
|
14234
|
+
"""
|
14235
|
+
The client ID from the OAuth provider.
|
14236
|
+
"""
|
14237
|
+
return pulumi.get(self, "client_id")
|
14238
|
+
|
14239
|
+
@client_id.setter
|
14240
|
+
def client_id(self, value: pulumi.Input[builtins.str]):
|
14241
|
+
pulumi.set(self, "client_id", value)
|
14242
|
+
|
14243
|
+
@property
|
14244
|
+
@pulumi.getter(name="oauthGrantType")
|
14245
|
+
def oauth_grant_type(self) -> pulumi.Input[builtins.str]:
|
14246
|
+
"""
|
14247
|
+
OAuth grant types.
|
14248
|
+
See [OauthGrantType](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#oauthgranttype) for valid values
|
14249
|
+
"""
|
14250
|
+
return pulumi.get(self, "oauth_grant_type")
|
14251
|
+
|
14252
|
+
@oauth_grant_type.setter
|
14253
|
+
def oauth_grant_type(self, value: pulumi.Input[builtins.str]):
|
14254
|
+
pulumi.set(self, "oauth_grant_type", value)
|
14255
|
+
|
14256
|
+
@property
|
14257
|
+
@pulumi.getter(name="tokenEndpoint")
|
14258
|
+
def token_endpoint(self) -> pulumi.Input[builtins.str]:
|
14259
|
+
"""
|
14260
|
+
The token endpoint in the OAuth provider to exchange for an access token.
|
14261
|
+
"""
|
14262
|
+
return pulumi.get(self, "token_endpoint")
|
14263
|
+
|
14264
|
+
@token_endpoint.setter
|
14265
|
+
def token_endpoint(self, value: pulumi.Input[builtins.str]):
|
14266
|
+
pulumi.set(self, "token_endpoint", value)
|
14267
|
+
|
14268
|
+
@property
|
14269
|
+
@pulumi.getter(name="clientSecret")
|
14270
|
+
def client_secret(self) -> Optional[pulumi.Input[builtins.str]]:
|
14271
|
+
"""
|
14272
|
+
Optional. The client secret from the OAuth provider. If the `secretVersionForClientSecret` field is set, this field will be ignored.
|
14273
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
14274
|
+
"""
|
14275
|
+
return pulumi.get(self, "client_secret")
|
14276
|
+
|
14277
|
+
@client_secret.setter
|
14278
|
+
def client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
14279
|
+
pulumi.set(self, "client_secret", value)
|
14280
|
+
|
14281
|
+
@property
|
14282
|
+
@pulumi.getter
|
14283
|
+
def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
14284
|
+
"""
|
14285
|
+
Optional. The OAuth scopes to grant.
|
14286
|
+
"""
|
14287
|
+
return pulumi.get(self, "scopes")
|
14288
|
+
|
14289
|
+
@scopes.setter
|
14290
|
+
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
14291
|
+
pulumi.set(self, "scopes", value)
|
14292
|
+
|
14293
|
+
@property
|
14294
|
+
@pulumi.getter(name="secretVersionForClientSecret")
|
14295
|
+
def secret_version_for_client_secret(self) -> Optional[pulumi.Input[builtins.str]]:
|
14296
|
+
"""
|
14297
|
+
Optional. The name of the SecretManager secret version resource storing the client secret.
|
14298
|
+
If this field is set, the clientSecret field will be ignored.
|
14299
|
+
Format: projects/{project}/secrets/{secret}/versions/{version}
|
14300
|
+
"""
|
14301
|
+
return pulumi.get(self, "secret_version_for_client_secret")
|
14302
|
+
|
14303
|
+
@secret_version_for_client_secret.setter
|
14304
|
+
def secret_version_for_client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
14305
|
+
pulumi.set(self, "secret_version_for_client_secret", value)
|
14306
|
+
|
14307
|
+
|
14308
|
+
if not MYPY:
|
14309
|
+
class CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgsDict(TypedDict):
|
14310
|
+
service_agent_auth: NotRequired[pulumi.Input[builtins.str]]
|
14311
|
+
"""
|
14312
|
+
Optional. Indicate the auth token type generated from the Diglogflow service agent.
|
14313
|
+
The generated token is sent in the Authorization header.
|
14314
|
+
See [ServiceAgentAuth](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#serviceagentauth) for valid values.
|
14315
|
+
"""
|
14316
|
+
elif False:
|
14317
|
+
CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14318
|
+
|
14319
|
+
@pulumi.input_type
|
14320
|
+
class CxToolOpenApiSpecAuthenticationServiceAgentAuthConfigArgs:
|
14321
|
+
def __init__(__self__, *,
|
14322
|
+
service_agent_auth: Optional[pulumi.Input[builtins.str]] = None):
|
14323
|
+
"""
|
14324
|
+
:param pulumi.Input[builtins.str] service_agent_auth: Optional. Indicate the auth token type generated from the Diglogflow service agent.
|
14325
|
+
The generated token is sent in the Authorization header.
|
14326
|
+
See [ServiceAgentAuth](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#serviceagentauth) for valid values.
|
14327
|
+
"""
|
14328
|
+
if service_agent_auth is not None:
|
14329
|
+
pulumi.set(__self__, "service_agent_auth", service_agent_auth)
|
14330
|
+
|
14331
|
+
@property
|
14332
|
+
@pulumi.getter(name="serviceAgentAuth")
|
14333
|
+
def service_agent_auth(self) -> Optional[pulumi.Input[builtins.str]]:
|
14334
|
+
"""
|
14335
|
+
Optional. Indicate the auth token type generated from the Diglogflow service agent.
|
14336
|
+
The generated token is sent in the Authorization header.
|
14337
|
+
See [ServiceAgentAuth](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools#serviceagentauth) for valid values.
|
14338
|
+
"""
|
14339
|
+
return pulumi.get(self, "service_agent_auth")
|
14340
|
+
|
14341
|
+
@service_agent_auth.setter
|
14342
|
+
def service_agent_auth(self, value: Optional[pulumi.Input[builtins.str]]):
|
14343
|
+
pulumi.set(self, "service_agent_auth", value)
|
14344
|
+
|
14345
|
+
|
14346
|
+
if not MYPY:
|
14347
|
+
class CxToolOpenApiSpecServiceDirectoryConfigArgsDict(TypedDict):
|
14348
|
+
service: pulumi.Input[builtins.str]
|
14349
|
+
"""
|
14350
|
+
The name of [Service Directory](https://cloud.google.com/service-directory/docs) service.
|
14351
|
+
Format: projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>. LocationID of the service directory must be the same as the location of the agent.
|
14352
|
+
"""
|
14353
|
+
elif False:
|
14354
|
+
CxToolOpenApiSpecServiceDirectoryConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14355
|
+
|
14356
|
+
@pulumi.input_type
|
14357
|
+
class CxToolOpenApiSpecServiceDirectoryConfigArgs:
|
14358
|
+
def __init__(__self__, *,
|
14359
|
+
service: pulumi.Input[builtins.str]):
|
14360
|
+
"""
|
14361
|
+
:param pulumi.Input[builtins.str] service: The name of [Service Directory](https://cloud.google.com/service-directory/docs) service.
|
14362
|
+
Format: projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>. LocationID of the service directory must be the same as the location of the agent.
|
14363
|
+
"""
|
14364
|
+
pulumi.set(__self__, "service", service)
|
14365
|
+
|
14366
|
+
@property
|
14367
|
+
@pulumi.getter
|
14368
|
+
def service(self) -> pulumi.Input[builtins.str]:
|
14369
|
+
"""
|
14370
|
+
The name of [Service Directory](https://cloud.google.com/service-directory/docs) service.
|
14371
|
+
Format: projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>. LocationID of the service directory must be the same as the location of the agent.
|
14372
|
+
"""
|
14373
|
+
return pulumi.get(self, "service")
|
14374
|
+
|
14375
|
+
@service.setter
|
14376
|
+
def service(self, value: pulumi.Input[builtins.str]):
|
14377
|
+
pulumi.set(self, "service", value)
|
14378
|
+
|
14379
|
+
|
14380
|
+
if not MYPY:
|
14381
|
+
class CxToolOpenApiSpecTlsConfigArgsDict(TypedDict):
|
14382
|
+
ca_certs: pulumi.Input[Sequence[pulumi.Input['CxToolOpenApiSpecTlsConfigCaCertArgsDict']]]
|
14383
|
+
"""
|
14384
|
+
Specifies a list of allowed custom CA certificates for HTTPS verification.
|
14385
|
+
Structure is documented below.
|
14386
|
+
"""
|
14387
|
+
elif False:
|
14388
|
+
CxToolOpenApiSpecTlsConfigArgsDict: TypeAlias = Mapping[str, Any]
|
14389
|
+
|
14390
|
+
@pulumi.input_type
|
14391
|
+
class CxToolOpenApiSpecTlsConfigArgs:
|
14392
|
+
def __init__(__self__, *,
|
14393
|
+
ca_certs: pulumi.Input[Sequence[pulumi.Input['CxToolOpenApiSpecTlsConfigCaCertArgs']]]):
|
14394
|
+
"""
|
14395
|
+
:param pulumi.Input[Sequence[pulumi.Input['CxToolOpenApiSpecTlsConfigCaCertArgs']]] ca_certs: Specifies a list of allowed custom CA certificates for HTTPS verification.
|
14396
|
+
Structure is documented below.
|
14397
|
+
"""
|
14398
|
+
pulumi.set(__self__, "ca_certs", ca_certs)
|
14399
|
+
|
14400
|
+
@property
|
14401
|
+
@pulumi.getter(name="caCerts")
|
14402
|
+
def ca_certs(self) -> pulumi.Input[Sequence[pulumi.Input['CxToolOpenApiSpecTlsConfigCaCertArgs']]]:
|
14403
|
+
"""
|
14404
|
+
Specifies a list of allowed custom CA certificates for HTTPS verification.
|
14405
|
+
Structure is documented below.
|
14406
|
+
"""
|
14407
|
+
return pulumi.get(self, "ca_certs")
|
14408
|
+
|
14409
|
+
@ca_certs.setter
|
14410
|
+
def ca_certs(self, value: pulumi.Input[Sequence[pulumi.Input['CxToolOpenApiSpecTlsConfigCaCertArgs']]]):
|
14411
|
+
pulumi.set(self, "ca_certs", value)
|
14412
|
+
|
14413
|
+
|
14414
|
+
if not MYPY:
|
14415
|
+
class CxToolOpenApiSpecTlsConfigCaCertArgsDict(TypedDict):
|
14416
|
+
cert: pulumi.Input[builtins.str]
|
14417
|
+
"""
|
14418
|
+
The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store.
|
14419
|
+
If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates.
|
14420
|
+
N.B. Make sure the HTTPS server certificates are signed with "subject alt name".
|
14421
|
+
For instance a certificate can be self-signed using the following command:
|
14422
|
+
```
|
14423
|
+
openssl x509 -req -days 200 -in example.com.csr \\
|
14424
|
+
-signkey example.com.key \\
|
14425
|
+
-out example.com.crt \\
|
14426
|
+
-extfile <(printf "\\nsubjectAltName='DNS:www.example.com'")
|
14427
|
+
```
|
14428
|
+
A base64-encoded string.
|
14429
|
+
"""
|
14430
|
+
display_name: pulumi.Input[builtins.str]
|
14431
|
+
"""
|
14432
|
+
The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
|
14433
|
+
"""
|
14434
|
+
elif False:
|
14435
|
+
CxToolOpenApiSpecTlsConfigCaCertArgsDict: TypeAlias = Mapping[str, Any]
|
14436
|
+
|
14437
|
+
@pulumi.input_type
|
14438
|
+
class CxToolOpenApiSpecTlsConfigCaCertArgs:
|
14439
|
+
def __init__(__self__, *,
|
14440
|
+
cert: pulumi.Input[builtins.str],
|
14441
|
+
display_name: pulumi.Input[builtins.str]):
|
14442
|
+
"""
|
14443
|
+
:param pulumi.Input[builtins.str] cert: The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store.
|
14444
|
+
If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates.
|
14445
|
+
N.B. Make sure the HTTPS server certificates are signed with "subject alt name".
|
14446
|
+
For instance a certificate can be self-signed using the following command:
|
14447
|
+
```
|
14448
|
+
openssl x509 -req -days 200 -in example.com.csr \\
|
14449
|
+
-signkey example.com.key \\
|
14450
|
+
-out example.com.crt \\
|
14451
|
+
-extfile <(printf "\\nsubjectAltName='DNS:www.example.com'")
|
14452
|
+
```
|
14453
|
+
A base64-encoded string.
|
14454
|
+
:param pulumi.Input[builtins.str] display_name: The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
|
14455
|
+
"""
|
14456
|
+
pulumi.set(__self__, "cert", cert)
|
14457
|
+
pulumi.set(__self__, "display_name", display_name)
|
14458
|
+
|
14459
|
+
@property
|
14460
|
+
@pulumi.getter
|
14461
|
+
def cert(self) -> pulumi.Input[builtins.str]:
|
14462
|
+
"""
|
14463
|
+
The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store.
|
14464
|
+
If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates.
|
14465
|
+
N.B. Make sure the HTTPS server certificates are signed with "subject alt name".
|
14466
|
+
For instance a certificate can be self-signed using the following command:
|
14467
|
+
```
|
14468
|
+
openssl x509 -req -days 200 -in example.com.csr \\
|
14469
|
+
-signkey example.com.key \\
|
14470
|
+
-out example.com.crt \\
|
14471
|
+
-extfile <(printf "\\nsubjectAltName='DNS:www.example.com'")
|
14472
|
+
```
|
14473
|
+
A base64-encoded string.
|
14474
|
+
"""
|
14475
|
+
return pulumi.get(self, "cert")
|
14476
|
+
|
14477
|
+
@cert.setter
|
14478
|
+
def cert(self, value: pulumi.Input[builtins.str]):
|
14479
|
+
pulumi.set(self, "cert", value)
|
14480
|
+
|
14481
|
+
@property
|
14482
|
+
@pulumi.getter(name="displayName")
|
14483
|
+
def display_name(self) -> pulumi.Input[builtins.str]:
|
14484
|
+
"""
|
14485
|
+
The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
|
14486
|
+
"""
|
14487
|
+
return pulumi.get(self, "display_name")
|
14488
|
+
|
14489
|
+
@display_name.setter
|
14490
|
+
def display_name(self, value: pulumi.Input[builtins.str]):
|
14491
|
+
pulumi.set(self, "display_name", value)
|
14492
|
+
|
14493
|
+
|
13555
14494
|
if not MYPY:
|
13556
14495
|
class CxVersionNluSettingArgsDict(TypedDict):
|
13557
14496
|
classification_threshold: NotRequired[pulumi.Input[builtins.float]]
|