@google-cloud/discoveryengine 0.8.0 → 1.0.0

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +6 -0
  3. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +1 -2
  4. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +13 -2
  5. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +131 -0
  6. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +281 -0
  7. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +2 -4
  8. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +2 -1
  9. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +17 -17
  10. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +163 -63
  12. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +41 -36
  13. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +2 -2
  14. package/build/protos/protos.d.ts +6587 -4645
  15. package/build/protos/protos.js +16668 -12007
  16. package/build/protos/protos.json +1799 -1285
  17. package/build/src/v1/completion_service_client.d.ts +6 -7
  18. package/build/src/v1/document_service_client.d.ts +83 -94
  19. package/build/src/v1/document_service_client.js +18 -22
  20. package/build/src/v1/schema_service_client.d.ts +39 -49
  21. package/build/src/v1/schema_service_client.js +17 -22
  22. package/build/src/v1/search_service_client.d.ts +31 -34
  23. package/build/src/v1/search_service_client.js +21 -23
  24. package/build/src/v1/user_event_service_client.d.ts +6 -10
  25. package/build/src/v1/user_event_service_client.js +1 -2
  26. package/build/src/v1beta/completion_service_client.d.ts +104 -8
  27. package/build/src/v1beta/completion_service_client.js +128 -0
  28. package/build/src/v1beta/conversational_search_service_client.d.ts +876 -0
  29. package/build/src/v1beta/conversational_search_service_client.js +1149 -0
  30. package/build/src/v1beta/conversational_search_service_client_config.json +68 -0
  31. package/build/src/v1beta/document_service_client.d.ts +182 -97
  32. package/build/src/v1beta/document_service_client.js +166 -22
  33. package/build/src/v1beta/index.d.ts +1 -0
  34. package/build/src/v1beta/index.js +3 -1
  35. package/build/src/v1beta/recommendation_service_client.d.ts +103 -11
  36. package/build/src/v1beta/recommendation_service_client.js +128 -0
  37. package/build/src/v1beta/schema_service_client.d.ts +132 -49
  38. package/build/src/v1beta/schema_service_client.js +163 -22
  39. package/build/src/v1beta/search_service_client.d.ts +163 -67
  40. package/build/src/v1beta/search_service_client.js +175 -45
  41. package/build/src/v1beta/user_event_service_client.d.ts +101 -12
  42. package/build/src/v1beta/user_event_service_client.js +147 -2
  43. package/package.json +8 -11
@@ -1916,6 +1916,10 @@
1916
1916
  "userPseudoId": {
1917
1917
  "type": "string",
1918
1918
  "id": 4
1919
+ },
1920
+ "includeTailSuggestions": {
1921
+ "type": "bool",
1922
+ "id": 5
1919
1923
  }
1920
1924
  }
1921
1925
  },
@@ -1925,6 +1929,10 @@
1925
1929
  "rule": "repeated",
1926
1930
  "type": "QuerySuggestion",
1927
1931
  "id": 1
1932
+ },
1933
+ "tailMatchTriggered": {
1934
+ "type": "bool",
1935
+ "id": 2
1928
1936
  }
1929
1937
  },
1930
1938
  "nested": {
@@ -1938,28 +1946,12 @@
1938
1946
  }
1939
1947
  }
1940
1948
  },
