pulumi-gcp 8.41.0a1755723613__py3-none-any.whl → 8.41.1__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/accesscontextmanager/access_policy_iam_binding.py +2 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +2 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +2 -0
- pulumi_gcp/apigateway/api_config_iam_binding.py +2 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +2 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +2 -0
- pulumi_gcp/apigateway/api_iam_binding.py +2 -0
- pulumi_gcp/apigateway/api_iam_member.py +2 -0
- pulumi_gcp/apigateway/api_iam_policy.py +2 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +2 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +2 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +2 -0
- pulumi_gcp/apigee/environment_iam_binding.py +2 -0
- pulumi_gcp/apigee/environment_iam_member.py +2 -0
- pulumi_gcp/apigee/environment_iam_policy.py +2 -0
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/get_tag.py +187 -0
- pulumi_gcp/artifactregistry/get_tags.py +200 -0
- pulumi_gcp/artifactregistry/outputs.py +30 -0
- pulumi_gcp/artifactregistry/repository_iam_binding.py +2 -0
- pulumi_gcp/artifactregistry/repository_iam_member.py +2 -0
- pulumi_gcp/artifactregistry/repository_iam_policy.py +2 -0
- pulumi_gcp/beyondcorp/application_iam_binding.py +8 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +8 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +8 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +4 -0
- pulumi_gcp/beyondcorp/security_gateway_application_iam_binding.py +2 -0
- pulumi_gcp/beyondcorp/security_gateway_application_iam_member.py +2 -0
- pulumi_gcp/beyondcorp/security_gateway_application_iam_policy.py +2 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +2 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +2 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +2 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +2 -0
- pulumi_gcp/bigquery/connection_iam_member.py +2 -0
- pulumi_gcp/bigquery/connection_iam_policy.py +2 -0
- pulumi_gcp/bigquery/iam_binding.py +2 -0
- pulumi_gcp/bigquery/iam_member.py +2 -0
- pulumi_gcp/bigquery/iam_policy.py +2 -0
- pulumi_gcp/bigquery/reservation.py +535 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +2 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +2 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +2 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +2 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +2 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +2 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +2 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +2 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +2 -0
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +2 -0
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +2 -0
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +2 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +2 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +2 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +2 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +2 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +2 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +2 -0
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +2 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +2 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +2 -0
- pulumi_gcp/clouddeploy/_inputs.py +48 -48
- pulumi_gcp/clouddeploy/deploy_policy.py +54 -74
- pulumi_gcp/clouddeploy/outputs.py +32 -32
- pulumi_gcp/cloudfunctions/function_iam_binding.py +2 -0
- pulumi_gcp/cloudfunctions/function_iam_member.py +2 -0
- pulumi_gcp/cloudfunctions/function_iam_policy.py +2 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +2 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +2 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +2 -0
- pulumi_gcp/cloudrun/iam_binding.py +2 -0
- pulumi_gcp/cloudrun/iam_member.py +2 -0
- pulumi_gcp/cloudrun/iam_policy.py +2 -0
- pulumi_gcp/cloudrunv2/job_iam_binding.py +2 -0
- pulumi_gcp/cloudrunv2/job_iam_member.py +2 -0
- pulumi_gcp/cloudrunv2/job_iam_policy.py +2 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +2 -0
- pulumi_gcp/cloudrunv2/service_iam_member.py +2 -0
- pulumi_gcp/cloudrunv2/service_iam_policy.py +2 -0
- pulumi_gcp/cloudrunv2/worker_pool_iam_binding.py +2 -0
- pulumi_gcp/cloudrunv2/worker_pool_iam_member.py +2 -0
- pulumi_gcp/cloudrunv2/worker_pool_iam_policy.py +2 -0
- pulumi_gcp/cloudtasks/queue_iam_binding.py +2 -0
- pulumi_gcp/cloudtasks/queue_iam_member.py +2 -0
- pulumi_gcp/cloudtasks/queue_iam_policy.py +2 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +2 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +2 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +2 -0
- pulumi_gcp/compute/disk_iam_binding.py +2 -0
- pulumi_gcp/compute/disk_iam_member.py +2 -0
- pulumi_gcp/compute/disk_iam_policy.py +2 -0
- pulumi_gcp/compute/image_iam_binding.py +2 -0
- pulumi_gcp/compute/image_iam_member.py +2 -0
- pulumi_gcp/compute/image_iam_policy.py +2 -0
- pulumi_gcp/compute/instance_iam_binding.py +2 -0
- pulumi_gcp/compute/instance_iam_member.py +2 -0
- pulumi_gcp/compute/instance_iam_policy.py +2 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +2 -0
- pulumi_gcp/compute/instance_template_iam_member.py +2 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +2 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +2 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +2 -0
- pulumi_gcp/compute/instant_snapshot_iam_policy.py +2 -0
- pulumi_gcp/compute/machine_image_iam_binding.py +2 -0
- pulumi_gcp/compute/machine_image_iam_member.py +2 -0
- pulumi_gcp/compute/machine_image_iam_policy.py +2 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +2 -0
- pulumi_gcp/compute/region_disk_iam_member.py +2 -0
- pulumi_gcp/compute/region_disk_iam_policy.py +2 -0
- pulumi_gcp/compute/snapshot_iam_binding.py +2 -0
- pulumi_gcp/compute/snapshot_iam_member.py +2 -0
- pulumi_gcp/compute/snapshot_iam_policy.py +2 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +2 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +2 -0
- pulumi_gcp/compute/storage_pool_iam_policy.py +2 -0
- pulumi_gcp/compute/subnetwork_iam_binding.py +2 -0
- pulumi_gcp/compute/subnetwork_iam_member.py +2 -0
- pulumi_gcp/compute/subnetwork_iam_policy.py +2 -0
- pulumi_gcp/config/__init__.pyi +0 -4
- pulumi_gcp/config/vars.py +0 -8
- pulumi_gcp/container/_inputs.py +1728 -42
- pulumi_gcp/container/outputs.py +1935 -16
- pulumi_gcp/containeranalysis/note_iam_binding.py +2 -0
- pulumi_gcp/containeranalysis/note_iam_member.py +2 -0
- pulumi_gcp/containeranalysis/note_iam_policy.py +2 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +2 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +2 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +2 -0
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +2 -0
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +2 -0
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +2 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +2 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +2 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +2 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +2 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +2 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +2 -0
- pulumi_gcp/datafusion/instance.py +18 -4
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +2 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +2 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +2 -0
- pulumi_gcp/dataplex/asset_iam_member.py +2 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +2 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +2 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +2 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +2 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +2 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +2 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +2 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +2 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +2 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/glossary_iam_binding.py +2 -0
- pulumi_gcp/dataplex/glossary_iam_member.py +2 -0
- pulumi_gcp/dataplex/glossary_iam_policy.py +2 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +2 -0
- pulumi_gcp/dataplex/lake_iam_member.py +2 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +2 -0
- pulumi_gcp/dataplex/task_iam_binding.py +2 -0
- pulumi_gcp/dataplex/task_iam_member.py +2 -0
- pulumi_gcp/dataplex/task_iam_policy.py +2 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +2 -0
- pulumi_gcp/dataplex/zone_iam_member.py +2 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +2 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +2 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +2 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +2 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +2 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +2 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +2 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +2 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +2 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +2 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +2 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +2 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +2 -0
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +2 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +2 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +2 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +2661 -0
- pulumi_gcp/diagflow/conversation_profile.py +959 -0
- pulumi_gcp/diagflow/outputs.py +2213 -0
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +2 -0
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +2 -0
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +2 -0
- pulumi_gcp/endpoints/service_iam_binding.py +2 -0
- pulumi_gcp/endpoints/service_iam_member.py +2 -0
- pulumi_gcp/endpoints/service_iam_policy.py +2 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +2 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +2 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +2 -0
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +2 -0
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +2 -0
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +2 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +2 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +2 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +2 -0
- pulumi_gcp/gkehub/feature_iam_binding.py +2 -0
- pulumi_gcp/gkehub/feature_iam_member.py +2 -0
- pulumi_gcp/gkehub/feature_iam_policy.py +2 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +2 -0
- pulumi_gcp/gkehub/membership_iam_member.py +2 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +2 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +2 -0
- pulumi_gcp/gkehub/scope_iam_member.py +2 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +2 -0
- pulumi_gcp/healthcare/consent_store_iam_binding.py +2 -0
- pulumi_gcp/healthcare/consent_store_iam_member.py +2 -0
- pulumi_gcp/healthcare/consent_store_iam_policy.py +2 -0
- pulumi_gcp/iam/workforce_pool_iam_binding.py +2 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +2 -0
- pulumi_gcp/iam/workforce_pool_iam_policy.py +2 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +2 -0
- pulumi_gcp/iap/app_engine_service_iam_member.py +2 -0
- pulumi_gcp/iap/app_engine_service_iam_policy.py +2 -0
- pulumi_gcp/iap/app_engine_version_iam_binding.py +2 -0
- pulumi_gcp/iap/app_engine_version_iam_member.py +2 -0
- pulumi_gcp/iap/app_engine_version_iam_policy.py +2 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +2 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +2 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +2 -0
- pulumi_gcp/iap/tunnel_iam_binding.py +2 -0
- pulumi_gcp/iap/tunnel_iam_member.py +2 -0
- pulumi_gcp/iap/tunnel_iam_policy.py +2 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +2 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +2 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +2 -0
- pulumi_gcp/iap/web_backend_service_iam_binding.py +2 -0
- pulumi_gcp/iap/web_backend_service_iam_member.py +2 -0
- pulumi_gcp/iap/web_backend_service_iam_policy.py +2 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +2 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +2 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +2 -0
- pulumi_gcp/iap/web_iam_binding.py +2 -0
- pulumi_gcp/iap/web_iam_member.py +2 -0
- pulumi_gcp/iap/web_iam_policy.py +2 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +2 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +2 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +2 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +2 -0
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +2 -0
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +2 -0
- pulumi_gcp/iap/web_type_compute_iam_binding.py +2 -0
- pulumi_gcp/iap/web_type_compute_iam_member.py +2 -0
- pulumi_gcp/iap/web_type_compute_iam_policy.py +2 -0
- pulumi_gcp/kms/crypto_key.py +7 -0
- pulumi_gcp/kms/ekm_connection_iam_binding.py +2 -0
- pulumi_gcp/kms/ekm_connection_iam_member.py +2 -0
- pulumi_gcp/kms/ekm_connection_iam_policy.py +2 -0
- pulumi_gcp/kms/outputs.py +2 -0
- pulumi_gcp/logging/log_view_iam_binding.py +2 -0
- pulumi_gcp/logging/log_view_iam_member.py +2 -0
- pulumi_gcp/logging/log_view_iam_policy.py +2 -0
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +213 -168
- pulumi_gcp/notebooks/instance.py +18 -18
- pulumi_gcp/notebooks/instance_iam_binding.py +2 -0
- pulumi_gcp/notebooks/instance_iam_member.py +2 -0
- pulumi_gcp/notebooks/instance_iam_policy.py +2 -0
- pulumi_gcp/notebooks/runtime_iam_binding.py +2 -0
- pulumi_gcp/notebooks/runtime_iam_member.py +2 -0
- pulumi_gcp/notebooks/runtime_iam_policy.py +2 -0
- pulumi_gcp/organizations/folder.py +56 -0
- pulumi_gcp/organizations/get_folder.py +29 -1
- pulumi_gcp/projects/api_key.py +88 -1
- pulumi_gcp/provider.py +0 -40
- pulumi_gcp/pubsub/schema_iam_binding.py +2 -0
- pulumi_gcp/pubsub/schema_iam_member.py +2 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +2 -0
- pulumi_gcp/pubsub/topic_iam_binding.py +2 -0
- pulumi_gcp/pubsub/topic_iam_member.py +2 -0
- pulumi_gcp/pubsub/topic_iam_policy.py +2 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +2 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +2 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +2 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +2 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +2 -0
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +2 -0
- pulumi_gcp/securesourcemanager/repository_iam_member.py +2 -0
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +2 -0
- pulumi_gcp/securitycenter/instance_iam_binding.py +18 -4
- pulumi_gcp/securitycenter/instance_iam_member.py +18 -4
- pulumi_gcp/securitycenter/instance_iam_policy.py +18 -4
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +2 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +2 -0
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +2 -0
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +2 -0
- pulumi_gcp/servicedirectory/namespace_iam_member.py +2 -0
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +2 -0
- pulumi_gcp/servicedirectory/service_iam_binding.py +2 -0
- pulumi_gcp/servicedirectory/service_iam_member.py +2 -0
- pulumi_gcp/servicedirectory/service_iam_policy.py +2 -0
- pulumi_gcp/sourcerepo/repository_iam_binding.py +2 -0
- pulumi_gcp/sourcerepo/repository_iam_member.py +2 -0
- pulumi_gcp/sourcerepo/repository_iam_policy.py +2 -0
- pulumi_gcp/tags/tag_key_iam_binding.py +2 -0
- pulumi_gcp/tags/tag_key_iam_member.py +2 -0
- pulumi_gcp/tags/tag_key_iam_policy.py +2 -0
- pulumi_gcp/tags/tag_value_iam_binding.py +2 -0
- pulumi_gcp/tags/tag_value_iam_member.py +2 -0
- pulumi_gcp/tags/tag_value_iam_policy.py +2 -0
- pulumi_gcp/tpu/get_tensorflow_versions.py +10 -0
- pulumi_gcp/vertex/ai_index.py +21 -7
- {pulumi_gcp-8.41.0a1755723613.dist-info → pulumi_gcp-8.41.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.41.0a1755723613.dist-info → pulumi_gcp-8.41.1.dist-info}/RECORD +310 -307
- {pulumi_gcp-8.41.0a1755723613.dist-info → pulumi_gcp-8.41.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.41.0a1755723613.dist-info → pulumi_gcp-8.41.1.dist-info}/top_level.txt +0 -0
pulumi_gcp/diagflow/outputs.py
CHANGED
@@ -16,6 +16,42 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'ConversationProfileAutomatedAgentConfig',
|
20
|
+
'ConversationProfileHumanAgentAssistantConfig',
|
21
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig',
|
22
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig',
|
23
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig',
|
24
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig',
|
25
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig',
|
26
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings',
|
27
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource',
|
28
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig',
|
29
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDocumentQuerySource',
|
30
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource',
|
31
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections',
|
32
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionFeature',
|
33
|
+
'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings',
|
34
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig',
|
35
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig',
|
36
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig',
|
37
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig',
|
38
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig',
|
39
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings',
|
40
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource',
|
41
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig',
|
42
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections',
|
43
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionFeature',
|
44
|
+
'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings',
|
45
|
+
'ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig',
|
46
|
+
'ConversationProfileHumanAgentAssistantConfigNotificationConfig',
|
47
|
+
'ConversationProfileHumanAgentHandoffConfig',
|
48
|
+
'ConversationProfileHumanAgentHandoffConfigLivePersonConfig',
|
49
|
+
'ConversationProfileLoggingConfig',
|
50
|
+
'ConversationProfileNewMessageEventNotificationConfig',
|
51
|
+
'ConversationProfileNotificationConfig',
|
52
|
+
'ConversationProfileSttConfig',
|
53
|
+
'ConversationProfileTtsConfig',
|
54
|
+
'ConversationProfileTtsConfigVoice',
|
19
55
|
'CxAgentAdvancedSettings',
|
20
56
|
'CxAgentAdvancedSettingsAudioExportGcsDestination',
|
21
57
|
'CxAgentAdvancedSettingsDtmfSettings',
|
@@ -227,6 +263,2183 @@ __all__ = [
|
|
227
263
|
'IntentFollowupIntentInfo',
|
228
264
|
]
|
229
265
|
|
266
|
+
@pulumi.output_type
|
267
|
+
class ConversationProfileAutomatedAgentConfig(dict):
|
268
|
+
@staticmethod
|
269
|
+
def __key_warning(key: str):
|
270
|
+
suggest = None
|
271
|
+
if key == "sessionTtl":
|
272
|
+
suggest = "session_ttl"
|
273
|
+
|
274
|
+
if suggest:
|
275
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileAutomatedAgentConfig. Access the value via the '{suggest}' property getter instead.")
|
276
|
+
|
277
|
+
def __getitem__(self, key: str) -> Any:
|
278
|
+
ConversationProfileAutomatedAgentConfig.__key_warning(key)
|
279
|
+
return super().__getitem__(key)
|
280
|
+
|
281
|
+
def get(self, key: str, default = None) -> Any:
|
282
|
+
ConversationProfileAutomatedAgentConfig.__key_warning(key)
|
283
|
+
return super().get(key, default)
|
284
|
+
|
285
|
+
def __init__(__self__, *,
|
286
|
+
agent: _builtins.str,
|
287
|
+
session_ttl: Optional[_builtins.str] = None):
|
288
|
+
"""
|
289
|
+
:param _builtins.str agent: ID of the Dialogflow agent environment to use.
|
290
|
+
Expects the format "projects/<Project ID>/locations/<Location ID>/agent/environments/<EnvironmentID>"
|
291
|
+
:param _builtins.str session_ttl: Configure lifetime of the Dialogflow session.
|
292
|
+
"""
|
293
|
+
pulumi.set(__self__, "agent", agent)
|
294
|
+
if session_ttl is not None:
|
295
|
+
pulumi.set(__self__, "session_ttl", session_ttl)
|
296
|
+
|
297
|
+
@_builtins.property
|
298
|
+
@pulumi.getter
|
299
|
+
def agent(self) -> _builtins.str:
|
300
|
+
"""
|
301
|
+
ID of the Dialogflow agent environment to use.
|
302
|
+
Expects the format "projects/<Project ID>/locations/<Location ID>/agent/environments/<EnvironmentID>"
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "agent")
|
305
|
+
|
306
|
+
@_builtins.property
|
307
|
+
@pulumi.getter(name="sessionTtl")
|
308
|
+
def session_ttl(self) -> Optional[_builtins.str]:
|
309
|
+
"""
|
310
|
+
Configure lifetime of the Dialogflow session.
|
311
|
+
"""
|
312
|
+
return pulumi.get(self, "session_ttl")
|
313
|
+
|
314
|
+
|
315
|
+
@pulumi.output_type
|
316
|
+
class ConversationProfileHumanAgentAssistantConfig(dict):
|
317
|
+
@staticmethod
|
318
|
+
def __key_warning(key: str):
|
319
|
+
suggest = None
|
320
|
+
if key == "endUserSuggestionConfig":
|
321
|
+
suggest = "end_user_suggestion_config"
|
322
|
+
elif key == "humanAgentSuggestionConfig":
|
323
|
+
suggest = "human_agent_suggestion_config"
|
324
|
+
elif key == "messageAnalysisConfig":
|
325
|
+
suggest = "message_analysis_config"
|
326
|
+
elif key == "notificationConfig":
|
327
|
+
suggest = "notification_config"
|
328
|
+
|
329
|
+
if suggest:
|
330
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfig. Access the value via the '{suggest}' property getter instead.")
|
331
|
+
|
332
|
+
def __getitem__(self, key: str) -> Any:
|
333
|
+
ConversationProfileHumanAgentAssistantConfig.__key_warning(key)
|
334
|
+
return super().__getitem__(key)
|
335
|
+
|
336
|
+
def get(self, key: str, default = None) -> Any:
|
337
|
+
ConversationProfileHumanAgentAssistantConfig.__key_warning(key)
|
338
|
+
return super().get(key, default)
|
339
|
+
|
340
|
+
def __init__(__self__, *,
|
341
|
+
end_user_suggestion_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig'] = None,
|
342
|
+
human_agent_suggestion_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig'] = None,
|
343
|
+
message_analysis_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig'] = None,
|
344
|
+
notification_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigNotificationConfig'] = None):
|
345
|
+
"""
|
346
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigArgs' end_user_suggestion_config: Configuration for agent assistance of end user participant.
|
347
|
+
Structure is documented below.
|
348
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigArgs' human_agent_suggestion_config: Configuration for agent assistance of human agent participant.
|
349
|
+
Structure is documented below.
|
350
|
+
:param 'ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfigArgs' message_analysis_config: desc
|
351
|
+
Structure is documented below.
|
352
|
+
:param 'ConversationProfileHumanAgentAssistantConfigNotificationConfigArgs' notification_config: Pub/Sub topic on which to publish new agent assistant events.
|
353
|
+
Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
|
354
|
+
Structure is documented below.
|
355
|
+
"""
|
356
|
+
if end_user_suggestion_config is not None:
|
357
|
+
pulumi.set(__self__, "end_user_suggestion_config", end_user_suggestion_config)
|
358
|
+
if human_agent_suggestion_config is not None:
|
359
|
+
pulumi.set(__self__, "human_agent_suggestion_config", human_agent_suggestion_config)
|
360
|
+
if message_analysis_config is not None:
|
361
|
+
pulumi.set(__self__, "message_analysis_config", message_analysis_config)
|
362
|
+
if notification_config is not None:
|
363
|
+
pulumi.set(__self__, "notification_config", notification_config)
|
364
|
+
|
365
|
+
@_builtins.property
|
366
|
+
@pulumi.getter(name="endUserSuggestionConfig")
|
367
|
+
def end_user_suggestion_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig']:
|
368
|
+
"""
|
369
|
+
Configuration for agent assistance of end user participant.
|
370
|
+
Structure is documented below.
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "end_user_suggestion_config")
|
373
|
+
|
374
|
+
@_builtins.property
|
375
|
+
@pulumi.getter(name="humanAgentSuggestionConfig")
|
376
|
+
def human_agent_suggestion_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig']:
|
377
|
+
"""
|
378
|
+
Configuration for agent assistance of human agent participant.
|
379
|
+
Structure is documented below.
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "human_agent_suggestion_config")
|
382
|
+
|
383
|
+
@_builtins.property
|
384
|
+
@pulumi.getter(name="messageAnalysisConfig")
|
385
|
+
def message_analysis_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig']:
|
386
|
+
"""
|
387
|
+
desc
|
388
|
+
Structure is documented below.
|
389
|
+
"""
|
390
|
+
return pulumi.get(self, "message_analysis_config")
|
391
|
+
|
392
|
+
@_builtins.property
|
393
|
+
@pulumi.getter(name="notificationConfig")
|
394
|
+
def notification_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigNotificationConfig']:
|
395
|
+
"""
|
396
|
+
Pub/Sub topic on which to publish new agent assistant events.
|
397
|
+
Expects the format "projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>"
|
398
|
+
Structure is documented below.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "notification_config")
|
401
|
+
|
402
|
+
|
403
|
+
@pulumi.output_type
|
404
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig(dict):
|
405
|
+
@staticmethod
|
406
|
+
def __key_warning(key: str):
|
407
|
+
suggest = None
|
408
|
+
if key == "disableHighLatencyFeaturesSyncDelivery":
|
409
|
+
suggest = "disable_high_latency_features_sync_delivery"
|
410
|
+
elif key == "featureConfigs":
|
411
|
+
suggest = "feature_configs"
|
412
|
+
elif key == "groupSuggestionResponses":
|
413
|
+
suggest = "group_suggestion_responses"
|
414
|
+
|
415
|
+
if suggest:
|
416
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig. Access the value via the '{suggest}' property getter instead.")
|
417
|
+
|
418
|
+
def __getitem__(self, key: str) -> Any:
|
419
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig.__key_warning(key)
|
420
|
+
return super().__getitem__(key)
|
421
|
+
|
422
|
+
def get(self, key: str, default = None) -> Any:
|
423
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfig.__key_warning(key)
|
424
|
+
return super().get(key, default)
|
425
|
+
|
426
|
+
def __init__(__self__, *,
|
427
|
+
disable_high_latency_features_sync_delivery: Optional[_builtins.bool] = None,
|
428
|
+
feature_configs: Optional[Sequence['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig']] = None,
|
429
|
+
generators: Optional[Sequence[_builtins.str]] = None,
|
430
|
+
group_suggestion_responses: Optional[_builtins.bool] = None):
|
431
|
+
"""
|
432
|
+
:param _builtins.bool disable_high_latency_features_sync_delivery: When disableHighLatencyFeaturesSyncDelivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The humanAgentAssistantConfig.notification_config must be configured and enableEventBasedSuggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
|
433
|
+
:param Sequence['ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigArgs'] feature_configs: Configuration of different suggestion features. One feature can have only one config.
|
434
|
+
Structure is documented below.
|
435
|
+
:param Sequence[_builtins.str] generators: List of various generator resource names used in the conversation profile.
|
436
|
+
:param _builtins.bool group_suggestion_responses: If groupSuggestionResponses is false, and there are multiple featureConfigs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.
|
437
|
+
If groupSuggestionResponses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.
|
438
|
+
"""
|
439
|
+
if disable_high_latency_features_sync_delivery is not None:
|
440
|
+
pulumi.set(__self__, "disable_high_latency_features_sync_delivery", disable_high_latency_features_sync_delivery)
|
441
|
+
if feature_configs is not None:
|
442
|
+
pulumi.set(__self__, "feature_configs", feature_configs)
|
443
|
+
if generators is not None:
|
444
|
+
pulumi.set(__self__, "generators", generators)
|
445
|
+
if group_suggestion_responses is not None:
|
446
|
+
pulumi.set(__self__, "group_suggestion_responses", group_suggestion_responses)
|
447
|
+
|
448
|
+
@_builtins.property
|
449
|
+
@pulumi.getter(name="disableHighLatencyFeaturesSyncDelivery")
|
450
|
+
def disable_high_latency_features_sync_delivery(self) -> Optional[_builtins.bool]:
|
451
|
+
"""
|
452
|
+
When disableHighLatencyFeaturesSyncDelivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The humanAgentAssistantConfig.notification_config must be configured and enableEventBasedSuggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
|
453
|
+
"""
|
454
|
+
return pulumi.get(self, "disable_high_latency_features_sync_delivery")
|
455
|
+
|
456
|
+
@_builtins.property
|
457
|
+
@pulumi.getter(name="featureConfigs")
|
458
|
+
def feature_configs(self) -> Optional[Sequence['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig']]:
|
459
|
+
"""
|
460
|
+
Configuration of different suggestion features. One feature can have only one config.
|
461
|
+
Structure is documented below.
|
462
|
+
"""
|
463
|
+
return pulumi.get(self, "feature_configs")
|
464
|
+
|
465
|
+
@_builtins.property
|
466
|
+
@pulumi.getter
|
467
|
+
def generators(self) -> Optional[Sequence[_builtins.str]]:
|
468
|
+
"""
|
469
|
+
List of various generator resource names used in the conversation profile.
|
470
|
+
"""
|
471
|
+
return pulumi.get(self, "generators")
|
472
|
+
|
473
|
+
@_builtins.property
|
474
|
+
@pulumi.getter(name="groupSuggestionResponses")
|
475
|
+
def group_suggestion_responses(self) -> Optional[_builtins.bool]:
|
476
|
+
"""
|
477
|
+
If groupSuggestionResponses is false, and there are multiple featureConfigs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.
|
478
|
+
If groupSuggestionResponses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "group_suggestion_responses")
|
481
|
+
|
482
|
+
|
483
|
+
@pulumi.output_type
|
484
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig(dict):
|
485
|
+
@staticmethod
|
486
|
+
def __key_warning(key: str):
|
487
|
+
suggest = None
|
488
|
+
if key == "conversationModelConfig":
|
489
|
+
suggest = "conversation_model_config"
|
490
|
+
elif key == "conversationProcessConfig":
|
491
|
+
suggest = "conversation_process_config"
|
492
|
+
elif key == "disableAgentQueryLogging":
|
493
|
+
suggest = "disable_agent_query_logging"
|
494
|
+
elif key == "enableConversationAugmentedQuery":
|
495
|
+
suggest = "enable_conversation_augmented_query"
|
496
|
+
elif key == "enableEventBasedSuggestion":
|
497
|
+
suggest = "enable_event_based_suggestion"
|
498
|
+
elif key == "enableQuerySuggestionOnly":
|
499
|
+
suggest = "enable_query_suggestion_only"
|
500
|
+
elif key == "enableQuerySuggestionWhenNoAnswer":
|
501
|
+
suggest = "enable_query_suggestion_when_no_answer"
|
502
|
+
elif key == "queryConfig":
|
503
|
+
suggest = "query_config"
|
504
|
+
elif key == "suggestionFeature":
|
505
|
+
suggest = "suggestion_feature"
|
506
|
+
elif key == "suggestionTriggerSettings":
|
507
|
+
suggest = "suggestion_trigger_settings"
|
508
|
+
|
509
|
+
if suggest:
|
510
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig. Access the value via the '{suggest}' property getter instead.")
|
511
|
+
|
512
|
+
def __getitem__(self, key: str) -> Any:
|
513
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig.__key_warning(key)
|
514
|
+
return super().__getitem__(key)
|
515
|
+
|
516
|
+
def get(self, key: str, default = None) -> Any:
|
517
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfig.__key_warning(key)
|
518
|
+
return super().get(key, default)
|
519
|
+
|
520
|
+
def __init__(__self__, *,
|
521
|
+
conversation_model_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig'] = None,
|
522
|
+
conversation_process_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig'] = None,
|
523
|
+
disable_agent_query_logging: Optional[_builtins.bool] = None,
|
524
|
+
enable_conversation_augmented_query: Optional[_builtins.bool] = None,
|
525
|
+
enable_event_based_suggestion: Optional[_builtins.bool] = None,
|
526
|
+
enable_query_suggestion_only: Optional[_builtins.bool] = None,
|
527
|
+
enable_query_suggestion_when_no_answer: Optional[_builtins.bool] = None,
|
528
|
+
query_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig'] = None,
|
529
|
+
suggestion_feature: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionFeature'] = None,
|
530
|
+
suggestion_trigger_settings: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings'] = None):
|
531
|
+
"""
|
532
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfigArgs' conversation_model_config: Configs of custom conversation model.
|
533
|
+
Structure is documented below.
|
534
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfigArgs' conversation_process_config: Config to process conversation.
|
535
|
+
Structure is documented below.
|
536
|
+
:param _builtins.bool disable_agent_query_logging: Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.
|
537
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
538
|
+
:param _builtins.bool enable_conversation_augmented_query: Enable including conversation context during query answer generation.
|
539
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
540
|
+
:param _builtins.bool enable_event_based_suggestion: Automatically iterates all participants and tries to compile suggestions.
|
541
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
|
542
|
+
:param _builtins.bool enable_query_suggestion_only: Enable query suggestion only.
|
543
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST
|
544
|
+
:param _builtins.bool enable_query_suggestion_when_no_answer: Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer.
|
545
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST.
|
546
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigArgs' query_config: Configs of query.
|
547
|
+
Structure is documented below.
|
548
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionFeatureArgs' suggestion_feature: The suggestion feature.
|
549
|
+
Structure is documented below.
|
550
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettingsArgs' suggestion_trigger_settings: Settings of suggestion trigger.
|
551
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
552
|
+
Structure is documented below.
|
553
|
+
"""
|
554
|
+
if conversation_model_config is not None:
|
555
|
+
pulumi.set(__self__, "conversation_model_config", conversation_model_config)
|
556
|
+
if conversation_process_config is not None:
|
557
|
+
pulumi.set(__self__, "conversation_process_config", conversation_process_config)
|
558
|
+
if disable_agent_query_logging is not None:
|
559
|
+
pulumi.set(__self__, "disable_agent_query_logging", disable_agent_query_logging)
|
560
|
+
if enable_conversation_augmented_query is not None:
|
561
|
+
pulumi.set(__self__, "enable_conversation_augmented_query", enable_conversation_augmented_query)
|
562
|
+
if enable_event_based_suggestion is not None:
|
563
|
+
pulumi.set(__self__, "enable_event_based_suggestion", enable_event_based_suggestion)
|
564
|
+
if enable_query_suggestion_only is not None:
|
565
|
+
pulumi.set(__self__, "enable_query_suggestion_only", enable_query_suggestion_only)
|
566
|
+
if enable_query_suggestion_when_no_answer is not None:
|
567
|
+
pulumi.set(__self__, "enable_query_suggestion_when_no_answer", enable_query_suggestion_when_no_answer)
|
568
|
+
if query_config is not None:
|
569
|
+
pulumi.set(__self__, "query_config", query_config)
|
570
|
+
if suggestion_feature is not None:
|
571
|
+
pulumi.set(__self__, "suggestion_feature", suggestion_feature)
|
572
|
+
if suggestion_trigger_settings is not None:
|
573
|
+
pulumi.set(__self__, "suggestion_trigger_settings", suggestion_trigger_settings)
|
574
|
+
|
575
|
+
@_builtins.property
|
576
|
+
@pulumi.getter(name="conversationModelConfig")
|
577
|
+
def conversation_model_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig']:
|
578
|
+
"""
|
579
|
+
Configs of custom conversation model.
|
580
|
+
Structure is documented below.
|
581
|
+
"""
|
582
|
+
return pulumi.get(self, "conversation_model_config")
|
583
|
+
|
584
|
+
@_builtins.property
|
585
|
+
@pulumi.getter(name="conversationProcessConfig")
|
586
|
+
def conversation_process_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig']:
|
587
|
+
"""
|
588
|
+
Config to process conversation.
|
589
|
+
Structure is documented below.
|
590
|
+
"""
|
591
|
+
return pulumi.get(self, "conversation_process_config")
|
592
|
+
|
593
|
+
@_builtins.property
|
594
|
+
@pulumi.getter(name="disableAgentQueryLogging")
|
595
|
+
def disable_agent_query_logging(self) -> Optional[_builtins.bool]:
|
596
|
+
"""
|
597
|
+
Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.
|
598
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "disable_agent_query_logging")
|
601
|
+
|
602
|
+
@_builtins.property
|
603
|
+
@pulumi.getter(name="enableConversationAugmentedQuery")
|
604
|
+
def enable_conversation_augmented_query(self) -> Optional[_builtins.bool]:
|
605
|
+
"""
|
606
|
+
Enable including conversation context during query answer generation.
|
607
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
608
|
+
"""
|
609
|
+
return pulumi.get(self, "enable_conversation_augmented_query")
|
610
|
+
|
611
|
+
@_builtins.property
|
612
|
+
@pulumi.getter(name="enableEventBasedSuggestion")
|
613
|
+
def enable_event_based_suggestion(self) -> Optional[_builtins.bool]:
|
614
|
+
"""
|
615
|
+
Automatically iterates all participants and tries to compile suggestions.
|
616
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
|
617
|
+
"""
|
618
|
+
return pulumi.get(self, "enable_event_based_suggestion")
|
619
|
+
|
620
|
+
@_builtins.property
|
621
|
+
@pulumi.getter(name="enableQuerySuggestionOnly")
|
622
|
+
def enable_query_suggestion_only(self) -> Optional[_builtins.bool]:
|
623
|
+
"""
|
624
|
+
Enable query suggestion only.
|
625
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST
|
626
|
+
"""
|
627
|
+
return pulumi.get(self, "enable_query_suggestion_only")
|
628
|
+
|
629
|
+
@_builtins.property
|
630
|
+
@pulumi.getter(name="enableQuerySuggestionWhenNoAnswer")
|
631
|
+
def enable_query_suggestion_when_no_answer(self) -> Optional[_builtins.bool]:
|
632
|
+
"""
|
633
|
+
Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer.
|
634
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST.
|
635
|
+
"""
|
636
|
+
return pulumi.get(self, "enable_query_suggestion_when_no_answer")
|
637
|
+
|
638
|
+
@_builtins.property
|
639
|
+
@pulumi.getter(name="queryConfig")
|
640
|
+
def query_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig']:
|
641
|
+
"""
|
642
|
+
Configs of query.
|
643
|
+
Structure is documented below.
|
644
|
+
"""
|
645
|
+
return pulumi.get(self, "query_config")
|
646
|
+
|
647
|
+
@_builtins.property
|
648
|
+
@pulumi.getter(name="suggestionFeature")
|
649
|
+
def suggestion_feature(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionFeature']:
|
650
|
+
"""
|
651
|
+
The suggestion feature.
|
652
|
+
Structure is documented below.
|
653
|
+
"""
|
654
|
+
return pulumi.get(self, "suggestion_feature")
|
655
|
+
|
656
|
+
@_builtins.property
|
657
|
+
@pulumi.getter(name="suggestionTriggerSettings")
|
658
|
+
def suggestion_trigger_settings(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings']:
|
659
|
+
"""
|
660
|
+
Settings of suggestion trigger.
|
661
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
662
|
+
Structure is documented below.
|
663
|
+
"""
|
664
|
+
return pulumi.get(self, "suggestion_trigger_settings")
|
665
|
+
|
666
|
+
|
667
|
+
@pulumi.output_type
|
668
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig(dict):
|
669
|
+
@staticmethod
|
670
|
+
def __key_warning(key: str):
|
671
|
+
suggest = None
|
672
|
+
if key == "baselineModelVersion":
|
673
|
+
suggest = "baseline_model_version"
|
674
|
+
|
675
|
+
if suggest:
|
676
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig. Access the value via the '{suggest}' property getter instead.")
|
677
|
+
|
678
|
+
def __getitem__(self, key: str) -> Any:
|
679
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig.__key_warning(key)
|
680
|
+
return super().__getitem__(key)
|
681
|
+
|
682
|
+
def get(self, key: str, default = None) -> Any:
|
683
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationModelConfig.__key_warning(key)
|
684
|
+
return super().get(key, default)
|
685
|
+
|
686
|
+
def __init__(__self__, *,
|
687
|
+
baseline_model_version: Optional[_builtins.str] = None,
|
688
|
+
model: Optional[_builtins.str] = None):
|
689
|
+
"""
|
690
|
+
:param _builtins.str baseline_model_version: Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0
|
691
|
+
:param _builtins.str model: Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.
|
692
|
+
"""
|
693
|
+
if baseline_model_version is not None:
|
694
|
+
pulumi.set(__self__, "baseline_model_version", baseline_model_version)
|
695
|
+
if model is not None:
|
696
|
+
pulumi.set(__self__, "model", model)
|
697
|
+
|
698
|
+
@_builtins.property
|
699
|
+
@pulumi.getter(name="baselineModelVersion")
|
700
|
+
def baseline_model_version(self) -> Optional[_builtins.str]:
|
701
|
+
"""
|
702
|
+
Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0
|
703
|
+
"""
|
704
|
+
return pulumi.get(self, "baseline_model_version")
|
705
|
+
|
706
|
+
@_builtins.property
|
707
|
+
@pulumi.getter
|
708
|
+
def model(self) -> Optional[_builtins.str]:
|
709
|
+
"""
|
710
|
+
Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.
|
711
|
+
"""
|
712
|
+
return pulumi.get(self, "model")
|
713
|
+
|
714
|
+
|
715
|
+
@pulumi.output_type
|
716
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig(dict):
|
717
|
+
@staticmethod
|
718
|
+
def __key_warning(key: str):
|
719
|
+
suggest = None
|
720
|
+
if key == "recentSentencesCount":
|
721
|
+
suggest = "recent_sentences_count"
|
722
|
+
|
723
|
+
if suggest:
|
724
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig. Access the value via the '{suggest}' property getter instead.")
|
725
|
+
|
726
|
+
def __getitem__(self, key: str) -> Any:
|
727
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig.__key_warning(key)
|
728
|
+
return super().__getitem__(key)
|
729
|
+
|
730
|
+
def get(self, key: str, default = None) -> Any:
|
731
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigConversationProcessConfig.__key_warning(key)
|
732
|
+
return super().get(key, default)
|
733
|
+
|
734
|
+
def __init__(__self__, *,
|
735
|
+
recent_sentences_count: Optional[_builtins.int] = None):
|
736
|
+
"""
|
737
|
+
:param _builtins.int recent_sentences_count: Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
|
738
|
+
"""
|
739
|
+
if recent_sentences_count is not None:
|
740
|
+
pulumi.set(__self__, "recent_sentences_count", recent_sentences_count)
|
741
|
+
|
742
|
+
@_builtins.property
|
743
|
+
@pulumi.getter(name="recentSentencesCount")
|
744
|
+
def recent_sentences_count(self) -> Optional[_builtins.int]:
|
745
|
+
"""
|
746
|
+
Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
|
747
|
+
"""
|
748
|
+
return pulumi.get(self, "recent_sentences_count")
|
749
|
+
|
750
|
+
|
751
|
+
@pulumi.output_type
|
752
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig(dict):
|
753
|
+
@staticmethod
|
754
|
+
def __key_warning(key: str):
|
755
|
+
suggest = None
|
756
|
+
if key == "confidenceThreshold":
|
757
|
+
suggest = "confidence_threshold"
|
758
|
+
elif key == "contextFilterSettings":
|
759
|
+
suggest = "context_filter_settings"
|
760
|
+
elif key == "dialogflowQuerySource":
|
761
|
+
suggest = "dialogflow_query_source"
|
762
|
+
elif key == "documentQuerySource":
|
763
|
+
suggest = "document_query_source"
|
764
|
+
elif key == "knowledgeBaseQuerySource":
|
765
|
+
suggest = "knowledge_base_query_source"
|
766
|
+
elif key == "maxResults":
|
767
|
+
suggest = "max_results"
|
768
|
+
|
769
|
+
if suggest:
|
770
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig. Access the value via the '{suggest}' property getter instead.")
|
771
|
+
|
772
|
+
def __getitem__(self, key: str) -> Any:
|
773
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig.__key_warning(key)
|
774
|
+
return super().__getitem__(key)
|
775
|
+
|
776
|
+
def get(self, key: str, default = None) -> Any:
|
777
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfig.__key_warning(key)
|
778
|
+
return super().get(key, default)
|
779
|
+
|
780
|
+
def __init__(__self__, *,
|
781
|
+
confidence_threshold: Optional[_builtins.float] = None,
|
782
|
+
context_filter_settings: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings'] = None,
|
783
|
+
dialogflow_query_source: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource'] = None,
|
784
|
+
document_query_source: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDocumentQuerySource'] = None,
|
785
|
+
knowledge_base_query_source: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource'] = None,
|
786
|
+
max_results: Optional[_builtins.int] = None,
|
787
|
+
sections: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections'] = None):
|
788
|
+
"""
|
789
|
+
:param _builtins.float confidence_threshold: Confidence threshold of query result.
|
790
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
|
791
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettingsArgs' context_filter_settings: Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
|
792
|
+
Structure is documented below.
|
793
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceArgs' dialogflow_query_source: Query from Dialogflow agent.
|
794
|
+
This feature is supported for types: DIALOGFLOW_ASSIST.
|
795
|
+
Structure is documented below.
|
796
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDocumentQuerySourceArgs' document_query_source: Query from knowledge base document.
|
797
|
+
This feature is supported for types: SMART_REPLY, SMART_COMPOSE.
|
798
|
+
Structure is documented below.
|
799
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySourceArgs' knowledge_base_query_source: Query from knowledgebase.
|
800
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
801
|
+
Structure is documented below.
|
802
|
+
:param _builtins.int max_results: Maximum number of results to return.
|
803
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSectionsArgs' sections: he customized sections chosen to return when requesting a summary of a conversation.
|
804
|
+
Structure is documented below.
|
805
|
+
"""
|
806
|
+
if confidence_threshold is not None:
|
807
|
+
pulumi.set(__self__, "confidence_threshold", confidence_threshold)
|
808
|
+
if context_filter_settings is not None:
|
809
|
+
pulumi.set(__self__, "context_filter_settings", context_filter_settings)
|
810
|
+
if dialogflow_query_source is not None:
|
811
|
+
pulumi.set(__self__, "dialogflow_query_source", dialogflow_query_source)
|
812
|
+
if document_query_source is not None:
|
813
|
+
pulumi.set(__self__, "document_query_source", document_query_source)
|
814
|
+
if knowledge_base_query_source is not None:
|
815
|
+
pulumi.set(__self__, "knowledge_base_query_source", knowledge_base_query_source)
|
816
|
+
if max_results is not None:
|
817
|
+
pulumi.set(__self__, "max_results", max_results)
|
818
|
+
if sections is not None:
|
819
|
+
pulumi.set(__self__, "sections", sections)
|
820
|
+
|
821
|
+
@_builtins.property
|
822
|
+
@pulumi.getter(name="confidenceThreshold")
|
823
|
+
def confidence_threshold(self) -> Optional[_builtins.float]:
|
824
|
+
"""
|
825
|
+
Confidence threshold of query result.
|
826
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
|
827
|
+
"""
|
828
|
+
return pulumi.get(self, "confidence_threshold")
|
829
|
+
|
830
|
+
@_builtins.property
|
831
|
+
@pulumi.getter(name="contextFilterSettings")
|
832
|
+
def context_filter_settings(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings']:
|
833
|
+
"""
|
834
|
+
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
|
835
|
+
Structure is documented below.
|
836
|
+
"""
|
837
|
+
return pulumi.get(self, "context_filter_settings")
|
838
|
+
|
839
|
+
@_builtins.property
|
840
|
+
@pulumi.getter(name="dialogflowQuerySource")
|
841
|
+
def dialogflow_query_source(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource']:
|
842
|
+
"""
|
843
|
+
Query from Dialogflow agent.
|
844
|
+
This feature is supported for types: DIALOGFLOW_ASSIST.
|
845
|
+
Structure is documented below.
|
846
|
+
"""
|
847
|
+
return pulumi.get(self, "dialogflow_query_source")
|
848
|
+
|
849
|
+
@_builtins.property
|
850
|
+
@pulumi.getter(name="documentQuerySource")
|
851
|
+
def document_query_source(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDocumentQuerySource']:
|
852
|
+
"""
|
853
|
+
Query from knowledge base document.
|
854
|
+
This feature is supported for types: SMART_REPLY, SMART_COMPOSE.
|
855
|
+
Structure is documented below.
|
856
|
+
"""
|
857
|
+
return pulumi.get(self, "document_query_source")
|
858
|
+
|
859
|
+
@_builtins.property
|
860
|
+
@pulumi.getter(name="knowledgeBaseQuerySource")
|
861
|
+
def knowledge_base_query_source(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource']:
|
862
|
+
"""
|
863
|
+
Query from knowledgebase.
|
864
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
865
|
+
Structure is documented below.
|
866
|
+
"""
|
867
|
+
return pulumi.get(self, "knowledge_base_query_source")
|
868
|
+
|
869
|
+
@_builtins.property
|
870
|
+
@pulumi.getter(name="maxResults")
|
871
|
+
def max_results(self) -> Optional[_builtins.int]:
|
872
|
+
"""
|
873
|
+
Maximum number of results to return.
|
874
|
+
"""
|
875
|
+
return pulumi.get(self, "max_results")
|
876
|
+
|
877
|
+
@_builtins.property
|
878
|
+
@pulumi.getter
|
879
|
+
def sections(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections']:
|
880
|
+
"""
|
881
|
+
he customized sections chosen to return when requesting a summary of a conversation.
|
882
|
+
Structure is documented below.
|
883
|
+
"""
|
884
|
+
return pulumi.get(self, "sections")
|
885
|
+
|
886
|
+
|
887
|
+
@pulumi.output_type
|
888
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings(dict):
|
889
|
+
@staticmethod
|
890
|
+
def __key_warning(key: str):
|
891
|
+
suggest = None
|
892
|
+
if key == "dropHandoffMessages":
|
893
|
+
suggest = "drop_handoff_messages"
|
894
|
+
elif key == "dropIvrMessages":
|
895
|
+
suggest = "drop_ivr_messages"
|
896
|
+
elif key == "dropVirtualAgentMessages":
|
897
|
+
suggest = "drop_virtual_agent_messages"
|
898
|
+
|
899
|
+
if suggest:
|
900
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings. Access the value via the '{suggest}' property getter instead.")
|
901
|
+
|
902
|
+
def __getitem__(self, key: str) -> Any:
|
903
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings.__key_warning(key)
|
904
|
+
return super().__getitem__(key)
|
905
|
+
|
906
|
+
def get(self, key: str, default = None) -> Any:
|
907
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigContextFilterSettings.__key_warning(key)
|
908
|
+
return super().get(key, default)
|
909
|
+
|
910
|
+
def __init__(__self__, *,
|
911
|
+
drop_handoff_messages: Optional[_builtins.bool] = None,
|
912
|
+
drop_ivr_messages: Optional[_builtins.bool] = None,
|
913
|
+
drop_virtual_agent_messages: Optional[_builtins.bool] = None):
|
914
|
+
"""
|
915
|
+
:param _builtins.bool drop_handoff_messages: If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped.
|
916
|
+
:param _builtins.bool drop_ivr_messages: If set to true, all messages from ivr stage are dropped.
|
917
|
+
:param _builtins.bool drop_virtual_agent_messages: If set to true, all messages from virtual agent are dropped.
|
918
|
+
"""
|
919
|
+
if drop_handoff_messages is not None:
|
920
|
+
pulumi.set(__self__, "drop_handoff_messages", drop_handoff_messages)
|
921
|
+
if drop_ivr_messages is not None:
|
922
|
+
pulumi.set(__self__, "drop_ivr_messages", drop_ivr_messages)
|
923
|
+
if drop_virtual_agent_messages is not None:
|
924
|
+
pulumi.set(__self__, "drop_virtual_agent_messages", drop_virtual_agent_messages)
|
925
|
+
|
926
|
+
@_builtins.property
|
927
|
+
@pulumi.getter(name="dropHandoffMessages")
|
928
|
+
def drop_handoff_messages(self) -> Optional[_builtins.bool]:
|
929
|
+
"""
|
930
|
+
If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped.
|
931
|
+
"""
|
932
|
+
return pulumi.get(self, "drop_handoff_messages")
|
933
|
+
|
934
|
+
@_builtins.property
|
935
|
+
@pulumi.getter(name="dropIvrMessages")
|
936
|
+
def drop_ivr_messages(self) -> Optional[_builtins.bool]:
|
937
|
+
"""
|
938
|
+
If set to true, all messages from ivr stage are dropped.
|
939
|
+
"""
|
940
|
+
return pulumi.get(self, "drop_ivr_messages")
|
941
|
+
|
942
|
+
@_builtins.property
|
943
|
+
@pulumi.getter(name="dropVirtualAgentMessages")
|
944
|
+
def drop_virtual_agent_messages(self) -> Optional[_builtins.bool]:
|
945
|
+
"""
|
946
|
+
If set to true, all messages from virtual agent are dropped.
|
947
|
+
"""
|
948
|
+
return pulumi.get(self, "drop_virtual_agent_messages")
|
949
|
+
|
950
|
+
|
951
|
+
@pulumi.output_type
|
952
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource(dict):
|
953
|
+
@staticmethod
|
954
|
+
def __key_warning(key: str):
|
955
|
+
suggest = None
|
956
|
+
if key == "humanAgentSideConfig":
|
957
|
+
suggest = "human_agent_side_config"
|
958
|
+
|
959
|
+
if suggest:
|
960
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource. Access the value via the '{suggest}' property getter instead.")
|
961
|
+
|
962
|
+
def __getitem__(self, key: str) -> Any:
|
963
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource.__key_warning(key)
|
964
|
+
return super().__getitem__(key)
|
965
|
+
|
966
|
+
def get(self, key: str, default = None) -> Any:
|
967
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource.__key_warning(key)
|
968
|
+
return super().get(key, default)
|
969
|
+
|
970
|
+
def __init__(__self__, *,
|
971
|
+
agent: _builtins.str,
|
972
|
+
human_agent_side_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig'] = None):
|
973
|
+
"""
|
974
|
+
:param _builtins.str agent: he name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
975
|
+
:param 'ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfigArgs' human_agent_side_config: The Dialogflow assist configuration for human agent.
|
976
|
+
Structure is documented below.
|
977
|
+
"""
|
978
|
+
pulumi.set(__self__, "agent", agent)
|
979
|
+
if human_agent_side_config is not None:
|
980
|
+
pulumi.set(__self__, "human_agent_side_config", human_agent_side_config)
|
981
|
+
|
982
|
+
@_builtins.property
|
983
|
+
@pulumi.getter
|
984
|
+
def agent(self) -> _builtins.str:
|
985
|
+
"""
|
986
|
+
he name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
987
|
+
"""
|
988
|
+
return pulumi.get(self, "agent")
|
989
|
+
|
990
|
+
@_builtins.property
|
991
|
+
@pulumi.getter(name="humanAgentSideConfig")
|
992
|
+
def human_agent_side_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig']:
|
993
|
+
"""
|
994
|
+
The Dialogflow assist configuration for human agent.
|
995
|
+
Structure is documented below.
|
996
|
+
"""
|
997
|
+
return pulumi.get(self, "human_agent_side_config")
|
998
|
+
|
999
|
+
|
1000
|
+
@pulumi.output_type
|
1001
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig(dict):
|
1002
|
+
def __init__(__self__, *,
|
1003
|
+
agent: Optional[_builtins.str] = None):
|
1004
|
+
"""
|
1005
|
+
:param _builtins.str agent: The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1006
|
+
"""
|
1007
|
+
if agent is not None:
|
1008
|
+
pulumi.set(__self__, "agent", agent)
|
1009
|
+
|
1010
|
+
@_builtins.property
|
1011
|
+
@pulumi.getter
|
1012
|
+
def agent(self) -> Optional[_builtins.str]:
|
1013
|
+
"""
|
1014
|
+
The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1015
|
+
"""
|
1016
|
+
return pulumi.get(self, "agent")
|
1017
|
+
|
1018
|
+
|
1019
|
+
@pulumi.output_type
|
1020
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigDocumentQuerySource(dict):
|
1021
|
+
def __init__(__self__, *,
|
1022
|
+
documents: Sequence[_builtins.str]):
|
1023
|
+
"""
|
1024
|
+
:param Sequence[_builtins.str] documents: Knowledge documents to query from. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
|
1025
|
+
"""
|
1026
|
+
pulumi.set(__self__, "documents", documents)
|
1027
|
+
|
1028
|
+
@_builtins.property
|
1029
|
+
@pulumi.getter
|
1030
|
+
def documents(self) -> Sequence[_builtins.str]:
|
1031
|
+
"""
|
1032
|
+
Knowledge documents to query from. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
|
1033
|
+
"""
|
1034
|
+
return pulumi.get(self, "documents")
|
1035
|
+
|
1036
|
+
|
1037
|
+
@pulumi.output_type
|
1038
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource(dict):
|
1039
|
+
@staticmethod
|
1040
|
+
def __key_warning(key: str):
|
1041
|
+
suggest = None
|
1042
|
+
if key == "knowledgeBases":
|
1043
|
+
suggest = "knowledge_bases"
|
1044
|
+
|
1045
|
+
if suggest:
|
1046
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource. Access the value via the '{suggest}' property getter instead.")
|
1047
|
+
|
1048
|
+
def __getitem__(self, key: str) -> Any:
|
1049
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource.__key_warning(key)
|
1050
|
+
return super().__getitem__(key)
|
1051
|
+
|
1052
|
+
def get(self, key: str, default = None) -> Any:
|
1053
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigKnowledgeBaseQuerySource.__key_warning(key)
|
1054
|
+
return super().get(key, default)
|
1055
|
+
|
1056
|
+
def __init__(__self__, *,
|
1057
|
+
knowledge_bases: Sequence[_builtins.str]):
|
1058
|
+
"""
|
1059
|
+
:param Sequence[_builtins.str] knowledge_bases: Knowledge bases to query. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.
|
1060
|
+
"""
|
1061
|
+
pulumi.set(__self__, "knowledge_bases", knowledge_bases)
|
1062
|
+
|
1063
|
+
@_builtins.property
|
1064
|
+
@pulumi.getter(name="knowledgeBases")
|
1065
|
+
def knowledge_bases(self) -> Sequence[_builtins.str]:
|
1066
|
+
"""
|
1067
|
+
Knowledge bases to query. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.
|
1068
|
+
"""
|
1069
|
+
return pulumi.get(self, "knowledge_bases")
|
1070
|
+
|
1071
|
+
|
1072
|
+
@pulumi.output_type
|
1073
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections(dict):
|
1074
|
+
@staticmethod
|
1075
|
+
def __key_warning(key: str):
|
1076
|
+
suggest = None
|
1077
|
+
if key == "sectionTypes":
|
1078
|
+
suggest = "section_types"
|
1079
|
+
|
1080
|
+
if suggest:
|
1081
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections. Access the value via the '{suggest}' property getter instead.")
|
1082
|
+
|
1083
|
+
def __getitem__(self, key: str) -> Any:
|
1084
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections.__key_warning(key)
|
1085
|
+
return super().__getitem__(key)
|
1086
|
+
|
1087
|
+
def get(self, key: str, default = None) -> Any:
|
1088
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigQueryConfigSections.__key_warning(key)
|
1089
|
+
return super().get(key, default)
|
1090
|
+
|
1091
|
+
def __init__(__self__, *,
|
1092
|
+
section_types: Optional[Sequence[_builtins.str]] = None):
|
1093
|
+
"""
|
1094
|
+
:param Sequence[_builtins.str] section_types: The selected sections chosen to return when requesting a summary of a conversation
|
1095
|
+
If not provided the default selection will be "{SITUATION, ACTION, RESULT}".
|
1096
|
+
Each value may be one of: `SECTION_TYPE_UNSPECIFIED`, `SITUATION`, `ACTION`, `RESOLUTION`, `REASON_FOR_CANCELLATION`, `CUSTOMER_SATISFACTION`, `ENTITIES`.
|
1097
|
+
"""
|
1098
|
+
if section_types is not None:
|
1099
|
+
pulumi.set(__self__, "section_types", section_types)
|
1100
|
+
|
1101
|
+
@_builtins.property
|
1102
|
+
@pulumi.getter(name="sectionTypes")
|
1103
|
+
def section_types(self) -> Optional[Sequence[_builtins.str]]:
|
1104
|
+
"""
|
1105
|
+
The selected sections chosen to return when requesting a summary of a conversation
|
1106
|
+
If not provided the default selection will be "{SITUATION, ACTION, RESULT}".
|
1107
|
+
Each value may be one of: `SECTION_TYPE_UNSPECIFIED`, `SITUATION`, `ACTION`, `RESOLUTION`, `REASON_FOR_CANCELLATION`, `CUSTOMER_SATISFACTION`, `ENTITIES`.
|
1108
|
+
"""
|
1109
|
+
return pulumi.get(self, "section_types")
|
1110
|
+
|
1111
|
+
|
1112
|
+
@pulumi.output_type
|
1113
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionFeature(dict):
|
1114
|
+
def __init__(__self__, *,
|
1115
|
+
type: Optional[_builtins.str] = None):
|
1116
|
+
"""
|
1117
|
+
:param _builtins.str type: Type of Human Agent Assistant API feature to request.
|
1118
|
+
"""
|
1119
|
+
if type is not None:
|
1120
|
+
pulumi.set(__self__, "type", type)
|
1121
|
+
|
1122
|
+
@_builtins.property
|
1123
|
+
@pulumi.getter
|
1124
|
+
def type(self) -> Optional[_builtins.str]:
|
1125
|
+
"""
|
1126
|
+
Type of Human Agent Assistant API feature to request.
|
1127
|
+
"""
|
1128
|
+
return pulumi.get(self, "type")
|
1129
|
+
|
1130
|
+
|
1131
|
+
@pulumi.output_type
|
1132
|
+
class ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings(dict):
|
1133
|
+
@staticmethod
|
1134
|
+
def __key_warning(key: str):
|
1135
|
+
suggest = None
|
1136
|
+
if key == "noSmallTalk":
|
1137
|
+
suggest = "no_small_talk"
|
1138
|
+
elif key == "onlyEndUser":
|
1139
|
+
suggest = "only_end_user"
|
1140
|
+
|
1141
|
+
if suggest:
|
1142
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings. Access the value via the '{suggest}' property getter instead.")
|
1143
|
+
|
1144
|
+
def __getitem__(self, key: str) -> Any:
|
1145
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings.__key_warning(key)
|
1146
|
+
return super().__getitem__(key)
|
1147
|
+
|
1148
|
+
def get(self, key: str, default = None) -> Any:
|
1149
|
+
ConversationProfileHumanAgentAssistantConfigEndUserSuggestionConfigFeatureConfigSuggestionTriggerSettings.__key_warning(key)
|
1150
|
+
return super().get(key, default)
|
1151
|
+
|
1152
|
+
def __init__(__self__, *,
|
1153
|
+
no_small_talk: Optional[_builtins.bool] = None,
|
1154
|
+
only_end_user: Optional[_builtins.bool] = None):
|
1155
|
+
"""
|
1156
|
+
:param _builtins.bool no_small_talk: Do not trigger if last utterance is small talk.
|
1157
|
+
:param _builtins.bool only_end_user: Only trigger suggestion if participant role of last utterance is END_USER.
|
1158
|
+
"""
|
1159
|
+
if no_small_talk is not None:
|
1160
|
+
pulumi.set(__self__, "no_small_talk", no_small_talk)
|
1161
|
+
if only_end_user is not None:
|
1162
|
+
pulumi.set(__self__, "only_end_user", only_end_user)
|
1163
|
+
|
1164
|
+
@_builtins.property
|
1165
|
+
@pulumi.getter(name="noSmallTalk")
|
1166
|
+
def no_small_talk(self) -> Optional[_builtins.bool]:
|
1167
|
+
"""
|
1168
|
+
Do not trigger if last utterance is small talk.
|
1169
|
+
"""
|
1170
|
+
return pulumi.get(self, "no_small_talk")
|
1171
|
+
|
1172
|
+
@_builtins.property
|
1173
|
+
@pulumi.getter(name="onlyEndUser")
|
1174
|
+
def only_end_user(self) -> Optional[_builtins.bool]:
|
1175
|
+
"""
|
1176
|
+
Only trigger suggestion if participant role of last utterance is END_USER.
|
1177
|
+
"""
|
1178
|
+
return pulumi.get(self, "only_end_user")
|
1179
|
+
|
1180
|
+
|
1181
|
+
@pulumi.output_type
|
1182
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig(dict):
|
1183
|
+
@staticmethod
|
1184
|
+
def __key_warning(key: str):
|
1185
|
+
suggest = None
|
1186
|
+
if key == "disableHighLatencyFeaturesSyncDelivery":
|
1187
|
+
suggest = "disable_high_latency_features_sync_delivery"
|
1188
|
+
elif key == "featureConfigs":
|
1189
|
+
suggest = "feature_configs"
|
1190
|
+
elif key == "groupSuggestionResponses":
|
1191
|
+
suggest = "group_suggestion_responses"
|
1192
|
+
|
1193
|
+
if suggest:
|
1194
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig. Access the value via the '{suggest}' property getter instead.")
|
1195
|
+
|
1196
|
+
def __getitem__(self, key: str) -> Any:
|
1197
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig.__key_warning(key)
|
1198
|
+
return super().__getitem__(key)
|
1199
|
+
|
1200
|
+
def get(self, key: str, default = None) -> Any:
|
1201
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfig.__key_warning(key)
|
1202
|
+
return super().get(key, default)
|
1203
|
+
|
1204
|
+
def __init__(__self__, *,
|
1205
|
+
disable_high_latency_features_sync_delivery: Optional[_builtins.bool] = None,
|
1206
|
+
feature_configs: Optional[Sequence['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig']] = None,
|
1207
|
+
generators: Optional[Sequence[_builtins.str]] = None,
|
1208
|
+
group_suggestion_responses: Optional[_builtins.bool] = None):
|
1209
|
+
"""
|
1210
|
+
:param _builtins.bool disable_high_latency_features_sync_delivery: When disableHighLatencyFeaturesSyncDelivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The humanAgentAssistantConfig.notification_config must be configured and enableEventBasedSuggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
|
1211
|
+
:param Sequence['ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigArgs'] feature_configs: Configuration of different suggestion features. One feature can have only one config.
|
1212
|
+
Structure is documented below.
|
1213
|
+
:param Sequence[_builtins.str] generators: List of various generator resource names used in the conversation profile.
|
1214
|
+
:param _builtins.bool group_suggestion_responses: If groupSuggestionResponses is false, and there are multiple featureConfigs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.
|
1215
|
+
If groupSuggestionResponses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.
|
1216
|
+
"""
|
1217
|
+
if disable_high_latency_features_sync_delivery is not None:
|
1218
|
+
pulumi.set(__self__, "disable_high_latency_features_sync_delivery", disable_high_latency_features_sync_delivery)
|
1219
|
+
if feature_configs is not None:
|
1220
|
+
pulumi.set(__self__, "feature_configs", feature_configs)
|
1221
|
+
if generators is not None:
|
1222
|
+
pulumi.set(__self__, "generators", generators)
|
1223
|
+
if group_suggestion_responses is not None:
|
1224
|
+
pulumi.set(__self__, "group_suggestion_responses", group_suggestion_responses)
|
1225
|
+
|
1226
|
+
@_builtins.property
|
1227
|
+
@pulumi.getter(name="disableHighLatencyFeaturesSyncDelivery")
|
1228
|
+
def disable_high_latency_features_sync_delivery(self) -> Optional[_builtins.bool]:
|
1229
|
+
"""
|
1230
|
+
When disableHighLatencyFeaturesSyncDelivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The humanAgentAssistantConfig.notification_config must be configured and enableEventBasedSuggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
|
1231
|
+
"""
|
1232
|
+
return pulumi.get(self, "disable_high_latency_features_sync_delivery")
|
1233
|
+
|
1234
|
+
@_builtins.property
|
1235
|
+
@pulumi.getter(name="featureConfigs")
|
1236
|
+
def feature_configs(self) -> Optional[Sequence['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig']]:
|
1237
|
+
"""
|
1238
|
+
Configuration of different suggestion features. One feature can have only one config.
|
1239
|
+
Structure is documented below.
|
1240
|
+
"""
|
1241
|
+
return pulumi.get(self, "feature_configs")
|
1242
|
+
|
1243
|
+
@_builtins.property
|
1244
|
+
@pulumi.getter
|
1245
|
+
def generators(self) -> Optional[Sequence[_builtins.str]]:
|
1246
|
+
"""
|
1247
|
+
List of various generator resource names used in the conversation profile.
|
1248
|
+
"""
|
1249
|
+
return pulumi.get(self, "generators")
|
1250
|
+
|
1251
|
+
@_builtins.property
|
1252
|
+
@pulumi.getter(name="groupSuggestionResponses")
|
1253
|
+
def group_suggestion_responses(self) -> Optional[_builtins.bool]:
|
1254
|
+
"""
|
1255
|
+
If groupSuggestionResponses is false, and there are multiple featureConfigs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.
|
1256
|
+
If groupSuggestionResponses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.
|
1257
|
+
"""
|
1258
|
+
return pulumi.get(self, "group_suggestion_responses")
|
1259
|
+
|
1260
|
+
|
1261
|
+
@pulumi.output_type
|
1262
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig(dict):
|
1263
|
+
@staticmethod
|
1264
|
+
def __key_warning(key: str):
|
1265
|
+
suggest = None
|
1266
|
+
if key == "conversationModelConfig":
|
1267
|
+
suggest = "conversation_model_config"
|
1268
|
+
elif key == "conversationProcessConfig":
|
1269
|
+
suggest = "conversation_process_config"
|
1270
|
+
elif key == "disableAgentQueryLogging":
|
1271
|
+
suggest = "disable_agent_query_logging"
|
1272
|
+
elif key == "enableConversationAugmentedQuery":
|
1273
|
+
suggest = "enable_conversation_augmented_query"
|
1274
|
+
elif key == "enableEventBasedSuggestion":
|
1275
|
+
suggest = "enable_event_based_suggestion"
|
1276
|
+
elif key == "enableQuerySuggestionOnly":
|
1277
|
+
suggest = "enable_query_suggestion_only"
|
1278
|
+
elif key == "enableQuerySuggestionWhenNoAnswer":
|
1279
|
+
suggest = "enable_query_suggestion_when_no_answer"
|
1280
|
+
elif key == "queryConfig":
|
1281
|
+
suggest = "query_config"
|
1282
|
+
elif key == "suggestionFeature":
|
1283
|
+
suggest = "suggestion_feature"
|
1284
|
+
elif key == "suggestionTriggerSettings":
|
1285
|
+
suggest = "suggestion_trigger_settings"
|
1286
|
+
|
1287
|
+
if suggest:
|
1288
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig. Access the value via the '{suggest}' property getter instead.")
|
1289
|
+
|
1290
|
+
def __getitem__(self, key: str) -> Any:
|
1291
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig.__key_warning(key)
|
1292
|
+
return super().__getitem__(key)
|
1293
|
+
|
1294
|
+
def get(self, key: str, default = None) -> Any:
|
1295
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfig.__key_warning(key)
|
1296
|
+
return super().get(key, default)
|
1297
|
+
|
1298
|
+
def __init__(__self__, *,
|
1299
|
+
conversation_model_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig'] = None,
|
1300
|
+
conversation_process_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig'] = None,
|
1301
|
+
disable_agent_query_logging: Optional[_builtins.bool] = None,
|
1302
|
+
enable_conversation_augmented_query: Optional[_builtins.bool] = None,
|
1303
|
+
enable_event_based_suggestion: Optional[_builtins.bool] = None,
|
1304
|
+
enable_query_suggestion_only: Optional[_builtins.bool] = None,
|
1305
|
+
enable_query_suggestion_when_no_answer: Optional[_builtins.bool] = None,
|
1306
|
+
query_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig'] = None,
|
1307
|
+
suggestion_feature: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionFeature'] = None,
|
1308
|
+
suggestion_trigger_settings: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings'] = None):
|
1309
|
+
"""
|
1310
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfigArgs' conversation_model_config: Configs of custom conversation model.
|
1311
|
+
Structure is documented below.
|
1312
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfigArgs' conversation_process_config: Config to process conversation.
|
1313
|
+
Structure is documented below.
|
1314
|
+
:param _builtins.bool disable_agent_query_logging: Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.
|
1315
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
1316
|
+
:param _builtins.bool enable_conversation_augmented_query: Enable including conversation context during query answer generation.
|
1317
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
1318
|
+
:param _builtins.bool enable_event_based_suggestion: Automatically iterates all participants and tries to compile suggestions.
|
1319
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
|
1320
|
+
:param _builtins.bool enable_query_suggestion_only: Enable query suggestion only.
|
1321
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST
|
1322
|
+
:param _builtins.bool enable_query_suggestion_when_no_answer: Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer.
|
1323
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST.
|
1324
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigArgs' query_config: Configs of query.
|
1325
|
+
Structure is documented below.
|
1326
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionFeatureArgs' suggestion_feature: The suggestion feature.
|
1327
|
+
Structure is documented below.
|
1328
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettingsArgs' suggestion_trigger_settings: Settings of suggestion trigger.
|
1329
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
1330
|
+
Structure is documented below.
|
1331
|
+
"""
|
1332
|
+
if conversation_model_config is not None:
|
1333
|
+
pulumi.set(__self__, "conversation_model_config", conversation_model_config)
|
1334
|
+
if conversation_process_config is not None:
|
1335
|
+
pulumi.set(__self__, "conversation_process_config", conversation_process_config)
|
1336
|
+
if disable_agent_query_logging is not None:
|
1337
|
+
pulumi.set(__self__, "disable_agent_query_logging", disable_agent_query_logging)
|
1338
|
+
if enable_conversation_augmented_query is not None:
|
1339
|
+
pulumi.set(__self__, "enable_conversation_augmented_query", enable_conversation_augmented_query)
|
1340
|
+
if enable_event_based_suggestion is not None:
|
1341
|
+
pulumi.set(__self__, "enable_event_based_suggestion", enable_event_based_suggestion)
|
1342
|
+
if enable_query_suggestion_only is not None:
|
1343
|
+
pulumi.set(__self__, "enable_query_suggestion_only", enable_query_suggestion_only)
|
1344
|
+
if enable_query_suggestion_when_no_answer is not None:
|
1345
|
+
pulumi.set(__self__, "enable_query_suggestion_when_no_answer", enable_query_suggestion_when_no_answer)
|
1346
|
+
if query_config is not None:
|
1347
|
+
pulumi.set(__self__, "query_config", query_config)
|
1348
|
+
if suggestion_feature is not None:
|
1349
|
+
pulumi.set(__self__, "suggestion_feature", suggestion_feature)
|
1350
|
+
if suggestion_trigger_settings is not None:
|
1351
|
+
pulumi.set(__self__, "suggestion_trigger_settings", suggestion_trigger_settings)
|
1352
|
+
|
1353
|
+
@_builtins.property
|
1354
|
+
@pulumi.getter(name="conversationModelConfig")
|
1355
|
+
def conversation_model_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig']:
|
1356
|
+
"""
|
1357
|
+
Configs of custom conversation model.
|
1358
|
+
Structure is documented below.
|
1359
|
+
"""
|
1360
|
+
return pulumi.get(self, "conversation_model_config")
|
1361
|
+
|
1362
|
+
@_builtins.property
|
1363
|
+
@pulumi.getter(name="conversationProcessConfig")
|
1364
|
+
def conversation_process_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig']:
|
1365
|
+
"""
|
1366
|
+
Config to process conversation.
|
1367
|
+
Structure is documented below.
|
1368
|
+
"""
|
1369
|
+
return pulumi.get(self, "conversation_process_config")
|
1370
|
+
|
1371
|
+
@_builtins.property
|
1372
|
+
@pulumi.getter(name="disableAgentQueryLogging")
|
1373
|
+
def disable_agent_query_logging(self) -> Optional[_builtins.bool]:
|
1374
|
+
"""
|
1375
|
+
Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.
|
1376
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
1377
|
+
"""
|
1378
|
+
return pulumi.get(self, "disable_agent_query_logging")
|
1379
|
+
|
1380
|
+
@_builtins.property
|
1381
|
+
@pulumi.getter(name="enableConversationAugmentedQuery")
|
1382
|
+
def enable_conversation_augmented_query(self) -> Optional[_builtins.bool]:
|
1383
|
+
"""
|
1384
|
+
Enable including conversation context during query answer generation.
|
1385
|
+
This feature is only supported for types: KNOWLEDGE_SEARCH.
|
1386
|
+
"""
|
1387
|
+
return pulumi.get(self, "enable_conversation_augmented_query")
|
1388
|
+
|
1389
|
+
@_builtins.property
|
1390
|
+
@pulumi.getter(name="enableEventBasedSuggestion")
|
1391
|
+
def enable_event_based_suggestion(self) -> Optional[_builtins.bool]:
|
1392
|
+
"""
|
1393
|
+
Automatically iterates all participants and tries to compile suggestions.
|
1394
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
|
1395
|
+
"""
|
1396
|
+
return pulumi.get(self, "enable_event_based_suggestion")
|
1397
|
+
|
1398
|
+
@_builtins.property
|
1399
|
+
@pulumi.getter(name="enableQuerySuggestionOnly")
|
1400
|
+
def enable_query_suggestion_only(self) -> Optional[_builtins.bool]:
|
1401
|
+
"""
|
1402
|
+
Enable query suggestion only.
|
1403
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST
|
1404
|
+
"""
|
1405
|
+
return pulumi.get(self, "enable_query_suggestion_only")
|
1406
|
+
|
1407
|
+
@_builtins.property
|
1408
|
+
@pulumi.getter(name="enableQuerySuggestionWhenNoAnswer")
|
1409
|
+
def enable_query_suggestion_when_no_answer(self) -> Optional[_builtins.bool]:
|
1410
|
+
"""
|
1411
|
+
Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer.
|
1412
|
+
This feature is only supported for types: KNOWLEDGE_ASSIST.
|
1413
|
+
"""
|
1414
|
+
return pulumi.get(self, "enable_query_suggestion_when_no_answer")
|
1415
|
+
|
1416
|
+
@_builtins.property
|
1417
|
+
@pulumi.getter(name="queryConfig")
|
1418
|
+
def query_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig']:
|
1419
|
+
"""
|
1420
|
+
Configs of query.
|
1421
|
+
Structure is documented below.
|
1422
|
+
"""
|
1423
|
+
return pulumi.get(self, "query_config")
|
1424
|
+
|
1425
|
+
@_builtins.property
|
1426
|
+
@pulumi.getter(name="suggestionFeature")
|
1427
|
+
def suggestion_feature(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionFeature']:
|
1428
|
+
"""
|
1429
|
+
The suggestion feature.
|
1430
|
+
Structure is documented below.
|
1431
|
+
"""
|
1432
|
+
return pulumi.get(self, "suggestion_feature")
|
1433
|
+
|
1434
|
+
@_builtins.property
|
1435
|
+
@pulumi.getter(name="suggestionTriggerSettings")
|
1436
|
+
def suggestion_trigger_settings(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings']:
|
1437
|
+
"""
|
1438
|
+
Settings of suggestion trigger.
|
1439
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ.
|
1440
|
+
Structure is documented below.
|
1441
|
+
"""
|
1442
|
+
return pulumi.get(self, "suggestion_trigger_settings")
|
1443
|
+
|
1444
|
+
|
1445
|
+
@pulumi.output_type
|
1446
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig(dict):
|
1447
|
+
@staticmethod
|
1448
|
+
def __key_warning(key: str):
|
1449
|
+
suggest = None
|
1450
|
+
if key == "baselineModelVersion":
|
1451
|
+
suggest = "baseline_model_version"
|
1452
|
+
|
1453
|
+
if suggest:
|
1454
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig. Access the value via the '{suggest}' property getter instead.")
|
1455
|
+
|
1456
|
+
def __getitem__(self, key: str) -> Any:
|
1457
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig.__key_warning(key)
|
1458
|
+
return super().__getitem__(key)
|
1459
|
+
|
1460
|
+
def get(self, key: str, default = None) -> Any:
|
1461
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationModelConfig.__key_warning(key)
|
1462
|
+
return super().get(key, default)
|
1463
|
+
|
1464
|
+
def __init__(__self__, *,
|
1465
|
+
baseline_model_version: Optional[_builtins.str] = None,
|
1466
|
+
model: Optional[_builtins.str] = None):
|
1467
|
+
"""
|
1468
|
+
:param _builtins.str baseline_model_version: Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0
|
1469
|
+
:param _builtins.str model: Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.
|
1470
|
+
"""
|
1471
|
+
if baseline_model_version is not None:
|
1472
|
+
pulumi.set(__self__, "baseline_model_version", baseline_model_version)
|
1473
|
+
if model is not None:
|
1474
|
+
pulumi.set(__self__, "model", model)
|
1475
|
+
|
1476
|
+
@_builtins.property
|
1477
|
+
@pulumi.getter(name="baselineModelVersion")
|
1478
|
+
def baseline_model_version(self) -> Optional[_builtins.str]:
|
1479
|
+
"""
|
1480
|
+
Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0
|
1481
|
+
"""
|
1482
|
+
return pulumi.get(self, "baseline_model_version")
|
1483
|
+
|
1484
|
+
@_builtins.property
|
1485
|
+
@pulumi.getter
|
1486
|
+
def model(self) -> Optional[_builtins.str]:
|
1487
|
+
"""
|
1488
|
+
Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.
|
1489
|
+
"""
|
1490
|
+
return pulumi.get(self, "model")
|
1491
|
+
|
1492
|
+
|
1493
|
+
@pulumi.output_type
|
1494
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig(dict):
|
1495
|
+
@staticmethod
|
1496
|
+
def __key_warning(key: str):
|
1497
|
+
suggest = None
|
1498
|
+
if key == "recentSentencesCount":
|
1499
|
+
suggest = "recent_sentences_count"
|
1500
|
+
|
1501
|
+
if suggest:
|
1502
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig. Access the value via the '{suggest}' property getter instead.")
|
1503
|
+
|
1504
|
+
def __getitem__(self, key: str) -> Any:
|
1505
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig.__key_warning(key)
|
1506
|
+
return super().__getitem__(key)
|
1507
|
+
|
1508
|
+
def get(self, key: str, default = None) -> Any:
|
1509
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigConversationProcessConfig.__key_warning(key)
|
1510
|
+
return super().get(key, default)
|
1511
|
+
|
1512
|
+
def __init__(__self__, *,
|
1513
|
+
recent_sentences_count: Optional[_builtins.int] = None):
|
1514
|
+
"""
|
1515
|
+
:param _builtins.int recent_sentences_count: Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
|
1516
|
+
"""
|
1517
|
+
if recent_sentences_count is not None:
|
1518
|
+
pulumi.set(__self__, "recent_sentences_count", recent_sentences_count)
|
1519
|
+
|
1520
|
+
@_builtins.property
|
1521
|
+
@pulumi.getter(name="recentSentencesCount")
|
1522
|
+
def recent_sentences_count(self) -> Optional[_builtins.int]:
|
1523
|
+
"""
|
1524
|
+
Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
|
1525
|
+
"""
|
1526
|
+
return pulumi.get(self, "recent_sentences_count")
|
1527
|
+
|
1528
|
+
|
1529
|
+
@pulumi.output_type
|
1530
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig(dict):
|
1531
|
+
@staticmethod
|
1532
|
+
def __key_warning(key: str):
|
1533
|
+
suggest = None
|
1534
|
+
if key == "confidenceThreshold":
|
1535
|
+
suggest = "confidence_threshold"
|
1536
|
+
elif key == "contextFilterSettings":
|
1537
|
+
suggest = "context_filter_settings"
|
1538
|
+
elif key == "dialogflowQuerySource":
|
1539
|
+
suggest = "dialogflow_query_source"
|
1540
|
+
elif key == "maxResults":
|
1541
|
+
suggest = "max_results"
|
1542
|
+
|
1543
|
+
if suggest:
|
1544
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig. Access the value via the '{suggest}' property getter instead.")
|
1545
|
+
|
1546
|
+
def __getitem__(self, key: str) -> Any:
|
1547
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig.__key_warning(key)
|
1548
|
+
return super().__getitem__(key)
|
1549
|
+
|
1550
|
+
def get(self, key: str, default = None) -> Any:
|
1551
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfig.__key_warning(key)
|
1552
|
+
return super().get(key, default)
|
1553
|
+
|
1554
|
+
def __init__(__self__, *,
|
1555
|
+
confidence_threshold: Optional[_builtins.float] = None,
|
1556
|
+
context_filter_settings: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings'] = None,
|
1557
|
+
dialogflow_query_source: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource'] = None,
|
1558
|
+
max_results: Optional[_builtins.int] = None,
|
1559
|
+
sections: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections'] = None):
|
1560
|
+
"""
|
1561
|
+
:param _builtins.float confidence_threshold: Confidence threshold of query result.
|
1562
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
|
1563
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettingsArgs' context_filter_settings: Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
|
1564
|
+
Structure is documented below.
|
1565
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceArgs' dialogflow_query_source: Query from Dialogflow agent.
|
1566
|
+
This feature is supported for types: DIALOGFLOW_ASSIST.
|
1567
|
+
Structure is documented below.
|
1568
|
+
:param _builtins.int max_results: Maximum number of results to return.
|
1569
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSectionsArgs' sections: he customized sections chosen to return when requesting a summary of a conversation.
|
1570
|
+
Structure is documented below.
|
1571
|
+
"""
|
1572
|
+
if confidence_threshold is not None:
|
1573
|
+
pulumi.set(__self__, "confidence_threshold", confidence_threshold)
|
1574
|
+
if context_filter_settings is not None:
|
1575
|
+
pulumi.set(__self__, "context_filter_settings", context_filter_settings)
|
1576
|
+
if dialogflow_query_source is not None:
|
1577
|
+
pulumi.set(__self__, "dialogflow_query_source", dialogflow_query_source)
|
1578
|
+
if max_results is not None:
|
1579
|
+
pulumi.set(__self__, "max_results", max_results)
|
1580
|
+
if sections is not None:
|
1581
|
+
pulumi.set(__self__, "sections", sections)
|
1582
|
+
|
1583
|
+
@_builtins.property
|
1584
|
+
@pulumi.getter(name="confidenceThreshold")
|
1585
|
+
def confidence_threshold(self) -> Optional[_builtins.float]:
|
1586
|
+
"""
|
1587
|
+
Confidence threshold of query result.
|
1588
|
+
This feature is only supported for types: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
|
1589
|
+
"""
|
1590
|
+
return pulumi.get(self, "confidence_threshold")
|
1591
|
+
|
1592
|
+
@_builtins.property
|
1593
|
+
@pulumi.getter(name="contextFilterSettings")
|
1594
|
+
def context_filter_settings(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings']:
|
1595
|
+
"""
|
1596
|
+
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
|
1597
|
+
Structure is documented below.
|
1598
|
+
"""
|
1599
|
+
return pulumi.get(self, "context_filter_settings")
|
1600
|
+
|
1601
|
+
@_builtins.property
|
1602
|
+
@pulumi.getter(name="dialogflowQuerySource")
|
1603
|
+
def dialogflow_query_source(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource']:
|
1604
|
+
"""
|
1605
|
+
Query from Dialogflow agent.
|
1606
|
+
This feature is supported for types: DIALOGFLOW_ASSIST.
|
1607
|
+
Structure is documented below.
|
1608
|
+
"""
|
1609
|
+
return pulumi.get(self, "dialogflow_query_source")
|
1610
|
+
|
1611
|
+
@_builtins.property
|
1612
|
+
@pulumi.getter(name="maxResults")
|
1613
|
+
def max_results(self) -> Optional[_builtins.int]:
|
1614
|
+
"""
|
1615
|
+
Maximum number of results to return.
|
1616
|
+
"""
|
1617
|
+
return pulumi.get(self, "max_results")
|
1618
|
+
|
1619
|
+
@_builtins.property
|
1620
|
+
@pulumi.getter
|
1621
|
+
def sections(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections']:
|
1622
|
+
"""
|
1623
|
+
he customized sections chosen to return when requesting a summary of a conversation.
|
1624
|
+
Structure is documented below.
|
1625
|
+
"""
|
1626
|
+
return pulumi.get(self, "sections")
|
1627
|
+
|
1628
|
+
|
1629
|
+
@pulumi.output_type
|
1630
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings(dict):
|
1631
|
+
@staticmethod
|
1632
|
+
def __key_warning(key: str):
|
1633
|
+
suggest = None
|
1634
|
+
if key == "dropHandoffMessages":
|
1635
|
+
suggest = "drop_handoff_messages"
|
1636
|
+
elif key == "dropIvrMessages":
|
1637
|
+
suggest = "drop_ivr_messages"
|
1638
|
+
elif key == "dropVirtualAgentMessages":
|
1639
|
+
suggest = "drop_virtual_agent_messages"
|
1640
|
+
|
1641
|
+
if suggest:
|
1642
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings. Access the value via the '{suggest}' property getter instead.")
|
1643
|
+
|
1644
|
+
def __getitem__(self, key: str) -> Any:
|
1645
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings.__key_warning(key)
|
1646
|
+
return super().__getitem__(key)
|
1647
|
+
|
1648
|
+
def get(self, key: str, default = None) -> Any:
|
1649
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigContextFilterSettings.__key_warning(key)
|
1650
|
+
return super().get(key, default)
|
1651
|
+
|
1652
|
+
def __init__(__self__, *,
|
1653
|
+
drop_handoff_messages: Optional[_builtins.bool] = None,
|
1654
|
+
drop_ivr_messages: Optional[_builtins.bool] = None,
|
1655
|
+
drop_virtual_agent_messages: Optional[_builtins.bool] = None):
|
1656
|
+
"""
|
1657
|
+
:param _builtins.bool drop_handoff_messages: If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped.
|
1658
|
+
:param _builtins.bool drop_ivr_messages: If set to true, all messages from ivr stage are dropped.
|
1659
|
+
:param _builtins.bool drop_virtual_agent_messages: If set to true, all messages from virtual agent are dropped.
|
1660
|
+
"""
|
1661
|
+
if drop_handoff_messages is not None:
|
1662
|
+
pulumi.set(__self__, "drop_handoff_messages", drop_handoff_messages)
|
1663
|
+
if drop_ivr_messages is not None:
|
1664
|
+
pulumi.set(__self__, "drop_ivr_messages", drop_ivr_messages)
|
1665
|
+
if drop_virtual_agent_messages is not None:
|
1666
|
+
pulumi.set(__self__, "drop_virtual_agent_messages", drop_virtual_agent_messages)
|
1667
|
+
|
1668
|
+
@_builtins.property
|
1669
|
+
@pulumi.getter(name="dropHandoffMessages")
|
1670
|
+
def drop_handoff_messages(self) -> Optional[_builtins.bool]:
|
1671
|
+
"""
|
1672
|
+
If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped.
|
1673
|
+
"""
|
1674
|
+
return pulumi.get(self, "drop_handoff_messages")
|
1675
|
+
|
1676
|
+
@_builtins.property
|
1677
|
+
@pulumi.getter(name="dropIvrMessages")
|
1678
|
+
def drop_ivr_messages(self) -> Optional[_builtins.bool]:
|
1679
|
+
"""
|
1680
|
+
If set to true, all messages from ivr stage are dropped.
|
1681
|
+
"""
|
1682
|
+
return pulumi.get(self, "drop_ivr_messages")
|
1683
|
+
|
1684
|
+
@_builtins.property
|
1685
|
+
@pulumi.getter(name="dropVirtualAgentMessages")
|
1686
|
+
def drop_virtual_agent_messages(self) -> Optional[_builtins.bool]:
|
1687
|
+
"""
|
1688
|
+
If set to true, all messages from virtual agent are dropped.
|
1689
|
+
"""
|
1690
|
+
return pulumi.get(self, "drop_virtual_agent_messages")
|
1691
|
+
|
1692
|
+
|
1693
|
+
@pulumi.output_type
|
1694
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource(dict):
|
1695
|
+
@staticmethod
|
1696
|
+
def __key_warning(key: str):
|
1697
|
+
suggest = None
|
1698
|
+
if key == "humanAgentSideConfig":
|
1699
|
+
suggest = "human_agent_side_config"
|
1700
|
+
|
1701
|
+
if suggest:
|
1702
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource. Access the value via the '{suggest}' property getter instead.")
|
1703
|
+
|
1704
|
+
def __getitem__(self, key: str) -> Any:
|
1705
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource.__key_warning(key)
|
1706
|
+
return super().__getitem__(key)
|
1707
|
+
|
1708
|
+
def get(self, key: str, default = None) -> Any:
|
1709
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySource.__key_warning(key)
|
1710
|
+
return super().get(key, default)
|
1711
|
+
|
1712
|
+
def __init__(__self__, *,
|
1713
|
+
agent: _builtins.str,
|
1714
|
+
human_agent_side_config: Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig'] = None):
|
1715
|
+
"""
|
1716
|
+
:param _builtins.str agent: he name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1717
|
+
:param 'ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfigArgs' human_agent_side_config: The Dialogflow assist configuration for human agent.
|
1718
|
+
Structure is documented below.
|
1719
|
+
"""
|
1720
|
+
pulumi.set(__self__, "agent", agent)
|
1721
|
+
if human_agent_side_config is not None:
|
1722
|
+
pulumi.set(__self__, "human_agent_side_config", human_agent_side_config)
|
1723
|
+
|
1724
|
+
@_builtins.property
|
1725
|
+
@pulumi.getter
|
1726
|
+
def agent(self) -> _builtins.str:
|
1727
|
+
"""
|
1728
|
+
he name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1729
|
+
"""
|
1730
|
+
return pulumi.get(self, "agent")
|
1731
|
+
|
1732
|
+
@_builtins.property
|
1733
|
+
@pulumi.getter(name="humanAgentSideConfig")
|
1734
|
+
def human_agent_side_config(self) -> Optional['outputs.ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig']:
|
1735
|
+
"""
|
1736
|
+
The Dialogflow assist configuration for human agent.
|
1737
|
+
Structure is documented below.
|
1738
|
+
"""
|
1739
|
+
return pulumi.get(self, "human_agent_side_config")
|
1740
|
+
|
1741
|
+
|
1742
|
+
@pulumi.output_type
|
1743
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigDialogflowQuerySourceHumanAgentSideConfig(dict):
|
1744
|
+
def __init__(__self__, *,
|
1745
|
+
agent: Optional[_builtins.str] = None):
|
1746
|
+
"""
|
1747
|
+
:param _builtins.str agent: The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1748
|
+
"""
|
1749
|
+
if agent is not None:
|
1750
|
+
pulumi.set(__self__, "agent", agent)
|
1751
|
+
|
1752
|
+
@_builtins.property
|
1753
|
+
@pulumi.getter
|
1754
|
+
def agent(self) -> Optional[_builtins.str]:
|
1755
|
+
"""
|
1756
|
+
The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: projects/<Project ID>/locations/<Location ID>/agent.
|
1757
|
+
"""
|
1758
|
+
return pulumi.get(self, "agent")
|
1759
|
+
|
1760
|
+
|
1761
|
+
@pulumi.output_type
|
1762
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections(dict):
|
1763
|
+
@staticmethod
|
1764
|
+
def __key_warning(key: str):
|
1765
|
+
suggest = None
|
1766
|
+
if key == "sectionTypes":
|
1767
|
+
suggest = "section_types"
|
1768
|
+
|
1769
|
+
if suggest:
|
1770
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections. Access the value via the '{suggest}' property getter instead.")
|
1771
|
+
|
1772
|
+
def __getitem__(self, key: str) -> Any:
|
1773
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections.__key_warning(key)
|
1774
|
+
return super().__getitem__(key)
|
1775
|
+
|
1776
|
+
def get(self, key: str, default = None) -> Any:
|
1777
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigQueryConfigSections.__key_warning(key)
|
1778
|
+
return super().get(key, default)
|
1779
|
+
|
1780
|
+
def __init__(__self__, *,
|
1781
|
+
section_types: Optional[Sequence[_builtins.str]] = None):
|
1782
|
+
"""
|
1783
|
+
:param Sequence[_builtins.str] section_types: The selected sections chosen to return when requesting a summary of a conversation
|
1784
|
+
If not provided the default selection will be "{SITUATION, ACTION, RESULT}".
|
1785
|
+
Each value may be one of: `SECTION_TYPE_UNSPECIFIED`, `SITUATION`, `ACTION`, `RESOLUTION`, `REASON_FOR_CANCELLATION`, `CUSTOMER_SATISFACTION`, `ENTITIES`.
|
1786
|
+
"""
|
1787
|
+
if section_types is not None:
|
1788
|
+
pulumi.set(__self__, "section_types", section_types)
|
1789
|
+
|
1790
|
+
@_builtins.property
|
1791
|
+
@pulumi.getter(name="sectionTypes")
|
1792
|
+
def section_types(self) -> Optional[Sequence[_builtins.str]]:
|
1793
|
+
"""
|
1794
|
+
The selected sections chosen to return when requesting a summary of a conversation
|
1795
|
+
If not provided the default selection will be "{SITUATION, ACTION, RESULT}".
|
1796
|
+
Each value may be one of: `SECTION_TYPE_UNSPECIFIED`, `SITUATION`, `ACTION`, `RESOLUTION`, `REASON_FOR_CANCELLATION`, `CUSTOMER_SATISFACTION`, `ENTITIES`.
|
1797
|
+
"""
|
1798
|
+
return pulumi.get(self, "section_types")
|
1799
|
+
|
1800
|
+
|
1801
|
+
@pulumi.output_type
|
1802
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionFeature(dict):
|
1803
|
+
def __init__(__self__, *,
|
1804
|
+
type: Optional[_builtins.str] = None):
|
1805
|
+
"""
|
1806
|
+
:param _builtins.str type: Type of Human Agent Assistant API feature to request.
|
1807
|
+
"""
|
1808
|
+
if type is not None:
|
1809
|
+
pulumi.set(__self__, "type", type)
|
1810
|
+
|
1811
|
+
@_builtins.property
|
1812
|
+
@pulumi.getter
|
1813
|
+
def type(self) -> Optional[_builtins.str]:
|
1814
|
+
"""
|
1815
|
+
Type of Human Agent Assistant API feature to request.
|
1816
|
+
"""
|
1817
|
+
return pulumi.get(self, "type")
|
1818
|
+
|
1819
|
+
|
1820
|
+
@pulumi.output_type
|
1821
|
+
class ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings(dict):
|
1822
|
+
@staticmethod
|
1823
|
+
def __key_warning(key: str):
|
1824
|
+
suggest = None
|
1825
|
+
if key == "noSmallTalk":
|
1826
|
+
suggest = "no_small_talk"
|
1827
|
+
elif key == "onlyEndUser":
|
1828
|
+
suggest = "only_end_user"
|
1829
|
+
|
1830
|
+
if suggest:
|
1831
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings. Access the value via the '{suggest}' property getter instead.")
|
1832
|
+
|
1833
|
+
def __getitem__(self, key: str) -> Any:
|
1834
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings.__key_warning(key)
|
1835
|
+
return super().__getitem__(key)
|
1836
|
+
|
1837
|
+
def get(self, key: str, default = None) -> Any:
|
1838
|
+
ConversationProfileHumanAgentAssistantConfigHumanAgentSuggestionConfigFeatureConfigSuggestionTriggerSettings.__key_warning(key)
|
1839
|
+
return super().get(key, default)
|
1840
|
+
|
1841
|
+
def __init__(__self__, *,
|
1842
|
+
no_small_talk: Optional[_builtins.bool] = None,
|
1843
|
+
only_end_user: Optional[_builtins.bool] = None):
|
1844
|
+
"""
|
1845
|
+
:param _builtins.bool no_small_talk: Do not trigger if last utterance is small talk.
|
1846
|
+
:param _builtins.bool only_end_user: Only trigger suggestion if participant role of last utterance is END_USER.
|
1847
|
+
"""
|
1848
|
+
if no_small_talk is not None:
|
1849
|
+
pulumi.set(__self__, "no_small_talk", no_small_talk)
|
1850
|
+
if only_end_user is not None:
|
1851
|
+
pulumi.set(__self__, "only_end_user", only_end_user)
|
1852
|
+
|
1853
|
+
@_builtins.property
|
1854
|
+
@pulumi.getter(name="noSmallTalk")
|
1855
|
+
def no_small_talk(self) -> Optional[_builtins.bool]:
|
1856
|
+
"""
|
1857
|
+
Do not trigger if last utterance is small talk.
|
1858
|
+
"""
|
1859
|
+
return pulumi.get(self, "no_small_talk")
|
1860
|
+
|
1861
|
+
@_builtins.property
|
1862
|
+
@pulumi.getter(name="onlyEndUser")
|
1863
|
+
def only_end_user(self) -> Optional[_builtins.bool]:
|
1864
|
+
"""
|
1865
|
+
Only trigger suggestion if participant role of last utterance is END_USER.
|
1866
|
+
"""
|
1867
|
+
return pulumi.get(self, "only_end_user")
|
1868
|
+
|
1869
|
+
|
1870
|
+
@pulumi.output_type
|
1871
|
+
class ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig(dict):
|
1872
|
+
@staticmethod
|
1873
|
+
def __key_warning(key: str):
|
1874
|
+
suggest = None
|
1875
|
+
if key == "enableEntityExtraction":
|
1876
|
+
suggest = "enable_entity_extraction"
|
1877
|
+
elif key == "enableSentimentAnalysis":
|
1878
|
+
suggest = "enable_sentiment_analysis"
|
1879
|
+
|
1880
|
+
if suggest:
|
1881
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig. Access the value via the '{suggest}' property getter instead.")
|
1882
|
+
|
1883
|
+
def __getitem__(self, key: str) -> Any:
|
1884
|
+
ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig.__key_warning(key)
|
1885
|
+
return super().__getitem__(key)
|
1886
|
+
|
1887
|
+
def get(self, key: str, default = None) -> Any:
|
1888
|
+
ConversationProfileHumanAgentAssistantConfigMessageAnalysisConfig.__key_warning(key)
|
1889
|
+
return super().get(key, default)
|
1890
|
+
|
1891
|
+
def __init__(__self__, *,
|
1892
|
+
enable_entity_extraction: Optional[_builtins.bool] = None,
|
1893
|
+
enable_sentiment_analysis: Optional[_builtins.bool] = None):
|
1894
|
+
"""
|
1895
|
+
:param _builtins.bool enable_entity_extraction: Enable entity extraction in conversation messages on agent assist stage.
|
1896
|
+
:param _builtins.bool enable_sentiment_analysis: Enable sentiment analysis in conversation messages on agent assist stage. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.
|
1897
|
+
"""
|
1898
|
+
if enable_entity_extraction is not None:
|
1899
|
+
pulumi.set(__self__, "enable_entity_extraction", enable_entity_extraction)
|
1900
|
+
if enable_sentiment_analysis is not None:
|
1901
|
+
pulumi.set(__self__, "enable_sentiment_analysis", enable_sentiment_analysis)
|
1902
|
+
|
1903
|
+
@_builtins.property
|
1904
|
+
@pulumi.getter(name="enableEntityExtraction")
|
1905
|
+
def enable_entity_extraction(self) -> Optional[_builtins.bool]:
|
1906
|
+
"""
|
1907
|
+
Enable entity extraction in conversation messages on agent assist stage.
|
1908
|
+
"""
|
1909
|
+
return pulumi.get(self, "enable_entity_extraction")
|
1910
|
+
|
1911
|
+
@_builtins.property
|
1912
|
+
@pulumi.getter(name="enableSentimentAnalysis")
|
1913
|
+
def enable_sentiment_analysis(self) -> Optional[_builtins.bool]:
|
1914
|
+
"""
|
1915
|
+
Enable sentiment analysis in conversation messages on agent assist stage. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.
|
1916
|
+
"""
|
1917
|
+
return pulumi.get(self, "enable_sentiment_analysis")
|
1918
|
+
|
1919
|
+
|
1920
|
+
@pulumi.output_type
|
1921
|
+
class ConversationProfileHumanAgentAssistantConfigNotificationConfig(dict):
|
1922
|
+
@staticmethod
|
1923
|
+
def __key_warning(key: str):
|
1924
|
+
suggest = None
|
1925
|
+
if key == "messageFormat":
|
1926
|
+
suggest = "message_format"
|
1927
|
+
|
1928
|
+
if suggest:
|
1929
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentAssistantConfigNotificationConfig. Access the value via the '{suggest}' property getter instead.")
|
1930
|
+
|
1931
|
+
def __getitem__(self, key: str) -> Any:
|
1932
|
+
ConversationProfileHumanAgentAssistantConfigNotificationConfig.__key_warning(key)
|
1933
|
+
return super().__getitem__(key)
|
1934
|
+
|
1935
|
+
def get(self, key: str, default = None) -> Any:
|
1936
|
+
ConversationProfileHumanAgentAssistantConfigNotificationConfig.__key_warning(key)
|
1937
|
+
return super().get(key, default)
|
1938
|
+
|
1939
|
+
def __init__(__self__, *,
|
1940
|
+
message_format: Optional[_builtins.str] = None,
|
1941
|
+
topic: Optional[_builtins.str] = None):
|
1942
|
+
"""
|
1943
|
+
:param _builtins.str message_format: Format of the message
|
1944
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
1945
|
+
:param _builtins.str topic: Name of the Pub/Sub topic to publish conversation events
|
1946
|
+
"""
|
1947
|
+
if message_format is not None:
|
1948
|
+
pulumi.set(__self__, "message_format", message_format)
|
1949
|
+
if topic is not None:
|
1950
|
+
pulumi.set(__self__, "topic", topic)
|
1951
|
+
|
1952
|
+
@_builtins.property
|
1953
|
+
@pulumi.getter(name="messageFormat")
|
1954
|
+
def message_format(self) -> Optional[_builtins.str]:
|
1955
|
+
"""
|
1956
|
+
Format of the message
|
1957
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
1958
|
+
"""
|
1959
|
+
return pulumi.get(self, "message_format")
|
1960
|
+
|
1961
|
+
@_builtins.property
|
1962
|
+
@pulumi.getter
|
1963
|
+
def topic(self) -> Optional[_builtins.str]:
|
1964
|
+
"""
|
1965
|
+
Name of the Pub/Sub topic to publish conversation events
|
1966
|
+
"""
|
1967
|
+
return pulumi.get(self, "topic")
|
1968
|
+
|
1969
|
+
|
1970
|
+
@pulumi.output_type
|
1971
|
+
class ConversationProfileHumanAgentHandoffConfig(dict):
|
1972
|
+
@staticmethod
|
1973
|
+
def __key_warning(key: str):
|
1974
|
+
suggest = None
|
1975
|
+
if key == "livePersonConfig":
|
1976
|
+
suggest = "live_person_config"
|
1977
|
+
|
1978
|
+
if suggest:
|
1979
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentHandoffConfig. Access the value via the '{suggest}' property getter instead.")
|
1980
|
+
|
1981
|
+
def __getitem__(self, key: str) -> Any:
|
1982
|
+
ConversationProfileHumanAgentHandoffConfig.__key_warning(key)
|
1983
|
+
return super().__getitem__(key)
|
1984
|
+
|
1985
|
+
def get(self, key: str, default = None) -> Any:
|
1986
|
+
ConversationProfileHumanAgentHandoffConfig.__key_warning(key)
|
1987
|
+
return super().get(key, default)
|
1988
|
+
|
1989
|
+
def __init__(__self__, *,
|
1990
|
+
live_person_config: Optional['outputs.ConversationProfileHumanAgentHandoffConfigLivePersonConfig'] = None):
|
1991
|
+
"""
|
1992
|
+
:param 'ConversationProfileHumanAgentHandoffConfigLivePersonConfigArgs' live_person_config: Config for using LivePerson.
|
1993
|
+
Structure is documented below.
|
1994
|
+
"""
|
1995
|
+
if live_person_config is not None:
|
1996
|
+
pulumi.set(__self__, "live_person_config", live_person_config)
|
1997
|
+
|
1998
|
+
@_builtins.property
|
1999
|
+
@pulumi.getter(name="livePersonConfig")
|
2000
|
+
def live_person_config(self) -> Optional['outputs.ConversationProfileHumanAgentHandoffConfigLivePersonConfig']:
|
2001
|
+
"""
|
2002
|
+
Config for using LivePerson.
|
2003
|
+
Structure is documented below.
|
2004
|
+
"""
|
2005
|
+
return pulumi.get(self, "live_person_config")
|
2006
|
+
|
2007
|
+
|
2008
|
+
@pulumi.output_type
|
2009
|
+
class ConversationProfileHumanAgentHandoffConfigLivePersonConfig(dict):
|
2010
|
+
@staticmethod
|
2011
|
+
def __key_warning(key: str):
|
2012
|
+
suggest = None
|
2013
|
+
if key == "accountNumber":
|
2014
|
+
suggest = "account_number"
|
2015
|
+
|
2016
|
+
if suggest:
|
2017
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileHumanAgentHandoffConfigLivePersonConfig. Access the value via the '{suggest}' property getter instead.")
|
2018
|
+
|
2019
|
+
def __getitem__(self, key: str) -> Any:
|
2020
|
+
ConversationProfileHumanAgentHandoffConfigLivePersonConfig.__key_warning(key)
|
2021
|
+
return super().__getitem__(key)
|
2022
|
+
|
2023
|
+
def get(self, key: str, default = None) -> Any:
|
2024
|
+
ConversationProfileHumanAgentHandoffConfigLivePersonConfig.__key_warning(key)
|
2025
|
+
return super().get(key, default)
|
2026
|
+
|
2027
|
+
def __init__(__self__, *,
|
2028
|
+
account_number: _builtins.str):
|
2029
|
+
"""
|
2030
|
+
:param _builtins.str account_number: Account number of the LivePerson account to connect.
|
2031
|
+
"""
|
2032
|
+
pulumi.set(__self__, "account_number", account_number)
|
2033
|
+
|
2034
|
+
@_builtins.property
|
2035
|
+
@pulumi.getter(name="accountNumber")
|
2036
|
+
def account_number(self) -> _builtins.str:
|
2037
|
+
"""
|
2038
|
+
Account number of the LivePerson account to connect.
|
2039
|
+
"""
|
2040
|
+
return pulumi.get(self, "account_number")
|
2041
|
+
|
2042
|
+
|
2043
|
+
@pulumi.output_type
|
2044
|
+
class ConversationProfileLoggingConfig(dict):
|
2045
|
+
@staticmethod
|
2046
|
+
def __key_warning(key: str):
|
2047
|
+
suggest = None
|
2048
|
+
if key == "enableStackdriverLogging":
|
2049
|
+
suggest = "enable_stackdriver_logging"
|
2050
|
+
|
2051
|
+
if suggest:
|
2052
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileLoggingConfig. Access the value via the '{suggest}' property getter instead.")
|
2053
|
+
|
2054
|
+
def __getitem__(self, key: str) -> Any:
|
2055
|
+
ConversationProfileLoggingConfig.__key_warning(key)
|
2056
|
+
return super().__getitem__(key)
|
2057
|
+
|
2058
|
+
def get(self, key: str, default = None) -> Any:
|
2059
|
+
ConversationProfileLoggingConfig.__key_warning(key)
|
2060
|
+
return super().get(key, default)
|
2061
|
+
|
2062
|
+
def __init__(__self__, *,
|
2063
|
+
enable_stackdriver_logging: Optional[_builtins.bool] = None):
|
2064
|
+
"""
|
2065
|
+
:param _builtins.bool enable_stackdriver_logging: Whether to log conversation events
|
2066
|
+
"""
|
2067
|
+
if enable_stackdriver_logging is not None:
|
2068
|
+
pulumi.set(__self__, "enable_stackdriver_logging", enable_stackdriver_logging)
|
2069
|
+
|
2070
|
+
@_builtins.property
|
2071
|
+
@pulumi.getter(name="enableStackdriverLogging")
|
2072
|
+
def enable_stackdriver_logging(self) -> Optional[_builtins.bool]:
|
2073
|
+
"""
|
2074
|
+
Whether to log conversation events
|
2075
|
+
"""
|
2076
|
+
return pulumi.get(self, "enable_stackdriver_logging")
|
2077
|
+
|
2078
|
+
|
2079
|
+
@pulumi.output_type
|
2080
|
+
class ConversationProfileNewMessageEventNotificationConfig(dict):
|
2081
|
+
@staticmethod
|
2082
|
+
def __key_warning(key: str):
|
2083
|
+
suggest = None
|
2084
|
+
if key == "messageFormat":
|
2085
|
+
suggest = "message_format"
|
2086
|
+
|
2087
|
+
if suggest:
|
2088
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileNewMessageEventNotificationConfig. Access the value via the '{suggest}' property getter instead.")
|
2089
|
+
|
2090
|
+
def __getitem__(self, key: str) -> Any:
|
2091
|
+
ConversationProfileNewMessageEventNotificationConfig.__key_warning(key)
|
2092
|
+
return super().__getitem__(key)
|
2093
|
+
|
2094
|
+
def get(self, key: str, default = None) -> Any:
|
2095
|
+
ConversationProfileNewMessageEventNotificationConfig.__key_warning(key)
|
2096
|
+
return super().get(key, default)
|
2097
|
+
|
2098
|
+
def __init__(__self__, *,
|
2099
|
+
message_format: Optional[_builtins.str] = None,
|
2100
|
+
topic: Optional[_builtins.str] = None):
|
2101
|
+
"""
|
2102
|
+
:param _builtins.str message_format: Format of the message
|
2103
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
2104
|
+
:param _builtins.str topic: Name of the Pub/Sub topic to publish conversation events
|
2105
|
+
"""
|
2106
|
+
if message_format is not None:
|
2107
|
+
pulumi.set(__self__, "message_format", message_format)
|
2108
|
+
if topic is not None:
|
2109
|
+
pulumi.set(__self__, "topic", topic)
|
2110
|
+
|
2111
|
+
@_builtins.property
|
2112
|
+
@pulumi.getter(name="messageFormat")
|
2113
|
+
def message_format(self) -> Optional[_builtins.str]:
|
2114
|
+
"""
|
2115
|
+
Format of the message
|
2116
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
2117
|
+
"""
|
2118
|
+
return pulumi.get(self, "message_format")
|
2119
|
+
|
2120
|
+
@_builtins.property
|
2121
|
+
@pulumi.getter
|
2122
|
+
def topic(self) -> Optional[_builtins.str]:
|
2123
|
+
"""
|
2124
|
+
Name of the Pub/Sub topic to publish conversation events
|
2125
|
+
"""
|
2126
|
+
return pulumi.get(self, "topic")
|
2127
|
+
|
2128
|
+
|
2129
|
+
@pulumi.output_type
|
2130
|
+
class ConversationProfileNotificationConfig(dict):
|
2131
|
+
@staticmethod
|
2132
|
+
def __key_warning(key: str):
|
2133
|
+
suggest = None
|
2134
|
+
if key == "messageFormat":
|
2135
|
+
suggest = "message_format"
|
2136
|
+
|
2137
|
+
if suggest:
|
2138
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileNotificationConfig. Access the value via the '{suggest}' property getter instead.")
|
2139
|
+
|
2140
|
+
def __getitem__(self, key: str) -> Any:
|
2141
|
+
ConversationProfileNotificationConfig.__key_warning(key)
|
2142
|
+
return super().__getitem__(key)
|
2143
|
+
|
2144
|
+
def get(self, key: str, default = None) -> Any:
|
2145
|
+
ConversationProfileNotificationConfig.__key_warning(key)
|
2146
|
+
return super().get(key, default)
|
2147
|
+
|
2148
|
+
def __init__(__self__, *,
|
2149
|
+
message_format: Optional[_builtins.str] = None,
|
2150
|
+
topic: Optional[_builtins.str] = None):
|
2151
|
+
"""
|
2152
|
+
:param _builtins.str message_format: Format of the message
|
2153
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
2154
|
+
:param _builtins.str topic: Name of the Pub/Sub topic to publish conversation events
|
2155
|
+
"""
|
2156
|
+
if message_format is not None:
|
2157
|
+
pulumi.set(__self__, "message_format", message_format)
|
2158
|
+
if topic is not None:
|
2159
|
+
pulumi.set(__self__, "topic", topic)
|
2160
|
+
|
2161
|
+
@_builtins.property
|
2162
|
+
@pulumi.getter(name="messageFormat")
|
2163
|
+
def message_format(self) -> Optional[_builtins.str]:
|
2164
|
+
"""
|
2165
|
+
Format of the message
|
2166
|
+
Possible values are: `MESSAGE_FORMAT_UNSPECIFIED`, `PROTO`, `JSON`.
|
2167
|
+
"""
|
2168
|
+
return pulumi.get(self, "message_format")
|
2169
|
+
|
2170
|
+
@_builtins.property
|
2171
|
+
@pulumi.getter
|
2172
|
+
def topic(self) -> Optional[_builtins.str]:
|
2173
|
+
"""
|
2174
|
+
Name of the Pub/Sub topic to publish conversation events
|
2175
|
+
"""
|
2176
|
+
return pulumi.get(self, "topic")
|
2177
|
+
|
2178
|
+
|
2179
|
+
@pulumi.output_type
|
2180
|
+
class ConversationProfileSttConfig(dict):
|
2181
|
+
@staticmethod
|
2182
|
+
def __key_warning(key: str):
|
2183
|
+
suggest = None
|
2184
|
+
if key == "audioEncoding":
|
2185
|
+
suggest = "audio_encoding"
|
2186
|
+
elif key == "enableWordInfo":
|
2187
|
+
suggest = "enable_word_info"
|
2188
|
+
elif key == "languageCode":
|
2189
|
+
suggest = "language_code"
|
2190
|
+
elif key == "sampleRateHertz":
|
2191
|
+
suggest = "sample_rate_hertz"
|
2192
|
+
elif key == "speechModelVariant":
|
2193
|
+
suggest = "speech_model_variant"
|
2194
|
+
elif key == "useTimeoutBasedEndpointing":
|
2195
|
+
suggest = "use_timeout_based_endpointing"
|
2196
|
+
|
2197
|
+
if suggest:
|
2198
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileSttConfig. Access the value via the '{suggest}' property getter instead.")
|
2199
|
+
|
2200
|
+
def __getitem__(self, key: str) -> Any:
|
2201
|
+
ConversationProfileSttConfig.__key_warning(key)
|
2202
|
+
return super().__getitem__(key)
|
2203
|
+
|
2204
|
+
def get(self, key: str, default = None) -> Any:
|
2205
|
+
ConversationProfileSttConfig.__key_warning(key)
|
2206
|
+
return super().get(key, default)
|
2207
|
+
|
2208
|
+
def __init__(__self__, *,
|
2209
|
+
audio_encoding: Optional[_builtins.str] = None,
|
2210
|
+
enable_word_info: Optional[_builtins.bool] = None,
|
2211
|
+
language_code: Optional[_builtins.str] = None,
|
2212
|
+
model: Optional[_builtins.str] = None,
|
2213
|
+
sample_rate_hertz: Optional[_builtins.int] = None,
|
2214
|
+
speech_model_variant: Optional[_builtins.str] = None,
|
2215
|
+
use_timeout_based_endpointing: Optional[_builtins.bool] = None):
|
2216
|
+
"""
|
2217
|
+
:param _builtins.str audio_encoding: Audio encoding of the audio content to process.
|
2218
|
+
Possible values are: `AUDIO_ENCODING_UNSPECIFIED`, `AUDIO_ENCODING_LINEAR_16`, `AUDIO_ENCODING_FLAC`, `AUDIO_ENCODING_MULAW`, `AUDIO_ENCODING_AMR`, `AUDIO_ENCODING_AMR_WB`, `AUDIO_ENCODING_OGG_OPUS`, `AUDIOENCODING_SPEEX_WITH_HEADER_BYTE`.
|
2219
|
+
:param _builtins.bool enable_word_info: If true, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words.
|
2220
|
+
:param _builtins.str language_code: The language of the supplied audio.
|
2221
|
+
:param _builtins.str model: Which Speech model to select.
|
2222
|
+
Leave this field unspecified to use Agent Speech settings for model selection.
|
2223
|
+
:param _builtins.int sample_rate_hertz: Sample rate (in Hertz) of the audio content sent in the query.
|
2224
|
+
:param _builtins.str speech_model_variant: The speech model used in speech to text.
|
2225
|
+
Possible values are: `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE`, `USE_STANDARD`, `USE_ENHANCED`.
|
2226
|
+
:param _builtins.bool use_timeout_based_endpointing: Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
|
2227
|
+
"""
|
2228
|
+
if audio_encoding is not None:
|
2229
|
+
pulumi.set(__self__, "audio_encoding", audio_encoding)
|
2230
|
+
if enable_word_info is not None:
|
2231
|
+
pulumi.set(__self__, "enable_word_info", enable_word_info)
|
2232
|
+
if language_code is not None:
|
2233
|
+
pulumi.set(__self__, "language_code", language_code)
|
2234
|
+
if model is not None:
|
2235
|
+
pulumi.set(__self__, "model", model)
|
2236
|
+
if sample_rate_hertz is not None:
|
2237
|
+
pulumi.set(__self__, "sample_rate_hertz", sample_rate_hertz)
|
2238
|
+
if speech_model_variant is not None:
|
2239
|
+
pulumi.set(__self__, "speech_model_variant", speech_model_variant)
|
2240
|
+
if use_timeout_based_endpointing is not None:
|
2241
|
+
pulumi.set(__self__, "use_timeout_based_endpointing", use_timeout_based_endpointing)
|
2242
|
+
|
2243
|
+
@_builtins.property
|
2244
|
+
@pulumi.getter(name="audioEncoding")
|
2245
|
+
def audio_encoding(self) -> Optional[_builtins.str]:
|
2246
|
+
"""
|
2247
|
+
Audio encoding of the audio content to process.
|
2248
|
+
Possible values are: `AUDIO_ENCODING_UNSPECIFIED`, `AUDIO_ENCODING_LINEAR_16`, `AUDIO_ENCODING_FLAC`, `AUDIO_ENCODING_MULAW`, `AUDIO_ENCODING_AMR`, `AUDIO_ENCODING_AMR_WB`, `AUDIO_ENCODING_OGG_OPUS`, `AUDIOENCODING_SPEEX_WITH_HEADER_BYTE`.
|
2249
|
+
"""
|
2250
|
+
return pulumi.get(self, "audio_encoding")
|
2251
|
+
|
2252
|
+
@_builtins.property
|
2253
|
+
@pulumi.getter(name="enableWordInfo")
|
2254
|
+
def enable_word_info(self) -> Optional[_builtins.bool]:
|
2255
|
+
"""
|
2256
|
+
If true, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words.
|
2257
|
+
"""
|
2258
|
+
return pulumi.get(self, "enable_word_info")
|
2259
|
+
|
2260
|
+
@_builtins.property
|
2261
|
+
@pulumi.getter(name="languageCode")
|
2262
|
+
def language_code(self) -> Optional[_builtins.str]:
|
2263
|
+
"""
|
2264
|
+
The language of the supplied audio.
|
2265
|
+
"""
|
2266
|
+
return pulumi.get(self, "language_code")
|
2267
|
+
|
2268
|
+
@_builtins.property
|
2269
|
+
@pulumi.getter
|
2270
|
+
def model(self) -> Optional[_builtins.str]:
|
2271
|
+
"""
|
2272
|
+
Which Speech model to select.
|
2273
|
+
Leave this field unspecified to use Agent Speech settings for model selection.
|
2274
|
+
"""
|
2275
|
+
return pulumi.get(self, "model")
|
2276
|
+
|
2277
|
+
@_builtins.property
|
2278
|
+
@pulumi.getter(name="sampleRateHertz")
|
2279
|
+
def sample_rate_hertz(self) -> Optional[_builtins.int]:
|
2280
|
+
"""
|
2281
|
+
Sample rate (in Hertz) of the audio content sent in the query.
|
2282
|
+
"""
|
2283
|
+
return pulumi.get(self, "sample_rate_hertz")
|
2284
|
+
|
2285
|
+
@_builtins.property
|
2286
|
+
@pulumi.getter(name="speechModelVariant")
|
2287
|
+
def speech_model_variant(self) -> Optional[_builtins.str]:
|
2288
|
+
"""
|
2289
|
+
The speech model used in speech to text.
|
2290
|
+
Possible values are: `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE`, `USE_STANDARD`, `USE_ENHANCED`.
|
2291
|
+
"""
|
2292
|
+
return pulumi.get(self, "speech_model_variant")
|
2293
|
+
|
2294
|
+
@_builtins.property
|
2295
|
+
@pulumi.getter(name="useTimeoutBasedEndpointing")
|
2296
|
+
def use_timeout_based_endpointing(self) -> Optional[_builtins.bool]:
|
2297
|
+
"""
|
2298
|
+
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
|
2299
|
+
"""
|
2300
|
+
return pulumi.get(self, "use_timeout_based_endpointing")
|
2301
|
+
|
2302
|
+
|
2303
|
+
@pulumi.output_type
|
2304
|
+
class ConversationProfileTtsConfig(dict):
|
2305
|
+
@staticmethod
|
2306
|
+
def __key_warning(key: str):
|
2307
|
+
suggest = None
|
2308
|
+
if key == "effectsProfileIds":
|
2309
|
+
suggest = "effects_profile_ids"
|
2310
|
+
elif key == "speakingRate":
|
2311
|
+
suggest = "speaking_rate"
|
2312
|
+
elif key == "volumeGainDb":
|
2313
|
+
suggest = "volume_gain_db"
|
2314
|
+
|
2315
|
+
if suggest:
|
2316
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileTtsConfig. Access the value via the '{suggest}' property getter instead.")
|
2317
|
+
|
2318
|
+
def __getitem__(self, key: str) -> Any:
|
2319
|
+
ConversationProfileTtsConfig.__key_warning(key)
|
2320
|
+
return super().__getitem__(key)
|
2321
|
+
|
2322
|
+
def get(self, key: str, default = None) -> Any:
|
2323
|
+
ConversationProfileTtsConfig.__key_warning(key)
|
2324
|
+
return super().get(key, default)
|
2325
|
+
|
2326
|
+
def __init__(__self__, *,
|
2327
|
+
effects_profile_ids: Optional[Sequence[_builtins.str]] = None,
|
2328
|
+
pitch: Optional[_builtins.float] = None,
|
2329
|
+
speaking_rate: Optional[_builtins.float] = None,
|
2330
|
+
voice: Optional['outputs.ConversationProfileTtsConfigVoice'] = None,
|
2331
|
+
volume_gain_db: Optional[_builtins.float] = None):
|
2332
|
+
"""
|
2333
|
+
:param Sequence[_builtins.str] effects_profile_ids: An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given.
|
2334
|
+
:param _builtins.float pitch: Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
|
2335
|
+
:param _builtins.float speaking_rate: Speaking rate/speed, in the range [0.25, 4.0].
|
2336
|
+
:param 'ConversationProfileTtsConfigVoiceArgs' voice: The desired voice of the synthesized audio.
|
2337
|
+
Structure is documented below.
|
2338
|
+
:param _builtins.float volume_gain_db: Volume gain (in dB) of the normal native volume supported by the specific voice.
|
2339
|
+
"""
|
2340
|
+
if effects_profile_ids is not None:
|
2341
|
+
pulumi.set(__self__, "effects_profile_ids", effects_profile_ids)
|
2342
|
+
if pitch is not None:
|
2343
|
+
pulumi.set(__self__, "pitch", pitch)
|
2344
|
+
if speaking_rate is not None:
|
2345
|
+
pulumi.set(__self__, "speaking_rate", speaking_rate)
|
2346
|
+
if voice is not None:
|
2347
|
+
pulumi.set(__self__, "voice", voice)
|
2348
|
+
if volume_gain_db is not None:
|
2349
|
+
pulumi.set(__self__, "volume_gain_db", volume_gain_db)
|
2350
|
+
|
2351
|
+
@_builtins.property
|
2352
|
+
@pulumi.getter(name="effectsProfileIds")
|
2353
|
+
def effects_profile_ids(self) -> Optional[Sequence[_builtins.str]]:
|
2354
|
+
"""
|
2355
|
+
An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given.
|
2356
|
+
"""
|
2357
|
+
return pulumi.get(self, "effects_profile_ids")
|
2358
|
+
|
2359
|
+
@_builtins.property
|
2360
|
+
@pulumi.getter
|
2361
|
+
def pitch(self) -> Optional[_builtins.float]:
|
2362
|
+
"""
|
2363
|
+
Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.
|
2364
|
+
"""
|
2365
|
+
return pulumi.get(self, "pitch")
|
2366
|
+
|
2367
|
+
@_builtins.property
|
2368
|
+
@pulumi.getter(name="speakingRate")
|
2369
|
+
def speaking_rate(self) -> Optional[_builtins.float]:
|
2370
|
+
"""
|
2371
|
+
Speaking rate/speed, in the range [0.25, 4.0].
|
2372
|
+
"""
|
2373
|
+
return pulumi.get(self, "speaking_rate")
|
2374
|
+
|
2375
|
+
@_builtins.property
|
2376
|
+
@pulumi.getter
|
2377
|
+
def voice(self) -> Optional['outputs.ConversationProfileTtsConfigVoice']:
|
2378
|
+
"""
|
2379
|
+
The desired voice of the synthesized audio.
|
2380
|
+
Structure is documented below.
|
2381
|
+
"""
|
2382
|
+
return pulumi.get(self, "voice")
|
2383
|
+
|
2384
|
+
@_builtins.property
|
2385
|
+
@pulumi.getter(name="volumeGainDb")
|
2386
|
+
def volume_gain_db(self) -> Optional[_builtins.float]:
|
2387
|
+
"""
|
2388
|
+
Volume gain (in dB) of the normal native volume supported by the specific voice.
|
2389
|
+
"""
|
2390
|
+
return pulumi.get(self, "volume_gain_db")
|
2391
|
+
|
2392
|
+
|
2393
|
+
@pulumi.output_type
|
2394
|
+
class ConversationProfileTtsConfigVoice(dict):
|
2395
|
+
@staticmethod
|
2396
|
+
def __key_warning(key: str):
|
2397
|
+
suggest = None
|
2398
|
+
if key == "ssmlGender":
|
2399
|
+
suggest = "ssml_gender"
|
2400
|
+
|
2401
|
+
if suggest:
|
2402
|
+
pulumi.log.warn(f"Key '{key}' not found in ConversationProfileTtsConfigVoice. Access the value via the '{suggest}' property getter instead.")
|
2403
|
+
|
2404
|
+
def __getitem__(self, key: str) -> Any:
|
2405
|
+
ConversationProfileTtsConfigVoice.__key_warning(key)
|
2406
|
+
return super().__getitem__(key)
|
2407
|
+
|
2408
|
+
def get(self, key: str, default = None) -> Any:
|
2409
|
+
ConversationProfileTtsConfigVoice.__key_warning(key)
|
2410
|
+
return super().get(key, default)
|
2411
|
+
|
2412
|
+
def __init__(__self__, *,
|
2413
|
+
name: Optional[_builtins.str] = None,
|
2414
|
+
ssml_gender: Optional[_builtins.str] = None):
|
2415
|
+
"""
|
2416
|
+
:param _builtins.str name: The name of the voice.
|
2417
|
+
:param _builtins.str ssml_gender: The preferred gender of the voice.
|
2418
|
+
Possible values are: `SSML_VOICE_GENDER_UNSPECIFIED`, `SSML_VOICE_GENDER_MALE`, `SSML_VOICE_GENDER_FEMALE`, `SSML_VOICE_GENDER_NEUTRAL`.
|
2419
|
+
"""
|
2420
|
+
if name is not None:
|
2421
|
+
pulumi.set(__self__, "name", name)
|
2422
|
+
if ssml_gender is not None:
|
2423
|
+
pulumi.set(__self__, "ssml_gender", ssml_gender)
|
2424
|
+
|
2425
|
+
@_builtins.property
|
2426
|
+
@pulumi.getter
|
2427
|
+
def name(self) -> Optional[_builtins.str]:
|
2428
|
+
"""
|
2429
|
+
The name of the voice.
|
2430
|
+
"""
|
2431
|
+
return pulumi.get(self, "name")
|
2432
|
+
|
2433
|
+
@_builtins.property
|
2434
|
+
@pulumi.getter(name="ssmlGender")
|
2435
|
+
def ssml_gender(self) -> Optional[_builtins.str]:
|
2436
|
+
"""
|
2437
|
+
The preferred gender of the voice.
|
2438
|
+
Possible values are: `SSML_VOICE_GENDER_UNSPECIFIED`, `SSML_VOICE_GENDER_MALE`, `SSML_VOICE_GENDER_FEMALE`, `SSML_VOICE_GENDER_NEUTRAL`.
|
2439
|
+
"""
|
2440
|
+
return pulumi.get(self, "ssml_gender")
|
2441
|
+
|
2442
|
+
|
230
2443
|
@pulumi.output_type
|
231
2444
|
class CxAgentAdvancedSettings(dict):
|
232
2445
|
@staticmethod
|