pulumi-gcp 8.42.0a1758178363__py3-none-any.whl → 9.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +83 -48
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +3 -5
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +1 -1
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +309 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +380 -30
- pulumi_gcp/cloudbuild/trigger.py +160 -2
- pulumi_gcp/cloudbuild/worker_pool.py +2 -6
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +80 -26
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +109 -30
- pulumi_gcp/cloudrunv2/service.py +72 -12
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/compute/_inputs.py +884 -24
- pulumi_gcp/compute/backend_bucket.py +68 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +799 -16
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +466 -18
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +448 -15
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +20 -8
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +8 -0
- pulumi_gcp/iap/_inputs.py +260 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +152 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_forwarding_rule_service_iam_binding.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py} +212 -294
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +14 -84
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/projects/service.py +2 -11
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +12 -0
- pulumi_gcp/saasruntime/_inputs.py +513 -0
- pulumi_gcp/saasruntime/outputs.py +431 -0
- pulumi_gcp/saasruntime/saa_s.py +819 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +94 -0
- pulumi_gcp/sql/get_database_instance.py +23 -1
- pulumi_gcp/sql/outputs.py +276 -3
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +253 -7
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +198 -8
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/vertex/outputs.py +7 -8
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/RECORD +266 -255
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/diagflow/outputs.py
CHANGED
@@ -57,9 +57,12 @@ __all__ = [
|
|
57
57
|
'CxAgentAdvancedSettingsDtmfSettings',
|
58
58
|
'CxAgentAdvancedSettingsLoggingSettings',
|
59
59
|
'CxAgentAdvancedSettingsSpeechSettings',
|
60
|
+
'CxAgentAnswerFeedbackSettings',
|
61
|
+
'CxAgentClientCertificateSettings',
|
60
62
|
'CxAgentGenAppBuilderSettings',
|
61
63
|
'CxAgentGitIntegrationSettings',
|
62
64
|
'CxAgentGitIntegrationSettingsGithubSettings',
|
65
|
+
'CxAgentPersonalizationSettings',
|
63
66
|
'CxAgentSpeechToTextSettings',
|
64
67
|
'CxAgentTextToSpeechSettings',
|
65
68
|
'CxEntityTypeEntity',
|
@@ -2775,6 +2778,104 @@ class CxAgentAdvancedSettingsSpeechSettings(dict):
|
|
2775
2778
|
return pulumi.get(self, "use_timeout_based_endpointing")
|
2776
2779
|
|
2777
2780
|
|
2781
|
+
@pulumi.output_type
|
2782
|
+
class CxAgentAnswerFeedbackSettings(dict):
|
2783
|
+
@staticmethod
|
2784
|
+
def __key_warning(key: str):
|
2785
|
+
suggest = None
|
2786
|
+
if key == "enableAnswerFeedback":
|
2787
|
+
suggest = "enable_answer_feedback"
|
2788
|
+
|
2789
|
+
if suggest:
|
2790
|
+
pulumi.log.warn(f"Key '{key}' not found in CxAgentAnswerFeedbackSettings. Access the value via the '{suggest}' property getter instead.")
|
2791
|
+
|
2792
|
+
def __getitem__(self, key: str) -> Any:
|
2793
|
+
CxAgentAnswerFeedbackSettings.__key_warning(key)
|
2794
|
+
return super().__getitem__(key)
|
2795
|
+
|
2796
|
+
def get(self, key: str, default = None) -> Any:
|
2797
|
+
CxAgentAnswerFeedbackSettings.__key_warning(key)
|
2798
|
+
return super().get(key, default)
|
2799
|
+
|
2800
|
+
def __init__(__self__, *,
|
2801
|
+
enable_answer_feedback: Optional[_builtins.bool] = None):
|
2802
|
+
"""
|
2803
|
+
:param _builtins.bool enable_answer_feedback: If enabled, end users will be able to provide [answer feedback](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.sessions/submitAnswerFeedback#body.AnswerFeedback)
|
2804
|
+
to Dialogflow responses. Feature works only if interaction logging is enabled in the Dialogflow agent.
|
2805
|
+
"""
|
2806
|
+
if enable_answer_feedback is not None:
|
2807
|
+
pulumi.set(__self__, "enable_answer_feedback", enable_answer_feedback)
|
2808
|
+
|
2809
|
+
@_builtins.property
|
2810
|
+
@pulumi.getter(name="enableAnswerFeedback")
|
2811
|
+
def enable_answer_feedback(self) -> Optional[_builtins.bool]:
|
2812
|
+
"""
|
2813
|
+
If enabled, end users will be able to provide [answer feedback](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.sessions/submitAnswerFeedback#body.AnswerFeedback)
|
2814
|
+
to Dialogflow responses. Feature works only if interaction logging is enabled in the Dialogflow agent.
|
2815
|
+
"""
|
2816
|
+
return pulumi.get(self, "enable_answer_feedback")
|
2817
|
+
|
2818
|
+
|
2819
|
+
@pulumi.output_type
|
2820
|
+
class CxAgentClientCertificateSettings(dict):
|
2821
|
+
@staticmethod
|
2822
|
+
def __key_warning(key: str):
|
2823
|
+
suggest = None
|
2824
|
+
if key == "privateKey":
|
2825
|
+
suggest = "private_key"
|
2826
|
+
elif key == "sslCertificate":
|
2827
|
+
suggest = "ssl_certificate"
|
2828
|
+
|
2829
|
+
if suggest:
|
2830
|
+
pulumi.log.warn(f"Key '{key}' not found in CxAgentClientCertificateSettings. Access the value via the '{suggest}' property getter instead.")
|
2831
|
+
|
2832
|
+
def __getitem__(self, key: str) -> Any:
|
2833
|
+
CxAgentClientCertificateSettings.__key_warning(key)
|
2834
|
+
return super().__getitem__(key)
|
2835
|
+
|
2836
|
+
def get(self, key: str, default = None) -> Any:
|
2837
|
+
CxAgentClientCertificateSettings.__key_warning(key)
|
2838
|
+
return super().get(key, default)
|
2839
|
+
|
2840
|
+
def __init__(__self__, *,
|
2841
|
+
private_key: _builtins.str,
|
2842
|
+
ssl_certificate: _builtins.str,
|
2843
|
+
passphrase: Optional[_builtins.str] = None):
|
2844
|
+
"""
|
2845
|
+
:param _builtins.str private_key: The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: **projects/{project}/secrets/{secret}/versions/{version}**
|
2846
|
+
:param _builtins.str ssl_certificate: The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.
|
2847
|
+
:param _builtins.str passphrase: The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: **projects/{project}/secrets/{secret}/versions/{version}**
|
2848
|
+
"""
|
2849
|
+
pulumi.set(__self__, "private_key", private_key)
|
2850
|
+
pulumi.set(__self__, "ssl_certificate", ssl_certificate)
|
2851
|
+
if passphrase is not None:
|
2852
|
+
pulumi.set(__self__, "passphrase", passphrase)
|
2853
|
+
|
2854
|
+
@_builtins.property
|
2855
|
+
@pulumi.getter(name="privateKey")
|
2856
|
+
def private_key(self) -> _builtins.str:
|
2857
|
+
"""
|
2858
|
+
The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: **projects/{project}/secrets/{secret}/versions/{version}**
|
2859
|
+
"""
|
2860
|
+
return pulumi.get(self, "private_key")
|
2861
|
+
|
2862
|
+
@_builtins.property
|
2863
|
+
@pulumi.getter(name="sslCertificate")
|
2864
|
+
def ssl_certificate(self) -> _builtins.str:
|
2865
|
+
"""
|
2866
|
+
The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.
|
2867
|
+
"""
|
2868
|
+
return pulumi.get(self, "ssl_certificate")
|
2869
|
+
|
2870
|
+
@_builtins.property
|
2871
|
+
@pulumi.getter
|
2872
|
+
def passphrase(self) -> Optional[_builtins.str]:
|
2873
|
+
"""
|
2874
|
+
The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: **projects/{project}/secrets/{secret}/versions/{version}**
|
2875
|
+
"""
|
2876
|
+
return pulumi.get(self, "passphrase")
|
2877
|
+
|
2878
|
+
|
2778
2879
|
@pulumi.output_type
|
2779
2880
|
class CxAgentGenAppBuilderSettings(dict):
|
2780
2881
|
def __init__(__self__, *,
|
@@ -2925,6 +3026,48 @@ class CxAgentGitIntegrationSettingsGithubSettings(dict):
|
|
2925
3026
|
return pulumi.get(self, "tracking_branch")
|
2926
3027
|
|
2927
3028
|
|
3029
|
+
@pulumi.output_type
|
3030
|
+
class CxAgentPersonalizationSettings(dict):
|
3031
|
+
@staticmethod
|
3032
|
+
def __key_warning(key: str):
|
3033
|
+
suggest = None
|
3034
|
+
if key == "defaultEndUserMetadata":
|
3035
|
+
suggest = "default_end_user_metadata"
|
3036
|
+
|
3037
|
+
if suggest:
|
3038
|
+
pulumi.log.warn(f"Key '{key}' not found in CxAgentPersonalizationSettings. Access the value via the '{suggest}' property getter instead.")
|
3039
|
+
|
3040
|
+
def __getitem__(self, key: str) -> Any:
|
3041
|
+
CxAgentPersonalizationSettings.__key_warning(key)
|
3042
|
+
return super().__getitem__(key)
|
3043
|
+
|
3044
|
+
def get(self, key: str, default = None) -> Any:
|
3045
|
+
CxAgentPersonalizationSettings.__key_warning(key)
|
3046
|
+
return super().get(key, default)
|
3047
|
+
|
3048
|
+
def __init__(__self__, *,
|
3049
|
+
default_end_user_metadata: Optional[_builtins.str] = None):
|
3050
|
+
"""
|
3051
|
+
:param _builtins.str default_end_user_metadata: Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }.
|
3052
|
+
The data will be merged with the [QueryParameters.end_user_metadata](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/QueryParameters#FIELDS.end_user_metadata)
|
3053
|
+
in [DetectIntentRequest.query_params](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.sessions/detectIntent#body.request_body.FIELDS.query_params) during query processing.
|
3054
|
+
This field uses JSON data as a string. The value provided must be a valid JSON representation documented in [Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct).
|
3055
|
+
"""
|
3056
|
+
if default_end_user_metadata is not None:
|
3057
|
+
pulumi.set(__self__, "default_end_user_metadata", default_end_user_metadata)
|
3058
|
+
|
3059
|
+
@_builtins.property
|
3060
|
+
@pulumi.getter(name="defaultEndUserMetadata")
|
3061
|
+
def default_end_user_metadata(self) -> Optional[_builtins.str]:
|
3062
|
+
"""
|
3063
|
+
Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }.
|
3064
|
+
The data will be merged with the [QueryParameters.end_user_metadata](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/QueryParameters#FIELDS.end_user_metadata)
|
3065
|
+
in [DetectIntentRequest.query_params](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.sessions/detectIntent#body.request_body.FIELDS.query_params) during query processing.
|
3066
|
+
This field uses JSON data as a string. The value provided must be a valid JSON representation documented in [Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct).
|
3067
|
+
"""
|
3068
|
+
return pulumi.get(self, "default_end_user_metadata")
|
3069
|
+
|
3070
|
+
|
2928
3071
|
@pulumi.output_type
|
2929
3072
|
class CxAgentSpeechToTextSettings(dict):
|
2930
3073
|
@staticmethod
|
@@ -15,6 +15,10 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'AclConfigIdpConfigArgs',
|
19
|
+
'AclConfigIdpConfigArgsDict',
|
20
|
+
'AclConfigIdpConfigExternalIdpConfigArgs',
|
21
|
+
'AclConfigIdpConfigExternalIdpConfigArgsDict',
|
18
22
|
'ChatEngineChatEngineConfigArgs',
|
19
23
|
'ChatEngineChatEngineConfigArgsDict',
|
20
24
|
'ChatEngineChatEngineConfigAgentCreationConfigArgs',
|
@@ -75,6 +79,96 @@ __all__ = [
|
|
75
79
|
|
76
80
|
MYPY = False
|
77
81
|
|
82
|
+
if not MYPY:
|
83
|
+
class AclConfigIdpConfigArgsDict(TypedDict):
|
84
|
+
external_idp_config: NotRequired[pulumi.Input['AclConfigIdpConfigExternalIdpConfigArgsDict']]
|
85
|
+
"""
|
86
|
+
External third party identity provider config.
|
87
|
+
Structure is documented below.
|
88
|
+
"""
|
89
|
+
idp_type: NotRequired[pulumi.Input[_builtins.str]]
|
90
|
+
"""
|
91
|
+
Identity provider type.
|
92
|
+
Possible values are: `GSUITE`, `THIRD_PARTY`.
|
93
|
+
"""
|
94
|
+
elif False:
|
95
|
+
AclConfigIdpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
96
|
+
|
97
|
+
@pulumi.input_type
|
98
|
+
class AclConfigIdpConfigArgs:
|
99
|
+
def __init__(__self__, *,
|
100
|
+
external_idp_config: Optional[pulumi.Input['AclConfigIdpConfigExternalIdpConfigArgs']] = None,
|
101
|
+
idp_type: Optional[pulumi.Input[_builtins.str]] = None):
|
102
|
+
"""
|
103
|
+
:param pulumi.Input['AclConfigIdpConfigExternalIdpConfigArgs'] external_idp_config: External third party identity provider config.
|
104
|
+
Structure is documented below.
|
105
|
+
:param pulumi.Input[_builtins.str] idp_type: Identity provider type.
|
106
|
+
Possible values are: `GSUITE`, `THIRD_PARTY`.
|
107
|
+
"""
|
108
|
+
if external_idp_config is not None:
|
109
|
+
pulumi.set(__self__, "external_idp_config", external_idp_config)
|
110
|
+
if idp_type is not None:
|
111
|
+
pulumi.set(__self__, "idp_type", idp_type)
|
112
|
+
|
113
|
+
@_builtins.property
|
114
|
+
@pulumi.getter(name="externalIdpConfig")
|
115
|
+
def external_idp_config(self) -> Optional[pulumi.Input['AclConfigIdpConfigExternalIdpConfigArgs']]:
|
116
|
+
"""
|
117
|
+
External third party identity provider config.
|
118
|
+
Structure is documented below.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "external_idp_config")
|
121
|
+
|
122
|
+
@external_idp_config.setter
|
123
|
+
def external_idp_config(self, value: Optional[pulumi.Input['AclConfigIdpConfigExternalIdpConfigArgs']]):
|
124
|
+
pulumi.set(self, "external_idp_config", value)
|
125
|
+
|
126
|
+
@_builtins.property
|
127
|
+
@pulumi.getter(name="idpType")
|
128
|
+
def idp_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
129
|
+
"""
|
130
|
+
Identity provider type.
|
131
|
+
Possible values are: `GSUITE`, `THIRD_PARTY`.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "idp_type")
|
134
|
+
|
135
|
+
@idp_type.setter
|
136
|
+
def idp_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
137
|
+
pulumi.set(self, "idp_type", value)
|
138
|
+
|
139
|
+
|
140
|
+
if not MYPY:
|
141
|
+
class AclConfigIdpConfigExternalIdpConfigArgsDict(TypedDict):
|
142
|
+
workforce_pool_name: NotRequired[pulumi.Input[_builtins.str]]
|
143
|
+
"""
|
144
|
+
Workforce pool name: "locations/global/workforcePools/pool_id"
|
145
|
+
"""
|
146
|
+
elif False:
|
147
|
+
AclConfigIdpConfigExternalIdpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
148
|
+
|
149
|
+
@pulumi.input_type
|
150
|
+
class AclConfigIdpConfigExternalIdpConfigArgs:
|
151
|
+
def __init__(__self__, *,
|
152
|
+
workforce_pool_name: Optional[pulumi.Input[_builtins.str]] = None):
|
153
|
+
"""
|
154
|
+
:param pulumi.Input[_builtins.str] workforce_pool_name: Workforce pool name: "locations/global/workforcePools/pool_id"
|
155
|
+
"""
|
156
|
+
if workforce_pool_name is not None:
|
157
|
+
pulumi.set(__self__, "workforce_pool_name", workforce_pool_name)
|
158
|
+
|
159
|
+
@_builtins.property
|
160
|
+
@pulumi.getter(name="workforcePoolName")
|
161
|
+
def workforce_pool_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
162
|
+
"""
|
163
|
+
Workforce pool name: "locations/global/workforcePools/pool_id"
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "workforce_pool_name")
|
166
|
+
|
167
|
+
@workforce_pool_name.setter
|
168
|
+
def workforce_pool_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
169
|
+
pulumi.set(self, "workforce_pool_name", value)
|
170
|
+
|
171
|
+
|
78
172
|
if not MYPY:
|
79
173
|
class ChatEngineChatEngineConfigArgsDict(TypedDict):
|
80
174
|
agent_creation_config: NotRequired[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgsDict']]
|
@@ -0,0 +1,393 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['AclConfigArgs', 'AclConfig']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class AclConfigArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
location: pulumi.Input[_builtins.str],
|
25
|
+
idp_config: Optional[pulumi.Input['AclConfigIdpConfigArgs']] = None,
|
26
|
+
project: Optional[pulumi.Input[_builtins.str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a AclConfig resource.
|
29
|
+
:param pulumi.Input[_builtins.str] location: The geographic location where the data store should reside. The value can
|
30
|
+
only be one of "global", "us" and "eu".
|
31
|
+
:param pulumi.Input['AclConfigIdpConfigArgs'] idp_config: Identity provider config.
|
32
|
+
Structure is documented below.
|
33
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
34
|
+
If it is not provided, the provider project is used.
|
35
|
+
"""
|
36
|
+
pulumi.set(__self__, "location", location)
|
37
|
+
if idp_config is not None:
|
38
|
+
pulumi.set(__self__, "idp_config", idp_config)
|
39
|
+
if project is not None:
|
40
|
+
pulumi.set(__self__, "project", project)
|
41
|
+
|
42
|
+
@_builtins.property
|
43
|
+
@pulumi.getter
|
44
|
+
def location(self) -> pulumi.Input[_builtins.str]:
|
45
|
+
"""
|
46
|
+
The geographic location where the data store should reside. The value can
|
47
|
+
only be one of "global", "us" and "eu".
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "location")
|
50
|
+
|
51
|
+
@location.setter
|
52
|
+
def location(self, value: pulumi.Input[_builtins.str]):
|
53
|
+
pulumi.set(self, "location", value)
|
54
|
+
|
55
|
+
@_builtins.property
|
56
|
+
@pulumi.getter(name="idpConfig")
|
57
|
+
def idp_config(self) -> Optional[pulumi.Input['AclConfigIdpConfigArgs']]:
|
58
|
+
"""
|
59
|
+
Identity provider config.
|
60
|
+
Structure is documented below.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "idp_config")
|
63
|
+
|
64
|
+
@idp_config.setter
|
65
|
+
def idp_config(self, value: Optional[pulumi.Input['AclConfigIdpConfigArgs']]):
|
66
|
+
pulumi.set(self, "idp_config", value)
|
67
|
+
|
68
|
+
@_builtins.property
|
69
|
+
@pulumi.getter
|
70
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
71
|
+
"""
|
72
|
+
The ID of the project in which the resource belongs.
|
73
|
+
If it is not provided, the provider project is used.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "project")
|
76
|
+
|
77
|
+
@project.setter
|
78
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
79
|
+
pulumi.set(self, "project", value)
|
80
|
+
|
81
|
+
|
82
|
+
@pulumi.input_type
|
83
|
+
class _AclConfigState:
|
84
|
+
def __init__(__self__, *,
|
85
|
+
idp_config: Optional[pulumi.Input['AclConfigIdpConfigArgs']] = None,
|
86
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
87
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
88
|
+
project: Optional[pulumi.Input[_builtins.str]] = None):
|
89
|
+
"""
|
90
|
+
Input properties used for looking up and filtering AclConfig resources.
|
91
|
+
:param pulumi.Input['AclConfigIdpConfigArgs'] idp_config: Identity provider config.
|
92
|
+
Structure is documented below.
|
93
|
+
:param pulumi.Input[_builtins.str] location: The geographic location where the data store should reside. The value can
|
94
|
+
only be one of "global", "us" and "eu".
|
95
|
+
:param pulumi.Input[_builtins.str] name: The unique full resource name of the aclConfig. Values are of the format
|
96
|
+
`projects/{project}/locations/{location}/aclConfig`.
|
97
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
98
|
+
If it is not provided, the provider project is used.
|
99
|
+
"""
|
100
|
+
if idp_config is not None:
|
101
|
+
pulumi.set(__self__, "idp_config", idp_config)
|
102
|
+
if location is not None:
|
103
|
+
pulumi.set(__self__, "location", location)
|
104
|
+
if name is not None:
|
105
|
+
pulumi.set(__self__, "name", name)
|
106
|
+
if project is not None:
|
107
|
+
pulumi.set(__self__, "project", project)
|
108
|
+
|
109
|
+
@_builtins.property
|
110
|
+
@pulumi.getter(name="idpConfig")
|
111
|
+
def idp_config(self) -> Optional[pulumi.Input['AclConfigIdpConfigArgs']]:
|
112
|
+
"""
|
113
|
+
Identity provider config.
|
114
|
+
Structure is documented below.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "idp_config")
|
117
|
+
|
118
|
+
@idp_config.setter
|
119
|
+
def idp_config(self, value: Optional[pulumi.Input['AclConfigIdpConfigArgs']]):
|
120
|
+
pulumi.set(self, "idp_config", value)
|
121
|
+
|
122
|
+
@_builtins.property
|
123
|
+
@pulumi.getter
|
124
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
125
|
+
"""
|
126
|
+
The geographic location where the data store should reside. The value can
|
127
|
+
only be one of "global", "us" and "eu".
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "location")
|
130
|
+
|
131
|
+
@location.setter
|
132
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
133
|
+
pulumi.set(self, "location", value)
|
134
|
+
|
135
|
+
@_builtins.property
|
136
|
+
@pulumi.getter
|
137
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
138
|
+
"""
|
139
|
+
The unique full resource name of the aclConfig. Values are of the format
|
140
|
+
`projects/{project}/locations/{location}/aclConfig`.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "name")
|
143
|
+
|
144
|
+
@name.setter
|
145
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
146
|
+
pulumi.set(self, "name", value)
|
147
|
+
|
148
|
+
@_builtins.property
|
149
|
+
@pulumi.getter
|
150
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
151
|
+
"""
|
152
|
+
The ID of the project in which the resource belongs.
|
153
|
+
If it is not provided, the provider project is used.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "project")
|
156
|
+
|
157
|
+
@project.setter
|
158
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
159
|
+
pulumi.set(self, "project", value)
|
160
|
+
|
161
|
+
|
162
|
+
@pulumi.type_token("gcp:discoveryengine/aclConfig:AclConfig")
|
163
|
+
class AclConfig(pulumi.CustomResource):
|
164
|
+
@overload
|
165
|
+
def __init__(__self__,
|
166
|
+
resource_name: str,
|
167
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
168
|
+
idp_config: Optional[pulumi.Input[Union['AclConfigIdpConfigArgs', 'AclConfigIdpConfigArgsDict']]] = None,
|
169
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
170
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
171
|
+
__props__=None):
|
172
|
+
"""
|
173
|
+
Access Control Configuration.
|
174
|
+
|
175
|
+
To get more information about AclConfig, see:
|
176
|
+
|
177
|
+
* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1alpha#aclconfigservice)
|
178
|
+
|
179
|
+
## Example Usage
|
180
|
+
|
181
|
+
### Discoveryengine Aclconfig Basic
|
182
|
+
|
183
|
+
```python
|
184
|
+
import pulumi
|
185
|
+
import pulumi_gcp as gcp
|
186
|
+
|
187
|
+
basic = gcp.discoveryengine.AclConfig("basic",
|
188
|
+
location="global",
|
189
|
+
idp_config={
|
190
|
+
"idp_type": "THIRD_PARTY",
|
191
|
+
"external_idp_config": {
|
192
|
+
"workforce_pool_name": "locations/global/workforcePools/cloud-console-pool-manual",
|
193
|
+
},
|
194
|
+
})
|
195
|
+
```
|
196
|
+
|
197
|
+
## Import
|
198
|
+
|
199
|
+
AclConfig can be imported using any of these accepted formats:
|
200
|
+
|
201
|
+
* `projects/{{project}}/locations/{{location}}/aclConfig`
|
202
|
+
|
203
|
+
* `{{project}}/{{location}}`
|
204
|
+
|
205
|
+
* `{{location}}`
|
206
|
+
|
207
|
+
When using the `pulumi import` command, AclConfig can be imported using one of the formats above. For example:
|
208
|
+
|
209
|
+
```sh
|
210
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default projects/{{project}}/locations/{{location}}/aclConfig
|
211
|
+
```
|
212
|
+
|
213
|
+
```sh
|
214
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{project}}/{{location}}
|
215
|
+
```
|
216
|
+
|
217
|
+
```sh
|
218
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{location}}
|
219
|
+
```
|
220
|
+
|
221
|
+
:param str resource_name: The name of the resource.
|
222
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
223
|
+
:param pulumi.Input[Union['AclConfigIdpConfigArgs', 'AclConfigIdpConfigArgsDict']] idp_config: Identity provider config.
|
224
|
+
Structure is documented below.
|
225
|
+
:param pulumi.Input[_builtins.str] location: The geographic location where the data store should reside. The value can
|
226
|
+
only be one of "global", "us" and "eu".
|
227
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
228
|
+
If it is not provided, the provider project is used.
|
229
|
+
"""
|
230
|
+
...
|
231
|
+
@overload
|
232
|
+
def __init__(__self__,
|
233
|
+
resource_name: str,
|
234
|
+
args: AclConfigArgs,
|
235
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
236
|
+
"""
|
237
|
+
Access Control Configuration.
|
238
|
+
|
239
|
+
To get more information about AclConfig, see:
|
240
|
+
|
241
|
+
* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1alpha#aclconfigservice)
|
242
|
+
|
243
|
+
## Example Usage
|
244
|
+
|
245
|
+
### Discoveryengine Aclconfig Basic
|
246
|
+
|
247
|
+
```python
|
248
|
+
import pulumi
|
249
|
+
import pulumi_gcp as gcp
|
250
|
+
|
251
|
+
basic = gcp.discoveryengine.AclConfig("basic",
|
252
|
+
location="global",
|
253
|
+
idp_config={
|
254
|
+
"idp_type": "THIRD_PARTY",
|
255
|
+
"external_idp_config": {
|
256
|
+
"workforce_pool_name": "locations/global/workforcePools/cloud-console-pool-manual",
|
257
|
+
},
|
258
|
+
})
|
259
|
+
```
|
260
|
+
|
261
|
+
## Import
|
262
|
+
|
263
|
+
AclConfig can be imported using any of these accepted formats:
|
264
|
+
|
265
|
+
* `projects/{{project}}/locations/{{location}}/aclConfig`
|
266
|
+
|
267
|
+
* `{{project}}/{{location}}`
|
268
|
+
|
269
|
+
* `{{location}}`
|
270
|
+
|
271
|
+
When using the `pulumi import` command, AclConfig can be imported using one of the formats above. For example:
|
272
|
+
|
273
|
+
```sh
|
274
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default projects/{{project}}/locations/{{location}}/aclConfig
|
275
|
+
```
|
276
|
+
|
277
|
+
```sh
|
278
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{project}}/{{location}}
|
279
|
+
```
|
280
|
+
|
281
|
+
```sh
|
282
|
+
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{location}}
|
283
|
+
```
|
284
|
+
|
285
|
+
:param str resource_name: The name of the resource.
|
286
|
+
:param AclConfigArgs args: The arguments to use to populate this resource's properties.
|
287
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
288
|
+
"""
|
289
|
+
...
|
290
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
291
|
+
resource_args, opts = _utilities.get_resource_args_opts(AclConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
|
292
|
+
if resource_args is not None:
|
293
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
294
|
+
else:
|
295
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
296
|
+
|
297
|
+
def _internal_init(__self__,
|
298
|
+
resource_name: str,
|
299
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
300
|
+
idp_config: Optional[pulumi.Input[Union['AclConfigIdpConfigArgs', 'AclConfigIdpConfigArgsDict']]] = None,
|
301
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
302
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
303
|
+
__props__=None):
|
304
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
305
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
306
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
307
|
+
if opts.id is None:
|
308
|
+
if __props__ is not None:
|
309
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
310
|
+
__props__ = AclConfigArgs.__new__(AclConfigArgs)
|
311
|
+
|
312
|
+
__props__.__dict__["idp_config"] = idp_config
|
313
|
+
if location is None and not opts.urn:
|
314
|
+
raise TypeError("Missing required property 'location'")
|
315
|
+
__props__.__dict__["location"] = location
|
316
|
+
__props__.__dict__["project"] = project
|
317
|
+
__props__.__dict__["name"] = None
|
318
|
+
super(AclConfig, __self__).__init__(
|
319
|
+
'gcp:discoveryengine/aclConfig:AclConfig',
|
320
|
+
resource_name,
|
321
|
+
__props__,
|
322
|
+
opts)
|
323
|
+
|
324
|
+
@staticmethod
|
325
|
+
def get(resource_name: str,
|
326
|
+
id: pulumi.Input[str],
|
327
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
328
|
+
idp_config: Optional[pulumi.Input[Union['AclConfigIdpConfigArgs', 'AclConfigIdpConfigArgsDict']]] = None,
|
329
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
330
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
331
|
+
project: Optional[pulumi.Input[_builtins.str]] = None) -> 'AclConfig':
|
332
|
+
"""
|
333
|
+
Get an existing AclConfig resource's state with the given name, id, and optional extra
|
334
|
+
properties used to qualify the lookup.
|
335
|
+
|
336
|
+
:param str resource_name: The unique name of the resulting resource.
|
337
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
338
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
339
|
+
:param pulumi.Input[Union['AclConfigIdpConfigArgs', 'AclConfigIdpConfigArgsDict']] idp_config: Identity provider config.
|
340
|
+
Structure is documented below.
|
341
|
+
:param pulumi.Input[_builtins.str] location: The geographic location where the data store should reside. The value can
|
342
|
+
only be one of "global", "us" and "eu".
|
343
|
+
:param pulumi.Input[_builtins.str] name: The unique full resource name of the aclConfig. Values are of the format
|
344
|
+
`projects/{project}/locations/{location}/aclConfig`.
|
345
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
346
|
+
If it is not provided, the provider project is used.
|
347
|
+
"""
|
348
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
349
|
+
|
350
|
+
__props__ = _AclConfigState.__new__(_AclConfigState)
|
351
|
+
|
352
|
+
__props__.__dict__["idp_config"] = idp_config
|
353
|
+
__props__.__dict__["location"] = location
|
354
|
+
__props__.__dict__["name"] = name
|
355
|
+
__props__.__dict__["project"] = project
|
356
|
+
return AclConfig(resource_name, opts=opts, __props__=__props__)
|
357
|
+
|
358
|
+
@_builtins.property
|
359
|
+
@pulumi.getter(name="idpConfig")
|
360
|
+
def idp_config(self) -> pulumi.Output[Optional['outputs.AclConfigIdpConfig']]:
|
361
|
+
"""
|
362
|
+
Identity provider config.
|
363
|
+
Structure is documented below.
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "idp_config")
|
366
|
+
|
367
|
+
@_builtins.property
|
368
|
+
@pulumi.getter
|
369
|
+
def location(self) -> pulumi.Output[_builtins.str]:
|
370
|
+
"""
|
371
|
+
The geographic location where the data store should reside. The value can
|
372
|
+
only be one of "global", "us" and "eu".
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "location")
|
375
|
+
|
376
|
+
@_builtins.property
|
377
|
+
@pulumi.getter
|
378
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
379
|
+
"""
|
380
|
+
The unique full resource name of the aclConfig. Values are of the format
|
381
|
+
`projects/{project}/locations/{location}/aclConfig`.
|
382
|
+
"""
|
383
|
+
return pulumi.get(self, "name")
|
384
|
+
|
385
|
+
@_builtins.property
|
386
|
+
@pulumi.getter
|
387
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
388
|
+
"""
|
389
|
+
The ID of the project in which the resource belongs.
|
390
|
+
If it is not provided, the provider project is used.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "project")
|
393
|
+
|