Skip to content

Commit a0f35aa

Browse files
authored
Add a new field app_type to resource search engine. (#14874)
1 parent d6be8f0 commit a0f35aa

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

mmv1/products/discoveryengine/SearchEngine.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ examples:
4949
vars:
5050
engine_id: 'example-engine-id'
5151
data_store_id: 'example-datastore-id'
52+
- name: 'discoveryengine_searchengine_agentspace_basic'
53+
primary_resource_id: 'agentspace_basic'
54+
vars:
55+
engine_id: 'example-engine-id'
56+
data_store_id: 'example-datastore-id'
5257
parameters:
5358
- name: 'engineId'
5459
type: String
@@ -147,3 +152,9 @@ properties:
147152
description: |
148153
The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
149154
immutable: true
155+
- name: 'appType'
156+
type: String
157+
description: |
158+
This is the application type this engine resource represents.
159+
The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
160+
immutable: true
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
resource "google_discovery_engine_data_store" "agentspace_basic" {
2+
location = "global"
3+
data_store_id = "{{index $.Vars "data_store_id"}}"
4+
display_name = "tf-test-structured-datastore"
5+
industry_vertical = "GENERIC"
6+
content_config = "NO_CONTENT"
7+
solution_types = ["SOLUTION_TYPE_SEARCH"]
8+
create_advanced_site_search = false
9+
}
10+
resource "google_discovery_engine_search_engine" "agentspace_basic" {
11+
engine_id = "{{index $.Vars "engine_id"}}"
12+
collection_id = "default_collection"
13+
location = google_discovery_engine_data_store.agentspace_basic.location
14+
display_name = "tf-test-agentspace-search-engine"
15+
data_store_ids = [google_discovery_engine_data_store.agentspace_basic.data_store_id]
16+
industry_vertical = "GENERIC"
17+
search_engine_config {
18+
}
19+
}

0 commit comments

Comments
 (0)