1941
- "Document": {
1949
+ "Conversation": {
1942
1950
  "options": {
1943
- "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
1944
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
1945
- },
1946
- "oneofs": {
1947
- "data": {
1948
- "oneof": [
1949
- "structData",
1950
- "jsonData"
1951
- ]
1952
- }
1951
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Conversation",
1952
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}"
1953
1953
  },
1954
1954
  "fields": {
1955
- "structData": {
1956
- "type": "google.protobuf.Struct",
1957
- "id": 4
1958
- },
1959
- "jsonData": {
1960
- "type": "string",
1961
- "id": 5
1962
- },
1963
1955
  "name": {
1964
1956
  "type": "string",
1965
1957
  "id": 1,
@@ -1967,27 +1959,28 @@
1967
1959
  "(google.api.field_behavior)": "IMMUTABLE"
1968
1960
  }
1969
1961
  },
1970
- "id": {
1971
- "type": "string",
1972
- "id": 2,
1973
- "options": {
1974
- "(google.api.field_behavior)": "IMMUTABLE"
1975
- }
1962
+ "state": {
1963
+ "type": "State",
1964
+ "id": 2
1976
1965
  },
1977
- "schemaId": {
1966
+ "userPseudoId": {
1978
1967
  "type": "string",
1979
1968
  "id": 3
1980
1969
  },
1981
- "content": {
1982
- "type": "Content",
1983
- "id": 10
1970
+ "messages": {
1971
+ "rule": "repeated",
1972
+ "type": "ConversationMessage",
1973
+ "id": 4
1984
1974
  },
1985
- "parentDocumentId": {
1986
- "type": "string",
1987
- "id": 7
1975
+ "startTime": {
1976
+ "type": "google.protobuf.Timestamp",
1977
+ "id": 5,
1978
+ "options": {
1979
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1980
+ }
1988
1981
  },
1989
- "derivedStructData": {
1990
- "type": "google.protobuf.Struct",
1982
+ "endTime": {
1983
+ "type": "google.protobuf.Timestamp",
1991
1984
  "id": 6,
1992
1985
  "options": {
1993
1986
  "(google.api.field_behavior)": "OUTPUT_ONLY"
@@ -1995,1264 +1988,1175 @@
1995
1988
  }
1996
1989
  },
1997
1990
  "nested": {
1998
- "Content": {
1999
- "oneofs": {
2000
- "content": {
2001
- "oneof": [
2002
- "rawBytes",
2003
- "uri"
2004
- ]
2005
- }
2006
- },
1991
+ "State": {
1992
+ "values": {
1993
+ "STATE_UNSPECIFIED": 0,
1994
+ "IN_PROGRESS": 1,
1995
+ "COMPLETED": 2
1996
+ }
1997
+ }
1998
+ }
1999
+ },
2000
+ "Reply": {
2001
+ "fields": {
2002
+ "reply": {
2003
+ "type": "string",
2004
+ "id": 1
2005
+ },
2006
+ "references": {
2007
+ "rule": "repeated",
2008
+ "type": "Reference",
2009
+ "id": 2
2010
+ }
2011
+ },
2012
+ "nested": {
2013
+ "Reference": {
2007
2014
  "fields": {
2008
- "rawBytes": {
2009
- "type": "bytes",
2010
- "id": 2
2011
- },
2012
2015
  "uri": {
2013
2016
  "type": "string",
2014
- "id": 3
2017
+ "id": 1
2015
2018
  },
2016
- "mimeType": {
2019
+ "anchorText": {
2017
2020
  "type": "string",
2018
- "id": 1
2021
+ "id": 2
2022
+ },
2023
+ "start": {
2024
+ "type": "int32",
2025
+ "id": 3
2026
+ },
2027
+ "end": {
2028
+ "type": "int32",
2029
+ "id": 4
2019
2030
  }
2020
2031
  }
2021
2032
  }
2022
2033
  }
2023
2034
  },
2024
- "DocumentService": {
2035
+ "ConversationContext": {
2036
+ "fields": {
2037
+ "contextDocuments": {
2038
+ "rule": "repeated",
2039
+ "type": "string",
2040
+ "id": 1
2041
+ },
2042
+ "activeDocument": {
2043
+ "type": "string",
2044
+ "id": 2
2045
+ }
2046
+ }
2047
+ },
2048
+ "TextInput": {
2049
+ "fields": {
2050
+ "input": {
2051
+ "type": "string",
2052
+ "id": 1
2053
+ },
2054
+ "context": {
2055
+ "type": "ConversationContext",
2056
+ "id": 2
2057
+ }
2058
+ }
2059
+ },
2060
+ "ConversationMessage": {
2061
+ "oneofs": {
2062
+ "message": {
2063
+ "oneof": [
2064
+ "userInput",
2065
+ "reply"
2066
+ ]
2067
+ }
2068
+ },
2069
+ "fields": {
2070
+ "userInput": {
2071
+ "type": "TextInput",
2072
+ "id": 1
2073
+ },
2074
+ "reply": {
2075
+ "type": "Reply",
2076
+ "id": 2
2077
+ },
2078
+ "createTime": {
2079
+ "type": "google.protobuf.Timestamp",
2080
+ "id": 3,
2081
+ "options": {
2082
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2083
+ }
2084
+ }
2085
+ }
2086
+ },
2087
+ "ConversationalSearchService": {
2025
2088
  "options": {
2026
2089
  "(google.api.default_host)": "discoveryengine.googleapis.com",
2027
2090
  "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2028
2091
  },
2029
2092
  "methods": {
2030
- "GetDocument": {
2031
- "requestType": "GetDocumentRequest",
2032
- "responseType": "Document",
2093
+ "ConverseConversation": {
2094
+ "requestType": "ConverseConversationRequest",
2095
+ "responseType": "ConverseConversationResponse",
2033
2096
  "options": {
2034
- "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2035
- "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
2036
- "(google.api.method_signature)": "name"
2097
+ "(google.api.http).post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
2098
+ "(google.api.http).body": "*",
2099
+ "(google.api.http).additional_bindings.post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
2100
+ "(google.api.http).additional_bindings.body": "*",
2101
+ "(google.api.method_signature)": "name,query"
2037
2102
  },
2038
2103
  "parsedOptions": [
2039
2104
  {
2040
2105
  "(google.api.http)": {
2041
- "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2106
+ "post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
2107
+ "body": "*",
2042
2108
  "additional_bindings": {
2043
- "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
2109
+ "post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
2110
+ "body": "*"
2044
2111
  }
2045
2112
  }
2046
2113
  },
2047
2114
  {
2048
- "(google.api.method_signature)": "name"
2115
+ "(google.api.method_signature)": "name,query"
2049
2116
  }
2050
2117
  ]
2051
2118
  },
2052
- "ListDocuments": {
2053
- "requestType": "ListDocumentsRequest",
2054
- "responseType": "ListDocumentsResponse",
2119
+ "CreateConversation": {
2120
+ "requestType": "CreateConversationRequest",
2121
+ "responseType": "Conversation",
2055
2122
  "options": {
2056
- "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2057
- "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
2058
- "(google.api.method_signature)": "parent"
2123
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2124
+ "(google.api.http).body": "conversation",
2125
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2126
+ "(google.api.http).additional_bindings.body": "conversation",
2127
+ "(google.api.method_signature)": "parent,conversation"
2059
2128
  },
2060
2129
  "parsedOptions": [
2061
2130
  {
2062
2131
  "(google.api.http)": {
2063
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2132
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2133
+ "body": "conversation",
2064
2134
  "additional_bindings": {
2065
- "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
2135
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2136
+ "body": "conversation"
2066
2137
  }
2067
2138
  }
2068
2139
  },
2069
2140
  {
2070
- "(google.api.method_signature)": "parent"
2141
+ "(google.api.method_signature)": "parent,conversation"
2071
2142
  }
2072
2143
  ]
2073
2144
  },
2074
- "CreateDocument": {
2075
- "requestType": "CreateDocumentRequest",
2076
- "responseType": "Document",
2145
+ "DeleteConversation": {
2146
+ "requestType": "DeleteConversationRequest",
2147
+ "responseType": "google.protobuf.Empty",
2077
2148
  "options": {
2078
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2079
- "(google.api.http).body": "document",
2080
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
2081
- "(google.api.http).additional_bindings.body": "document",
2082
- "(google.api.method_signature)": "parent,document,document_id"
2149
+ "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2150
+ "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2151
+ "(google.api.method_signature)": "name"
2083
2152
  },
2084
2153
  "parsedOptions": [
2085
2154
  {
2086
2155
  "(google.api.http)": {
2087
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2088
- "body": "document",
2156
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2089
2157
  "additional_bindings": {
2090
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
2091
- "body": "document"
2158
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
2092
2159
  }
2093
2160
  }
2094
2161
  },
2095
2162
  {
2096
- "(google.api.method_signature)": "parent,document,document_id"
2097
- }
2098
- ]
2099
- },
2100
- "UpdateDocument": {
2101
- "requestType": "UpdateDocumentRequest",
2102
- "responseType": "Document",
2103
- "options": {
2104
- "(google.api.http).patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2105
- "(google.api.http).body": "document",
2106
- "(google.api.http).additional_bindings.patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
2107
- "(google.api.http).additional_bindings.body": "document"
2108
- },
2109
- "parsedOptions": [
2110
- {
2111
- "(google.api.http)": {
2112
- "patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2113
- "body": "document",
2114
- "additional_bindings": {
2115
- "patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
2116
- "body": "document"
2117
- }
2118
- }
2163
+ "(google.api.method_signature)": "name"
2119
2164
  }
2120
2165
  ]
2121
2166
  },
2122
- "DeleteDocument": {
2123
- "requestType": "DeleteDocumentRequest",
2124
- "responseType": "google.protobuf.Empty",
2167
+ "UpdateConversation": {
2168
+ "requestType": "UpdateConversationRequest",
2169
+ "responseType": "Conversation",
2125
2170
  "options": {
2126
- "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2127
- "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
2128
- "(google.api.method_signature)": "name"
2171
+ "(google.api.http).patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
2172
+ "(google.api.http).body": "conversation",
2173
+ "(google.api.http).additional_bindings.patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2174
+ "(google.api.http).additional_bindings.body": "conversation",
2175
+ "(google.api.method_signature)": "conversation,update_mask"
2129
2176
  },
2130
2177
  "parsedOptions": [
2131
2178
  {
2132
2179
  "(google.api.http)": {
2133
- "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2180
+ "patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
2181
+ "body": "conversation",
2134
2182
  "additional_bindings": {
2135
- "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
2183
+ "patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2184
+ "body": "conversation"
2136
2185
  }
2137
2186
  }
2138
2187
  },
2139
2188
  {
2140
- "(google.api.method_signature)": "name"
2189
+ "(google.api.method_signature)": "conversation,update_mask"
2141
2190
  }
2142
2191
  ]
2143
2192
  },
2144
- "ImportDocuments": {
2145
- "requestType": "ImportDocumentsRequest",
2146
- "responseType": "google.longrunning.Operation",
2193
+ "GetConversation": {
2194
+ "requestType": "GetConversationRequest",
2195
+ "responseType": "Conversation",
2147
2196
  "options": {
2148
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
2149
- "(google.api.http).body": "*",
2150
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
2151
- "(google.api.http).additional_bindings.body": "*",
2152
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
2153
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
2197
+ "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2198
+ "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2199
+ "(google.api.method_signature)": "name"
2154
2200
  },
2155
2201
  "parsedOptions": [
2156
2202
  {
2157
2203
  "(google.api.http)": {
2158
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
2159
- "body": "*",
2204
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2160
2205
  "additional_bindings": {
2161
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
2162
- "body": "*"
2206
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
2163
2207
  }
2164
2208
  }
2165
2209
  },
2166
2210
  {
2167
- "(google.longrunning.operation_info)": {
2168
- "response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
2169
- "metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
2170
- }
2211
+ "(google.api.method_signature)": "name"
2171
2212
  }
2172
2213
  ]
2173
2214
  },
2174
- "PurgeDocuments": {
2175
- "requestType": "PurgeDocumentsRequest",
2176
- "responseType": "google.longrunning.Operation",
2215
+ "ListConversations": {
2216
+ "requestType": "ListConversationsRequest",
2217
+ "responseType": "ListConversationsResponse",
2177
2218
  "options": {
2178
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
2179
- "(google.api.http).body": "*",
2180
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
2181
- "(google.api.http).additional_bindings.body": "*",
2182
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse",
2183
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata"
2219
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2220
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2221
+ "(google.api.method_signature)": "parent"
2184
2222
  },
2185
2223
  "parsedOptions": [
2186
2224
  {
2187
2225
  "(google.api.http)": {
2188
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
2189
- "body": "*",
2226
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2190
2227
  "additional_bindings": {
2191
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
2192
- "body": "*"
2228
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
2193
2229
  }
2194
2230
  }
2195
2231
  },
2196
2232
  {
2197
- "(google.longrunning.operation_info)": {
2198
- "response_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse",
2199
- "metadata_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata"
2200
- }
2233
+ "(google.api.method_signature)": "parent"
2201
2234
  }
2202
2235
  ]
2203
2236
  }
2204
2237
  }
2205
2238
  },
2206
- "GetDocumentRequest": {
2239
+ "ConverseConversationRequest": {
2207
2240
  "fields": {
2208
2241
  "name": {
2209
2242
  "type": "string",
2210
2243
  "id": 1,
2211
2244
  "options": {
2212
2245
  "(google.api.field_behavior)": "REQUIRED",
2213
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2246
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2214
2247
  }
2215
- }
2216
- }
2217
- },
2218
- "ListDocumentsRequest": {
2219
- "fields": {
2220
- "parent": {
2221
- "type": "string",
2222
- "id": 1,
2248
+ },
2249
+ "query": {
2250
+ "type": "TextInput",
2251
+ "id": 2,
2223
2252
  "options": {
2224
- "(google.api.field_behavior)": "REQUIRED",
2225
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2253
+ "(google.api.field_behavior)": "REQUIRED"
2226
2254
  }
2227
2255
  },
2228
- "pageSize": {
2229
- "type": "int32",
2230
- "id": 2
2231
- },
2232
- "pageToken": {
2256
+ "servingConfig": {
2233
2257
  "type": "string",
2234
- "id": 3
2258
+ "id": 3,
2259
+ "options": {
2260
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
2261
+ }
2262
+ },
2263
+ "conversation": {
2264
+ "type": "Conversation",
2265
+ "id": 5
2266
+ },
2267
+ "safeSearch": {
2268
+ "type": "bool",
2269
+ "id": 6
2235
2270
  }
2236
2271
  }
2237
2272
  },
2238
- "ListDocumentsResponse": {
2273
+ "ConverseConversationResponse": {
2239
2274
  "fields": {
2240
- "documents": {
2241
- "rule": "repeated",
2242
- "type": "Document",
2275
+ "reply": {
2276
+ "type": "Reply",
2243
2277
  "id": 1
2244
2278
  },
2245
- "nextPageToken": {
2246
- "type": "string",
2279
+ "conversation": {
2280
+ "type": "Conversation",
2247
2281
  "id": 2
2282
+ },
2283
+ "searchResults": {
2284
+ "rule": "repeated",
2285
+ "type": "SearchResponse.SearchResult",
2286
+ "id": 3
2248
2287
  }
2249
2288
  }
2250
2289
  },
2251
- "CreateDocumentRequest": {
2290
+ "CreateConversationRequest": {
2252
2291
  "fields": {
2253
2292
  "parent": {
2254
2293
  "type": "string",
2255
2294
  "id": 1,
2256
2295
  "options": {
2257
2296
  "(google.api.field_behavior)": "REQUIRED",
2258
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2297
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2259
2298
  }
2260
2299
  },
2261
- "document": {
2262
- "type": "Document",
2300
+ "conversation": {
2301
+ "type": "Conversation",
2263
2302
  "id": 2,
2264
2303
  "options": {
2265
2304
  "(google.api.field_behavior)": "REQUIRED"
2266
2305
  }
2267
- },
2268
- "documentId": {
2269
- "type": "string",
2270
- "id": 3,
2271
- "options": {
2272
- "(google.api.field_behavior)": "REQUIRED"
2273
- }
2274
2306
  }
2275
2307
  }
2276
2308
  },
2277
- "UpdateDocumentRequest": {
2309
+ "UpdateConversationRequest": {
2278
2310
  "fields": {
2279
- "document": {
2280
- "type": "Document",
2311
+ "conversation": {
2312
+ "type": "Conversation",
2281
2313
  "id": 1,
2282
2314
  "options": {
2283
2315
  "(google.api.field_behavior)": "REQUIRED"
2284
2316
  }
2285
2317
  },
2286
- "allowMissing": {
2287
- "type": "bool",
2318
+ "updateMask": {
2319
+ "type": "google.protobuf.FieldMask",
2288
2320
  "id": 2
2289
2321
  }
2290
2322
  }
2291
2323
  },
2292
- "DeleteDocumentRequest": {
2324
+ "DeleteConversationRequest": {
2293
2325
  "fields": {
2294
2326
  "name": {
2295
2327
  "type": "string",
2296
2328
  "id": 1,
2297
2329
  "options": {
2298
2330
  "(google.api.field_behavior)": "REQUIRED",
2299
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2331
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2300
2332
  }
2301
2333
  }
2302
2334
  }
2303
2335
  },
2304
- "GcsSource": {
2336
+ "GetConversationRequest": {
2305
2337
  "fields": {
2306
- "inputUris": {
2307
- "rule": "repeated",
2338
+ "name": {
2308
2339
  "type": "string",
2309
2340
  "id": 1,
2310
2341
  "options": {
2311
- "(google.api.field_behavior)": "REQUIRED"
2342
+ "(google.api.field_behavior)": "REQUIRED",
2343
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2312
2344
  }
2313
- },
2314
- "dataSchema": {
2315
- "type": "string",
2316
- "id": 2
2317
2345
  }
2318
2346
  }
2319
2347
  },
2320
- "BigQuerySource": {
2321
- "oneofs": {
2322
- "partition": {
2323
- "oneof": [
2324
- "partitionDate"
2325
- ]
2326
- }
2327
- },
2348
+ "ListConversationsRequest": {
2328
2349
  "fields": {
2329
- "partitionDate": {
2330
- "type": "google.type.Date",
2331
- "id": 5
2332
- },
2333
- "projectId": {
2334
- "type": "string",
2335
- "id": 1
2336
- },
2337
- "datasetId": {
2350
+ "parent": {
2338
2351
  "type": "string",
2339
- "id": 2,
2352
+ "id": 1,
2340
2353
  "options": {
2341
- "(google.api.field_behavior)": "REQUIRED"
2354
+ "(google.api.field_behavior)": "REQUIRED",
2355
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2342
2356
  }
2343
2357
  },
2344
- "tableId": {
2358
+ "pageSize": {
2359
+ "type": "int32",
2360
+ "id": 2
2361
+ },
2362
+ "pageToken": {
2345
2363
  "type": "string",
2346
- "id": 3,
2347
- "options": {
2348
- "(google.api.field_behavior)": "REQUIRED"
2349
- }
2364
+ "id": 3
2350
2365
  },
2351
- "gcsStagingDir": {
2366
+ "filter": {
2352
2367
  "type": "string",
2353
2368
  "id": 4
2354
2369
  },
2355
- "dataSchema": {
2370
+ "orderBy": {
2356
2371
  "type": "string",
2357
- "id": 6
2372
+ "id": 5
2358
2373
  }
2359
2374
  }
2360
2375
  },
2361
- "ImportErrorConfig": {
2362
- "oneofs": {
2363
- "destination": {
2364
- "oneof": [
2365
- "gcsPrefix"
2366
- ]
2367
- }
2368
- },
2376
+ "ListConversationsResponse": {
2369
2377
  "fields": {
2370
- "gcsPrefix": {
2371
- "type": "string",
2378
+ "conversations": {
2379
+ "rule": "repeated",
2380
+ "type": "Conversation",
2372
2381
  "id": 1
2382
+ },
2383
+ "nextPageToken": {
2384
+ "type": "string",
2385
+ "id": 2
2373
2386
  }
2374
2387
  }
2375
2388
  },
2376
- "ImportUserEventsRequest": {
2377
- "oneofs": {
2378
- "source": {
2379
- "oneof": [
2380
- "inlineSource",
2381
- "gcsSource",
2382
- "bigquerySource"
2389
+ "SearchService": {
2390
+ "options": {
2391
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
2392
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2393
+ },
2394
+ "methods": {
2395
+ "Search": {
2396
+ "requestType": "SearchRequest",
2397
+ "responseType": "SearchResponse",
2398
+ "options": {
2399
+ "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
2400
+ "(google.api.http).body": "*",
2401
+ "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
2402
+ "(google.api.http).additional_bindings.body": "*"
2403
+ },
2404
+ "parsedOptions": [
2405
+ {
2406
+ "(google.api.http)": {
2407
+ "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
2408
+ "body": "*",
2409
+ "additional_bindings": {
2410
+ "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
2411
+ "body": "*"
2412
+ }
2413
+ }
2414
+ }
2383
2415
  ]
2384
2416
  }
2385
- },
2417
+ }
2418
+ },
2419
+ "SearchRequest": {
2386
2420
  "fields": {
2387
- "inlineSource": {
2388
- "type": "InlineSource",
2389
- "id": 2
2390
- },
2391
- "gcsSource": {
2392
- "type": "GcsSource",
2393
- "id": 3
2394
- },
2395
- "bigquerySource": {
2396
- "type": "BigQuerySource",
2397
- "id": 4
2398
- },
2399
- "parent": {
2421
+ "servingConfig": {
2400
2422
  "type": "string",
2401
2423
  "id": 1,
2402
2424
  "options": {
2403
2425
  "(google.api.field_behavior)": "REQUIRED",
2404
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2426
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
2405
2427
  }
2406
2428
  },
2407
- "errorConfig": {
2408
- "type": "ImportErrorConfig",
2409
- "id": 5
2410
- }
2411
- },
2412
- "nested": {
2413
- "InlineSource": {
2414
- "fields": {
2415
- "userEvents": {
2416
- "rule": "repeated",
2417
- "type": "UserEvent",
2418
- "id": 1,
2419
- "options": {
2420
- "(google.api.field_behavior)": "REQUIRED"
2421
- }
2422
- }
2429
+ "branch": {
2430
+ "type": "string",
2431
+ "id": 2,
2432
+ "options": {
2433
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2423
2434
  }
2424
- }
2425
- }
2426
- },
2427
- "ImportUserEventsResponse": {
2428
- "fields": {
2429
- "errorSamples": {
2430
- "rule": "repeated",
2431
- "type": "google.rpc.Status",
2432
- "id": 1
2433
- },
2434
- "errorConfig": {
2435
- "type": "ImportErrorConfig",
2436
- "id": 2
2437
2435
  },
2438
- "joinedEventsCount": {
2439
- "type": "int64",
2436
+ "query": {
2437
+ "type": "string",
2440
2438
  "id": 3
2441
2439
  },
2442
- "unjoinedEventsCount": {
2443
- "type": "int64",
2440
+ "imageQuery": {
2441
+ "type": "ImageQuery",
2442
+ "id": 19
2443
+ },
2444
+ "pageSize": {
2445
+ "type": "int32",
2444
2446
  "id": 4
2445
- }
2446
- }
2447
- },
2448
- "ImportUserEventsMetadata": {
2449
- "fields": {
2450
- "createTime": {
2451
- "type": "google.protobuf.Timestamp",
2452
- "id": 1
2453
2447
  },
2454
- "updateTime": {
2455
- "type": "google.protobuf.Timestamp",
2456
- "id": 2
2448
+ "pageToken": {
2449
+ "type": "string",
2450
+ "id": 5
2457
2451
  },
2458
- "successCount": {
2459
- "type": "int64",
2460
- "id": 3
2452
+ "offset": {
2453
+ "type": "int32",
2454
+ "id": 6
2461
2455
  },
2462
- "failureCount": {
2463
- "type": "int64",
2464
- "id": 4
2465
- }
2466
- }
2467
- },
2468
- "ImportDocumentsMetadata": {
2469
- "fields": {
2470
- "createTime": {
2471
- "type": "google.protobuf.Timestamp",
2472
- "id": 1
2456
+ "filter": {
2457
+ "type": "string",
2458
+ "id": 7
2473
2459
  },
2474
- "updateTime": {
2475
- "type": "google.protobuf.Timestamp",
2476
- "id": 2
2460
+ "orderBy": {
2461
+ "type": "string",
2462
+ "id": 8
2477
2463
  },
2478
- "successCount": {
2479
- "type": "int64",
2480
- "id": 3
2464
+ "userInfo": {
2465
+ "type": "UserInfo",
2466
+ "id": 21
2481
2467
  },
2482
- "failureCount": {
2483
- "type": "int64",
2484
- "id": 4
2485
- }
2486
- }
2487
- },
2488
- "ImportDocumentsRequest": {
2489
- "oneofs": {
2490
- "source": {
2491
- "oneof": [
2492
- "inlineSource",
2493
- "gcsSource",
2494
- "bigquerySource"
2495
- ]
2496
- }
2497
- },
2498
- "fields": {
2499
- "inlineSource": {
2500
- "type": "InlineSource",
2501
- "id": 2
2468
+ "facetSpecs": {
2469
+ "rule": "repeated",
2470
+ "type": "FacetSpec",
2471
+ "id": 9
2502
2472
  },
2503
- "gcsSource": {
2504
- "type": "GcsSource",
2505
- "id": 3
2473
+ "boostSpec": {
2474
+ "type": "BoostSpec",
2475
+ "id": 10
2506
2476
  },
2507
- "bigquerySource": {
2508
- "type": "BigQuerySource",
2509
- "id": 4
2477
+ "params": {
2478
+ "keyType": "string",
2479
+ "type": "google.protobuf.Value",
2480
+ "id": 11
2510
2481
  },
2511
- "parent": {
2512
- "type": "string",
2513
- "id": 1,
2514
- "options": {
2515
- "(google.api.field_behavior)": "REQUIRED",
2516
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2517
- }
2482
+ "queryExpansionSpec": {
2483
+ "type": "QueryExpansionSpec",
2484
+ "id": 13
2518
2485
  },
2519
- "errorConfig": {
2520
- "type": "ImportErrorConfig",
2521
- "id": 5
2486
+ "spellCorrectionSpec": {
2487
+ "type": "SpellCorrectionSpec",
2488
+ "id": 14
2522
2489
  },
2523
- "reconciliationMode": {
2524
- "type": "ReconciliationMode",
2525
- "id": 6
2490
+ "userPseudoId": {
2491
+ "type": "string",
2492
+ "id": 15
2526
2493
  },
2527
- "autoGenerateIds": {
2494
+ "contentSearchSpec": {
2495
+ "type": "ContentSearchSpec",
2496
+ "id": 24
2497
+ },
2498
+ "safeSearch": {
2528
2499
  "type": "bool",
2529
- "id": 8
2500
+ "id": 20
2530
2501
  },
2531
- "idField": {
2502
+ "userLabels": {
2503
+ "keyType": "string",
2532
2504
  "type": "string",
2533
- "id": 9
2505
+ "id": 22
2534
2506
  }
2535
2507
  },
2536
2508
  "nested": {
2537
- "InlineSource": {
2509
+ "ImageQuery": {
2510
+ "oneofs": {
2511
+ "image": {
2512
+ "oneof": [
2513
+ "imageBytes"
2514
+ ]
2515
+ }
2516
+ },
2538
2517
  "fields": {
2539
- "documents": {
2540
- "rule": "repeated",
2541
- "type": "Document",
2518
+ "imageBytes": {
2519
+ "type": "string",
2520
+ "id": 1
2521
+ }
2522
+ }
2523
+ },
2524
+ "FacetSpec": {
2525
+ "fields": {
2526
+ "facetKey": {
2527
+ "type": "FacetKey",
2542
2528
  "id": 1,
2543
2529
  "options": {
2544
2530
  "(google.api.field_behavior)": "REQUIRED"
2545
2531
  }
2532
+ },
2533
+ "limit": {
2534
+ "type": "int32",
2535
+ "id": 2
2536
+ },
2537
+ "excludedFilterKeys": {
2538
+ "rule": "repeated",
2539
+ "type": "string",
2540
+ "id": 3
2541
+ },
2542
+ "enableDynamicPosition": {
2543
+ "type": "bool",
2544
+ "id": 4
2545
+ }
2546
+ },
2547
+ "nested": {
2548
+ "FacetKey": {
2549
+ "fields": {
2550
+ "key": {
2551
+ "type": "string",
2552
+ "id": 1,
2553
+ "options": {
2554
+ "(google.api.field_behavior)": "REQUIRED"
2555
+ }
2556
+ },
2557
+ "intervals": {
2558
+ "rule": "repeated",
2559
+ "type": "Interval",
2560
+ "id": 2
2561
+ },
2562
+ "restrictedValues": {
2563
+ "rule": "repeated",
2564
+ "type": "string",
2565
+ "id": 3
2566
+ },
2567
+ "prefixes": {
2568
+ "rule": "repeated",
2569
+ "type": "string",
2570
+ "id": 4
2571
+ },
2572
+ "contains": {
2573
+ "rule": "repeated",
2574
+ "type": "string",
2575
+ "id": 5
2576
+ },
2577
+ "caseInsensitive": {
2578
+ "type": "bool",
2579
+ "id": 6
2580
+ },
2581
+ "orderBy": {
2582
+ "type": "string",
2583
+ "id": 7
2584
+ }
2585
+ }
2546
2586
  }
2547
2587
  }
2548
2588
  },
2549
- "ReconciliationMode": {
2550
- "values": {
2551
- "RECONCILIATION_MODE_UNSPECIFIED": 0,
2552
- "INCREMENTAL": 1,
2553
- "FULL": 2
2589
+ "BoostSpec": {
2590
+ "fields": {
2591
+ "conditionBoostSpecs": {
2592
+ "rule": "repeated",
2593
+ "type": "ConditionBoostSpec",
2594
+ "id": 1
2595
+ }
2596
+ },
2597
+ "nested": {
2598
+ "ConditionBoostSpec": {
2599
+ "fields": {
2600
+ "condition": {
2601
+ "type": "string",
2602
+ "id": 1
2603
+ },
2604
+ "boost": {
2605
+ "type": "float",
2606
+ "id": 2
2607
+ }
2608
+ }
2609
+ }
2554
2610
  }
2555
- }
2556
- }
2557
- },
2558
- "ImportDocumentsResponse": {
2559
- "fields": {
2560
- "errorSamples": {
2561
- "rule": "repeated",
2562
- "type": "google.rpc.Status",
2563
- "id": 1
2564
2611
  },
2565
- "errorConfig": {
2566
- "type": "ImportErrorConfig",
2567
- "id": 2
2568
- }
2569
- }
2570
- },
2571
- "UserEvent": {
2572
- "fields": {
2573
- "eventType": {
2574
- "type": "string",
2575
- "id": 1,
2576
- "options": {
2577
- "(google.api.field_behavior)": "REQUIRED"
2612
+ "QueryExpansionSpec": {
2613
+ "fields": {
2614
+ "condition": {
2615
+ "type": "Condition",
2616
+ "id": 1
2617
+ }
2618
+ },
2619
+ "nested": {
2620
+ "Condition": {
2621
+ "values": {
2622
+ "CONDITION_UNSPECIFIED": 0,
2623
+ "DISABLED": 1,
2624
+ "AUTO": 2
2625
+ }
2626
+ }
2578
2627
  }
2579
2628
  },
2580
- "userPseudoId": {
2581
- "type": "string",
2582
- "id": 2,
2583
- "options": {
2584
- "(google.api.field_behavior)": "REQUIRED"
2629
+ "SpellCorrectionSpec": {
2630
+ "fields": {
2631
+ "mode": {
2632
+ "type": "Mode",
2633
+ "id": 1
2634
+ }
2635
+ },
2636
+ "nested": {
2637
+ "Mode": {
2638
+ "values": {
2639
+ "MODE_UNSPECIFIED": 0,
2640
+ "SUGGESTION_ONLY": 1,
2641
+ "AUTO": 2
2642
+ }
2643
+ }
2585
2644
  }
2586
2645
  },
2587
- "eventTime": {
2588
- "type": "google.protobuf.Timestamp",
2589
- "id": 3
2590
- },
2591
- "userInfo": {
2592
- "type": "UserInfo",
2593
- "id": 4
2594
- },
2595
- "directUserRequest": {
2596
- "type": "bool",
2597
- "id": 5
2598
- },
2599
- "sessionId": {
2600
- "type": "string",
2601
- "id": 6
2602
- },
2603
- "pageInfo": {
2604
- "type": "PageInfo",
2605
- "id": 7
2606
- },
2607
- "attributionToken": {
2608
- "type": "string",
2609
- "id": 8
2610
- },
2611
- "filter": {
2612
- "type": "string",
2613
- "id": 9
2614
- },
2615
- "documents": {
2616
- "rule": "repeated",
2617
- "type": "DocumentInfo",
2618
- "id": 10
2619
- },
2620
- "panel": {
2621
- "type": "PanelInfo",
2622
- "id": 11
2623
- },
2624
- "searchInfo": {
2625
- "type": "SearchInfo",
2626
- "id": 12
2627
- },
2628
- "completionInfo": {
2629
- "type": "CompletionInfo",
2630
- "id": 13
2631
- },
2632
- "transactionInfo": {
2633
- "type": "TransactionInfo",
2634
- "id": 14
2635
- },
2636
- "tagIds": {
2637
- "rule": "repeated",
2638
- "type": "string",
2639
- "id": 15
2640
- },
2641
- "promotionIds": {
2642
- "rule": "repeated",
2643
- "type": "string",
2644
- "id": 16
2645
- },
2646
- "attributes": {
2647
- "keyType": "string",
2648
- "type": "CustomAttribute",
2649
- "id": 17
2650
- },
2651
- "mediaInfo": {
2652
- "type": "MediaInfo",
2653
- "id": 18
2646
+ "ContentSearchSpec": {
2647
+ "fields": {
2648
+ "snippetSpec": {
2649
+ "type": "SnippetSpec",
2650
+ "id": 1
2651
+ },
2652
+ "summarySpec": {
2653
+ "type": "SummarySpec",
2654
+ "id": 2
2655
+ },
2656
+ "extractiveContentSpec": {
2657
+ "type": "ExtractiveContentSpec",
2658
+ "id": 3
2659
+ }
2660
+ },
2661
+ "nested": {
2662
+ "SnippetSpec": {
2663
+ "fields": {
2664
+ "maxSnippetCount": {
2665
+ "type": "int32",
2666
+ "id": 1,
2667
+ "options": {
2668
+ "deprecated": true
2669
+ }
2670
+ },
2671
+ "referenceOnly": {
2672
+ "type": "bool",
2673
+ "id": 2,
2674
+ "options": {
2675
+ "deprecated": true
2676
+ }
2677
+ },
2678
+ "returnSnippet": {
2679
+ "type": "bool",
2680
+ "id": 3
2681
+ }
2682
+ }
2683
+ },
2684
+ "SummarySpec": {
2685
+ "fields": {
2686
+ "summaryResultCount": {
2687
+ "type": "int32",
2688
+ "id": 1
2689
+ },
2690
+ "includeCitations": {
2691
+ "type": "bool",
2692
+ "id": 2
2693
+ },
2694
+ "ignoreAdversarialQuery": {
2695
+ "type": "bool",
2696
+ "id": 3
2697
+ },
2698
+ "ignoreNonSummarySeekingQuery": {
2699
+ "type": "bool",
2700
+ "id": 4
2701
+ }
2702
+ }
2703
+ },
2704
+ "ExtractiveContentSpec": {
2705
+ "fields": {
2706
+ "maxExtractiveAnswerCount": {
2707
+ "type": "int32",
2708
+ "id": 1
2709
+ },
2710
+ "maxExtractiveSegmentCount": {
2711
+ "type": "int32",
2712
+ "id": 2
2713
+ }
2714
+ }
2715
+ }
2716
+ }
2654
2717
  }
2655
2718
  }
2656
2719
  },
2657
- "PageInfo": {
2720
+ "SearchResponse": {
2658
2721
  "fields": {
2659
- "pageviewId": {
2660
- "type": "string",
2722
+ "results": {
2723
+ "rule": "repeated",
2724
+ "type": "SearchResult",
2661
2725
  "id": 1
2662
2726
  },
2663
- "pageCategory": {
2664
- "type": "string",
2727
+ "facets": {
2728
+ "rule": "repeated",
2729
+ "type": "Facet",
2665
2730
  "id": 2
2666
2731
  },
2667
- "uri": {
2668
- "type": "string",
2732
+ "guidedSearchResult": {
2733
+ "type": "GuidedSearchResult",
2734
+ "id": 8
2735
+ },
2736
+ "totalSize": {
2737
+ "type": "int32",
2669
2738
  "id": 3
2670
2739
  },
2671
- "referrerUri": {
2740
+ "attributionToken": {
2672
2741
  "type": "string",
2673
2742
  "id": 4
2674
- }
2675
- }
2676
- },
2677
- "SearchInfo": {
2678
- "oneofs": {
2679
- "_offset": {
2680
- "oneof": [
2681
- "offset"
2682
- ]
2683
- }
2684
- },
2685
- "fields": {
2686
- "searchQuery": {
2687
- "type": "string",
2688
- "id": 1
2689
2743
  },
2690
- "orderBy": {
2744
+ "redirectUri": {
2691
2745
  "type": "string",
2692
- "id": 2
2746
+ "id": 12
2693
2747
  },
2694
- "offset": {
2695
- "type": "int32",
2696
- "id": 3,
2697
- "options": {
2698
- "proto3_optional": true
2699
- }
2700
- }
2701
- }
2702
- },
2703
- "CompletionInfo": {
2704
- "fields": {
2705
- "selectedSuggestion": {
2748
+ "nextPageToken": {
2706
2749
  "type": "string",
2707
- "id": 1
2708
- },
2709
- "selectedPosition": {
2710
- "type": "int32",
2711
- "id": 2
2712
- }
2713
- }
2714
- },
2715
- "TransactionInfo": {
2716
- "oneofs": {
2717
- "_value": {
2718
- "oneof": [
2719
- "value"
2720
- ]
2750
+ "id": 5
2721
2751
  },
2722
- "_tax": {
2723
- "oneof": [
2724
- "tax"
2725
- ]
2752
+ "correctedQuery": {
2753
+ "type": "string",
2754
+ "id": 7
2726
2755
  },
2727
- "_cost": {
2728
- "oneof": [
2729
- "cost"
2730
- ]
2756
+ "summary": {
2757
+ "type": "Summary",
2758
+ "id": 9
2731
2759
  },
2732
- "_discountValue": {
2733
- "oneof": [
2734
- "discountValue"
2735
- ]
2760
+ "appliedControls": {
2761
+ "rule": "repeated",
2762
+ "type": "string",
2763
+ "id": 10
2736
2764
  }
2737
2765
  },
2738
- "fields": {
2739
- "value": {
2740
- "type": "float",
2741
- "id": 1,
2742
- "options": {
2743
- "(google.api.field_behavior)": "REQUIRED",
2744
- "proto3_optional": true
2766
+ "nested": {
2767
+ "SearchResult": {
2768
+ "fields": {
2769
+ "id": {
2770
+ "type": "string",
2771
+ "id": 1
2772
+ },
2773
+ "document": {
2774
+ "type": "Document",
2775
+ "id": 2
2776
+ }
2745
2777
  }
2746
2778
  },
2747
- "currency": {
2748
- "type": "string",
2749
- "id": 2,
2750
- "options": {
2751
- "(google.api.field_behavior)": "REQUIRED"
2779
+ "Facet": {
2780
+ "fields": {
2781
+ "key": {
2782
+ "type": "string",
2783
+ "id": 1
2784
+ },
2785
+ "values": {
2786
+ "rule": "repeated",
2787
+ "type": "FacetValue",
2788
+ "id": 2
2789
+ },
2790
+ "dynamicFacet": {
2791
+ "type": "bool",
2792
+ "id": 3
2793
+ }
2794
+ },
2795
+ "nested": {
2796
+ "FacetValue": {
2797
+ "oneofs": {
2798
+ "facetValue": {
2799
+ "oneof": [
2800
+ "value",
2801
+ "interval"
2802
+ ]
2803
+ }
2804
+ },
2805
+ "fields": {
2806
+ "value": {
2807
+ "type": "string",
2808
+ "id": 1
2809
+ },
2810
+ "interval": {
2811
+ "type": "Interval",
2812
+ "id": 2
2813
+ },
2814
+ "count": {
2815
+ "type": "int64",
2816
+ "id": 3
2817
+ }
2818
+ }
2819
+ }
2752
2820
  }
2753
2821
  },
2754
- "transactionId": {
2755
- "type": "string",
2756
- "id": 3
2757
- },
2758
- "tax": {
2759
- "type": "float",
2760
- "id": 4,
2761
- "options": {
2762
- "proto3_optional": true
2763
- }
2764
- },
2765
- "cost": {
2766
- "type": "float",
2767
- "id": 5,
2768
- "options": {
2769
- "proto3_optional": true
2822
+ "GuidedSearchResult": {
2823
+ "fields": {
2824
+ "refinementAttributes": {
2825
+ "rule": "repeated",
2826
+ "type": "RefinementAttribute",
2827
+ "id": 1
2828
+ },
2829
+ "followUpQuestions": {
2830
+ "rule": "repeated",
2831
+ "type": "string",
2832
+ "id": 2
2833
+ }
2834
+ },
2835
+ "nested": {
2836
+ "RefinementAttribute": {
2837
+ "fields": {
2838
+ "attributeKey": {
2839
+ "type": "string",
2840
+ "id": 1
2841
+ },
2842
+ "attributeValue": {
2843
+ "type": "string",
2844
+ "id": 2
2845
+ }
2846
+ }
2847
+ }
2770
2848
  }
2771
2849
  },
2772
- "discountValue": {
2773
- "type": "float",
2774
- "id": 6,
2775
- "options": {
2776
- "proto3_optional": true
2850
+ "Summary": {
2851
+ "fields": {
2852
+ "summaryText": {
2853
+ "type": "string",
2854
+ "id": 1
2855
+ },
2856
+ "summarySkippedReasons": {
2857
+ "rule": "repeated",
2858
+ "type": "SummarySkippedReason",
2859
+ "id": 2
2860
+ }
2861
+ },
2862
+ "nested": {
2863
+ "SummarySkippedReason": {
2864
+ "values": {
2865
+ "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
2866
+ "ADVERSARIAL_QUERY_IGNORED": 1,
2867
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
2868
+ "OUT_OF_DOMAIN_QUERY_IGNORED": 3
2869
+ }
2870
+ }
2777
2871
  }
2778
2872
  }
2779
2873
  }
2780
2874
  },
2781
- "DocumentInfo": {
2875
+ "Document": {
2876
+ "options": {
2877
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
2878
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
2879
+ },
2782
2880
  "oneofs": {
2783
- "documentDescriptor": {
2784
- "oneof": [
2785
- "id",
2786
- "name"
2787
- ]
2788
- },
2789
- "_quantity": {
2881
+ "data": {
2790
2882
  "oneof": [
2791
- "quantity"
2883
+ "structData",
2884
+ "jsonData"
2792
2885
  ]
2793
2886
  }
2794
2887
  },
2795
2888
  "fields": {
2796
- "id": {
2889
+ "structData": {
2890
+ "type": "google.protobuf.Struct",
2891
+ "id": 4
2892
+ },
2893
+ "jsonData": {
2797
2894
  "type": "string",
2798
- "id": 1,
2799
- "options": {
2800
- "(google.api.field_behavior)": "REQUIRED"
2801
- }
2895
+ "id": 5
2802
2896
  },
2803
2897
  "name": {
2804
2898
  "type": "string",
2805
- "id": 2,
2806
- "options": {
2807
- "(google.api.field_behavior)": "REQUIRED",
2808
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2809
- }
2810
- },
2811
- "quantity": {
2812
- "type": "int32",
2813
- "id": 3,
2899
+ "id": 1,
2814
2900
  "options": {
2815
- "proto3_optional": true
2901
+ "(google.api.field_behavior)": "IMMUTABLE"
2816
2902
  }
2817
2903
  },
2818
- "promotionIds": {
2819
- "rule": "repeated",
2820
- "type": "string",
2821
- "id": 4
2822
- }
2823
- }
2824
- },
2825
- "PanelInfo": {
2826
- "oneofs": {
2827
- "_panelPosition": {
2828
- "oneof": [
2829
- "panelPosition"
2830
- ]
2831
- },
2832
- "_totalPanels": {
2833
- "oneof": [
2834
- "totalPanels"
2835
- ]
2836
- }
2837
- },
2838
- "fields": {
2839
- "panelId": {
2904
+ "id": {
2840
2905
  "type": "string",
2841
2906
  "id": 2,
2842
2907
  "options": {
2843
- "(google.api.field_behavior)": "REQUIRED"
2908
+ "(google.api.field_behavior)": "IMMUTABLE"
2844
2909
  }
2845
2910
  },
2846
- "displayName": {
2911
+ "schemaId": {
2847
2912
  "type": "string",
2848
2913
  "id": 3
2849
2914
  },
2850
- "panelPosition": {
2851
- "type": "int32",
2852
- "id": 4,
2853
- "options": {
2854
- "proto3_optional": true
2855
- }
2856
- },
2857
- "totalPanels": {
2858
- "type": "int32",
2859
- "id": 5,
2860
- "options": {
2861
- "proto3_optional": true
2862
- }
2863
- }
2864
- }
2865
- },
2866
- "MediaInfo": {
2867
- "oneofs": {
2868
- "_mediaProgressPercentage": {
2869
- "oneof": [
2870
- "mediaProgressPercentage"
2871
- ]
2872
- }
2873
- },
2874
- "fields": {
2875
- "mediaProgressDuration": {
2876
- "type": "google.protobuf.Duration",
2877
- "id": 1
2915
+ "content": {
2916
+ "type": "Content",
2917
+ "id": 10
2878
2918
  },
2879
- "mediaProgressPercentage": {
2880
- "type": "float",
2881
- "id": 2,
2882
- "options": {
2883
- "proto3_optional": true
2884
- }
2885
- }
2886
- }
2887
- },
2888
- "PurgeDocumentsRequest": {
2889
- "fields": {
2890
- "parent": {
2919
+ "parentDocumentId": {
2891
2920
  "type": "string",
2892
- "id": 1,
2893
- "options": {
2894
- "(google.api.field_behavior)": "REQUIRED",
2895
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2896
- }
2921
+ "id": 7
2897
2922
  },
2898
- "filter": {
2899
- "type": "string",
2900
- "id": 2,
2923
+ "derivedStructData": {
2924
+ "type": "google.protobuf.Struct",
2925
+ "id": 6,
2901
2926
  "options": {
2902
- "(google.api.field_behavior)": "REQUIRED"
2927
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2903
2928
  }
2904
- },
2905
- "force": {
2906
- "type": "bool",
2907
- "id": 3
2908
2929
  }
2909
- }
2910
- },
2911
- "PurgeDocumentsResponse": {
2912
- "fields": {
2913
- "purgeCount": {
2914
- "type": "int64",
2915
- "id": 1
2916
- },
2917
- "purgeSample": {
2918
- "rule": "repeated",
2919
- "type": "string",
2920
- "id": 2,
2921
- "options": {
2922
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2930
+ },
2931
+ "nested": {
2932
+ "Content": {
2933
+ "oneofs": {
2934
+ "content": {
2935
+ "oneof": [
2936
+ "rawBytes",
2937
+ "uri"
2938
+ ]
2939
+ }
2940
+ },
2941
+ "fields": {
2942
+ "rawBytes": {
2943
+ "type": "bytes",
2944
+ "id": 2
2945
+ },
2946
+ "uri": {
2947
+ "type": "string",
2948
+ "id": 3
2949
+ },
2950
+ "mimeType": {
2951
+ "type": "string",
2952
+ "id": 1
2953
+ }
2923
2954
  }
2924
2955
  }
2925
2956
  }
2926
2957
  },
2927
- "PurgeDocumentsMetadata": {
2928
- "fields": {
2929
- "createTime": {
2930
- "type": "google.protobuf.Timestamp",
2931
- "id": 1
2932
- },
2933
- "updateTime": {
2934
- "type": "google.protobuf.Timestamp",
2935
- "id": 2
2936
- },
2937
- "successCount": {
2938
- "type": "int64",
2939
- "id": 3
2940
- },
2941
- "failureCount": {
2942
- "type": "int64",
2943
- "id": 4
2944
- }
2945
- }
2946
- },
2947
- "RecommendationService": {
2958
+ "DocumentService": {
2948
2959
  "options": {
2949
2960
  "(google.api.default_host)": "discoveryengine.googleapis.com",
2950
2961
  "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2951
2962
  },
2952
2963
  "methods": {
2953
- "Recommend": {
2954
- "requestType": "RecommendRequest",
2955
- "responseType": "RecommendResponse",
2964
+ "GetDocument": {
2965
+ "requestType": "GetDocumentRequest",
2966
+ "responseType": "Document",
2956
2967
  "options": {
2957
- "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
2958
- "(google.api.http).body": "*",
2959
- "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
2960
- "(google.api.http).additional_bindings.body": "*"
2968
+ "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2969
+ "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
2970
+ "(google.api.method_signature)": "name"
2961
2971
  },
2962
2972
  "parsedOptions": [
2963
2973
  {
2964
2974
  "(google.api.http)": {
2965
- "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
2966
- "body": "*",
2975
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2967
2976
  "additional_bindings": {
2968
- "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
2969
- "body": "*"
2977
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
2970
2978
  }
2971
2979
  }
2972
- }
2973
- ]
2974
- }
2975
- }
2976
- },
2977
- "RecommendRequest": {
2978
- "fields": {
2979
- "servingConfig": {
2980
- "type": "string",
2981
- "id": 1,
2982
- "options": {
2983
- "(google.api.field_behavior)": "REQUIRED",
2984
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
2985
- }
2986
- },
2987
- "userEvent": {
2988
- "type": "UserEvent",
2989
- "id": 2,
2990
- "options": {
2991
- "(google.api.field_behavior)": "REQUIRED"
2992
- }
2993
- },
2994
- "pageSize": {
2995
- "type": "int32",
2996
- "id": 3
2997
- },
2998
- "filter": {
2999
- "type": "string",
3000
- "id": 4
3001
- },
3002
- "validateOnly": {
3003
- "type": "bool",
3004
- "id": 5
3005
- },
3006
- "params": {
3007
- "keyType": "string",
3008
- "type": "google.protobuf.Value",
3009
- "id": 6
3010
- },
3011
- "userLabels": {
3012
- "keyType": "string",
3013
- "type": "string",
3014
- "id": 8
3015
- }
3016
- }
3017
- },
3018
- "RecommendResponse": {
3019
- "fields": {
3020
- "results": {
3021
- "rule": "repeated",
3022
- "type": "RecommendationResult",
3023
- "id": 1
3024
- },
3025
- "attributionToken": {
3026
- "type": "string",
3027
- "id": 2
3028
- },
3029
- "missingIds": {
3030
- "rule": "repeated",
3031
- "type": "string",
3032
- "id": 3
3033
- },
3034
- "validateOnly": {
3035
- "type": "bool",
3036
- "id": 4
3037
- }
3038
- },
3039
- "nested": {
3040
- "RecommendationResult": {
3041
- "fields": {
3042
- "id": {
3043
- "type": "string",
3044
- "id": 1
3045
- },
3046
- "document": {
3047
- "type": "Document",
3048
- "id": 2
3049
2980
  },
3050
- "metadata": {
3051
- "keyType": "string",
3052
- "type": "google.protobuf.Value",
3053
- "id": 3
2981
+ {
2982
+ "(google.api.method_signature)": "name"
3054
2983
  }
3055
- }
3056
- }
3057
- }
3058
- },
3059
- "Schema": {
3060
- "options": {
3061
- "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
3062
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
3063
- },
3064
- "oneofs": {
3065
- "schema": {
3066
- "oneof": [
3067
- "structSchema",
3068
- "jsonSchema"
3069
2984
  ]
3070
- }
3071
- },
3072
- "fields": {
3073
- "structSchema": {
3074
- "type": "google.protobuf.Struct",
3075
- "id": 2
3076
- },
3077
- "jsonSchema": {
3078
- "type": "string",
3079
- "id": 3
3080
2985
  },
3081
- "name": {
3082
- "type": "string",
3083
- "id": 1,
3084
- "options": {
3085
- "(google.api.field_behavior)": "IMMUTABLE"
3086
- }
3087
- }
3088
- }
3089
- },
3090
- "SchemaService": {
3091
- "options": {
3092
- "(google.api.default_host)": "discoveryengine.googleapis.com",
3093
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3094
- },
3095
- "methods": {
3096
- "GetSchema": {
3097
- "requestType": "GetSchemaRequest",
3098
- "responseType": "Schema",
2986
+ "ListDocuments": {
2987
+ "requestType": "ListDocumentsRequest",
2988
+ "responseType": "ListDocumentsResponse",
3099
2989
  "options": {
3100
- "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3101
- "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3102
- "(google.api.method_signature)": "name"
2990
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2991
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
2992
+ "(google.api.method_signature)": "parent"
3103
2993
  },
3104
2994
  "parsedOptions": [
3105
2995
  {
3106
2996
  "(google.api.http)": {
3107
- "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
2997
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
3108
2998
  "additional_bindings": {
3109
- "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
2999
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
3110
3000
  }
3111
3001
  }
3112
3002
  },
3113
3003
  {
3114
- "(google.api.method_signature)": "name"
3004
+ "(google.api.method_signature)": "parent"
3115
3005
  }
3116
3006
  ]
3117
3007
  },
3118
- "ListSchemas": {
3119
- "requestType": "ListSchemasRequest",
3120
- "responseType": "ListSchemasResponse",
3008
+ "CreateDocument": {
3009
+ "requestType": "CreateDocumentRequest",
3010
+ "responseType": "Document",
3121
3011
  "options": {
3122
- "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3123
- "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3124
- "(google.api.method_signature)": "parent"
3012
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
3013
+ "(google.api.http).body": "document",
3014
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
3015
+ "(google.api.http).additional_bindings.body": "document",
3016
+ "(google.api.method_signature)": "parent,document,document_id"
3125
3017
  },
3126
3018
  "parsedOptions": [
3127
3019
  {
3128
3020
  "(google.api.http)": {
3129
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3021
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
3022
+ "body": "document",
3130
3023
  "additional_bindings": {
3131
- "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
3024
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
3025
+ "body": "document"
3132
3026
  }
3133
3027
  }
3134
3028
  },
3135
3029
  {
3136
- "(google.api.method_signature)": "parent"
3030
+ "(google.api.method_signature)": "parent,document,document_id"
3137
3031
  }
3138
3032
  ]
3139
3033
  },
3140
- "CreateSchema": {
3141
- "requestType": "CreateSchemaRequest",
3142
- "responseType": "google.longrunning.Operation",
3034
+ "UpdateDocument": {
3035
+ "requestType": "UpdateDocumentRequest",
3036
+ "responseType": "Document",
3143
3037
  "options": {
3144
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3145
- "(google.api.http).body": "schema",
3146
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3147
- "(google.api.http).additional_bindings.body": "schema",
3148
- "(google.api.method_signature)": "parent,schema,schema_id",
3149
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
3150
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
3038
+ "(google.api.http).patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3039
+ "(google.api.http).body": "document",
3040
+ "(google.api.http).additional_bindings.patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
3041
+ "(google.api.http).additional_bindings.body": "document"
3151
3042
  },
3152
3043
  "parsedOptions": [
3153
3044
  {
3154
3045
  "(google.api.http)": {
3155
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3156
- "body": "schema",
3046
+ "patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3047
+ "body": "document",
3157
3048
  "additional_bindings": {
3158
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3159
- "body": "schema"
3049
+ "patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
3050
+ "body": "document"
3160
3051
  }
3161
3052
  }
3162
- },
3163
- {
3164
- "(google.api.method_signature)": "parent,schema,schema_id"
3165
- },
3166
- {
3167
- "(google.longrunning.operation_info)": {
3168
- "response_type": "google.cloud.discoveryengine.v1beta.Schema",
3169
- "metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
3170
- }
3171
3053
  }
3172
3054
  ]
3173
3055
  },
3174
- "UpdateSchema": {
3175
- "requestType": "UpdateSchemaRequest",
3176
- "responseType": "google.longrunning.Operation",
3056
+ "DeleteDocument": {
3057
+ "requestType": "DeleteDocumentRequest",
3058
+ "responseType": "google.protobuf.Empty",
3177
3059
  "options": {
3178
- "(google.api.http).patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
3179
- "(google.api.http).body": "schema",
3180
- "(google.api.http).additional_bindings.patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3181
- "(google.api.http).additional_bindings.body": "schema",
3182
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
3183
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
3060
+ "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3061
+ "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
3062
+ "(google.api.method_signature)": "name"
3184
3063
  },
3185
3064
  "parsedOptions": [
3186
3065
  {
3187
3066
  "(google.api.http)": {
3188
- "patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
3189
- "body": "schema",
3067
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3190
3068
  "additional_bindings": {
3191
- "patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3192
- "body": "schema"
3069
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
3193
3070
  }
3194
3071
  }
3195
3072
  },
3196
3073
  {
3197
- "(google.longrunning.operation_info)": {
3198
- "response_type": "google.cloud.discoveryengine.v1beta.Schema",
3199
- "metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
3200
- }
3074
+ "(google.api.method_signature)": "name"
3201
3075
  }
3202
3076
  ]
3203
3077
  },
3204
- "DeleteSchema": {
3205
- "requestType": "DeleteSchemaRequest",
3078
+ "ImportDocuments": {
3079
+ "requestType": "ImportDocumentsRequest",
3206
3080
  "responseType": "google.longrunning.Operation",
3207
3081
  "options": {
3208
- "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3209
- "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3210
- "(google.api.method_signature)": "name",
3211
- "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
3212
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
3082
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
3083
+ "(google.api.http).body": "*",
3084
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
3085
+ "(google.api.http).additional_bindings.body": "*",
3086
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
3087
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
3213
3088
  },
3214
3089
  "parsedOptions": [
3215
3090
  {
3216
3091
  "(google.api.http)": {
3217
- "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3092
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
3093
+ "body": "*",
3218
3094
  "additional_bindings": {
3219
- "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
3095
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
3096
+ "body": "*"
3220
3097
  }
3221
3098
  }
3222
3099
  },
3223
- {
3224
- "(google.api.method_signature)": "name"
3225
- },
3226
3100
  {
3227
3101
  "(google.longrunning.operation_info)": {
3228
- "response_type": "google.protobuf.Empty",
3229
- "metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
3102
+ "response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
3103
+ "metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
3230
3104
  }
3231
3105
  }
3232
3106
  ]
3233
- }
3234
- }
3235
- },
3236
- "GetSchemaRequest": {
3107
+ },
3108
+ "PurgeDocuments": {
3109
+ "requestType": "PurgeDocumentsRequest",
3110
+ "responseType": "google.longrunning.Operation",
3111
+ "options": {
3112
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
3113
+ "(google.api.http).body": "*",
3114
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
3115
+ "(google.api.http).additional_bindings.body": "*",
3116
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse",
3117
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata"
3118
+ },
3119
+ "parsedOptions": [
3120
+ {
3121
+ "(google.api.http)": {
3122
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
3123
+ "body": "*",
3124
+ "additional_bindings": {
3125
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
3126
+ "body": "*"
3127
+ }
3128
+ }
3129
+ },
3130
+ {
3131
+ "(google.longrunning.operation_info)": {
3132
+ "response_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse",
3133
+ "metadata_type": "google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata"
3134
+ }
3135
+ }
3136
+ ]
3137
+ }
3138
+ }
3139
+ },
3140
+ "GetDocumentRequest": {
3237
3141
  "fields": {
3238
3142
  "name": {
3239
3143
  "type": "string",
3240
3144
  "id": 1,
3241
3145
  "options": {
3242
3146
  "(google.api.field_behavior)": "REQUIRED",
3243
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3147
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3244
3148
  }
3245
3149
  }
3246
3150
  }
3247
3151
  },
3248
- "ListSchemasRequest": {
3152
+ "ListDocumentsRequest": {
3249
3153
  "fields": {
3250
3154
  "parent": {
3251
3155
  "type": "string",
3252
3156
  "id": 1,
3253
3157
  "options": {
3254
3158
  "(google.api.field_behavior)": "REQUIRED",
3255
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3159
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3256
3160
  }
3257
3161
  },
3258
3162
  "pageSize": {
@@ -3265,11 +3169,11 @@
3265
3169
  }
3266
3170
  }
3267
3171
  },
3268
- "ListSchemasResponse": {
3172
+ "ListDocumentsResponse": {
3269
3173
  "fields": {
3270
- "schemas": {
3174
+ "documents": {
3271
3175
  "rule": "repeated",
3272
- "type": "Schema",
3176
+ "type": "Document",
3273
3177
  "id": 1
3274
3178
  },
3275
3179
  "nextPageToken": {
@@ -3278,24 +3182,24 @@
3278
3182
  }
3279
3183
  }
3280
3184
  },
3281
- "CreateSchemaRequest": {
3185
+ "CreateDocumentRequest": {
3282
3186
  "fields": {
3283
3187
  "parent": {
3284
3188
  "type": "string",
3285
3189
  "id": 1,
3286
3190
  "options": {
3287
3191
  "(google.api.field_behavior)": "REQUIRED",
3288
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3192
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3289
3193
  }
3290
3194
  },
3291
- "schema": {
3292
- "type": "Schema",
3195
+ "document": {
3196
+ "type": "Document",
3293
3197
  "id": 2,
3294
3198
  "options": {
3295
3199
  "(google.api.field_behavior)": "REQUIRED"
3296
3200
  }
3297
3201
  },
3298
- "schemaId": {
3202
+ "documentId": {
3299
3203
  "type": "string",
3300
3204
  "id": 3,
3301
3205
  "options": {
@@ -3304,10 +3208,10 @@
3304
3208
  }
3305
3209
  }
3306
3210
  },
3307
- "UpdateSchemaRequest": {
3211
+ "UpdateDocumentRequest": {
3308
3212
  "fields": {
3309
- "schema": {
3310
- "type": "Schema",
3213
+ "document": {
3214
+ "type": "Document",
3311
3215
  "id": 1,
3312
3216
  "options": {
3313
3217
  "(google.api.field_behavior)": "REQUIRED"
@@ -3315,480 +3219,1081 @@
3315
3219
  },
3316
3220
  "allowMissing": {
3317
3221
  "type": "bool",
3318
- "id": 3
3222
+ "id": 2
3319
3223
  }
3320
3224
  }
3321
3225
  },
3322
- "DeleteSchemaRequest": {
3226
+ "DeleteDocumentRequest": {
3323
3227
  "fields": {
3324
3228
  "name": {
3325
3229
  "type": "string",
3326
3230
  "id": 1,
3327
3231
  "options": {
3328
3232
  "(google.api.field_behavior)": "REQUIRED",
3329
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3233
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3330
3234
  }
3331
3235
  }
3332
3236
  }
3333
3237
  },
3334
- "CreateSchemaMetadata": {
3238
+ "GcsSource": {
3335
3239
  "fields": {
3336
- "createTime": {
3337
- "type": "google.protobuf.Timestamp",
3338
- "id": 1
3240
+ "inputUris": {
3241
+ "rule": "repeated",
3242
+ "type": "string",
3243
+ "id": 1,
3244
+ "options": {
3245
+ "(google.api.field_behavior)": "REQUIRED"
3246
+ }
3339
3247
  },
3340
- "updateTime": {
3341
- "type": "google.protobuf.Timestamp",
3248
+ "dataSchema": {
3249
+ "type": "string",
3342
3250
  "id": 2
3343
3251
  }
3344
3252
  }
3345
3253
  },
3346
- "UpdateSchemaMetadata": {
3254
+ "BigQuerySource": {
3255
+ "oneofs": {
3256
+ "partition": {
3257
+ "oneof": [
3258
+ "partitionDate"
3259
+ ]
3260
+ }
3261
+ },
3347
3262
  "fields": {
3348
- "createTime": {
3349
- "type": "google.protobuf.Timestamp",
3263
+ "partitionDate": {
3264
+ "type": "google.type.Date",
3265
+ "id": 5
3266
+ },
3267
+ "projectId": {
3268
+ "type": "string",
3350
3269
  "id": 1
3351
3270
  },
3352
- "updateTime": {
3353
- "type": "google.protobuf.Timestamp",
3354
- "id": 2
3271
+ "datasetId": {
3272
+ "type": "string",
3273
+ "id": 2,
3274
+ "options": {
3275
+ "(google.api.field_behavior)": "REQUIRED"
3276
+ }
3277
+ },
3278
+ "tableId": {
3279
+ "type": "string",
3280
+ "id": 3,
3281
+ "options": {
3282
+ "(google.api.field_behavior)": "REQUIRED"
3283
+ }
3284
+ },
3285
+ "gcsStagingDir": {
3286
+ "type": "string",
3287
+ "id": 4
3288
+ },
3289
+ "dataSchema": {
3290
+ "type": "string",
3291
+ "id": 6
3355
3292
  }
3356
3293
  }
3357
3294
  },
3358
- "DeleteSchemaMetadata": {
3295
+ "ImportErrorConfig": {
3296
+ "oneofs": {
3297
+ "destination": {
3298
+ "oneof": [
3299
+ "gcsPrefix"
3300
+ ]
3301
+ }
3302
+ },
3359
3303
  "fields": {
3360
- "createTime": {
3361
- "type": "google.protobuf.Timestamp",
3304
+ "gcsPrefix": {
3305
+ "type": "string",
3362
3306
  "id": 1
3363
- },
3364
- "updateTime": {
3365
- "type": "google.protobuf.Timestamp",
3366
- "id": 2
3367
3307
  }
3368
3308
  }
3369
3309
  },
3370
- "SearchService": {
3371
- "options": {
3372
- "(google.api.default_host)": "discoveryengine.googleapis.com",
3373
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3374
- },
3375
- "methods": {
3376
- "Search": {
3377
- "requestType": "SearchRequest",
3378
- "responseType": "SearchResponse",
3379
- "options": {
3380
- "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
3381
- "(google.api.http).body": "*",
3382
- "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
3383
- "(google.api.http).additional_bindings.body": "*"
3384
- },
3385
- "parsedOptions": [
3386
- {
3387
- "(google.api.http)": {
3388
- "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
3389
- "body": "*",
3390
- "additional_bindings": {
3391
- "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
3392
- "body": "*"
3393
- }
3394
- }
3395
- }
3310
+ "ImportUserEventsRequest": {
3311
+ "oneofs": {
3312
+ "source": {
3313
+ "oneof": [
3314
+ "inlineSource",
3315
+ "gcsSource",
3316
+ "bigquerySource"
3396
3317
  ]
3397
3318
  }
3398
- }
3399
- },
3400
- "SearchRequest": {
3319
+ },
3401
3320
  "fields": {
3402
- "servingConfig": {
3321
+ "inlineSource": {
3322
+ "type": "InlineSource",
3323
+ "id": 2
3324
+ },
3325
+ "gcsSource": {
3326
+ "type": "GcsSource",
3327
+ "id": 3
3328
+ },
3329
+ "bigquerySource": {
3330
+ "type": "BigQuerySource",
3331
+ "id": 4
3332
+ },
3333
+ "parent": {
3403
3334
  "type": "string",
3404
3335
  "id": 1,
3405
3336
  "options": {
3406
3337
  "(google.api.field_behavior)": "REQUIRED",
3407
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
3338
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3408
3339
  }
3409
3340
  },
3410
- "branch": {
3411
- "type": "string",
3412
- "id": 2,
3413
- "options": {
3414
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3341
+ "errorConfig": {
3342
+ "type": "ImportErrorConfig",
3343
+ "id": 5
3344
+ }
3345
+ },
3346
+ "nested": {
3347
+ "InlineSource": {
3348
+ "fields": {
3349
+ "userEvents": {
3350
+ "rule": "repeated",
3351
+ "type": "UserEvent",
3352
+ "id": 1,
3353
+ "options": {
3354
+ "(google.api.field_behavior)": "REQUIRED"
3355
+ }
3356
+ }
3415
3357
  }
3358
+ }
3359
+ }
3360
+ },
3361
+ "ImportUserEventsResponse": {
3362
+ "fields": {
3363
+ "errorSamples": {
3364
+ "rule": "repeated",
3365
+ "type": "google.rpc.Status",
3366
+ "id": 1
3416
3367
  },
3417
- "query": {
3418
- "type": "string",
3368
+ "errorConfig": {
3369
+ "type": "ImportErrorConfig",
3370
+ "id": 2
3371
+ },
3372
+ "joinedEventsCount": {
3373
+ "type": "int64",
3419
3374
  "id": 3
3420
3375
  },
3421
- "pageSize": {
3422
- "type": "int32",
3376
+ "unjoinedEventsCount": {
3377
+ "type": "int64",
3423
3378
  "id": 4
3379
+ }
3380
+ }
3381
+ },
3382
+ "ImportUserEventsMetadata": {
3383
+ "fields": {
3384
+ "createTime": {
3385
+ "type": "google.protobuf.Timestamp",
3386
+ "id": 1
3424
3387
  },
3425
- "pageToken": {
3426
- "type": "string",
3427
- "id": 5
3428
- },
3429
- "offset": {
3430
- "type": "int32",
3431
- "id": 6
3388
+ "updateTime": {
3389
+ "type": "google.protobuf.Timestamp",
3390
+ "id": 2
3432
3391
  },
3433
- "filter": {
3434
- "type": "string",
3435
- "id": 7
3436
- },
3437
- "orderBy": {
3438
- "type": "string",
3439
- "id": 8
3392
+ "successCount": {
3393
+ "type": "int64",
3394
+ "id": 3
3440
3395
  },
3441
- "userInfo": {
3442
- "type": "UserInfo",
3443
- "id": 21
3396
+ "failureCount": {
3397
+ "type": "int64",
3398
+ "id": 4
3399
+ }
3400
+ }
3401
+ },
3402
+ "ImportDocumentsMetadata": {
3403
+ "fields": {
3404
+ "createTime": {
3405
+ "type": "google.protobuf.Timestamp",
3406
+ "id": 1
3444
3407
  },
3445
- "facetSpecs": {
3446
- "rule": "repeated",
3447
- "type": "FacetSpec",
3448
- "id": 9
3408
+ "updateTime": {
3409
+ "type": "google.protobuf.Timestamp",
3410
+ "id": 2
3449
3411
  },
3450
- "boostSpec": {
3451
- "type": "BoostSpec",
3452
- "id": 10
3412
+ "successCount": {
3413
+ "type": "int64",
3414
+ "id": 3
3453
3415
  },
3454
- "params": {
3455
- "keyType": "string",
3456
- "type": "google.protobuf.Value",
3457
- "id": 11
3416
+ "failureCount": {
3417
+ "type": "int64",
3418
+ "id": 4
3419
+ }
3420
+ }
3421
+ },
3422
+ "ImportDocumentsRequest": {
3423
+ "oneofs": {
3424
+ "source": {
3425
+ "oneof": [
3426
+ "inlineSource",
3427
+ "gcsSource",
3428
+ "bigquerySource"
3429
+ ]
3430
+ }
3431
+ },
3432
+ "fields": {
3433
+ "inlineSource": {
3434
+ "type": "InlineSource",
3435
+ "id": 2
3458
3436
  },
3459
- "queryExpansionSpec": {
3460
- "type": "QueryExpansionSpec",
3461
- "id": 13
3437
+ "gcsSource": {
3438
+ "type": "GcsSource",
3439
+ "id": 3
3462
3440
  },
3463
- "spellCorrectionSpec": {
3464
- "type": "SpellCorrectionSpec",
3465
- "id": 14
3441
+ "bigquerySource": {
3442
+ "type": "BigQuerySource",
3443
+ "id": 4
3466
3444
  },
3467
- "userPseudoId": {
3445
+ "parent": {
3468
3446
  "type": "string",
3469
- "id": 15
3447
+ "id": 1,
3448
+ "options": {
3449
+ "(google.api.field_behavior)": "REQUIRED",
3450
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3451
+ }
3470
3452
  },
3471
- "contentSearchSpec": {
3472
- "type": "ContentSearchSpec",
3473
- "id": 24
3453
+ "errorConfig": {
3454
+ "type": "ImportErrorConfig",
3455
+ "id": 5
3474
3456
  },
3475
- "safeSearch": {
3457
+ "reconciliationMode": {
3458
+ "type": "ReconciliationMode",
3459
+ "id": 6
3460
+ },
3461
+ "autoGenerateIds": {
3476
3462
  "type": "bool",
3477
- "id": 20
3463
+ "id": 8
3478
3464
  },
3479
- "userLabels": {
3480
- "keyType": "string",
3465
+ "idField": {
3481
3466
  "type": "string",
3482
- "id": 22
3467
+ "id": 9
3483
3468
  }
3484
3469
  },
3485
3470
  "nested": {
3486
- "FacetSpec": {
3471
+ "InlineSource": {
3487
3472
  "fields": {
3488
- "facetKey": {
3489
- "type": "FacetKey",
3473
+ "documents": {
3474
+ "rule": "repeated",
3475
+ "type": "Document",
3490
3476
  "id": 1,
3491
3477
  "options": {
3492
3478
  "(google.api.field_behavior)": "REQUIRED"
3493
3479
  }
3494
- },
3495
- "limit": {
3496
- "type": "int32",
3497
- "id": 2
3498
- },
3499
- "excludedFilterKeys": {
3500
- "rule": "repeated",
3501
- "type": "string",
3502
- "id": 3
3503
- },
3504
- "enableDynamicPosition": {
3505
- "type": "bool",
3506
- "id": 4
3507
- }
3508
- },
3509
- "nested": {
3510
- "FacetKey": {
3511
- "fields": {
3512
- "key": {
3513
- "type": "string",
3514
- "id": 1,
3515
- "options": {
3516
- "(google.api.field_behavior)": "REQUIRED"
3517
- }
3518
- },
3519
- "intervals": {
3520
- "rule": "repeated",
3521
- "type": "Interval",
3522
- "id": 2
3523
- },
3524
- "restrictedValues": {
3525
- "rule": "repeated",
3526
- "type": "string",
3527
- "id": 3
3528
- },
3529
- "prefixes": {
3530
- "rule": "repeated",
3531
- "type": "string",
3532
- "id": 4
3533
- },
3534
- "contains": {
3535
- "rule": "repeated",
3536
- "type": "string",
3537
- "id": 5
3538
- },
3539
- "caseInsensitive": {
3540
- "type": "bool",
3541
- "id": 6
3542
- },
3543
- "orderBy": {
3544
- "type": "string",
3545
- "id": 7
3546
- }
3547
- }
3548
3480
  }
3549
3481
  }
3550
3482
  },
3551
- "BoostSpec": {
3552
- "fields": {
3553
- "conditionBoostSpecs": {
3554
- "rule": "repeated",
3555
- "type": "ConditionBoostSpec",
3556
- "id": 1
3557
- }
3558
- },
3559
- "nested": {
3560
- "ConditionBoostSpec": {
3561
- "fields": {
3562
- "condition": {
3563
- "type": "string",
3564
- "id": 1
3565
- },
3566
- "boost": {
3567
- "type": "float",
3568
- "id": 2
3569
- }
3570
- }
3571
- }
3483
+ "ReconciliationMode": {
3484
+ "values": {
3485
+ "RECONCILIATION_MODE_UNSPECIFIED": 0,
3486
+ "INCREMENTAL": 1,
3487
+ "FULL": 2
3572
3488
  }
3489
+ }
3490
+ }
3491
+ },
3492
+ "ImportDocumentsResponse": {
3493
+ "fields": {
3494
+ "errorSamples": {
3495
+ "rule": "repeated",
3496
+ "type": "google.rpc.Status",
3497
+ "id": 1
3573
3498
  },
3574
- "QueryExpansionSpec": {
3575
- "fields": {
3576
- "condition": {
3577
- "type": "Condition",
3578
- "id": 1
3579
- }
3580
- },
3581
- "nested": {
3582
- "Condition": {
3583
- "values": {
3584
- "CONDITION_UNSPECIFIED": 0,
3585
- "DISABLED": 1,
3586
- "AUTO": 2
3587
- }
3588
- }
3499
+ "errorConfig": {
3500
+ "type": "ImportErrorConfig",
3501
+ "id": 2
3502
+ }
3503
+ }
3504
+ },
3505
+ "UserEvent": {
3506
+ "fields": {
3507
+ "eventType": {
3508
+ "type": "string",
3509
+ "id": 1,
3510
+ "options": {
3511
+ "(google.api.field_behavior)": "REQUIRED"
3589
3512
  }
3590
3513
  },
3591
- "SpellCorrectionSpec": {
3592
- "fields": {
3593
- "mode": {
3594
- "type": "Mode",
3595
- "id": 1
3596
- }
3597
- },
3598
- "nested": {
3599
- "Mode": {
3600
- "values": {
3601
- "MODE_UNSPECIFIED": 0,
3602
- "SUGGESTION_ONLY": 1,
3603
- "AUTO": 2
3604
- }
3605
- }
3514
+ "userPseudoId": {
3515
+ "type": "string",
3516
+ "id": 2,
3517
+ "options": {
3518
+ "(google.api.field_behavior)": "REQUIRED"
3606
3519
  }
3607
3520
  },
3608
- "ContentSearchSpec": {
3609
- "fields": {
3610
- "snippetSpec": {
3611
- "type": "SnippetSpec",
3612
- "id": 1
3613
- },
3614
- "summarySpec": {
3615
- "type": "SummarySpec",
3616
- "id": 2
3617
- },
3618
- "extractiveContentSpec": {
3619
- "type": "ExtractiveContentSpec",
3620
- "id": 3
3521
+ "eventTime": {
3522
+ "type": "google.protobuf.Timestamp",
3523
+ "id": 3
3524
+ },
3525
+ "userInfo": {
3526
+ "type": "UserInfo",
3527
+ "id": 4
3528
+ },
3529
+ "directUserRequest": {
3530
+ "type": "bool",
3531
+ "id": 5
3532
+ },
3533
+ "sessionId": {
3534
+ "type": "string",
3535
+ "id": 6
3536
+ },
3537
+ "pageInfo": {
3538
+ "type": "PageInfo",
3539
+ "id": 7
3540
+ },
3541
+ "attributionToken": {
3542
+ "type": "string",
3543
+ "id": 8
3544
+ },
3545
+ "filter": {
3546
+ "type": "string",
3547
+ "id": 9
3548
+ },
3549
+ "documents": {
3550
+ "rule": "repeated",
3551
+ "type": "DocumentInfo",
3552
+ "id": 10
3553
+ },
3554
+ "panel": {
3555
+ "type": "PanelInfo",
3556
+ "id": 11
3557
+ },
3558
+ "searchInfo": {
3559
+ "type": "SearchInfo",
3560
+ "id": 12
3561
+ },
3562
+ "completionInfo": {
3563
+ "type": "CompletionInfo",
3564
+ "id": 13
3565
+ },
3566
+ "transactionInfo": {
3567
+ "type": "TransactionInfo",
3568
+ "id": 14
3569
+ },
3570
+ "tagIds": {
3571
+ "rule": "repeated",
3572
+ "type": "string",
3573
+ "id": 15
3574
+ },
3575
+ "promotionIds": {
3576
+ "rule": "repeated",
3577
+ "type": "string",
3578
+ "id": 16
3579
+ },
3580
+ "attributes": {
3581
+ "keyType": "string",
3582
+ "type": "CustomAttribute",
3583
+ "id": 17
3584
+ },
3585
+ "mediaInfo": {
3586
+ "type": "MediaInfo",
3587
+ "id": 18
3588
+ }
3589
+ }
3590
+ },
3591
+ "PageInfo": {
3592
+ "fields": {
3593
+ "pageviewId": {
3594
+ "type": "string",
3595
+ "id": 1
3596
+ },
3597
+ "pageCategory": {
3598
+ "type": "string",
3599
+ "id": 2
3600
+ },
3601
+ "uri": {
3602
+ "type": "string",
3603
+ "id": 3
3604
+ },
3605
+ "referrerUri": {
3606
+ "type": "string",
3607
+ "id": 4
3608
+ }
3609
+ }
3610
+ },
3611
+ "SearchInfo": {
3612
+ "oneofs": {
3613
+ "_offset": {
3614
+ "oneof": [
3615
+ "offset"
3616
+ ]
3617
+ }
3618
+ },
3619
+ "fields": {
3620
+ "searchQuery": {
3621
+ "type": "string",
3622
+ "id": 1
3623
+ },
3624
+ "orderBy": {
3625
+ "type": "string",
3626
+ "id": 2
3627
+ },
3628
+ "offset": {
3629
+ "type": "int32",
3630
+ "id": 3,
3631
+ "options": {
3632
+ "proto3_optional": true
3633
+ }
3634
+ }
3635
+ }
3636
+ },
3637
+ "CompletionInfo": {
3638
+ "fields": {
3639
+ "selectedSuggestion": {
3640
+ "type": "string",
3641
+ "id": 1
3642
+ },
3643
+ "selectedPosition": {
3644
+ "type": "int32",
3645
+ "id": 2
3646
+ }
3647
+ }
3648
+ },
3649
+ "TransactionInfo": {
3650
+ "oneofs": {
3651
+ "_value": {
3652
+ "oneof": [
3653
+ "value"
3654
+ ]
3655
+ },
3656
+ "_tax": {
3657
+ "oneof": [
3658
+ "tax"
3659
+ ]
3660
+ },
3661
+ "_cost": {
3662
+ "oneof": [
3663
+ "cost"
3664
+ ]
3665
+ },
3666
+ "_discountValue": {
3667
+ "oneof": [
3668
+ "discountValue"
3669
+ ]
3670
+ }
3671
+ },
3672
+ "fields": {
3673
+ "value": {
3674
+ "type": "float",
3675
+ "id": 1,
3676
+ "options": {
3677
+ "(google.api.field_behavior)": "REQUIRED",
3678
+ "proto3_optional": true
3679
+ }
3680
+ },
3681
+ "currency": {
3682
+ "type": "string",
3683
+ "id": 2,
3684
+ "options": {
3685
+ "(google.api.field_behavior)": "REQUIRED"
3686
+ }
3687
+ },
3688
+ "transactionId": {
3689
+ "type": "string",
3690
+ "id": 3
3691
+ },
3692
+ "tax": {
3693
+ "type": "float",
3694
+ "id": 4,
3695
+ "options": {
3696
+ "proto3_optional": true
3697
+ }
3698
+ },
3699
+ "cost": {
3700
+ "type": "float",
3701
+ "id": 5,
3702
+ "options": {
3703
+ "proto3_optional": true
3704
+ }
3705
+ },
3706
+ "discountValue": {
3707
+ "type": "float",
3708
+ "id": 6,
3709
+ "options": {
3710
+ "proto3_optional": true
3711
+ }
3712
+ }
3713
+ }
3714
+ },
3715
+ "DocumentInfo": {
3716
+ "oneofs": {
3717
+ "documentDescriptor": {
3718
+ "oneof": [
3719
+ "id",
3720
+ "name"
3721
+ ]
3722
+ },
3723
+ "_quantity": {
3724
+ "oneof": [
3725
+ "quantity"
3726
+ ]
3727
+ }
3728
+ },
3729
+ "fields": {
3730
+ "id": {
3731
+ "type": "string",
3732
+ "id": 1
3733
+ },
3734
+ "name": {
3735
+ "type": "string",
3736
+ "id": 2,
3737
+ "options": {
3738
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3739
+ }
3740
+ },
3741
+ "quantity": {
3742
+ "type": "int32",
3743
+ "id": 3,
3744
+ "options": {
3745
+ "proto3_optional": true
3746
+ }
3747
+ },
3748
+ "promotionIds": {
3749
+ "rule": "repeated",
3750
+ "type": "string",
3751
+ "id": 4
3752
+ }
3753
+ }
3754
+ },
3755
+ "PanelInfo": {
3756
+ "oneofs": {
3757
+ "_panelPosition": {
3758
+ "oneof": [
3759
+ "panelPosition"
3760
+ ]
3761
+ },
3762
+ "_totalPanels": {
3763
+ "oneof": [
3764
+ "totalPanels"
3765
+ ]
3766
+ }
3767
+ },
3768
+ "fields": {
3769
+ "panelId": {
3770
+ "type": "string",
3771
+ "id": 2,
3772
+ "options": {
3773
+ "(google.api.field_behavior)": "REQUIRED"
3774
+ }
3775
+ },
3776
+ "displayName": {
3777
+ "type": "string",
3778
+ "id": 3
3779
+ },
3780
+ "panelPosition": {
3781
+ "type": "int32",
3782
+ "id": 4,
3783
+ "options": {
3784
+ "proto3_optional": true
3785
+ }
3786
+ },
3787
+ "totalPanels": {
3788
+ "type": "int32",
3789
+ "id": 5,
3790
+ "options": {
3791
+ "proto3_optional": true
3792
+ }
3793
+ }
3794
+ }
3795
+ },
3796
+ "MediaInfo": {
3797
+ "oneofs": {
3798
+ "_mediaProgressPercentage": {
3799
+ "oneof": [
3800
+ "mediaProgressPercentage"
3801
+ ]
3802
+ }
3803
+ },
3804
+ "fields": {
3805
+ "mediaProgressDuration": {
3806
+ "type": "google.protobuf.Duration",
3807
+ "id": 1
3808
+ },
3809
+ "mediaProgressPercentage": {
3810
+ "type": "float",
3811
+ "id": 2,
3812
+ "options": {
3813
+ "proto3_optional": true
3814
+ }
3815
+ }
3816
+ }
3817
+ },
3818
+ "PurgeDocumentsRequest": {
3819
+ "fields": {
3820
+ "parent": {
3821
+ "type": "string",
3822
+ "id": 1,
3823
+ "options": {
3824
+ "(google.api.field_behavior)": "REQUIRED",
3825
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3826
+ }
3827
+ },
3828
+ "filter": {
3829
+ "type": "string",
3830
+ "id": 2,
3831
+ "options": {
3832
+ "(google.api.field_behavior)": "REQUIRED"
3833
+ }
3834
+ },
3835
+ "force": {
3836
+ "type": "bool",
3837
+ "id": 3
3838
+ }
3839
+ }
3840
+ },
3841
+ "PurgeDocumentsResponse": {
3842
+ "fields": {
3843
+ "purgeCount": {
3844
+ "type": "int64",
3845
+ "id": 1
3846
+ },
3847
+ "purgeSample": {
3848
+ "rule": "repeated",
3849
+ "type": "string",
3850
+ "id": 2,
3851
+ "options": {
3852
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3853
+ }
3854
+ }
3855
+ }
3856
+ },
3857
+ "PurgeDocumentsMetadata": {
3858
+ "fields": {
3859
+ "createTime": {
3860
+ "type": "google.protobuf.Timestamp",
3861
+ "id": 1
3862
+ },
3863
+ "updateTime": {
3864
+ "type": "google.protobuf.Timestamp",
3865
+ "id": 2
3866
+ },
3867
+ "successCount": {
3868
+ "type": "int64",
3869
+ "id": 3
3870
+ },
3871
+ "failureCount": {
3872
+ "type": "int64",
3873
+ "id": 4
3874
+ }
3875
+ }
3876
+ },
3877
+ "RecommendationService": {
3878
+ "options": {
3879
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
3880
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3881
+ },
3882
+ "methods": {
3883
+ "Recommend": {
3884
+ "requestType": "RecommendRequest",
3885
+ "responseType": "RecommendResponse",
3886
+ "options": {
3887
+ "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
3888
+ "(google.api.http).body": "*",
3889
+ "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
3890
+ "(google.api.http).additional_bindings.body": "*"
3891
+ },
3892
+ "parsedOptions": [
3893
+ {
3894
+ "(google.api.http)": {
3895
+ "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
3896
+ "body": "*",
3897
+ "additional_bindings": {
3898
+ "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
3899
+ "body": "*"
3900
+ }
3901
+ }
3902
+ }
3903
+ ]
3904
+ }
3905
+ }
3906
+ },
3907
+ "RecommendRequest": {
3908
+ "fields": {
3909
+ "servingConfig": {
3910
+ "type": "string",
3911
+ "id": 1,
3912
+ "options": {
3913
+ "(google.api.field_behavior)": "REQUIRED",
3914
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
3915
+ }
3916
+ },
3917
+ "userEvent": {
3918
+ "type": "UserEvent",
3919
+ "id": 2,
3920
+ "options": {
3921
+ "(google.api.field_behavior)": "REQUIRED"
3922
+ }
3923
+ },
3924
+ "pageSize": {
3925
+ "type": "int32",
3926
+ "id": 3
3927
+ },
3928
+ "filter": {
3929
+ "type": "string",
3930
+ "id": 4
3931
+ },
3932
+ "validateOnly": {
3933
+ "type": "bool",
3934
+ "id": 5
3935
+ },
3936
+ "params": {
3937
+ "keyType": "string",
3938
+ "type": "google.protobuf.Value",
3939
+ "id": 6
3940
+ },
3941
+ "userLabels": {
3942
+ "keyType": "string",
3943
+ "type": "string",
3944
+ "id": 8
3945
+ }
3946
+ }
3947
+ },
3948
+ "RecommendResponse": {
3949
+ "fields": {
3950
+ "results": {
3951
+ "rule": "repeated",
3952
+ "type": "RecommendationResult",
3953
+ "id": 1
3954
+ },
3955
+ "attributionToken": {
3956
+ "type": "string",
3957
+ "id": 2
3958
+ },
3959
+ "missingIds": {
3960
+ "rule": "repeated",
3961
+ "type": "string",
3962
+ "id": 3
3963
+ },
3964
+ "validateOnly": {
3965
+ "type": "bool",
3966
+ "id": 4
3967
+ }
3968
+ },
3969
+ "nested": {
3970
+ "RecommendationResult": {
3971
+ "fields": {
3972
+ "id": {
3973
+ "type": "string",
3974
+ "id": 1
3975
+ },
3976
+ "document": {
3977
+ "type": "Document",
3978
+ "id": 2
3979
+ },
3980
+ "metadata": {
3981
+ "keyType": "string",
3982
+ "type": "google.protobuf.Value",
3983
+ "id": 3
3984
+ }
3985
+ }
3986
+ }
3987
+ }
3988
+ },
3989
+ "Schema": {
3990
+ "options": {
3991
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
3992
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
3993
+ },
3994
+ "oneofs": {
3995
+ "schema": {
3996
+ "oneof": [
3997
+ "structSchema",
3998
+ "jsonSchema"
3999
+ ]
4000
+ }
4001
+ },
4002
+ "fields": {
4003
+ "structSchema": {
4004
+ "type": "google.protobuf.Struct",
4005
+ "id": 2
4006
+ },
4007
+ "jsonSchema": {
4008
+ "type": "string",
4009
+ "id": 3
4010
+ },
4011
+ "name": {
4012
+ "type": "string",
4013
+ "id": 1,
4014
+ "options": {
4015
+ "(google.api.field_behavior)": "IMMUTABLE"
4016
+ }
4017
+ }
4018
+ }
4019
+ },
4020
+ "SchemaService": {
4021
+ "options": {
4022
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
4023
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
4024
+ },
4025
+ "methods": {
4026
+ "GetSchema": {
4027
+ "requestType": "GetSchemaRequest",
4028
+ "responseType": "Schema",
4029
+ "options": {
4030
+ "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
4031
+ "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
4032
+ "(google.api.method_signature)": "name"
4033
+ },
4034
+ "parsedOptions": [
4035
+ {
4036
+ "(google.api.http)": {
4037
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
4038
+ "additional_bindings": {
4039
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
4040
+ }
4041
+ }
4042
+ },
4043
+ {
4044
+ "(google.api.method_signature)": "name"
3621
4045
  }
4046
+ ]
4047
+ },
4048
+ "ListSchemas": {
4049
+ "requestType": "ListSchemasRequest",
4050
+ "responseType": "ListSchemasResponse",
4051
+ "options": {
4052
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
4053
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
4054
+ "(google.api.method_signature)": "parent"
3622
4055
  },
3623
- "nested": {
3624
- "SnippetSpec": {
3625
- "fields": {
3626
- "maxSnippetCount": {
3627
- "type": "int32",
3628
- "id": 1
3629
- },
3630
- "referenceOnly": {
3631
- "type": "bool",
3632
- "id": 2
4056
+ "parsedOptions": [
4057
+ {
4058
+ "(google.api.http)": {
4059
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
4060
+ "additional_bindings": {
4061
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
3633
4062
  }
3634
4063
  }
3635
4064
  },
3636
- "SummarySpec": {
3637
- "fields": {
3638
- "summaryResultCount": {
3639
- "type": "int32",
3640
- "id": 1
4065
+ {
4066
+ "(google.api.method_signature)": "parent"
4067
+ }
4068
+ ]
4069
+ },
4070
+ "CreateSchema": {
4071
+ "requestType": "CreateSchemaRequest",
4072
+ "responseType": "google.longrunning.Operation",
4073
+ "options": {
4074
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
4075
+ "(google.api.http).body": "schema",
4076
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
4077
+ "(google.api.http).additional_bindings.body": "schema",
4078
+ "(google.api.method_signature)": "parent,schema,schema_id",
4079
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
4080
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
4081
+ },
4082
+ "parsedOptions": [
4083
+ {
4084
+ "(google.api.http)": {
4085
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
4086
+ "body": "schema",
4087
+ "additional_bindings": {
4088
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
4089
+ "body": "schema"
4090
+ }
4091
+ }
4092
+ },
4093
+ {
4094
+ "(google.api.method_signature)": "parent,schema,schema_id"
4095
+ },
4096
+ {
4097
+ "(google.longrunning.operation_info)": {
4098
+ "response_type": "google.cloud.discoveryengine.v1beta.Schema",
4099
+ "metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
4100
+ }
4101
+ }
4102
+ ]
4103
+ },
4104
+ "UpdateSchema": {
4105
+ "requestType": "UpdateSchemaRequest",
4106
+ "responseType": "google.longrunning.Operation",
4107
+ "options": {
4108
+ "(google.api.http).patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
4109
+ "(google.api.http).body": "schema",
4110
+ "(google.api.http).additional_bindings.patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
4111
+ "(google.api.http).additional_bindings.body": "schema",
4112
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
4113
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
4114
+ },
4115
+ "parsedOptions": [
4116
+ {
4117
+ "(google.api.http)": {
4118
+ "patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
4119
+ "body": "schema",
4120
+ "additional_bindings": {
4121
+ "patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
4122
+ "body": "schema"
4123
+ }
4124
+ }
4125
+ },
4126
+ {
4127
+ "(google.longrunning.operation_info)": {
4128
+ "response_type": "google.cloud.discoveryengine.v1beta.Schema",
4129
+ "metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
4130
+ }
4131
+ }
4132
+ ]
4133
+ },
4134
+ "DeleteSchema": {
4135
+ "requestType": "DeleteSchemaRequest",
4136
+ "responseType": "google.longrunning.Operation",
4137
+ "options": {
4138
+ "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
4139
+ "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
4140
+ "(google.api.method_signature)": "name",
4141
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
4142
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
4143
+ },
4144
+ "parsedOptions": [
4145
+ {
4146
+ "(google.api.http)": {
4147
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
4148
+ "additional_bindings": {
4149
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
3641
4150
  }
3642
4151
  }
3643
4152
  },
3644
- "ExtractiveContentSpec": {
3645
- "fields": {
3646
- "maxExtractiveAnswerCount": {
3647
- "type": "int32",
3648
- "id": 1
3649
- },
3650
- "maxExtractiveSegmentCount": {
3651
- "type": "int32",
3652
- "id": 2
3653
- }
4153
+ {
4154
+ "(google.api.method_signature)": "name"
4155
+ },
4156
+ {
4157
+ "(google.longrunning.operation_info)": {
4158
+ "response_type": "google.protobuf.Empty",
4159
+ "metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
3654
4160
  }
3655
4161
  }
4162
+ ]
4163
+ }
4164
+ }
4165
+ },
4166
+ "GetSchemaRequest": {
4167
+ "fields": {
4168
+ "name": {
4169
+ "type": "string",
4170
+ "id": 1,
4171
+ "options": {
4172
+ "(google.api.field_behavior)": "REQUIRED",
4173
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3656
4174
  }
3657
4175
  }
3658
4176
  }
3659
4177
  },
3660
- "SearchResponse": {
4178
+ "ListSchemasRequest": {
3661
4179
  "fields": {
3662
- "results": {
3663
- "rule": "repeated",
3664
- "type": "SearchResult",
3665
- "id": 1
3666
- },
3667
- "facets": {
3668
- "rule": "repeated",
3669
- "type": "Facet",
3670
- "id": 2
3671
- },
3672
- "guidedSearchResult": {
3673
- "type": "GuidedSearchResult",
3674
- "id": 8
4180
+ "parent": {
4181
+ "type": "string",
4182
+ "id": 1,
4183
+ "options": {
4184
+ "(google.api.field_behavior)": "REQUIRED",
4185
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
4186
+ }
3675
4187
  },
3676
- "totalSize": {
4188
+ "pageSize": {
3677
4189
  "type": "int32",
3678
- "id": 3
3679
- },
3680
- "attributionToken": {
3681
- "type": "string",
3682
- "id": 4
4190
+ "id": 2
3683
4191
  },
3684
- "redirectUri": {
4192
+ "pageToken": {
3685
4193
  "type": "string",
3686
- "id": 12
4194
+ "id": 3
4195
+ }
4196
+ }
4197
+ },
4198
+ "ListSchemasResponse": {
4199
+ "fields": {
4200
+ "schemas": {
4201
+ "rule": "repeated",
4202
+ "type": "Schema",
4203
+ "id": 1
3687
4204
  },
3688
4205
  "nextPageToken": {
3689
4206
  "type": "string",
3690
- "id": 5
3691
- },
3692
- "correctedQuery": {
4207
+ "id": 2
4208
+ }
4209
+ }
4210
+ },
4211
+ "CreateSchemaRequest": {
4212
+ "fields": {
4213
+ "parent": {
3693
4214
  "type": "string",
3694
- "id": 7
4215
+ "id": 1,
4216
+ "options": {
4217
+ "(google.api.field_behavior)": "REQUIRED",
4218
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
4219
+ }
3695
4220
  },
3696
- "summary": {
3697
- "type": "Summary",
3698
- "id": 9
4221
+ "schema": {
4222
+ "type": "Schema",
4223
+ "id": 2,
4224
+ "options": {
4225
+ "(google.api.field_behavior)": "REQUIRED"
4226
+ }
3699
4227
  },
3700
- "appliedControls": {
3701
- "rule": "repeated",
4228
+ "schemaId": {
3702
4229
  "type": "string",
3703
- "id": 10
4230
+ "id": 3,
4231
+ "options": {
4232
+ "(google.api.field_behavior)": "REQUIRED"
4233
+ }
3704
4234
  }
3705
- },
3706
- "nested": {
3707
- "SearchResult": {
3708
- "fields": {
3709
- "id": {
3710
- "type": "string",
3711
- "id": 1
3712
- },
3713
- "document": {
3714
- "type": "Document",
3715
- "id": 2
3716
- }
4235
+ }
4236
+ },
4237
+ "UpdateSchemaRequest": {
4238
+ "fields": {
4239
+ "schema": {
4240
+ "type": "Schema",
4241
+ "id": 1,
4242
+ "options": {
4243
+ "(google.api.field_behavior)": "REQUIRED"
3717
4244
  }
3718
4245
  },
3719
- "Facet": {
3720
- "fields": {
3721
- "key": {
3722
- "type": "string",
3723
- "id": 1
3724
- },
3725
- "values": {
3726
- "rule": "repeated",
3727
- "type": "FacetValue",
3728
- "id": 2
3729
- },
3730
- "dynamicFacet": {
3731
- "type": "bool",
3732
- "id": 3
3733
- }
3734
- },
3735
- "nested": {
3736
- "FacetValue": {
3737
- "oneofs": {
3738
- "facetValue": {
3739
- "oneof": [
3740
- "value",
3741
- "interval"
3742
- ]
3743
- }
3744
- },
3745
- "fields": {
3746
- "value": {
3747
- "type": "string",
3748
- "id": 1
3749
- },
3750
- "interval": {
3751
- "type": "Interval",
3752
- "id": 2
3753
- },
3754
- "count": {
3755
- "type": "int64",
3756
- "id": 3
3757
- }
3758
- }
3759
- }
4246
+ "allowMissing": {
4247
+ "type": "bool",
4248
+ "id": 3
4249
+ }
4250
+ }
4251
+ },
4252
+ "DeleteSchemaRequest": {
4253
+ "fields": {
4254
+ "name": {
4255
+ "type": "string",
4256
+ "id": 1,
4257
+ "options": {
4258
+ "(google.api.field_behavior)": "REQUIRED",
4259
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3760
4260
  }
4261
+ }
4262
+ }
4263
+ },
4264
+ "CreateSchemaMetadata": {
4265
+ "fields": {
4266
+ "createTime": {
4267
+ "type": "google.protobuf.Timestamp",
4268
+ "id": 1
3761
4269
  },
3762
- "GuidedSearchResult": {
3763
- "fields": {
3764
- "refinementAttributes": {
3765
- "rule": "repeated",
3766
- "type": "RefinementAttribute",
3767
- "id": 1
3768
- }
3769
- },
3770
- "nested": {
3771
- "RefinementAttribute": {
3772
- "fields": {
3773
- "attributeKey": {
3774
- "type": "string",
3775
- "id": 1
3776
- },
3777
- "attributeValue": {
3778
- "type": "string",
3779
- "id": 2
3780
- }
3781
- }
3782
- }
3783
- }
4270
+ "updateTime": {
4271
+ "type": "google.protobuf.Timestamp",
4272
+ "id": 2
4273
+ }
4274
+ }
4275
+ },
4276
+ "UpdateSchemaMetadata": {
4277
+ "fields": {
4278
+ "createTime": {
4279
+ "type": "google.protobuf.Timestamp",
4280
+ "id": 1
3784
4281
  },
3785
- "Summary": {
3786
- "fields": {
3787
- "summaryText": {
3788
- "type": "string",
3789
- "id": 1
3790
- }
3791
- }
4282
+ "updateTime": {
4283
+ "type": "google.protobuf.Timestamp",
4284
+ "id": 2
4285
+ }
4286
+ }
4287
+ },
4288
+ "DeleteSchemaMetadata": {
4289
+ "fields": {
4290
+ "createTime": {
4291
+ "type": "google.protobuf.Timestamp",
4292
+ "id": 1
4293
+ },
4294
+ "updateTime": {
4295
+ "type": "google.protobuf.Timestamp",
4296
+ "id": 2
3792
4297
  }
3793
4298
  }
3794
4299
  },
@@ -5499,6 +6004,15 @@
5499
6004
  },
5500
6005
  "Empty": {
5501
6006
  "fields": {}
6007
+ },
6008
+ "FieldMask": {
6009
+ "fields": {
6010
+ "paths": {
6011
+ "rule": "repeated",
6012
+ "type": "string",
6013
+ "id": 1
6014
+ }
6015
+ }
5502
6016
  }
5503
6017
  }
5504
6018
  },