Skip to content

Commit

Permalink
Add Support for Vertex Search and Conversation Chat Engine (#9834) (#…
Browse files Browse the repository at this point in the history
…17145)

* merge change

* add chat_engine

* update chat engine to allow creating new agent only

* fix asyc, update field updatability

* update file name

* sync product.yaml changes

* sync changes

* discard product.yaml change

* update filename case

* add acc test

* fix indentation

* fix indentation

* format

* update API to ga and support location parameter

* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* minor changes

* updating fields

* add name output only field, add custom encoder to hardcode solutionType

* update documentation

* update doc

* Update mmv1/products/discoveryengine/ChatEngine.yaml



* update industryVertical to enum

* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/templates/terraform/examples/discoveryengine_chat_engine_basic.tf.erb



* Update mmv1/templates/terraform/examples/discoveryengine_chat_engine_basic.tf.erb



* remove agent creation location field, set default industryVertical

* update test

* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/products/discoveryengine/ChatEngine.yaml



* update test

* update example and test

* remove empty line in test

* Apply suggestions from code review



* add vars for TF examples

* Update mmv1/products/discoveryengine/ChatEngine.yaml



* Update mmv1/third_party/terraform/services/discoveryengine/resource_discovery_engine_chat_engine_test.go

remove duplicate test



* Update mmv1/third_party/terraform/services/discoveryengine/resource_discovery_engine_chat_engine_test.go



* update test names

* format code

* remove redundant test

* Apply suggestions from code review

---------




[upstream:a0178b8b4818ac1ab08774fdb81c5ad8bed80b48]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Jan 31, 2024
1 parent ebcaf60 commit 2a0704d
Show file tree
Hide file tree
Showing 7 changed files with 1,317 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/9834.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
`google_discovery_engine_chat_engine`
```
5 changes: 3 additions & 2 deletions google/provider/provider_mmv1_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ var handwrittenIAMDatasources = map[string]*schema.Resource{
}

// Resources
// Generated resources: 373
// Generated resources: 374
// Generated IAM resources: 222
// Total generated resources: 595
// Total generated resources: 596
var generatedResources = map[string]*schema.Resource{
"google_folder_access_approval_settings": accessapproval.ResourceAccessApprovalFolderSettings(),
"google_organization_access_approval_settings": accessapproval.ResourceAccessApprovalOrganizationSettings(),
Expand Down Expand Up @@ -692,6 +692,7 @@ var generatedResources = map[string]*schema.Resource{
"google_dialogflow_cx_test_case": dialogflowcx.ResourceDialogflowCXTestCase(),
"google_dialogflow_cx_version": dialogflowcx.ResourceDialogflowCXVersion(),
"google_dialogflow_cx_webhook": dialogflowcx.ResourceDialogflowCXWebhook(),
"google_discovery_engine_chat_engine": discoveryengine.ResourceDiscoveryEngineChatEngine(),
"google_discovery_engine_data_store": discoveryengine.ResourceDiscoveryEngineDataStore(),
"google_dns_managed_zone": dns.ResourceDNSManagedZone(),
"google_dns_managed_zone_iam_binding": tpgiamresource.ResourceIamBinding(dns.DNSManagedZoneIamSchema, dns.DNSManagedZoneIamUpdaterProducer, dns.DNSManagedZoneIdParseFunc),
Expand Down
Loading

0 comments on commit 2a0704d

Please sign in to comment.