pulumi-gcp 7.0.0rc0__py3-none-any.whl → 7.1.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +118 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +546 -71
- pulumi_gcp/accesscontextmanager/access_level.py +18 -2
- pulumi_gcp/accesscontextmanager/access_level_condition.py +57 -3
- pulumi_gcp/accesscontextmanager/access_levels.py +18 -2
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +18 -2
- pulumi_gcp/accesscontextmanager/egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +18 -2
- pulumi_gcp/accesscontextmanager/ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/outputs.py +643 -71
- pulumi_gcp/accesscontextmanager/service_perimeter.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeters.py +18 -2
- pulumi_gcp/activedirectory/domain.py +22 -10
- pulumi_gcp/activedirectory/domain_trust.py +18 -2
- pulumi_gcp/activedirectory/peering.py +4 -8
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/_inputs.py +93 -0
- pulumi_gcp/alloydb/backup.py +22 -10
- pulumi_gcp/alloydb/cluster.py +283 -11
- pulumi_gcp/alloydb/instance.py +241 -40
- pulumi_gcp/alloydb/outputs.py +130 -0
- pulumi_gcp/alloydb/user.py +609 -0
- pulumi_gcp/apigateway/api.py +22 -10
- pulumi_gcp/apigateway/api_config.py +22 -10
- pulumi_gcp/apigateway/gateway.py +22 -10
- pulumi_gcp/apigee/addons_config.py +18 -2
- pulumi_gcp/apigee/endpoint_attachment.py +18 -2
- pulumi_gcp/apigee/env_group.py +18 -2
- pulumi_gcp/apigee/env_group_attachment.py +18 -2
- pulumi_gcp/apigee/env_keystore.py +18 -2
- pulumi_gcp/apigee/env_references.py +18 -2
- pulumi_gcp/apigee/environment.py +96 -5
- pulumi_gcp/apigee/flowhook.py +18 -2
- pulumi_gcp/apigee/instance.py +18 -2
- pulumi_gcp/apigee/instance_attachment.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +18 -2
- pulumi_gcp/apigee/nat_address.py +18 -2
- pulumi_gcp/apigee/organization.py +18 -2
- pulumi_gcp/apigee/sharedflow.py +18 -2
- pulumi_gcp/apigee/sharedflow_deployment.py +18 -2
- pulumi_gcp/apigee/sync_authorization.py +18 -2
- pulumi_gcp/apigee/target_server.py +18 -2
- pulumi_gcp/appengine/application.py +20 -4
- pulumi_gcp/appengine/application_url_dispatch_rules.py +18 -2
- pulumi_gcp/appengine/domain_mapping.py +18 -2
- pulumi_gcp/appengine/engine_split_traffic.py +18 -2
- pulumi_gcp/appengine/firewall_rule.py +18 -2
- pulumi_gcp/appengine/flexible_app_version.py +18 -2
- pulumi_gcp/appengine/service_network_settings.py +18 -2
- pulumi_gcp/appengine/standard_app_version.py +18 -2
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/outputs.py +4 -4
- pulumi_gcp/artifactregistry/repository.py +24 -12
- pulumi_gcp/artifactregistry/vpcsc_config.py +18 -2
- pulumi_gcp/assuredworkloads/_inputs.py +178 -4
- pulumi_gcp/assuredworkloads/outputs.py +217 -5
- pulumi_gcp/assuredworkloads/workload.py +474 -63
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +152 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +18 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +40 -0
- pulumi_gcp/beyondcorp/app_connection.py +22 -10
- pulumi_gcp/beyondcorp/app_connector.py +22 -10
- pulumi_gcp/beyondcorp/app_gateway.py +22 -10
- pulumi_gcp/biglake/catalog.py +18 -2
- pulumi_gcp/biglake/database.py +18 -2
- pulumi_gcp/biglake/table.py +18 -2
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +94 -8
- pulumi_gcp/bigquery/app_profile.py +18 -2
- pulumi_gcp/bigquery/bi_reservation.py +18 -2
- pulumi_gcp/bigquery/capacity_commitment.py +25 -9
- pulumi_gcp/bigquery/connection.py +56 -2
- pulumi_gcp/bigquery/data_transfer_config.py +18 -2
- pulumi_gcp/bigquery/dataset.py +22 -10
- pulumi_gcp/bigquery/dataset_iam_binding.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_member.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_policy.py +10 -38
- pulumi_gcp/bigquery/get_dataset.py +315 -0
- pulumi_gcp/bigquery/job.py +26 -10
- pulumi_gcp/bigquery/outputs.py +275 -9
- pulumi_gcp/bigquery/reservation.py +18 -2
- pulumi_gcp/bigquery/reservation_assignment.py +18 -2
- pulumi_gcp/bigquery/routine.py +18 -2
- pulumi_gcp/bigquery/table.py +171 -17
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +18 -2
- pulumi_gcp/bigqueryanalyticshub/listing.py +18 -2
- pulumi_gcp/bigquerydatapolicy/data_policy.py +18 -2
- pulumi_gcp/bigtable/instance.py +30 -10
- pulumi_gcp/bigtable/instance_iam_binding.py +12 -20
- pulumi_gcp/bigtable/instance_iam_member.py +12 -20
- pulumi_gcp/bigtable/instance_iam_policy.py +12 -20
- pulumi_gcp/bigtable/table.py +18 -6
- pulumi_gcp/bigtable/table_iam_binding.py +12 -20
- pulumi_gcp/bigtable/table_iam_member.py +12 -20
- pulumi_gcp/bigtable/table_iam_policy.py +12 -20
- pulumi_gcp/billing/account_iam_binding.py +12 -20
- pulumi_gcp/billing/account_iam_member.py +12 -20
- pulumi_gcp/billing/account_iam_policy.py +12 -20
- pulumi_gcp/billing/budget.py +18 -2
- pulumi_gcp/billing/project_info.py +18 -2
- pulumi_gcp/billing/sub_account.py +18 -2
- pulumi_gcp/binaryauthorization/attestor.py +18 -2
- pulumi_gcp/binaryauthorization/policy.py +18 -2
- pulumi_gcp/certificateauthority/authority.py +22 -10
- pulumi_gcp/certificateauthority/ca_pool.py +22 -10
- pulumi_gcp/certificateauthority/certificate.py +22 -10
- pulumi_gcp/certificateauthority/certificate_template.py +22 -10
- pulumi_gcp/certificatemanager/certificate.py +223 -31
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map_entry.py +22 -10
- pulumi_gcp/certificatemanager/dns_authorization.py +22 -10
- pulumi_gcp/certificatemanager/trust_config.py +22 -10
- pulumi_gcp/cloudasset/folder_feed.py +18 -2
- pulumi_gcp/cloudasset/organization_feed.py +18 -2
- pulumi_gcp/cloudasset/project_feed.py +18 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +18 -2
- pulumi_gcp/cloudbuild/trigger.py +18 -2
- pulumi_gcp/cloudbuild/worker_pool.py +18 -2
- pulumi_gcp/cloudbuildv2/connection.py +18 -2
- pulumi_gcp/cloudbuildv2/repository.py +18 -2
- pulumi_gcp/clouddeploy/delivery_pipeline.py +22 -10
- pulumi_gcp/clouddeploy/target.py +22 -10
- pulumi_gcp/cloudfunctions/function.py +26 -14
- pulumi_gcp/cloudfunctions/get_function.py +3 -0
- pulumi_gcp/cloudfunctionsv2/function.py +22 -10
- pulumi_gcp/cloudidentity/__init__.py +1 -0
- pulumi_gcp/cloudidentity/_inputs.py +119 -0
- pulumi_gcp/cloudidentity/get_group_lookup.py +128 -0
- pulumi_gcp/cloudidentity/group.py +50 -2
- pulumi_gcp/cloudidentity/group_membership.py +18 -2
- pulumi_gcp/cloudidentity/outputs.py +156 -0
- pulumi_gcp/cloudids/endpoint.py +18 -2
- pulumi_gcp/cloudrun/_inputs.py +12 -0
- pulumi_gcp/cloudrun/domain_mapping.py +18 -2
- pulumi_gcp/cloudrun/outputs.py +12 -0
- pulumi_gcp/cloudrun/service.py +18 -2
- pulumi_gcp/cloudrunv2/__init__.py +2 -0
- pulumi_gcp/cloudrunv2/get_job.py +394 -0
- pulumi_gcp/cloudrunv2/get_service.py +454 -0
- pulumi_gcp/cloudrunv2/job.py +40 -27
- pulumi_gcp/cloudrunv2/outputs.py +1687 -0
- pulumi_gcp/cloudrunv2/service.py +40 -27
- pulumi_gcp/cloudscheduler/job.py +18 -2
- pulumi_gcp/cloudtasks/queue.py +18 -2
- pulumi_gcp/composer/_inputs.py +17 -0
- pulumi_gcp/composer/environment.py +68 -5
- pulumi_gcp/composer/get_environment.py +13 -3
- pulumi_gcp/composer/outputs.py +26 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +158 -4
- pulumi_gcp/compute/address.py +38 -18
- pulumi_gcp/compute/attached_disk.py +18 -2
- pulumi_gcp/compute/autoscaler.py +18 -2
- pulumi_gcp/compute/backend_bucket.py +18 -2
- pulumi_gcp/compute/backend_service.py +32 -16
- pulumi_gcp/compute/disk.py +22 -10
- pulumi_gcp/compute/disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/external_vpn_gateway.py +22 -10
- pulumi_gcp/compute/firewall.py +18 -2
- pulumi_gcp/compute/firewall_policy_association.py +18 -2
- pulumi_gcp/compute/firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/forwarding_rule.py +377 -276
- pulumi_gcp/compute/get_disk.py +3 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/get_image.py +3 -0
- pulumi_gcp/compute/get_network.py +14 -1
- pulumi_gcp/compute/get_networks.py +130 -0
- pulumi_gcp/compute/get_subnetwork.py +14 -1
- pulumi_gcp/compute/global_address.py +18 -2
- pulumi_gcp/compute/global_forwarding_rule.py +127 -108
- pulumi_gcp/compute/global_network_endpoint.py +18 -2
- pulumi_gcp/compute/global_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +18 -2
- pulumi_gcp/compute/health_check.py +18 -2
- pulumi_gcp/compute/http_health_check.py +18 -2
- pulumi_gcp/compute/https_health_check.py +18 -2
- pulumi_gcp/compute/image.py +22 -10
- pulumi_gcp/compute/instance.py +44 -36
- pulumi_gcp/compute/instance_group.py +24 -8
- pulumi_gcp/compute/instance_group_manager.py +26 -10
- pulumi_gcp/compute/instance_group_named_port.py +18 -2
- pulumi_gcp/compute/instance_settings.py +387 -0
- pulumi_gcp/compute/instance_template.py +29 -21
- pulumi_gcp/compute/interconnect_attachment.py +18 -2
- pulumi_gcp/compute/machine_image.py +18 -2
- pulumi_gcp/compute/managed_ssl_certificate.py +18 -2
- pulumi_gcp/compute/manged_ssl_certificate.py +18 -2
- pulumi_gcp/compute/network.py +18 -2
- pulumi_gcp/compute/network_attachment.py +156 -2
- pulumi_gcp/compute/network_edge_security_service.py +18 -2
- pulumi_gcp/compute/network_endpoint.py +18 -2
- pulumi_gcp/compute/network_endpoint_group.py +32 -16
- pulumi_gcp/compute/network_endpoint_list.py +18 -2
- pulumi_gcp/compute/network_firewall_policy.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/network_peering.py +20 -4
- pulumi_gcp/compute/network_peering_routes_config.py +18 -2
- pulumi_gcp/compute/node_group.py +129 -2
- pulumi_gcp/compute/node_template.py +18 -2
- pulumi_gcp/compute/organization_security_policy.py +18 -2
- pulumi_gcp/compute/organization_security_policy_association.py +18 -2
- pulumi_gcp/compute/organization_security_policy_rule.py +18 -2
- pulumi_gcp/compute/outputs.py +230 -7
- pulumi_gcp/compute/packet_mirroring.py +18 -2
- pulumi_gcp/compute/per_instance_config.py +18 -2
- pulumi_gcp/compute/project_default_network_tier.py +20 -4
- pulumi_gcp/compute/project_metadata.py +20 -4
- pulumi_gcp/compute/project_metadata_item.py +20 -4
- pulumi_gcp/compute/public_advertised_prefix.py +18 -2
- pulumi_gcp/compute/public_delegated_prefix.py +18 -2
- pulumi_gcp/compute/region_autoscaler.py +18 -2
- pulumi_gcp/compute/region_backend_service.py +18 -2
- pulumi_gcp/compute/region_commitment.py +18 -2
- pulumi_gcp/compute/region_disk.py +22 -10
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/region_health_check.py +18 -2
- pulumi_gcp/compute/region_instance_group_manager.py +20 -4
- pulumi_gcp/compute/region_instance_template.py +29 -21
- pulumi_gcp/compute/region_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/region_per_instance_config.py +18 -2
- pulumi_gcp/compute/region_security_policy.py +18 -2
- pulumi_gcp/compute/region_security_policy_rule.py +18 -2
- pulumi_gcp/compute/region_ssl_certificate.py +18 -2
- pulumi_gcp/compute/region_ssl_policy.py +18 -2
- pulumi_gcp/compute/region_target_http_proxy.py +18 -2
- pulumi_gcp/compute/region_target_https_proxy.py +18 -2
- pulumi_gcp/compute/region_target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/region_url_map.py +18 -2
- pulumi_gcp/compute/reservation.py +18 -2
- pulumi_gcp/compute/resource_policy.py +18 -2
- pulumi_gcp/compute/route.py +18 -2
- pulumi_gcp/compute/router.py +18 -2
- pulumi_gcp/compute/router_interface.py +22 -6
- pulumi_gcp/compute/router_nat.py +18 -2
- pulumi_gcp/compute/router_peer.py +18 -2
- pulumi_gcp/compute/security_policy.py +52 -4
- pulumi_gcp/compute/security_scan_config.py +18 -2
- pulumi_gcp/compute/service_attachment.py +18 -2
- pulumi_gcp/compute/shared_vpc_host_project.py +20 -4
- pulumi_gcp/compute/shared_vpc_service_project.py +20 -4
- pulumi_gcp/compute/snapshot.py +22 -10
- pulumi_gcp/compute/ssl_certificate.py +18 -2
- pulumi_gcp/compute/ssl_policy.py +18 -2
- pulumi_gcp/compute/subnetwork.py +109 -2
- pulumi_gcp/compute/target_grpc_proxy.py +18 -2
- pulumi_gcp/compute/target_http_proxy.py +18 -2
- pulumi_gcp/compute/target_https_proxy.py +181 -16
- pulumi_gcp/compute/target_instance.py +18 -2
- pulumi_gcp/compute/target_pool.py +18 -2
- pulumi_gcp/compute/target_ssl_proxy.py +18 -2
- pulumi_gcp/compute/target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/url_map.py +18 -2
- pulumi_gcp/compute/vpn_gateway.py +18 -2
- pulumi_gcp/compute/vpn_tunnel.py +18 -2
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +299 -54
- pulumi_gcp/container/attached_cluster.py +18 -2
- pulumi_gcp/container/aws_cluster.py +24 -2
- pulumi_gcp/container/aws_node_pool.py +18 -2
- pulumi_gcp/container/azure_client.py +18 -2
- pulumi_gcp/container/azure_cluster.py +24 -2
- pulumi_gcp/container/azure_node_pool.py +18 -2
- pulumi_gcp/container/cluster.py +92 -29
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/node_pool.py +22 -6
- pulumi_gcp/container/outputs.py +384 -52
- pulumi_gcp/containeranalysis/note.py +18 -2
- pulumi_gcp/containeranalysis/occurence.py +18 -2
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +465 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +122 -12
- pulumi_gcp/databasemigrationservice/outputs.py +466 -0
- pulumi_gcp/databasemigrationservice/private_connection.py +672 -0
- pulumi_gcp/datacatalog/entry.py +18 -2
- pulumi_gcp/datacatalog/entry_group.py +18 -2
- pulumi_gcp/datacatalog/policy_tag.py +18 -2
- pulumi_gcp/datacatalog/tag.py +18 -2
- pulumi_gcp/datacatalog/tag_template.py +18 -2
- pulumi_gcp/datacatalog/taxonomy.py +18 -2
- pulumi_gcp/dataflow/job.py +24 -12
- pulumi_gcp/dataflow/pipeline.py +18 -2
- pulumi_gcp/dataform/_inputs.py +78 -21
- pulumi_gcp/dataform/outputs.py +86 -20
- pulumi_gcp/dataform/repository.py +140 -9
- pulumi_gcp/dataform/repository_release_config.py +18 -2
- pulumi_gcp/dataform/repository_workflow_config.py +20 -4
- pulumi_gcp/datafusion/instance.py +22 -10
- pulumi_gcp/dataloss/prevention_deidentify_template.py +18 -2
- pulumi_gcp/dataloss/prevention_inspect_template.py +18 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +18 -2
- pulumi_gcp/dataloss/prevention_stored_info_type.py +18 -2
- pulumi_gcp/dataplex/asset.py +22 -10
- pulumi_gcp/dataplex/datascan.py +22 -10
- pulumi_gcp/dataplex/lake.py +22 -10
- pulumi_gcp/dataplex/task.py +22 -10
- pulumi_gcp/dataplex/zone.py +22 -10
- pulumi_gcp/dataproc/_inputs.py +148 -0
- pulumi_gcp/dataproc/autoscaling_policy.py +18 -2
- pulumi_gcp/dataproc/cluster.py +2 -2
- pulumi_gcp/dataproc/cluster_iam_binding.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_member.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_policy.py +12 -20
- pulumi_gcp/dataproc/job.py +20 -8
- pulumi_gcp/dataproc/job_iam_binding.py +12 -20
- pulumi_gcp/dataproc/job_iam_member.py +12 -20
- pulumi_gcp/dataproc/job_iam_policy.py +12 -20
- pulumi_gcp/dataproc/metastore_federation.py +22 -10
- pulumi_gcp/dataproc/metastore_service.py +22 -10
- pulumi_gcp/dataproc/outputs.py +175 -0
- pulumi_gcp/dataproc/workflow_template.py +18 -2
- pulumi_gcp/datastore/data_store_index.py +18 -2
- pulumi_gcp/datastream/connection_profile.py +22 -10
- pulumi_gcp/datastream/private_connection.py +22 -10
- pulumi_gcp/datastream/stream.py +22 -10
- pulumi_gcp/deploymentmanager/deployment.py +18 -2
- pulumi_gcp/diagflow/_inputs.py +626 -4
- pulumi_gcp/diagflow/agent.py +18 -2
- pulumi_gcp/diagflow/cx_agent.py +288 -21
- pulumi_gcp/diagflow/cx_entity_type.py +18 -2
- pulumi_gcp/diagflow/cx_environment.py +18 -2
- pulumi_gcp/diagflow/cx_flow.py +309 -4
- pulumi_gcp/diagflow/cx_intent.py +165 -10
- pulumi_gcp/diagflow/cx_page.py +109 -4
- pulumi_gcp/diagflow/cx_security_settings.py +18 -2
- pulumi_gcp/diagflow/cx_test_case.py +18 -2
- pulumi_gcp/diagflow/cx_version.py +18 -2
- pulumi_gcp/diagflow/cx_webhook.py +18 -2
- pulumi_gcp/diagflow/entity_type.py +18 -2
- pulumi_gcp/diagflow/fulfillment.py +18 -2
- pulumi_gcp/diagflow/intent.py +18 -2
- pulumi_gcp/diagflow/outputs.py +722 -5
- pulumi_gcp/dns/get_keys.py +16 -2
- pulumi_gcp/dns/managed_zone.py +22 -10
- pulumi_gcp/dns/policy.py +18 -2
- pulumi_gcp/dns/record_set.py +24 -8
- pulumi_gcp/dns/response_policy.py +18 -2
- pulumi_gcp/dns/response_policy_rule.py +18 -2
- pulumi_gcp/edgecontainer/__init__.py +12 -0
- pulumi_gcp/edgecontainer/_inputs.py +1171 -0
- pulumi_gcp/edgecontainer/cluster.py +1539 -0
- pulumi_gcp/edgecontainer/node_pool.py +1062 -0
- pulumi_gcp/edgecontainer/outputs.py +1204 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +918 -0
- pulumi_gcp/edgenetwork/network.py +18 -2
- pulumi_gcp/edgenetwork/subnet.py +18 -2
- pulumi_gcp/essentialcontacts/contact.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -2
- pulumi_gcp/eventarc/channel.py +18 -2
- pulumi_gcp/eventarc/google_channel_config.py +18 -2
- pulumi_gcp/eventarc/trigger.py +22 -10
- pulumi_gcp/filestore/backup.py +22 -10
- pulumi_gcp/filestore/instance.py +22 -10
- pulumi_gcp/filestore/snapshot.py +22 -10
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +878 -0
- pulumi_gcp/firebase/android_app.py +18 -2
- pulumi_gcp/firebase/apple_app.py +18 -2
- pulumi_gcp/firebase/database_instance.py +18 -2
- pulumi_gcp/firebase/extensions_instance.py +18 -2
- pulumi_gcp/firebase/hosting_channel.py +22 -10
- pulumi_gcp/firebase/hosting_custom_domain.py +1274 -0
- pulumi_gcp/firebase/hosting_release.py +18 -2
- pulumi_gcp/firebase/hosting_site.py +18 -2
- pulumi_gcp/firebase/hosting_version.py +18 -2
- pulumi_gcp/firebase/outputs.py +905 -0
- pulumi_gcp/firebase/project.py +18 -2
- pulumi_gcp/firebase/storage_bucket.py +18 -2
- pulumi_gcp/firebase/web_app.py +18 -2
- pulumi_gcp/firebaserules/release.py +18 -2
- pulumi_gcp/firebaserules/ruleset.py +18 -2
- pulumi_gcp/firestore/__init__.py +1 -0
- pulumi_gcp/firestore/_inputs.py +35 -2
- pulumi_gcp/firestore/backup_schedule.py +547 -0
- pulumi_gcp/firestore/database.py +24 -4
- pulumi_gcp/firestore/document.py +22 -2
- pulumi_gcp/firestore/field.py +27 -13
- pulumi_gcp/firestore/index.py +140 -21
- pulumi_gcp/firestore/outputs.py +31 -2
- pulumi_gcp/folder/access_approval_settings.py +18 -2
- pulumi_gcp/folder/iam_audit_config.py +10 -58
- pulumi_gcp/folder/iam_member.py +10 -58
- pulumi_gcp/folder/iam_policy.py +10 -58
- pulumi_gcp/folder/organization_policy.py +22 -6
- pulumi_gcp/gkebackup/backup_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +18 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/_inputs.py +431 -0
- pulumi_gcp/gkehub/feature.py +76 -10
- pulumi_gcp/gkehub/feature_membership.py +22 -2
- pulumi_gcp/gkehub/fleet.py +432 -0
- pulumi_gcp/gkehub/get_membership_iam_policy.py +24 -3
- pulumi_gcp/gkehub/membership.py +120 -16
- pulumi_gcp/gkehub/membership_binding.py +22 -10
- pulumi_gcp/gkehub/membership_iam_binding.py +67 -0
- pulumi_gcp/gkehub/membership_iam_member.py +67 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +67 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +18 -2
- pulumi_gcp/gkehub/namespace.py +22 -10
- pulumi_gcp/gkehub/outputs.py +432 -1
- pulumi_gcp/gkehub/scope.py +22 -10
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +22 -10
- pulumi_gcp/gkeonprem/_inputs.py +17 -31
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +148 -132
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +260 -246
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +30 -18
- pulumi_gcp/gkeonprem/outputs.py +17 -31
- pulumi_gcp/gkeonprem/v_mware_cluster.py +287 -230
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +30 -18
- pulumi_gcp/healthcare/consent_store.py +22 -10
- pulumi_gcp/healthcare/dataset.py +18 -2
- pulumi_gcp/healthcare/dataset_iam_binding.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_member.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_policy.py +10 -38
- pulumi_gcp/healthcare/dicom_store.py +22 -10
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/fhir_store.py +22 -10
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/hl7_store.py +22 -10
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +10 -30
- pulumi_gcp/iam/_inputs.py +20 -0
- pulumi_gcp/iam/access_boundary_policy.py +18 -2
- pulumi_gcp/iam/deny_policy.py +18 -2
- pulumi_gcp/iam/outputs.py +20 -0
- pulumi_gcp/iam/workforce_pool.py +18 -2
- pulumi_gcp/iam/workforce_pool_provider.py +18 -2
- pulumi_gcp/iam/workload_identity_pool.py +18 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +18 -2
- pulumi_gcp/iap/brand.py +18 -2
- pulumi_gcp/iap/client.py +18 -2
- pulumi_gcp/identityplatform/_inputs.py +92 -0
- pulumi_gcp/identityplatform/config.py +91 -5
- pulumi_gcp/identityplatform/default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/oauth_idp_config.py +18 -2
- pulumi_gcp/identityplatform/outputs.py +129 -0
- pulumi_gcp/identityplatform/project_default_config.py +18 -2
- pulumi_gcp/identityplatform/tenant.py +18 -2
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +18 -2
- pulumi_gcp/integrationconnectors/__init__.py +10 -0
- pulumi_gcp/integrationconnectors/_inputs.py +2518 -0
- pulumi_gcp/integrationconnectors/connection.py +1921 -0
- pulumi_gcp/integrationconnectors/outputs.py +2780 -0
- pulumi_gcp/kms/crypto_key.py +22 -10
- pulumi_gcp/kms/crypto_key_iam_binding.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_member.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_policy.py +10 -30
- pulumi_gcp/kms/crypto_key_version.py +18 -2
- pulumi_gcp/kms/key_ring.py +18 -2
- pulumi_gcp/kms/key_ring_iam_binding.py +10 -30
- pulumi_gcp/kms/key_ring_iam_member.py +10 -30
- pulumi_gcp/kms/key_ring_iam_policy.py +10 -30
- pulumi_gcp/kms/key_ring_import_job.py +18 -2
- pulumi_gcp/logging/_inputs.py +160 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +61 -26
- pulumi_gcp/logging/billing_account_exclusion.py +20 -4
- pulumi_gcp/logging/billing_account_sink.py +20 -4
- pulumi_gcp/logging/folder_bucket_config.py +75 -4
- pulumi_gcp/logging/folder_exclusion.py +20 -4
- pulumi_gcp/logging/folder_sink.py +20 -4
- pulumi_gcp/logging/linked_dataset.py +18 -2
- pulumi_gcp/logging/log_view.py +18 -2
- pulumi_gcp/logging/metric.py +18 -2
- pulumi_gcp/logging/organization_bucket_config.py +75 -4
- pulumi_gcp/logging/organization_exclusion.py +20 -4
- pulumi_gcp/logging/organization_sink.py +20 -4
- pulumi_gcp/logging/outputs.py +196 -0
- pulumi_gcp/logging/project_bucket_config.py +59 -134
- pulumi_gcp/logging/project_exclusion.py +20 -4
- pulumi_gcp/logging/project_sink.py +95 -18
- pulumi_gcp/looker/instance.py +18 -2
- pulumi_gcp/memcache/instance.py +22 -10
- pulumi_gcp/ml/engine_model.py +22 -10
- pulumi_gcp/monitoring/_inputs.py +127 -13
- pulumi_gcp/monitoring/alert_policy.py +64 -2
- pulumi_gcp/monitoring/custom_service.py +18 -2
- pulumi_gcp/monitoring/dashboard.py +18 -2
- pulumi_gcp/monitoring/generic_service.py +18 -2
- pulumi_gcp/monitoring/group.py +18 -2
- pulumi_gcp/monitoring/metric_descriptor.py +18 -2
- pulumi_gcp/monitoring/monitored_project.py +18 -2
- pulumi_gcp/monitoring/notification_channel.py +18 -2
- pulumi_gcp/monitoring/outputs.py +158 -13
- pulumi_gcp/monitoring/slo.py +18 -2
- pulumi_gcp/monitoring/uptime_check_config.py +92 -9
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +185 -0
- pulumi_gcp/networkconnectivity/hub.py +22 -10
- pulumi_gcp/networkconnectivity/outputs.py +189 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +1003 -0
- pulumi_gcp/networkconnectivity/service_connection_policy.py +22 -10
- pulumi_gcp/networkconnectivity/spoke.py +22 -10
- pulumi_gcp/networkmanagement/connectivity_test.py +22 -10
- pulumi_gcp/networksecurity/address_group.py +22 -10
- pulumi_gcp/networksecurity/authorization_policy.py +22 -10
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -10
- pulumi_gcp/networksecurity/gateway_security_policy.py +18 -2
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +18 -2
- pulumi_gcp/networksecurity/server_tls_policy.py +92 -10
- pulumi_gcp/networksecurity/tls_inspection_policy.py +18 -2
- pulumi_gcp/networksecurity/url_list.py +18 -2
- pulumi_gcp/networkservices/edge_cache_keyset.py +22 -10
- pulumi_gcp/networkservices/edge_cache_origin.py +22 -10
- pulumi_gcp/networkservices/edge_cache_service.py +22 -10
- pulumi_gcp/networkservices/endpoint_policy.py +22 -10
- pulumi_gcp/networkservices/gateway.py +22 -10
- pulumi_gcp/networkservices/grpc_route.py +22 -10
- pulumi_gcp/networkservices/http_route.py +22 -10
- pulumi_gcp/networkservices/mesh.py +22 -10
- pulumi_gcp/networkservices/service_binding.py +22 -10
- pulumi_gcp/networkservices/tcp_route.py +22 -10
- pulumi_gcp/networkservices/tls_route.py +18 -2
- pulumi_gcp/notebooks/environment.py +18 -2
- pulumi_gcp/notebooks/instance.py +22 -10
- pulumi_gcp/notebooks/location.py +18 -2
- pulumi_gcp/notebooks/runtime.py +18 -2
- pulumi_gcp/organizations/access_approval_settings.py +18 -2
- pulumi_gcp/organizations/folder.py +22 -6
- pulumi_gcp/organizations/iam_member.py +10 -58
- pulumi_gcp/organizations/iam_policy.py +10 -58
- pulumi_gcp/organizations/policy.py +22 -4
- pulumi_gcp/organizations/project.py +24 -12
- pulumi_gcp/orgpolicy/custom_constraint.py +50 -22
- pulumi_gcp/orgpolicy/policy.py +18 -2
- pulumi_gcp/osconfig/guest_policies.py +18 -2
- pulumi_gcp/osconfig/os_policy_assignment.py +18 -2
- pulumi_gcp/osconfig/patch_deployment.py +18 -2
- pulumi_gcp/oslogin/ssh_public_key.py +18 -2
- pulumi_gcp/projects/access_approval_settings.py +18 -2
- pulumi_gcp/projects/api_key.py +18 -2
- pulumi_gcp/projects/iam_audit_config.py +10 -58
- pulumi_gcp/projects/iam_binding.py +10 -58
- pulumi_gcp/projects/iam_custom_role.py +18 -2
- pulumi_gcp/projects/iam_member.py +10 -58
- pulumi_gcp/projects/iam_policy.py +10 -58
- pulumi_gcp/projects/organization_policy.py +24 -8
- pulumi_gcp/projects/service.py +22 -4
- pulumi_gcp/projects/usage_export_bucket.py +20 -4
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/__init__.py +4 -0
- pulumi_gcp/pubsub/_inputs.py +80 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +147 -0
- pulumi_gcp/pubsub/lite_reservation.py +18 -2
- pulumi_gcp/pubsub/lite_subscription.py +18 -2
- pulumi_gcp/pubsub/lite_topic.py +18 -2
- pulumi_gcp/pubsub/outputs.py +56 -0
- pulumi_gcp/pubsub/schema.py +18 -2
- pulumi_gcp/pubsub/schema_iam_binding.py +601 -0
- pulumi_gcp/pubsub/schema_iam_member.py +601 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +523 -0
- pulumi_gcp/pubsub/subscription.py +22 -10
- pulumi_gcp/pubsub/subscription_iam_binding.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_member.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_policy.py +12 -20
- pulumi_gcp/pubsub/topic.py +36 -17
- pulumi_gcp/recaptcha/enterprise_key.py +22 -10
- pulumi_gcp/redis/cluster.py +42 -18
- pulumi_gcp/redis/instance.py +22 -58
- pulumi_gcp/resourcemanager/lien.py +18 -2
- pulumi_gcp/runtimeconfig/config.py +26 -6
- pulumi_gcp/runtimeconfig/variable.py +26 -6
- pulumi_gcp/secretmanager/__init__.py +1 -0
- pulumi_gcp/secretmanager/get_secrets.py +133 -0
- pulumi_gcp/secretmanager/outputs.py +354 -0
- pulumi_gcp/secretmanager/secret.py +36 -10
- pulumi_gcp/secretmanager/secret_version.py +18 -2
- pulumi_gcp/securitycenter/folder_custom_module.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +18 -2
- pulumi_gcp/securitycenter/mute_config.py +18 -2
- pulumi_gcp/securitycenter/notification_config.py +18 -2
- pulumi_gcp/securitycenter/organization_custom_module.py +18 -2
- pulumi_gcp/securitycenter/project_custom_module.py +18 -2
- pulumi_gcp/securitycenter/source.py +18 -2
- pulumi_gcp/securitycenter/source_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/source_iam_member.py +18 -2
- pulumi_gcp/securitycenter/source_iam_policy.py +18 -2
- pulumi_gcp/serviceaccount/account.py +20 -4
- pulumi_gcp/serviceaccount/iam_binding.py +2 -30
- pulumi_gcp/serviceaccount/iam_member.py +2 -30
- pulumi_gcp/serviceaccount/iam_policy.py +2 -30
- pulumi_gcp/servicedirectory/endpoint.py +18 -2
- pulumi_gcp/servicedirectory/namespace.py +22 -10
- pulumi_gcp/servicedirectory/service.py +18 -2
- pulumi_gcp/servicenetworking/connection.py +22 -6
- pulumi_gcp/servicenetworking/peered_dns_domain.py +18 -6
- pulumi_gcp/serviceusage/consumer_quota_override.py +18 -2
- pulumi_gcp/sourcerepo/repository.py +18 -2
- pulumi_gcp/spanner/_inputs.py +142 -0
- pulumi_gcp/spanner/database.py +18 -2
- pulumi_gcp/spanner/database_iam_binding.py +10 -26
- pulumi_gcp/spanner/database_iam_member.py +10 -26
- pulumi_gcp/spanner/database_iam_policy.py +10 -26
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +99 -10
- pulumi_gcp/spanner/instance_iam_binding.py +10 -26
- pulumi_gcp/spanner/instance_iam_member.py +10 -26
- pulumi_gcp/spanner/instance_iam_policy.py +10 -26
- pulumi_gcp/spanner/outputs.py +236 -0
- pulumi_gcp/sql/_inputs.py +27 -7
- pulumi_gcp/sql/database.py +18 -2
- pulumi_gcp/sql/database_instance.py +24 -8
- pulumi_gcp/sql/outputs.py +41 -9
- pulumi_gcp/sql/source_representation_instance.py +25 -9
- pulumi_gcp/sql/user.py +38 -8
- pulumi_gcp/storage/_inputs.py +59 -1
- pulumi_gcp/storage/bucket.py +69 -6
- pulumi_gcp/storage/bucket_access_control.py +18 -2
- pulumi_gcp/storage/bucket_object.py +47 -0
- pulumi_gcp/storage/default_object_access_control.py +18 -2
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/get_bucket_object.py +11 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/hmac_key.py +18 -2
- pulumi_gcp/storage/insights_report_config.py +18 -2
- pulumi_gcp/storage/notification.py +20 -4
- pulumi_gcp/storage/object_access_control.py +18 -2
- pulumi_gcp/storage/outputs.py +129 -2
- pulumi_gcp/storage/transfer_agent_pool.py +18 -2
- pulumi_gcp/storage/transfer_job.py +20 -4
- pulumi_gcp/tags/location_tag_binding.py +35 -19
- pulumi_gcp/tags/tag_binding.py +18 -2
- pulumi_gcp/tags/tag_key.py +18 -2
- pulumi_gcp/tags/tag_value.py +18 -2
- pulumi_gcp/tpu/_inputs.py +450 -0
- pulumi_gcp/tpu/node.py +22 -10
- pulumi_gcp/tpu/outputs.py +477 -0
- pulumi_gcp/tpu/v2_vm.py +906 -38
- pulumi_gcp/vertex/_inputs.py +39 -0
- pulumi_gcp/vertex/ai_dataset.py +4 -8
- pulumi_gcp/vertex/ai_endpoint.py +22 -10
- pulumi_gcp/vertex/ai_feature_store.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +22 -10
- pulumi_gcp/vertex/ai_index.py +22 -10
- pulumi_gcp/vertex/ai_index_endpoint.py +116 -10
- pulumi_gcp/vertex/ai_metadata_store.py +18 -2
- pulumi_gcp/vertex/ai_tensorboard.py +22 -10
- pulumi_gcp/vertex/outputs.py +50 -0
- pulumi_gcp/vmwareengine/cluster.py +18 -2
- pulumi_gcp/vmwareengine/network.py +18 -2
- pulumi_gcp/vmwareengine/private_cloud.py +18 -2
- pulumi_gcp/vpcaccess/connector.py +18 -2
- pulumi_gcp/workflows/workflow.py +159 -11
- pulumi_gcp/workstations/_inputs.py +23 -0
- pulumi_gcp/workstations/outputs.py +19 -0
- pulumi_gcp/workstations/workstation.py +22 -10
- pulumi_gcp/workstations/workstation_cluster.py +142 -10
- pulumi_gcp/workstations/workstation_config.py +24 -12
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -466,7 +466,15 @@ class CxEntityType(pulumi.CustomResource):
|
|
466
466
|
|
467
467
|
## Import
|
468
468
|
|
469
|
-
EntityType can be imported using any of these accepted formats
|
469
|
+
EntityType can be imported using any of these accepted formats* `{{parent}}/entityTypes/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EntityType using one of the formats above. For exampletf import {
|
470
|
+
|
471
|
+
id = "{{parent}}/entityTypes/{{name}}"
|
472
|
+
|
473
|
+
to = google_dialogflow_cx_entity_type.default }
|
474
|
+
|
475
|
+
```sh
|
476
|
+
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EntityType can be imported using one of the formats above. For example
|
477
|
+
```
|
470
478
|
|
471
479
|
```sh
|
472
480
|
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/entityTypes/{{name}}
|
@@ -568,7 +576,15 @@ class CxEntityType(pulumi.CustomResource):
|
|
568
576
|
|
569
577
|
## Import
|
570
578
|
|
571
|
-
EntityType can be imported using any of these accepted formats
|
579
|
+
EntityType can be imported using any of these accepted formats* `{{parent}}/entityTypes/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EntityType using one of the formats above. For exampletf import {
|
580
|
+
|
581
|
+
id = "{{parent}}/entityTypes/{{name}}"
|
582
|
+
|
583
|
+
to = google_dialogflow_cx_entity_type.default }
|
584
|
+
|
585
|
+
```sh
|
586
|
+
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EntityType can be imported using one of the formats above. For example
|
587
|
+
```
|
572
588
|
|
573
589
|
```sh
|
574
590
|
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/entityTypes/{{name}}
|
@@ -255,7 +255,15 @@ class CxEnvironment(pulumi.CustomResource):
|
|
255
255
|
|
256
256
|
## Import
|
257
257
|
|
258
|
-
Environment can be imported using any of these accepted formats
|
258
|
+
Environment can be imported using any of these accepted formats* `{{parent}}/environments/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Environment using one of the formats above. For exampletf import {
|
259
|
+
|
260
|
+
id = "{{parent}}/environments/{{name}}"
|
261
|
+
|
262
|
+
to = google_dialogflow_cx_environment.default }
|
263
|
+
|
264
|
+
```sh
|
265
|
+
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Environment can be imported using one of the formats above. For example
|
266
|
+
```
|
259
267
|
|
260
268
|
```sh
|
261
269
|
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/environments/{{name}}
|
@@ -330,7 +338,15 @@ class CxEnvironment(pulumi.CustomResource):
|
|
330
338
|
|
331
339
|
## Import
|
332
340
|
|
333
|
-
Environment can be imported using any of these accepted formats
|
341
|
+
Environment can be imported using any of these accepted formats* `{{parent}}/environments/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Environment using one of the formats above. For exampletf import {
|
342
|
+
|
343
|
+
id = "{{parent}}/environments/{{name}}"
|
344
|
+
|
345
|
+
to = google_dialogflow_cx_environment.default }
|
346
|
+
|
347
|
+
```sh
|
348
|
+
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Environment can be imported using one of the formats above. For example
|
349
|
+
```
|
334
350
|
|
335
351
|
```sh
|
336
352
|
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/environments/{{name}}
|
pulumi_gcp/diagflow/cx_flow.py
CHANGED
@@ -17,8 +17,10 @@ __all__ = ['CxFlowArgs', 'CxFlow']
|
|
17
17
|
class CxFlowArgs:
|
18
18
|
def __init__(__self__, *,
|
19
19
|
display_name: pulumi.Input[str],
|
20
|
+
advanced_settings: Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']] = None,
|
20
21
|
description: Optional[pulumi.Input[str]] = None,
|
21
22
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]] = None,
|
23
|
+
is_default_start_flow: Optional[pulumi.Input[bool]] = None,
|
22
24
|
language_code: Optional[pulumi.Input[str]] = None,
|
23
25
|
nlu_settings: Optional[pulumi.Input['CxFlowNluSettingsArgs']] = None,
|
24
26
|
parent: Optional[pulumi.Input[str]] = None,
|
@@ -30,12 +32,19 @@ class CxFlowArgs:
|
|
30
32
|
|
31
33
|
|
32
34
|
- - -
|
35
|
+
:param pulumi.Input['CxFlowAdvancedSettingsArgs'] advanced_settings: Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
36
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
37
|
+
Structure is documented below.
|
33
38
|
:param pulumi.Input[str] description: The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
|
34
39
|
:param pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]] event_handlers: A flow's event handlers serve two purposes:
|
35
40
|
They are responsible for handling events (e.g. no match, webhook errors) in the flow.
|
36
41
|
They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
|
37
42
|
Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
|
38
43
|
Structure is documented below.
|
44
|
+
:param pulumi.Input[bool] is_default_start_flow: Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
45
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
46
|
+
|
47
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
39
48
|
:param pulumi.Input[str] language_code: The language of the following fields in flow:
|
40
49
|
Flow.event_handlers.trigger_fulfillment.messages
|
41
50
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -60,10 +69,14 @@ class CxFlowArgs:
|
|
60
69
|
Structure is documented below.
|
61
70
|
"""
|
62
71
|
pulumi.set(__self__, "display_name", display_name)
|
72
|
+
if advanced_settings is not None:
|
73
|
+
pulumi.set(__self__, "advanced_settings", advanced_settings)
|
63
74
|
if description is not None:
|
64
75
|
pulumi.set(__self__, "description", description)
|
65
76
|
if event_handlers is not None:
|
66
77
|
pulumi.set(__self__, "event_handlers", event_handlers)
|
78
|
+
if is_default_start_flow is not None:
|
79
|
+
pulumi.set(__self__, "is_default_start_flow", is_default_start_flow)
|
67
80
|
if language_code is not None:
|
68
81
|
pulumi.set(__self__, "language_code", language_code)
|
69
82
|
if nlu_settings is not None:
|
@@ -90,6 +103,20 @@ class CxFlowArgs:
|
|
90
103
|
def display_name(self, value: pulumi.Input[str]):
|
91
104
|
pulumi.set(self, "display_name", value)
|
92
105
|
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="advancedSettings")
|
108
|
+
def advanced_settings(self) -> Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']]:
|
109
|
+
"""
|
110
|
+
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
111
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
112
|
+
Structure is documented below.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "advanced_settings")
|
115
|
+
|
116
|
+
@advanced_settings.setter
|
117
|
+
def advanced_settings(self, value: Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']]):
|
118
|
+
pulumi.set(self, "advanced_settings", value)
|
119
|
+
|
93
120
|
@property
|
94
121
|
@pulumi.getter
|
95
122
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -118,6 +145,21 @@ class CxFlowArgs:
|
|
118
145
|
def event_handlers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]]):
|
119
146
|
pulumi.set(self, "event_handlers", value)
|
120
147
|
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="isDefaultStartFlow")
|
150
|
+
def is_default_start_flow(self) -> Optional[pulumi.Input[bool]]:
|
151
|
+
"""
|
152
|
+
Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
153
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
154
|
+
|
155
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "is_default_start_flow")
|
158
|
+
|
159
|
+
@is_default_start_flow.setter
|
160
|
+
def is_default_start_flow(self, value: Optional[pulumi.Input[bool]]):
|
161
|
+
pulumi.set(self, "is_default_start_flow", value)
|
162
|
+
|
121
163
|
@property
|
122
164
|
@pulumi.getter(name="languageCode")
|
123
165
|
def language_code(self) -> Optional[pulumi.Input[str]]:
|
@@ -199,9 +241,11 @@ class CxFlowArgs:
|
|
199
241
|
@pulumi.input_type
|
200
242
|
class _CxFlowState:
|
201
243
|
def __init__(__self__, *,
|
244
|
+
advanced_settings: Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']] = None,
|
202
245
|
description: Optional[pulumi.Input[str]] = None,
|
203
246
|
display_name: Optional[pulumi.Input[str]] = None,
|
204
247
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]] = None,
|
248
|
+
is_default_start_flow: Optional[pulumi.Input[bool]] = None,
|
205
249
|
language_code: Optional[pulumi.Input[str]] = None,
|
206
250
|
name: Optional[pulumi.Input[str]] = None,
|
207
251
|
nlu_settings: Optional[pulumi.Input['CxFlowNluSettingsArgs']] = None,
|
@@ -210,6 +254,9 @@ class _CxFlowState:
|
|
210
254
|
transition_routes: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowTransitionRouteArgs']]]] = None):
|
211
255
|
"""
|
212
256
|
Input properties used for looking up and filtering CxFlow resources.
|
257
|
+
:param pulumi.Input['CxFlowAdvancedSettingsArgs'] advanced_settings: Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
258
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
259
|
+
Structure is documented below.
|
213
260
|
:param pulumi.Input[str] description: The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
|
214
261
|
:param pulumi.Input[str] display_name: The human-readable name of the flow.
|
215
262
|
|
@@ -220,6 +267,10 @@ class _CxFlowState:
|
|
220
267
|
They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
|
221
268
|
Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
|
222
269
|
Structure is documented below.
|
270
|
+
:param pulumi.Input[bool] is_default_start_flow: Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
271
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
272
|
+
|
273
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
223
274
|
:param pulumi.Input[str] language_code: The language of the following fields in flow:
|
224
275
|
Flow.event_handlers.trigger_fulfillment.messages
|
225
276
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -245,12 +296,16 @@ class _CxFlowState:
|
|
245
296
|
TransitionRoutes with intent specified are inherited by pages in the flow.
|
246
297
|
Structure is documented below.
|
247
298
|
"""
|
299
|
+
if advanced_settings is not None:
|
300
|
+
pulumi.set(__self__, "advanced_settings", advanced_settings)
|
248
301
|
if description is not None:
|
249
302
|
pulumi.set(__self__, "description", description)
|
250
303
|
if display_name is not None:
|
251
304
|
pulumi.set(__self__, "display_name", display_name)
|
252
305
|
if event_handlers is not None:
|
253
306
|
pulumi.set(__self__, "event_handlers", event_handlers)
|
307
|
+
if is_default_start_flow is not None:
|
308
|
+
pulumi.set(__self__, "is_default_start_flow", is_default_start_flow)
|
254
309
|
if language_code is not None:
|
255
310
|
pulumi.set(__self__, "language_code", language_code)
|
256
311
|
if name is not None:
|
@@ -264,6 +319,20 @@ class _CxFlowState:
|
|
264
319
|
if transition_routes is not None:
|
265
320
|
pulumi.set(__self__, "transition_routes", transition_routes)
|
266
321
|
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="advancedSettings")
|
324
|
+
def advanced_settings(self) -> Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']]:
|
325
|
+
"""
|
326
|
+
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
327
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
328
|
+
Structure is documented below.
|
329
|
+
"""
|
330
|
+
return pulumi.get(self, "advanced_settings")
|
331
|
+
|
332
|
+
@advanced_settings.setter
|
333
|
+
def advanced_settings(self, value: Optional[pulumi.Input['CxFlowAdvancedSettingsArgs']]):
|
334
|
+
pulumi.set(self, "advanced_settings", value)
|
335
|
+
|
267
336
|
@property
|
268
337
|
@pulumi.getter
|
269
338
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -307,6 +376,21 @@ class _CxFlowState:
|
|
307
376
|
def event_handlers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CxFlowEventHandlerArgs']]]]):
|
308
377
|
pulumi.set(self, "event_handlers", value)
|
309
378
|
|
379
|
+
@property
|
380
|
+
@pulumi.getter(name="isDefaultStartFlow")
|
381
|
+
def is_default_start_flow(self) -> Optional[pulumi.Input[bool]]:
|
382
|
+
"""
|
383
|
+
Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
384
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
385
|
+
|
386
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "is_default_start_flow")
|
389
|
+
|
390
|
+
@is_default_start_flow.setter
|
391
|
+
def is_default_start_flow(self, value: Optional[pulumi.Input[bool]]):
|
392
|
+
pulumi.set(self, "is_default_start_flow", value)
|
393
|
+
|
310
394
|
@property
|
311
395
|
@pulumi.getter(name="languageCode")
|
312
396
|
def language_code(self) -> Optional[pulumi.Input[str]]:
|
@@ -403,9 +487,11 @@ class CxFlow(pulumi.CustomResource):
|
|
403
487
|
def __init__(__self__,
|
404
488
|
resource_name: str,
|
405
489
|
opts: Optional[pulumi.ResourceOptions] = None,
|
490
|
+
advanced_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowAdvancedSettingsArgs']]] = None,
|
406
491
|
description: Optional[pulumi.Input[str]] = None,
|
407
492
|
display_name: Optional[pulumi.Input[str]] = None,
|
408
493
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CxFlowEventHandlerArgs']]]]] = None,
|
494
|
+
is_default_start_flow: Optional[pulumi.Input[bool]] = None,
|
409
495
|
language_code: Optional[pulumi.Input[str]] = None,
|
410
496
|
nlu_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowNluSettingsArgs']]] = None,
|
411
497
|
parent: Optional[pulumi.Input[str]] = None,
|
@@ -422,6 +508,73 @@ class CxFlow(pulumi.CustomResource):
|
|
422
508
|
* [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
|
423
509
|
|
424
510
|
## Example Usage
|
511
|
+
### Dialogflowcx Flow Basic
|
512
|
+
|
513
|
+
```python
|
514
|
+
import pulumi
|
515
|
+
import pulumi_gcp as gcp
|
516
|
+
|
517
|
+
agent = gcp.diagflow.CxAgent("agent",
|
518
|
+
display_name="dialogflowcx-agent",
|
519
|
+
location="global",
|
520
|
+
default_language_code="en",
|
521
|
+
supported_language_codes=[
|
522
|
+
"fr",
|
523
|
+
"de",
|
524
|
+
"es",
|
525
|
+
],
|
526
|
+
time_zone="America/New_York",
|
527
|
+
description="Example description.",
|
528
|
+
avatar_uri="https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
|
529
|
+
enable_stackdriver_logging=True,
|
530
|
+
enable_spell_correction=True,
|
531
|
+
speech_to_text_settings=gcp.diagflow.CxAgentSpeechToTextSettingsArgs(
|
532
|
+
enable_speech_adaptation=True,
|
533
|
+
))
|
534
|
+
basic_flow = gcp.diagflow.CxFlow("basicFlow",
|
535
|
+
parent=agent.id,
|
536
|
+
display_name="MyFlow",
|
537
|
+
description="Test Flow",
|
538
|
+
nlu_settings=gcp.diagflow.CxFlowNluSettingsArgs(
|
539
|
+
classification_threshold=0.3,
|
540
|
+
model_type="MODEL_TYPE_STANDARD",
|
541
|
+
),
|
542
|
+
event_handlers=[
|
543
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
544
|
+
event="custom-event",
|
545
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
546
|
+
return_partial_responses=False,
|
547
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
548
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
549
|
+
texts=["I didn't get that. Can you say it again?"],
|
550
|
+
),
|
551
|
+
)],
|
552
|
+
),
|
553
|
+
),
|
554
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
555
|
+
event="sys.no-match-default",
|
556
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
557
|
+
return_partial_responses=False,
|
558
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
559
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
560
|
+
texts=["Sorry, could you say that again?"],
|
561
|
+
),
|
562
|
+
)],
|
563
|
+
),
|
564
|
+
),
|
565
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
566
|
+
event="sys.no-input-default",
|
567
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
568
|
+
return_partial_responses=False,
|
569
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
570
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
571
|
+
texts=["One more time?"],
|
572
|
+
),
|
573
|
+
)],
|
574
|
+
),
|
575
|
+
),
|
576
|
+
])
|
577
|
+
```
|
425
578
|
### Dialogflowcx Flow Full
|
426
579
|
|
427
580
|
```python
|
@@ -446,6 +599,9 @@ class CxFlow(pulumi.CustomResource):
|
|
446
599
|
speech_to_text_settings=gcp.diagflow.CxAgentSpeechToTextSettingsArgs(
|
447
600
|
enable_speech_adaptation=True,
|
448
601
|
))
|
602
|
+
bucket = gcp.storage.Bucket("bucket",
|
603
|
+
location="US",
|
604
|
+
uniform_bucket_level_access=True)
|
449
605
|
basic_flow = gcp.diagflow.CxFlow("basicFlow",
|
450
606
|
parent=agent.id,
|
451
607
|
display_name="MyFlow",
|
@@ -689,12 +845,30 @@ class CxFlow(pulumi.CustomResource):
|
|
689
845
|
)],
|
690
846
|
),
|
691
847
|
target_flow=agent.start_flow,
|
692
|
-
)]
|
848
|
+
)],
|
849
|
+
advanced_settings=gcp.diagflow.CxFlowAdvancedSettingsArgs(
|
850
|
+
audio_export_gcs_destination=gcp.diagflow.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs(
|
851
|
+
uri=bucket.url.apply(lambda url: f"{url}/prefix-"),
|
852
|
+
),
|
853
|
+
dtmf_settings=gcp.diagflow.CxFlowAdvancedSettingsDtmfSettingsArgs(
|
854
|
+
enabled=True,
|
855
|
+
max_digits=1,
|
856
|
+
finish_digit="#",
|
857
|
+
),
|
858
|
+
))
|
693
859
|
```
|
694
860
|
|
695
861
|
## Import
|
696
862
|
|
697
|
-
Flow can be imported using any of these accepted formats
|
863
|
+
Flow can be imported using any of these accepted formats* `{{parent}}/flows/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Flow using one of the formats above. For exampletf import {
|
864
|
+
|
865
|
+
id = "{{parent}}/flows/{{name}}"
|
866
|
+
|
867
|
+
to = google_dialogflow_cx_flow.default }
|
868
|
+
|
869
|
+
```sh
|
870
|
+
$ pulumi import gcp:diagflow/cxFlow:CxFlow When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Flow can be imported using one of the formats above. For example
|
871
|
+
```
|
698
872
|
|
699
873
|
```sh
|
700
874
|
$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/flows/{{name}}
|
@@ -706,6 +880,9 @@ class CxFlow(pulumi.CustomResource):
|
|
706
880
|
|
707
881
|
:param str resource_name: The name of the resource.
|
708
882
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
883
|
+
:param pulumi.Input[pulumi.InputType['CxFlowAdvancedSettingsArgs']] advanced_settings: Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
884
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
885
|
+
Structure is documented below.
|
709
886
|
:param pulumi.Input[str] description: The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
|
710
887
|
:param pulumi.Input[str] display_name: The human-readable name of the flow.
|
711
888
|
|
@@ -716,6 +893,10 @@ class CxFlow(pulumi.CustomResource):
|
|
716
893
|
They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
|
717
894
|
Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
|
718
895
|
Structure is documented below.
|
896
|
+
:param pulumi.Input[bool] is_default_start_flow: Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
897
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
898
|
+
|
899
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
719
900
|
:param pulumi.Input[str] language_code: The language of the following fields in flow:
|
720
901
|
Flow.event_handlers.trigger_fulfillment.messages
|
721
902
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -755,6 +936,73 @@ class CxFlow(pulumi.CustomResource):
|
|
755
936
|
* [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
|
756
937
|
|
757
938
|
## Example Usage
|
939
|
+
### Dialogflowcx Flow Basic
|
940
|
+
|
941
|
+
```python
|
942
|
+
import pulumi
|
943
|
+
import pulumi_gcp as gcp
|
944
|
+
|
945
|
+
agent = gcp.diagflow.CxAgent("agent",
|
946
|
+
display_name="dialogflowcx-agent",
|
947
|
+
location="global",
|
948
|
+
default_language_code="en",
|
949
|
+
supported_language_codes=[
|
950
|
+
"fr",
|
951
|
+
"de",
|
952
|
+
"es",
|
953
|
+
],
|
954
|
+
time_zone="America/New_York",
|
955
|
+
description="Example description.",
|
956
|
+
avatar_uri="https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
|
957
|
+
enable_stackdriver_logging=True,
|
958
|
+
enable_spell_correction=True,
|
959
|
+
speech_to_text_settings=gcp.diagflow.CxAgentSpeechToTextSettingsArgs(
|
960
|
+
enable_speech_adaptation=True,
|
961
|
+
))
|
962
|
+
basic_flow = gcp.diagflow.CxFlow("basicFlow",
|
963
|
+
parent=agent.id,
|
964
|
+
display_name="MyFlow",
|
965
|
+
description="Test Flow",
|
966
|
+
nlu_settings=gcp.diagflow.CxFlowNluSettingsArgs(
|
967
|
+
classification_threshold=0.3,
|
968
|
+
model_type="MODEL_TYPE_STANDARD",
|
969
|
+
),
|
970
|
+
event_handlers=[
|
971
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
972
|
+
event="custom-event",
|
973
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
974
|
+
return_partial_responses=False,
|
975
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
976
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
977
|
+
texts=["I didn't get that. Can you say it again?"],
|
978
|
+
),
|
979
|
+
)],
|
980
|
+
),
|
981
|
+
),
|
982
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
983
|
+
event="sys.no-match-default",
|
984
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
985
|
+
return_partial_responses=False,
|
986
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
987
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
988
|
+
texts=["Sorry, could you say that again?"],
|
989
|
+
),
|
990
|
+
)],
|
991
|
+
),
|
992
|
+
),
|
993
|
+
gcp.diagflow.CxFlowEventHandlerArgs(
|
994
|
+
event="sys.no-input-default",
|
995
|
+
trigger_fulfillment=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentArgs(
|
996
|
+
return_partial_responses=False,
|
997
|
+
messages=[gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs(
|
998
|
+
text=gcp.diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs(
|
999
|
+
texts=["One more time?"],
|
1000
|
+
),
|
1001
|
+
)],
|
1002
|
+
),
|
1003
|
+
),
|
1004
|
+
])
|
1005
|
+
```
|
758
1006
|
### Dialogflowcx Flow Full
|
759
1007
|
|
760
1008
|
```python
|
@@ -779,6 +1027,9 @@ class CxFlow(pulumi.CustomResource):
|
|
779
1027
|
speech_to_text_settings=gcp.diagflow.CxAgentSpeechToTextSettingsArgs(
|
780
1028
|
enable_speech_adaptation=True,
|
781
1029
|
))
|
1030
|
+
bucket = gcp.storage.Bucket("bucket",
|
1031
|
+
location="US",
|
1032
|
+
uniform_bucket_level_access=True)
|
782
1033
|
basic_flow = gcp.diagflow.CxFlow("basicFlow",
|
783
1034
|
parent=agent.id,
|
784
1035
|
display_name="MyFlow",
|
@@ -1022,12 +1273,30 @@ class CxFlow(pulumi.CustomResource):
|
|
1022
1273
|
)],
|
1023
1274
|
),
|
1024
1275
|
target_flow=agent.start_flow,
|
1025
|
-
)]
|
1276
|
+
)],
|
1277
|
+
advanced_settings=gcp.diagflow.CxFlowAdvancedSettingsArgs(
|
1278
|
+
audio_export_gcs_destination=gcp.diagflow.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs(
|
1279
|
+
uri=bucket.url.apply(lambda url: f"{url}/prefix-"),
|
1280
|
+
),
|
1281
|
+
dtmf_settings=gcp.diagflow.CxFlowAdvancedSettingsDtmfSettingsArgs(
|
1282
|
+
enabled=True,
|
1283
|
+
max_digits=1,
|
1284
|
+
finish_digit="#",
|
1285
|
+
),
|
1286
|
+
))
|
1026
1287
|
```
|
1027
1288
|
|
1028
1289
|
## Import
|
1029
1290
|
|
1030
|
-
Flow can be imported using any of these accepted formats
|
1291
|
+
Flow can be imported using any of these accepted formats* `{{parent}}/flows/{{name}}` * `{{parent}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Flow using one of the formats above. For exampletf import {
|
1292
|
+
|
1293
|
+
id = "{{parent}}/flows/{{name}}"
|
1294
|
+
|
1295
|
+
to = google_dialogflow_cx_flow.default }
|
1296
|
+
|
1297
|
+
```sh
|
1298
|
+
$ pulumi import gcp:diagflow/cxFlow:CxFlow When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Flow can be imported using one of the formats above. For example
|
1299
|
+
```
|
1031
1300
|
|
1032
1301
|
```sh
|
1033
1302
|
$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/flows/{{name}}
|
@@ -1052,9 +1321,11 @@ class CxFlow(pulumi.CustomResource):
|
|
1052
1321
|
def _internal_init(__self__,
|
1053
1322
|
resource_name: str,
|
1054
1323
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1324
|
+
advanced_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowAdvancedSettingsArgs']]] = None,
|
1055
1325
|
description: Optional[pulumi.Input[str]] = None,
|
1056
1326
|
display_name: Optional[pulumi.Input[str]] = None,
|
1057
1327
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CxFlowEventHandlerArgs']]]]] = None,
|
1328
|
+
is_default_start_flow: Optional[pulumi.Input[bool]] = None,
|
1058
1329
|
language_code: Optional[pulumi.Input[str]] = None,
|
1059
1330
|
nlu_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowNluSettingsArgs']]] = None,
|
1060
1331
|
parent: Optional[pulumi.Input[str]] = None,
|
@@ -1069,11 +1340,13 @@ class CxFlow(pulumi.CustomResource):
|
|
1069
1340
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1070
1341
|
__props__ = CxFlowArgs.__new__(CxFlowArgs)
|
1071
1342
|
|
1343
|
+
__props__.__dict__["advanced_settings"] = advanced_settings
|
1072
1344
|
__props__.__dict__["description"] = description
|
1073
1345
|
if display_name is None and not opts.urn:
|
1074
1346
|
raise TypeError("Missing required property 'display_name'")
|
1075
1347
|
__props__.__dict__["display_name"] = display_name
|
1076
1348
|
__props__.__dict__["event_handlers"] = event_handlers
|
1349
|
+
__props__.__dict__["is_default_start_flow"] = is_default_start_flow
|
1077
1350
|
__props__.__dict__["language_code"] = language_code
|
1078
1351
|
__props__.__dict__["nlu_settings"] = nlu_settings
|
1079
1352
|
__props__.__dict__["parent"] = parent
|
@@ -1090,9 +1363,11 @@ class CxFlow(pulumi.CustomResource):
|
|
1090
1363
|
def get(resource_name: str,
|
1091
1364
|
id: pulumi.Input[str],
|
1092
1365
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1366
|
+
advanced_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowAdvancedSettingsArgs']]] = None,
|
1093
1367
|
description: Optional[pulumi.Input[str]] = None,
|
1094
1368
|
display_name: Optional[pulumi.Input[str]] = None,
|
1095
1369
|
event_handlers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CxFlowEventHandlerArgs']]]]] = None,
|
1370
|
+
is_default_start_flow: Optional[pulumi.Input[bool]] = None,
|
1096
1371
|
language_code: Optional[pulumi.Input[str]] = None,
|
1097
1372
|
name: Optional[pulumi.Input[str]] = None,
|
1098
1373
|
nlu_settings: Optional[pulumi.Input[pulumi.InputType['CxFlowNluSettingsArgs']]] = None,
|
@@ -1106,6 +1381,9 @@ class CxFlow(pulumi.CustomResource):
|
|
1106
1381
|
:param str resource_name: The unique name of the resulting resource.
|
1107
1382
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1108
1383
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1384
|
+
:param pulumi.Input[pulumi.InputType['CxFlowAdvancedSettingsArgs']] advanced_settings: Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
1385
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
1386
|
+
Structure is documented below.
|
1109
1387
|
:param pulumi.Input[str] description: The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
|
1110
1388
|
:param pulumi.Input[str] display_name: The human-readable name of the flow.
|
1111
1389
|
|
@@ -1116,6 +1394,10 @@ class CxFlow(pulumi.CustomResource):
|
|
1116
1394
|
They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
|
1117
1395
|
Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
|
1118
1396
|
Structure is documented below.
|
1397
|
+
:param pulumi.Input[bool] is_default_start_flow: Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
1398
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
1399
|
+
|
1400
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
1119
1401
|
:param pulumi.Input[str] language_code: The language of the following fields in flow:
|
1120
1402
|
Flow.event_handlers.trigger_fulfillment.messages
|
1121
1403
|
Flow.event_handlers.trigger_fulfillment.conditional_cases
|
@@ -1145,9 +1427,11 @@ class CxFlow(pulumi.CustomResource):
|
|
1145
1427
|
|
1146
1428
|
__props__ = _CxFlowState.__new__(_CxFlowState)
|
1147
1429
|
|
1430
|
+
__props__.__dict__["advanced_settings"] = advanced_settings
|
1148
1431
|
__props__.__dict__["description"] = description
|
1149
1432
|
__props__.__dict__["display_name"] = display_name
|
1150
1433
|
__props__.__dict__["event_handlers"] = event_handlers
|
1434
|
+
__props__.__dict__["is_default_start_flow"] = is_default_start_flow
|
1151
1435
|
__props__.__dict__["language_code"] = language_code
|
1152
1436
|
__props__.__dict__["name"] = name
|
1153
1437
|
__props__.__dict__["nlu_settings"] = nlu_settings
|
@@ -1156,6 +1440,16 @@ class CxFlow(pulumi.CustomResource):
|
|
1156
1440
|
__props__.__dict__["transition_routes"] = transition_routes
|
1157
1441
|
return CxFlow(resource_name, opts=opts, __props__=__props__)
|
1158
1442
|
|
1443
|
+
@property
|
1444
|
+
@pulumi.getter(name="advancedSettings")
|
1445
|
+
def advanced_settings(self) -> pulumi.Output[Optional['outputs.CxFlowAdvancedSettings']]:
|
1446
|
+
"""
|
1447
|
+
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
|
1448
|
+
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
1449
|
+
Structure is documented below.
|
1450
|
+
"""
|
1451
|
+
return pulumi.get(self, "advanced_settings")
|
1452
|
+
|
1159
1453
|
@property
|
1160
1454
|
@pulumi.getter
|
1161
1455
|
def description(self) -> pulumi.Output[Optional[str]]:
|
@@ -1187,6 +1481,17 @@ class CxFlow(pulumi.CustomResource):
|
|
1187
1481
|
"""
|
1188
1482
|
return pulumi.get(self, "event_handlers")
|
1189
1483
|
|
1484
|
+
@property
|
1485
|
+
@pulumi.getter(name="isDefaultStartFlow")
|
1486
|
+
def is_default_start_flow(self) -> pulumi.Output[Optional[bool]]:
|
1487
|
+
"""
|
1488
|
+
Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically.
|
1489
|
+
The Default Start Flow cannot be deleted; deleting the `diagflow.CxFlow` resource does nothing to the underlying GCP resources.
|
1490
|
+
|
1491
|
+
> Avoid having multiple `diagflow.CxFlow` resources linked to the same agent with `is_default_start_flow = true` because they will compete to control a single Default Start Flow resource in GCP.
|
1492
|
+
"""
|
1493
|
+
return pulumi.get(self, "is_default_start_flow")
|
1494
|
+
|
1190
1495
|
@property
|
1191
1496
|
@pulumi.getter(name="languageCode")
|
1192
1497
|
def language_code(self) -> pulumi.Output[Optional[str]]:
|