@google-cloud/discoveryengine 0.7.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 +24 -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 +15 -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 +6 -5
  8. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +2 -1
  9. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +26 -22
  10. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +193 -47
  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 +6529 -4472
  15. package/build/protos/protos.js +16561 -11622
  16. package/build/protos/protos.json +1842 -1317
  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 +106 -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 +183 -98
  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 +104 -15
  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,1364 +1988,1398 @@
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
- "options": {
2391
- "(google.api.field_behavior)": "REQUIRED"
2392
- }
2393
- },
2394
- "gcsSource": {
2395
- "type": "GcsSource",
2396
- "id": 3,
2397
- "options": {
2398
- "(google.api.field_behavior)": "REQUIRED"
2399
- }
2400
- },
2401
- "bigquerySource": {
2402
- "type": "BigQuerySource",
2403
- "id": 4,
2404
- "options": {
2405
- "(google.api.field_behavior)": "REQUIRED"
2406
- }
2407
- },
2408
- "parent": {
2421
+ "servingConfig": {
2409
2422
  "type": "string",
2410
2423
  "id": 1,
2411
2424
  "options": {
2412
2425
  "(google.api.field_behavior)": "REQUIRED",
2413
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2426
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
2414
2427
  }
2415
2428
  },
2416
- "errorConfig": {
2417
- "type": "ImportErrorConfig",
2418
- "id": 5
2419
- }
2420
- },
2421
- "nested": {
2422
- "InlineSource": {
2423
- "fields": {
2424
- "userEvents": {
2425
- "rule": "repeated",
2426
- "type": "UserEvent",
2427
- "id": 1,
2428
- "options": {
2429
- "(google.api.field_behavior)": "REQUIRED"
2430
- }
2431
- }
2429
+ "branch": {
2430
+ "type": "string",
2431
+ "id": 2,
2432
+ "options": {
2433
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2432
2434
  }
2433
- }
2434
- }
2435
- },
2436
- "ImportUserEventsResponse": {
2437
- "fields": {
2438
- "errorSamples": {
2439
- "rule": "repeated",
2440
- "type": "google.rpc.Status",
2441
- "id": 1
2442
- },
2443
- "errorConfig": {
2444
- "type": "ImportErrorConfig",
2445
- "id": 2
2446
2435
  },
2447
- "joinedEventsCount": {
2448
- "type": "int64",
2436
+ "query": {
2437
+ "type": "string",
2449
2438
  "id": 3
2450
2439
  },
2451
- "unjoinedEventsCount": {
2452
- "type": "int64",
2440
+ "imageQuery": {
2441
+ "type": "ImageQuery",
2442
+ "id": 19
2443
+ },
2444
+ "pageSize": {
2445
+ "type": "int32",
2453
2446
  "id": 4
2454
- }
2455
- }
2456
- },
2457
- "ImportUserEventsMetadata": {
2458
- "fields": {
2459
- "createTime": {
2460
- "type": "google.protobuf.Timestamp",
2461
- "id": 1
2462
2447
  },
2463
- "updateTime": {
2464
- "type": "google.protobuf.Timestamp",
2465
- "id": 2
2448
+ "pageToken": {
2449
+ "type": "string",
2450
+ "id": 5
2466
2451
  },
2467
- "successCount": {
2468
- "type": "int64",
2469
- "id": 3
2452
+ "offset": {
2453
+ "type": "int32",
2454
+ "id": 6
2470
2455
  },
2471
- "failureCount": {
2472
- "type": "int64",
2473
- "id": 4
2474
- }
2475
- }
2476
- },
2477
- "ImportDocumentsMetadata": {
2478
- "fields": {
2479
- "createTime": {
2480
- "type": "google.protobuf.Timestamp",
2481
- "id": 1
2456
+ "filter": {
2457
+ "type": "string",
2458
+ "id": 7
2482
2459
  },
2483
- "updateTime": {
2484
- "type": "google.protobuf.Timestamp",
2485
- "id": 2
2460
+ "orderBy": {
2461
+ "type": "string",
2462
+ "id": 8
2486
2463
  },
2487
- "successCount": {
2488
- "type": "int64",
2489
- "id": 3
2464
+ "userInfo": {
2465
+ "type": "UserInfo",
2466
+ "id": 21
2490
2467
  },
2491
- "failureCount": {
2492
- "type": "int64",
2493
- "id": 4
2494
- }
2495
- }
2496
- },
2497
- "ImportDocumentsRequest": {
2498
- "oneofs": {
2499
- "source": {
2500
- "oneof": [
2501
- "inlineSource",
2502
- "gcsSource",
2503
- "bigquerySource"
2504
- ]
2505
- }
2506
- },
2507
- "fields": {
2508
- "inlineSource": {
2509
- "type": "InlineSource",
2510
- "id": 2
2468
+ "facetSpecs": {
2469
+ "rule": "repeated",
2470
+ "type": "FacetSpec",
2471
+ "id": 9
2511
2472
  },
2512
- "gcsSource": {
2513
- "type": "GcsSource",
2514
- "id": 3
2473
+ "boostSpec": {
2474
+ "type": "BoostSpec",
2475
+ "id": 10
2515
2476
  },
2516
- "bigquerySource": {
2517
- "type": "BigQuerySource",
2518
- "id": 4
2477
+ "params": {
2478
+ "keyType": "string",
2479
+ "type": "google.protobuf.Value",
2480
+ "id": 11
2519
2481
  },
2520
- "parent": {
2521
- "type": "string",
2522
- "id": 1,
2523
- "options": {
2524
- "(google.api.field_behavior)": "REQUIRED",
2525
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2526
- }
2482
+ "queryExpansionSpec": {
2483
+ "type": "QueryExpansionSpec",
2484
+ "id": 13
2527
2485
  },
2528
- "errorConfig": {
2529
- "type": "ImportErrorConfig",
2530
- "id": 5
2486
+ "spellCorrectionSpec": {
2487
+ "type": "SpellCorrectionSpec",
2488
+ "id": 14
2531
2489
  },
2532
- "reconciliationMode": {
2533
- "type": "ReconciliationMode",
2534
- "id": 6
2490
+ "userPseudoId": {
2491
+ "type": "string",
2492
+ "id": 15
2535
2493
  },
2536
- "autoGenerateIds": {
2494
+ "contentSearchSpec": {
2495
+ "type": "ContentSearchSpec",
2496
+ "id": 24
2497
+ },
2498
+ "safeSearch": {
2537
2499
  "type": "bool",
2538
- "id": 8
2500
+ "id": 20
2539
2501
  },
2540
- "idField": {
2502
+ "userLabels": {
2503
+ "keyType": "string",
2541
2504
  "type": "string",
2542
- "id": 9
2505
+ "id": 22
2543
2506
  }
2544
2507
  },
2545
2508
  "nested": {
2546
- "InlineSource": {
2509
+ "ImageQuery": {
2510
+ "oneofs": {
2511
+ "image": {
2512
+ "oneof": [
2513
+ "imageBytes"
2514
+ ]
2515
+ }
2516
+ },
2547
2517
  "fields": {
2548
- "documents": {
2549
- "rule": "repeated",
2550
- "type": "Document",
2518
+ "imageBytes": {
2519
+ "type": "string",
2520
+ "id": 1
2521
+ }
2522
+ }
2523
+ },
2524
+ "FacetSpec": {
2525
+ "fields": {
2526
+ "facetKey": {
2527
+ "type": "FacetKey",
2551
2528
  "id": 1,
2552
2529
  "options": {
2553
2530
  "(google.api.field_behavior)": "REQUIRED"
2554
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
+ }
2555
2586
  }
2556
2587
  }
2557
2588
  },
2558
- "ReconciliationMode": {
2559
- "values": {
2560
- "RECONCILIATION_MODE_UNSPECIFIED": 0,
2561
- "INCREMENTAL": 1,
2562
- "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
+ }
2563
2610
  }
2564
- }
2565
- }
2566
- },
2567
- "ImportDocumentsResponse": {
2568
- "fields": {
2569
- "errorSamples": {
2570
- "rule": "repeated",
2571
- "type": "google.rpc.Status",
2572
- "id": 1
2573
2611
  },
2574
- "errorConfig": {
2575
- "type": "ImportErrorConfig",
2576
- "id": 2
2577
- }
2578
- }
2579
- },
2580
- "UserEvent": {
2581
- "fields": {
2582
- "eventType": {
2583
- "type": "string",
2584
- "id": 1,
2585
- "options": {
2586
- "(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
+ }
2587
2627
  }
2588
2628
  },
2589
- "userPseudoId": {
2590
- "type": "string",
2591
- "id": 2,
2592
- "options": {
2593
- "(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
+ }
2594
2644
  }
2595
2645
  },
2596
- "eventTime": {
2597
- "type": "google.protobuf.Timestamp",
2598
- "id": 3
2599
- },
2600
- "userInfo": {
2601
- "type": "UserInfo",
2602
- "id": 4
2603
- },
2604
- "directUserRequest": {
2605
- "type": "bool",
2606
- "id": 5
2607
- },
2608
- "sessionId": {
2609
- "type": "string",
2610
- "id": 6
2611
- },
2612
- "pageInfo": {
2613
- "type": "PageInfo",
2614
- "id": 7
2615
- },
2616
- "attributionToken": {
2617
- "type": "string",
2618
- "id": 8
2619
- },
2620
- "filter": {
2621
- "type": "string",
2622
- "id": 9
2623
- },
2624
- "documents": {
2625
- "rule": "repeated",
2626
- "type": "DocumentInfo",
2627
- "id": 10
2628
- },
2629
- "panel": {
2630
- "type": "PanelInfo",
2631
- "id": 11
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
+ }
2717
+ }
2718
+ }
2719
+ },
2720
+ "SearchResponse": {
2721
+ "fields": {
2722
+ "results": {
2723
+ "rule": "repeated",
2724
+ "type": "SearchResult",
2725
+ "id": 1
2632
2726
  },
2633
- "searchInfo": {
2634
- "type": "SearchInfo",
2635
- "id": 12
2727
+ "facets": {
2728
+ "rule": "repeated",
2729
+ "type": "Facet",
2730
+ "id": 2
2636
2731
  },
2637
- "completionInfo": {
2638
- "type": "CompletionInfo",
2639
- "id": 13
2732
+ "guidedSearchResult": {
2733
+ "type": "GuidedSearchResult",
2734
+ "id": 8
2640
2735
  },
2641
- "transactionInfo": {
2642
- "type": "TransactionInfo",
2643
- "id": 14
2736
+ "totalSize": {
2737
+ "type": "int32",
2738
+ "id": 3
2644
2739
  },
2645
- "tagIds": {
2646
- "rule": "repeated",
2740
+ "attributionToken": {
2647
2741
  "type": "string",
2648
- "id": 15
2742
+ "id": 4
2649
2743
  },
2650
- "promotionIds": {
2651
- "rule": "repeated",
2744
+ "redirectUri": {
2652
2745
  "type": "string",
2653
- "id": 16
2654
- },
2655
- "attributes": {
2656
- "keyType": "string",
2657
- "type": "CustomAttribute",
2658
- "id": 17
2746
+ "id": 12
2659
2747
  },
2660
- "mediaInfo": {
2661
- "type": "MediaInfo",
2662
- "id": 18
2663
- }
2664
- }
2665
- },
2666
- "PageInfo": {
2667
- "fields": {
2668
- "pageviewId": {
2748
+ "nextPageToken": {
2669
2749
  "type": "string",
2670
- "id": 1
2750
+ "id": 5
2671
2751
  },
2672
- "pageCategory": {
2752
+ "correctedQuery": {
2673
2753
  "type": "string",
2674
- "id": 2
2754
+ "id": 7
2675
2755
  },
2676
- "uri": {
2677
- "type": "string",
2678
- "id": 3
2756
+ "summary": {
2757
+ "type": "Summary",
2758
+ "id": 9
2679
2759
  },
2680
- "referrerUri": {
2760
+ "appliedControls": {
2761
+ "rule": "repeated",
2681
2762
  "type": "string",
2682
- "id": 4
2763
+ "id": 10
2764
+ }
2765
+ },
2766
+ "nested": {
2767
+ "SearchResult": {
2768
+ "fields": {
2769
+ "id": {
2770
+ "type": "string",
2771
+ "id": 1
2772
+ },
2773
+ "document": {
2774
+ "type": "Document",
2775
+ "id": 2
2776
+ }
2777
+ }
2778
+ },
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
+ }
2820
+ }
2821
+ },
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
+ }
2848
+ }
2849
+ },
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
+ }
2871
+ }
2683
2872
  }
2684
2873
  }
2685
2874
  },
2686
- "SearchInfo": {
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
+ },
2687
2880
  "oneofs": {
2688
- "_offset": {
2881
+ "data": {
2689
2882
  "oneof": [
2690
- "offset"
2883
+ "structData",
2884
+ "jsonData"
2691
2885
  ]
2692
2886
  }
2693
2887
  },
2694
2888
  "fields": {
2695
- "searchQuery": {
2696
- "type": "string",
2697
- "id": 1
2889
+ "structData": {
2890
+ "type": "google.protobuf.Struct",
2891
+ "id": 4
2698
2892
  },
2699
- "orderBy": {
2893
+ "jsonData": {
2700
2894
  "type": "string",
2701
- "id": 2
2895
+ "id": 5
2702
2896
  },
2703
- "offset": {
2704
- "type": "int32",
2705
- "id": 3,
2706
- "options": {
2707
- "proto3_optional": true
2708
- }
2709
- }
2710
- }
2711
- },
2712
- "CompletionInfo": {
2713
- "fields": {
2714
- "selectedSuggestion": {
2897
+ "name": {
2715
2898
  "type": "string",
2716
- "id": 1
2717
- },
2718
- "selectedPosition": {
2719
- "type": "int32",
2720
- "id": 2
2721
- }
2722
- }
2723
- },
2724
- "TransactionInfo": {
2725
- "oneofs": {
2726
- "_value": {
2727
- "oneof": [
2728
- "value"
2729
- ]
2730
- },
2731
- "_tax": {
2732
- "oneof": [
2733
- "tax"
2734
- ]
2735
- },
2736
- "_cost": {
2737
- "oneof": [
2738
- "cost"
2739
- ]
2740
- },
2741
- "_discountValue": {
2742
- "oneof": [
2743
- "discountValue"
2744
- ]
2745
- }
2746
- },
2747
- "fields": {
2748
- "value": {
2749
- "type": "float",
2750
2899
  "id": 1,
2751
2900
  "options": {
2752
- "(google.api.field_behavior)": "REQUIRED",
2753
- "proto3_optional": true
2901
+ "(google.api.field_behavior)": "IMMUTABLE"
2754
2902
  }
2755
2903
  },
2756
- "currency": {
2904
+ "id": {
2757
2905
  "type": "string",
2758
2906
  "id": 2,
2759
2907
  "options": {
2760
- "(google.api.field_behavior)": "REQUIRED"
2908
+ "(google.api.field_behavior)": "IMMUTABLE"
2761
2909
  }
2762
2910
  },
2763
- "transactionId": {
2911
+ "schemaId": {
2764
2912
  "type": "string",
2765
2913
  "id": 3
2766
2914
  },
2767
- "tax": {
2768
- "type": "float",
2769
- "id": 4,
2770
- "options": {
2771
- "proto3_optional": true
2772
- }
2915
+ "content": {
2916
+ "type": "Content",
2917
+ "id": 10
2773
2918
  },
2774
- "cost": {
2775
- "type": "float",
2776
- "id": 5,
2777
- "options": {
2778
- "proto3_optional": true
2779
- }
2919
+ "parentDocumentId": {
2920
+ "type": "string",
2921
+ "id": 7
2780
2922
  },
2781
- "discountValue": {
2782
- "type": "float",
2923
+ "derivedStructData": {
2924
+ "type": "google.protobuf.Struct",
2783
2925
  "id": 6,
2784
2926
  "options": {
2785
- "proto3_optional": true
2927
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2786
2928
  }
2787
2929
  }
2788
- }
2789
- },
2790
- "DocumentInfo": {
2791
- "oneofs": {
2792
- "documentDescriptor": {
2793
- "oneof": [
2794
- "id",
2795
- "name"
2796
- ]
2797
- },
2798
- "_quantity": {
2799
- "oneof": [
2800
- "quantity"
2801
- ]
2802
- }
2803
2930
  },
2804
- "fields": {
2805
- "id": {
2806
- "type": "string",
2807
- "id": 1,
2808
- "options": {
2809
- "(google.api.field_behavior)": "REQUIRED"
2810
- }
2811
- },
2812
- "name": {
2813
- "type": "string",
2814
- "id": 2,
2815
- "options": {
2816
- "(google.api.field_behavior)": "REQUIRED",
2817
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2818
- }
2819
- },
2820
- "quantity": {
2821
- "type": "int32",
2822
- "id": 3,
2823
- "options": {
2824
- "proto3_optional": true
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
+ }
2825
2954
  }
2826
- },
2827
- "promotionIds": {
2828
- "rule": "repeated",
2829
- "type": "string",
2830
- "id": 4
2831
2955
  }
2832
2956
  }
2833
2957
  },
2834
- "PanelInfo": {
2835
- "oneofs": {
2836
- "_panelPosition": {
2837
- "oneof": [
2838
- "panelPosition"
2839
- ]
2840
- },
2841
- "_totalPanels": {
2842
- "oneof": [
2843
- "totalPanels"
2844
- ]
2845
- }
2958
+ "DocumentService": {
2959
+ "options": {
2960
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
2961
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2846
2962
  },
2847
- "fields": {
2848
- "panelId": {
2849
- "type": "string",
2850
- "id": 2,
2963
+ "methods": {
2964
+ "GetDocument": {
2965
+ "requestType": "GetDocumentRequest",
2966
+ "responseType": "Document",
2851
2967
  "options": {
2852
- "(google.api.field_behavior)": "REQUIRED"
2853
- }
2854
- },
2855
- "displayName": {
2856
- "type": "string",
2857
- "id": 3
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"
2971
+ },
2972
+ "parsedOptions": [
2973
+ {
2974
+ "(google.api.http)": {
2975
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
2976
+ "additional_bindings": {
2977
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
2978
+ }
2979
+ }
2980
+ },
2981
+ {
2982
+ "(google.api.method_signature)": "name"
2983
+ }
2984
+ ]
2858
2985
  },
2859
- "panelPosition": {
2860
- "type": "int32",
2861
- "id": 4,
2986
+ "ListDocuments": {
2987
+ "requestType": "ListDocumentsRequest",
2988
+ "responseType": "ListDocumentsResponse",
2862
2989
  "options": {
2863
- "proto3_optional": true
2864
- }
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"
2993
+ },
2994
+ "parsedOptions": [
2995
+ {
2996
+ "(google.api.http)": {
2997
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
2998
+ "additional_bindings": {
2999
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
3000
+ }
3001
+ }
3002
+ },
3003
+ {
3004
+ "(google.api.method_signature)": "parent"
3005
+ }
3006
+ ]
2865
3007
  },
2866
- "totalPanels": {
2867
- "type": "int32",
2868
- "id": 5,
3008
+ "CreateDocument": {
3009
+ "requestType": "CreateDocumentRequest",
3010
+ "responseType": "Document",
2869
3011
  "options": {
2870
- "proto3_optional": true
2871
- }
2872
- }
2873
- }
2874
- },
2875
- "MediaInfo": {
2876
- "oneofs": {
2877
- "_mediaProgressPercentage": {
2878
- "oneof": [
2879
- "mediaProgressPercentage"
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"
3017
+ },
3018
+ "parsedOptions": [
3019
+ {
3020
+ "(google.api.http)": {
3021
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
3022
+ "body": "document",
3023
+ "additional_bindings": {
3024
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
3025
+ "body": "document"
3026
+ }
3027
+ }
3028
+ },
3029
+ {
3030
+ "(google.api.method_signature)": "parent,document,document_id"
3031
+ }
2880
3032
  ]
2881
- }
2882
- },
2883
- "fields": {
2884
- "mediaProgressDuration": {
2885
- "type": "google.protobuf.Duration",
2886
- "id": 1
2887
3033
  },
2888
- "mediaProgressPercentage": {
2889
- "type": "float",
2890
- "id": 2,
2891
- "options": {
2892
- "proto3_optional": true
2893
- }
2894
- }
2895
- }
2896
- },
2897
- "PurgeDocumentsRequest": {
2898
- "fields": {
2899
- "parent": {
2900
- "type": "string",
2901
- "id": 1,
3034
+ "UpdateDocument": {
3035
+ "requestType": "UpdateDocumentRequest",
3036
+ "responseType": "Document",
2902
3037
  "options": {
2903
- "(google.api.field_behavior)": "REQUIRED",
2904
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2905
- }
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"
3042
+ },
3043
+ "parsedOptions": [
3044
+ {
3045
+ "(google.api.http)": {
3046
+ "patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3047
+ "body": "document",
3048
+ "additional_bindings": {
3049
+ "patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
3050
+ "body": "document"
3051
+ }
3052
+ }
3053
+ }
3054
+ ]
2906
3055
  },
2907
- "filter": {
2908
- "type": "string",
2909
- "id": 2,
3056
+ "DeleteDocument": {
3057
+ "requestType": "DeleteDocumentRequest",
3058
+ "responseType": "google.protobuf.Empty",
2910
3059
  "options": {
2911
- "(google.api.field_behavior)": "REQUIRED"
2912
- }
2913
- },
2914
- "force": {
2915
- "type": "bool",
2916
- "id": 3
2917
- }
2918
- }
2919
- },
2920
- "PurgeDocumentsResponse": {
2921
- "fields": {
2922
- "purgeCount": {
2923
- "type": "int64",
2924
- "id": 1
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"
3063
+ },
3064
+ "parsedOptions": [
3065
+ {
3066
+ "(google.api.http)": {
3067
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
3068
+ "additional_bindings": {
3069
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
3070
+ }
3071
+ }
3072
+ },
3073
+ {
3074
+ "(google.api.method_signature)": "name"
3075
+ }
3076
+ ]
2925
3077
  },
2926
- "purgeSample": {
2927
- "rule": "repeated",
2928
- "type": "string",
2929
- "id": 2,
3078
+ "ImportDocuments": {
3079
+ "requestType": "ImportDocumentsRequest",
3080
+ "responseType": "google.longrunning.Operation",
2930
3081
  "options": {
2931
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2932
- }
2933
- }
2934
- }
2935
- },
2936
- "PurgeDocumentsMetadata": {
2937
- "fields": {
2938
- "createTime": {
2939
- "type": "google.protobuf.Timestamp",
2940
- "id": 1
2941
- },
2942
- "updateTime": {
2943
- "type": "google.protobuf.Timestamp",
2944
- "id": 2
2945
- },
2946
- "successCount": {
2947
- "type": "int64",
2948
- "id": 3
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"
3088
+ },
3089
+ "parsedOptions": [
3090
+ {
3091
+ "(google.api.http)": {
3092
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
3093
+ "body": "*",
3094
+ "additional_bindings": {
3095
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
3096
+ "body": "*"
3097
+ }
3098
+ }
3099
+ },
3100
+ {
3101
+ "(google.longrunning.operation_info)": {
3102
+ "response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
3103
+ "metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
3104
+ }
3105
+ }
3106
+ ]
2949
3107
  },
2950
- "failureCount": {
2951
- "type": "int64",
2952
- "id": 4
2953
- }
2954
- }
2955
- },
2956
- "RecommendationService": {
2957
- "options": {
2958
- "(google.api.default_host)": "discoveryengine.googleapis.com",
2959
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2960
- },
2961
- "methods": {
2962
- "Recommend": {
2963
- "requestType": "RecommendRequest",
2964
- "responseType": "RecommendResponse",
3108
+ "PurgeDocuments": {
3109
+ "requestType": "PurgeDocumentsRequest",
3110
+ "responseType": "google.longrunning.Operation",
2965
3111
  "options": {
2966
- "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
3112
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
2967
3113
  "(google.api.http).body": "*",
2968
- "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
2969
- "(google.api.http).additional_bindings.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"
2970
3118
  },
2971
3119
  "parsedOptions": [
2972
3120
  {
2973
3121
  "(google.api.http)": {
2974
- "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
3122
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
2975
3123
  "body": "*",
2976
3124
  "additional_bindings": {
2977
- "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
3125
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
2978
3126
  "body": "*"
2979
3127
  }
2980
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
+ }
2981
3135
  }
2982
3136
  ]
2983
3137
  }
2984
3138
  }
2985
3139
  },
2986
- "RecommendRequest": {
3140
+ "GetDocumentRequest": {
2987
3141
  "fields": {
2988
- "servingConfig": {
3142
+ "name": {
2989
3143
  "type": "string",
2990
3144
  "id": 1,
2991
3145
  "options": {
2992
3146
  "(google.api.field_behavior)": "REQUIRED",
2993
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
3147
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2994
3148
  }
2995
- },
2996
- "userEvent": {
2997
- "type": "UserEvent",
2998
- "id": 2,
3149
+ }
3150
+ }
3151
+ },
3152
+ "ListDocumentsRequest": {
3153
+ "fields": {
3154
+ "parent": {
3155
+ "type": "string",
3156
+ "id": 1,
2999
3157
  "options": {
3000
- "(google.api.field_behavior)": "REQUIRED"
3158
+ "(google.api.field_behavior)": "REQUIRED",
3159
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3001
3160
  }
3002
3161
  },
3003
3162
  "pageSize": {
3004
3163
  "type": "int32",
3005
- "id": 3
3006
- },
3007
- "filter": {
3008
- "type": "string",
3009
- "id": 4
3010
- },
3011
- "validateOnly": {
3012
- "type": "bool",
3013
- "id": 5
3014
- },
3015
- "params": {
3016
- "keyType": "string",
3017
- "type": "google.protobuf.Value",
3018
- "id": 6
3164
+ "id": 2
3019
3165
  },
3020
- "userLabels": {
3021
- "keyType": "string",
3166
+ "pageToken": {
3022
3167
  "type": "string",
3023
- "id": 8
3168
+ "id": 3
3024
3169
  }
3025
3170
  }
3026
3171
  },
3027
- "RecommendResponse": {
3172
+ "ListDocumentsResponse": {
3028
3173
  "fields": {
3029
- "results": {
3174
+ "documents": {
3030
3175
  "rule": "repeated",
3031
- "type": "RecommendationResult",
3176
+ "type": "Document",
3032
3177
  "id": 1
3033
3178
  },
3034
- "attributionToken": {
3179
+ "nextPageToken": {
3035
3180
  "type": "string",
3036
3181
  "id": 2
3182
+ }
3183
+ }
3184
+ },
3185
+ "CreateDocumentRequest": {
3186
+ "fields": {
3187
+ "parent": {
3188
+ "type": "string",
3189
+ "id": 1,
3190
+ "options": {
3191
+ "(google.api.field_behavior)": "REQUIRED",
3192
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3193
+ }
3037
3194
  },
3038
- "missingIds": {
3039
- "rule": "repeated",
3195
+ "document": {
3196
+ "type": "Document",
3197
+ "id": 2,
3198
+ "options": {
3199
+ "(google.api.field_behavior)": "REQUIRED"
3200
+ }
3201
+ },
3202
+ "documentId": {
3040
3203
  "type": "string",
3041
- "id": 3
3204
+ "id": 3,
3205
+ "options": {
3206
+ "(google.api.field_behavior)": "REQUIRED"
3207
+ }
3208
+ }
3209
+ }
3210
+ },
3211
+ "UpdateDocumentRequest": {
3212
+ "fields": {
3213
+ "document": {
3214
+ "type": "Document",
3215
+ "id": 1,
3216
+ "options": {
3217
+ "(google.api.field_behavior)": "REQUIRED"
3218
+ }
3042
3219
  },
3043
- "validateOnly": {
3220
+ "allowMissing": {
3044
3221
  "type": "bool",
3045
- "id": 4
3046
- }
3047
- },
3048
- "nested": {
3049
- "RecommendationResult": {
3050
- "fields": {
3051
- "id": {
3052
- "type": "string",
3053
- "id": 1
3054
- },
3055
- "document": {
3056
- "type": "Document",
3057
- "id": 2
3058
- },
3059
- "metadata": {
3060
- "keyType": "string",
3061
- "type": "google.protobuf.Value",
3062
- "id": 3
3063
- }
3064
- }
3065
- }
3066
- }
3067
- },
3068
- "Schema": {
3069
- "options": {
3070
- "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
3071
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
3072
- },
3073
- "oneofs": {
3074
- "schema": {
3075
- "oneof": [
3076
- "structSchema",
3077
- "jsonSchema"
3078
- ]
3079
- }
3080
- },
3081
- "fields": {
3082
- "structSchema": {
3083
- "type": "google.protobuf.Struct",
3084
- "id": 2
3085
- },
3086
- "jsonSchema": {
3087
- "type": "string",
3088
- "id": 3
3089
- },
3090
- "name": {
3091
- "type": "string",
3092
- "id": 1,
3093
- "options": {
3094
- "(google.api.field_behavior)": "IMMUTABLE"
3095
- }
3096
- }
3097
- }
3098
- },
3099
- "SchemaService": {
3100
- "options": {
3101
- "(google.api.default_host)": "discoveryengine.googleapis.com",
3102
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3103
- },
3104
- "methods": {
3105
- "GetSchema": {
3106
- "requestType": "GetSchemaRequest",
3107
- "responseType": "Schema",
3108
- "options": {
3109
- "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3110
- "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3111
- "(google.api.method_signature)": "name"
3112
- },
3113
- "parsedOptions": [
3114
- {
3115
- "(google.api.http)": {
3116
- "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3117
- "additional_bindings": {
3118
- "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
3119
- }
3120
- }
3121
- },
3122
- {
3123
- "(google.api.method_signature)": "name"
3124
- }
3125
- ]
3126
- },
3127
- "ListSchemas": {
3128
- "requestType": "ListSchemasRequest",
3129
- "responseType": "ListSchemasResponse",
3130
- "options": {
3131
- "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3132
- "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3133
- "(google.api.method_signature)": "parent"
3134
- },
3135
- "parsedOptions": [
3136
- {
3137
- "(google.api.http)": {
3138
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3139
- "additional_bindings": {
3140
- "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
3141
- }
3142
- }
3143
- },
3144
- {
3145
- "(google.api.method_signature)": "parent"
3146
- }
3147
- ]
3148
- },
3149
- "CreateSchema": {
3150
- "requestType": "CreateSchemaRequest",
3151
- "responseType": "google.longrunning.Operation",
3152
- "options": {
3153
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3154
- "(google.api.http).body": "schema",
3155
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3156
- "(google.api.http).additional_bindings.body": "schema",
3157
- "(google.api.method_signature)": "parent,schema,schema_id",
3158
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
3159
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
3160
- },
3161
- "parsedOptions": [
3162
- {
3163
- "(google.api.http)": {
3164
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas",
3165
- "body": "schema",
3166
- "additional_bindings": {
3167
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
3168
- "body": "schema"
3169
- }
3170
- }
3171
- },
3172
- {
3173
- "(google.api.method_signature)": "parent,schema,schema_id"
3174
- },
3175
- {
3176
- "(google.longrunning.operation_info)": {
3177
- "response_type": "google.cloud.discoveryengine.v1beta.Schema",
3178
- "metadata_type": "google.cloud.discoveryengine.v1beta.CreateSchemaMetadata"
3179
- }
3180
- }
3181
- ]
3182
- },
3183
- "UpdateSchema": {
3184
- "requestType": "UpdateSchemaRequest",
3185
- "responseType": "google.longrunning.Operation",
3186
- "options": {
3187
- "(google.api.http).patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
3188
- "(google.api.http).body": "schema",
3189
- "(google.api.http).additional_bindings.patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3190
- "(google.api.http).additional_bindings.body": "schema",
3191
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.Schema",
3192
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
3193
- },
3194
- "parsedOptions": [
3195
- {
3196
- "(google.api.http)": {
3197
- "patch": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
3198
- "body": "schema",
3199
- "additional_bindings": {
3200
- "patch": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3201
- "body": "schema"
3202
- }
3203
- }
3204
- },
3205
- {
3206
- "(google.longrunning.operation_info)": {
3207
- "response_type": "google.cloud.discoveryengine.v1beta.Schema",
3208
- "metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
3209
- }
3210
- }
3211
- ]
3212
- },
3213
- "DeleteSchema": {
3214
- "requestType": "DeleteSchemaRequest",
3215
- "responseType": "google.longrunning.Operation",
3216
- "options": {
3217
- "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3218
- "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
3219
- "(google.api.method_signature)": "name",
3220
- "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
3221
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
3222
- },
3223
- "parsedOptions": [
3224
- {
3225
- "(google.api.http)": {
3226
- "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}",
3227
- "additional_bindings": {
3228
- "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
3229
- }
3230
- }
3231
- },
3232
- {
3233
- "(google.api.method_signature)": "name"
3234
- },
3235
- {
3236
- "(google.longrunning.operation_info)": {
3237
- "response_type": "google.protobuf.Empty",
3238
- "metadata_type": "google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata"
3239
- }
3240
- }
3241
- ]
3222
+ "id": 2
3242
3223
  }
3243
3224
  }
3244
3225
  },
3245
- "GetSchemaRequest": {
3226
+ "DeleteDocumentRequest": {
3246
3227
  "fields": {
3247
3228
  "name": {
3248
3229
  "type": "string",
3249
3230
  "id": 1,
3250
3231
  "options": {
3251
3232
  "(google.api.field_behavior)": "REQUIRED",
3252
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3233
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3253
3234
  }
3254
3235
  }
3255
3236
  }
3256
3237
  },
3257
- "ListSchemasRequest": {
3238
+ "GcsSource": {
3258
3239
  "fields": {
3259
- "parent": {
3240
+ "inputUris": {
3241
+ "rule": "repeated",
3260
3242
  "type": "string",
3261
3243
  "id": 1,
3262
3244
  "options": {
3263
- "(google.api.field_behavior)": "REQUIRED",
3264
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3245
+ "(google.api.field_behavior)": "REQUIRED"
3265
3246
  }
3266
3247
  },
3267
- "pageSize": {
3268
- "type": "int32",
3269
- "id": 2
3270
- },
3271
- "pageToken": {
3272
- "type": "string",
3273
- "id": 3
3274
- }
3275
- }
3276
- },
3277
- "ListSchemasResponse": {
3278
- "fields": {
3279
- "schemas": {
3280
- "rule": "repeated",
3281
- "type": "Schema",
3282
- "id": 1
3283
- },
3284
- "nextPageToken": {
3248
+ "dataSchema": {
3285
3249
  "type": "string",
3286
3250
  "id": 2
3287
3251
  }
3288
3252
  }
3289
3253
  },
3290
- "CreateSchemaRequest": {
3254
+ "BigQuerySource": {
3255
+ "oneofs": {
3256
+ "partition": {
3257
+ "oneof": [
3258
+ "partitionDate"
3259
+ ]
3260
+ }
3261
+ },
3291
3262
  "fields": {
3292
- "parent": {
3263
+ "partitionDate": {
3264
+ "type": "google.type.Date",
3265
+ "id": 5
3266
+ },
3267
+ "projectId": {
3293
3268
  "type": "string",
3294
- "id": 1,
3295
- "options": {
3296
- "(google.api.field_behavior)": "REQUIRED",
3297
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3298
- }
3269
+ "id": 1
3299
3270
  },
3300
- "schema": {
3301
- "type": "Schema",
3271
+ "datasetId": {
3272
+ "type": "string",
3302
3273
  "id": 2,
3303
3274
  "options": {
3304
3275
  "(google.api.field_behavior)": "REQUIRED"
3305
3276
  }
3306
3277
  },
3307
- "schemaId": {
3278
+ "tableId": {
3308
3279
  "type": "string",
3309
3280
  "id": 3,
3310
3281
  "options": {
3311
3282
  "(google.api.field_behavior)": "REQUIRED"
3312
3283
  }
3313
- }
3314
- }
3315
- },
3316
- "UpdateSchemaRequest": {
3317
- "fields": {
3318
- "schema": {
3319
- "type": "Schema",
3320
- "id": 1,
3321
- "options": {
3322
- "(google.api.field_behavior)": "REQUIRED"
3323
- }
3324
3284
  },
3325
- "allowMissing": {
3326
- "type": "bool",
3327
- "id": 3
3285
+ "gcsStagingDir": {
3286
+ "type": "string",
3287
+ "id": 4
3288
+ },
3289
+ "dataSchema": {
3290
+ "type": "string",
3291
+ "id": 6
3328
3292
  }
3329
3293
  }
3330
3294
  },
3331
- "DeleteSchemaRequest": {
3295
+ "ImportErrorConfig": {
3296
+ "oneofs": {
3297
+ "destination": {
3298
+ "oneof": [
3299
+ "gcsPrefix"
3300
+ ]
3301
+ }
3302
+ },
3332
3303
  "fields": {
3333
- "name": {
3304
+ "gcsPrefix": {
3305
+ "type": "string",
3306
+ "id": 1
3307
+ }
3308
+ }
3309
+ },
3310
+ "ImportUserEventsRequest": {
3311
+ "oneofs": {
3312
+ "source": {
3313
+ "oneof": [
3314
+ "inlineSource",
3315
+ "gcsSource",
3316
+ "bigquerySource"
3317
+ ]
3318
+ }
3319
+ },
3320
+ "fields": {
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": {
3334
3334
  "type": "string",
3335
3335
  "id": 1,
3336
3336
  "options": {
3337
3337
  "(google.api.field_behavior)": "REQUIRED",
3338
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
3338
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3339
+ }
3340
+ },
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
+ }
3339
3357
  }
3340
3358
  }
3341
3359
  }
3342
3360
  },
3343
- "CreateSchemaMetadata": {
3361
+ "ImportUserEventsResponse": {
3344
3362
  "fields": {
3345
- "createTime": {
3346
- "type": "google.protobuf.Timestamp",
3363
+ "errorSamples": {
3364
+ "rule": "repeated",
3365
+ "type": "google.rpc.Status",
3347
3366
  "id": 1
3348
3367
  },
3349
- "updateTime": {
3350
- "type": "google.protobuf.Timestamp",
3368
+ "errorConfig": {
3369
+ "type": "ImportErrorConfig",
3351
3370
  "id": 2
3371
+ },
3372
+ "joinedEventsCount": {
3373
+ "type": "int64",
3374
+ "id": 3
3375
+ },
3376
+ "unjoinedEventsCount": {
3377
+ "type": "int64",
3378
+ "id": 4
3352
3379
  }
3353
3380
  }
3354
3381
  },
3355
- "UpdateSchemaMetadata": {
3382
+ "ImportUserEventsMetadata": {
3356
3383
  "fields": {
3357
3384
  "createTime": {
3358
3385
  "type": "google.protobuf.Timestamp",
@@ -3361,10 +3388,18 @@
3361
3388
  "updateTime": {
3362
3389
  "type": "google.protobuf.Timestamp",
3363
3390
  "id": 2
3391
+ },
3392
+ "successCount": {
3393
+ "type": "int64",
3394
+ "id": 3
3395
+ },
3396
+ "failureCount": {
3397
+ "type": "int64",
3398
+ "id": 4
3364
3399
  }
3365
3400
  }
3366
3401
  },
3367
- "DeleteSchemaMetadata": {
3402
+ "ImportDocumentsMetadata": {
3368
3403
  "fields": {
3369
3404
  "createTime": {
3370
3405
  "type": "google.protobuf.Timestamp",
@@ -3373,411 +3408,892 @@
3373
3408
  "updateTime": {
3374
3409
  "type": "google.protobuf.Timestamp",
3375
3410
  "id": 2
3411
+ },
3412
+ "successCount": {
3413
+ "type": "int64",
3414
+ "id": 3
3415
+ },
3416
+ "failureCount": {
3417
+ "type": "int64",
3418
+ "id": 4
3376
3419
  }
3377
3420
  }
3378
3421
  },
3379
- "SearchService": {
3380
- "options": {
3381
- "(google.api.default_host)": "discoveryengine.googleapis.com",
3382
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3422
+ "ImportDocumentsRequest": {
3423
+ "oneofs": {
3424
+ "source": {
3425
+ "oneof": [
3426
+ "inlineSource",
3427
+ "gcsSource",
3428
+ "bigquerySource"
3429
+ ]
3430
+ }
3383
3431
  },
3384
- "methods": {
3385
- "Search": {
3386
- "requestType": "SearchRequest",
3387
- "responseType": "SearchResponse",
3432
+ "fields": {
3433
+ "inlineSource": {
3434
+ "type": "InlineSource",
3435
+ "id": 2
3436
+ },
3437
+ "gcsSource": {
3438
+ "type": "GcsSource",
3439
+ "id": 3
3440
+ },
3441
+ "bigquerySource": {
3442
+ "type": "BigQuerySource",
3443
+ "id": 4
3444
+ },
3445
+ "parent": {
3446
+ "type": "string",
3447
+ "id": 1,
3388
3448
  "options": {
3389
- "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
3390
- "(google.api.http).body": "*",
3391
- "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
3392
- "(google.api.http).additional_bindings.body": "*"
3393
- },
3394
- "parsedOptions": [
3395
- {
3396
- "(google.api.http)": {
3397
- "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
3398
- "body": "*",
3399
- "additional_bindings": {
3400
- "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
3401
- "body": "*"
3402
- }
3449
+ "(google.api.field_behavior)": "REQUIRED",
3450
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3451
+ }
3452
+ },
3453
+ "errorConfig": {
3454
+ "type": "ImportErrorConfig",
3455
+ "id": 5
3456
+ },
3457
+ "reconciliationMode": {
3458
+ "type": "ReconciliationMode",
3459
+ "id": 6
3460
+ },
3461
+ "autoGenerateIds": {
3462
+ "type": "bool",
3463
+ "id": 8
3464
+ },
3465
+ "idField": {
3466
+ "type": "string",
3467
+ "id": 9
3468
+ }
3469
+ },
3470
+ "nested": {
3471
+ "InlineSource": {
3472
+ "fields": {
3473
+ "documents": {
3474
+ "rule": "repeated",
3475
+ "type": "Document",
3476
+ "id": 1,
3477
+ "options": {
3478
+ "(google.api.field_behavior)": "REQUIRED"
3403
3479
  }
3404
3480
  }
3405
- ]
3481
+ }
3482
+ },
3483
+ "ReconciliationMode": {
3484
+ "values": {
3485
+ "RECONCILIATION_MODE_UNSPECIFIED": 0,
3486
+ "INCREMENTAL": 1,
3487
+ "FULL": 2
3488
+ }
3406
3489
  }
3407
3490
  }
3408
3491
  },
3409
- "SearchRequest": {
3492
+ "ImportDocumentsResponse": {
3410
3493
  "fields": {
3411
- "servingConfig": {
3494
+ "errorSamples": {
3495
+ "rule": "repeated",
3496
+ "type": "google.rpc.Status",
3497
+ "id": 1
3498
+ },
3499
+ "errorConfig": {
3500
+ "type": "ImportErrorConfig",
3501
+ "id": 2
3502
+ }
3503
+ }
3504
+ },
3505
+ "UserEvent": {
3506
+ "fields": {
3507
+ "eventType": {
3412
3508
  "type": "string",
3413
3509
  "id": 1,
3414
3510
  "options": {
3415
- "(google.api.field_behavior)": "REQUIRED",
3416
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
3511
+ "(google.api.field_behavior)": "REQUIRED"
3417
3512
  }
3418
3513
  },
3419
- "branch": {
3514
+ "userPseudoId": {
3420
3515
  "type": "string",
3421
3516
  "id": 2,
3422
3517
  "options": {
3423
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
3518
+ "(google.api.field_behavior)": "REQUIRED"
3424
3519
  }
3425
3520
  },
3426
- "query": {
3427
- "type": "string",
3521
+ "eventTime": {
3522
+ "type": "google.protobuf.Timestamp",
3428
3523
  "id": 3
3429
3524
  },
3430
- "pageSize": {
3431
- "type": "int32",
3525
+ "userInfo": {
3526
+ "type": "UserInfo",
3432
3527
  "id": 4
3433
3528
  },
3434
- "pageToken": {
3435
- "type": "string",
3529
+ "directUserRequest": {
3530
+ "type": "bool",
3436
3531
  "id": 5
3437
3532
  },
3438
- "offset": {
3439
- "type": "int32",
3533
+ "sessionId": {
3534
+ "type": "string",
3440
3535
  "id": 6
3441
3536
  },
3442
- "filter": {
3443
- "type": "string",
3537
+ "pageInfo": {
3538
+ "type": "PageInfo",
3444
3539
  "id": 7
3445
3540
  },
3446
- "orderBy": {
3541
+ "attributionToken": {
3447
3542
  "type": "string",
3448
3543
  "id": 8
3449
3544
  },
3450
- "userInfo": {
3451
- "type": "UserInfo",
3452
- "id": 21
3453
- },
3454
- "facetSpecs": {
3455
- "rule": "repeated",
3456
- "type": "FacetSpec",
3545
+ "filter": {
3546
+ "type": "string",
3457
3547
  "id": 9
3458
3548
  },
3459
- "boostSpec": {
3460
- "type": "BoostSpec",
3549
+ "documents": {
3550
+ "rule": "repeated",
3551
+ "type": "DocumentInfo",
3461
3552
  "id": 10
3462
3553
  },
3463
- "params": {
3464
- "keyType": "string",
3465
- "type": "google.protobuf.Value",
3554
+ "panel": {
3555
+ "type": "PanelInfo",
3466
3556
  "id": 11
3467
3557
  },
3468
- "queryExpansionSpec": {
3469
- "type": "QueryExpansionSpec",
3558
+ "searchInfo": {
3559
+ "type": "SearchInfo",
3560
+ "id": 12
3561
+ },
3562
+ "completionInfo": {
3563
+ "type": "CompletionInfo",
3470
3564
  "id": 13
3471
3565
  },
3472
- "spellCorrectionSpec": {
3473
- "type": "SpellCorrectionSpec",
3566
+ "transactionInfo": {
3567
+ "type": "TransactionInfo",
3474
3568
  "id": 14
3475
3569
  },
3476
- "userPseudoId": {
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": {
3477
4008
  "type": "string",
3478
- "id": 15
3479
- },
3480
- "contentSearchSpec": {
3481
- "type": "ContentSearchSpec",
3482
- "id": 24
3483
- },
3484
- "safeSearch": {
3485
- "type": "bool",
3486
- "id": 20
4009
+ "id": 3
3487
4010
  },
3488
- "userLabels": {
3489
- "keyType": "string",
4011
+ "name": {
3490
4012
  "type": "string",
3491
- "id": 22
4013
+ "id": 1,
4014
+ "options": {
4015
+ "(google.api.field_behavior)": "IMMUTABLE"
4016
+ }
3492
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"
3493
4024
  },
3494
- "nested": {
3495
- "FacetSpec": {
3496
- "fields": {
3497
- "facetKey": {
3498
- "type": "FacetKey",
3499
- "id": 1,
3500
- "options": {
3501
- "(google.api.field_behavior)": "REQUIRED"
3502
- }
3503
- },
3504
- "limit": {
3505
- "type": "int32",
3506
- "id": 2
3507
- },
3508
- "excludedFilterKeys": {
3509
- "rule": "repeated",
3510
- "type": "string",
3511
- "id": 3
3512
- },
3513
- "enableDynamicPosition": {
3514
- "type": "bool",
3515
- "id": 4
3516
- }
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"
3517
4033
  },
3518
- "nested": {
3519
- "FacetKey": {
3520
- "fields": {
3521
- "key": {
3522
- "type": "string",
3523
- "id": 1,
3524
- "options": {
3525
- "(google.api.field_behavior)": "REQUIRED"
3526
- }
3527
- },
3528
- "intervals": {
3529
- "rule": "repeated",
3530
- "type": "Interval",
3531
- "id": 2
3532
- },
3533
- "restrictedValues": {
3534
- "rule": "repeated",
3535
- "type": "string",
3536
- "id": 3
3537
- },
3538
- "prefixes": {
3539
- "rule": "repeated",
3540
- "type": "string",
3541
- "id": 4
3542
- },
3543
- "contains": {
3544
- "rule": "repeated",
3545
- "type": "string",
3546
- "id": 5
3547
- },
3548
- "caseInsensitive": {
3549
- "type": "bool",
3550
- "id": 6
3551
- },
3552
- "orderBy": {
3553
- "type": "string",
3554
- "id": 7
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/*}"
3555
4040
  }
3556
4041
  }
4042
+ },
4043
+ {
4044
+ "(google.api.method_signature)": "name"
3557
4045
  }
3558
- }
4046
+ ]
3559
4047
  },
3560
- "BoostSpec": {
3561
- "fields": {
3562
- "conditionBoostSpecs": {
3563
- "rule": "repeated",
3564
- "type": "ConditionBoostSpec",
3565
- "id": 1
3566
- }
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"
3567
4055
  },
3568
- "nested": {
3569
- "ConditionBoostSpec": {
3570
- "fields": {
3571
- "condition": {
3572
- "type": "string",
3573
- "id": 1
3574
- },
3575
- "boost": {
3576
- "type": "float",
3577
- "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"
3578
4062
  }
3579
4063
  }
4064
+ },
4065
+ {
4066
+ "(google.api.method_signature)": "parent"
3580
4067
  }
3581
- }
4068
+ ]
3582
4069
  },
3583
- "QueryExpansionSpec": {
3584
- "fields": {
3585
- "condition": {
3586
- "type": "Condition",
3587
- "id": 1
3588
- }
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"
3589
4081
  },
3590
- "nested": {
3591
- "Condition": {
3592
- "values": {
3593
- "CONDITION_UNSPECIFIED": 0,
3594
- "DISABLED": 1,
3595
- "AUTO": 2
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"
3596
4100
  }
3597
4101
  }
3598
- }
4102
+ ]
3599
4103
  },
3600
- "SpellCorrectionSpec": {
3601
- "fields": {
3602
- "mode": {
3603
- "type": "Mode",
3604
- "id": 1
3605
- }
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"
3606
4114
  },
3607
- "nested": {
3608
- "Mode": {
3609
- "values": {
3610
- "MODE_UNSPECIFIED": 0,
3611
- "SUGGESTION_ONLY": 1,
3612
- "AUTO": 2
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
+ }
3613
4124
  }
3614
- }
3615
- }
3616
- },
3617
- "ContentSearchSpec": {
3618
- "fields": {
3619
- "snippetSpec": {
3620
- "type": "SnippetSpec",
3621
- "id": 1
3622
4125
  },
3623
- "summarySpec": {
3624
- "type": "SummarySpec",
3625
- "id": 2
4126
+ {
4127
+ "(google.longrunning.operation_info)": {
4128
+ "response_type": "google.cloud.discoveryengine.v1beta.Schema",
4129
+ "metadata_type": "google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata"
4130
+ }
3626
4131
  }
3627
- },
3628
- "nested": {
3629
- "SnippetSpec": {
3630
- "fields": {
3631
- "maxSnippetCount": {
3632
- "type": "int32",
3633
- "id": 1
3634
- },
3635
- "referenceOnly": {
3636
- "type": "bool",
3637
- "id": 2
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/*}"
3638
4150
  }
3639
4151
  }
3640
4152
  },
3641
- "SummarySpec": {
3642
- "fields": {
3643
- "summaryResultCount": {
3644
- "type": "int32",
3645
- "id": 1
3646
- }
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"
3647
4160
  }
3648
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"
3649
4174
  }
3650
4175
  }
3651
4176
  }
3652
4177
  },
3653
- "SearchResponse": {
4178
+ "ListSchemasRequest": {
3654
4179
  "fields": {
3655
- "results": {
3656
- "rule": "repeated",
3657
- "type": "SearchResult",
3658
- "id": 1
3659
- },
3660
- "facets": {
3661
- "rule": "repeated",
3662
- "type": "Facet",
3663
- "id": 2
3664
- },
3665
- "guidedSearchResult": {
3666
- "type": "GuidedSearchResult",
3667
- "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
+ }
3668
4187
  },
3669
- "totalSize": {
4188
+ "pageSize": {
3670
4189
  "type": "int32",
3671
- "id": 3
4190
+ "id": 2
3672
4191
  },
3673
- "attributionToken": {
4192
+ "pageToken": {
3674
4193
  "type": "string",
3675
- "id": 4
4194
+ "id": 3
4195
+ }
4196
+ }
4197
+ },
4198
+ "ListSchemasResponse": {
4199
+ "fields": {
4200
+ "schemas": {
4201
+ "rule": "repeated",
4202
+ "type": "Schema",
4203
+ "id": 1
3676
4204
  },
3677
4205
  "nextPageToken": {
3678
4206
  "type": "string",
3679
- "id": 5
3680
- },
3681
- "correctedQuery": {
4207
+ "id": 2
4208
+ }
4209
+ }
4210
+ },
4211
+ "CreateSchemaRequest": {
4212
+ "fields": {
4213
+ "parent": {
3682
4214
  "type": "string",
3683
- "id": 7
4215
+ "id": 1,
4216
+ "options": {
4217
+ "(google.api.field_behavior)": "REQUIRED",
4218
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
4219
+ }
3684
4220
  },
3685
- "summary": {
3686
- "type": "Summary",
3687
- "id": 9
4221
+ "schema": {
4222
+ "type": "Schema",
4223
+ "id": 2,
4224
+ "options": {
4225
+ "(google.api.field_behavior)": "REQUIRED"
4226
+ }
3688
4227
  },
3689
- "appliedControls": {
3690
- "rule": "repeated",
4228
+ "schemaId": {
3691
4229
  "type": "string",
3692
- "id": 10
4230
+ "id": 3,
4231
+ "options": {
4232
+ "(google.api.field_behavior)": "REQUIRED"
4233
+ }
3693
4234
  }
3694
- },
3695
- "nested": {
3696
- "SearchResult": {
3697
- "fields": {
3698
- "id": {
3699
- "type": "string",
3700
- "id": 1
3701
- },
3702
- "document": {
3703
- "type": "Document",
3704
- "id": 2
3705
- }
4235
+ }
4236
+ },
4237
+ "UpdateSchemaRequest": {
4238
+ "fields": {
4239
+ "schema": {
4240
+ "type": "Schema",
4241
+ "id": 1,
4242
+ "options": {
4243
+ "(google.api.field_behavior)": "REQUIRED"
3706
4244
  }
3707
4245
  },
3708
- "Facet": {
3709
- "fields": {
3710
- "key": {
3711
- "type": "string",
3712
- "id": 1
3713
- },
3714
- "values": {
3715
- "rule": "repeated",
3716
- "type": "FacetValue",
3717
- "id": 2
3718
- },
3719
- "dynamicFacet": {
3720
- "type": "bool",
3721
- "id": 3
3722
- }
3723
- },
3724
- "nested": {
3725
- "FacetValue": {
3726
- "oneofs": {
3727
- "facetValue": {
3728
- "oneof": [
3729
- "value",
3730
- "interval"
3731
- ]
3732
- }
3733
- },
3734
- "fields": {
3735
- "value": {
3736
- "type": "string",
3737
- "id": 1
3738
- },
3739
- "interval": {
3740
- "type": "Interval",
3741
- "id": 2
3742
- },
3743
- "count": {
3744
- "type": "int64",
3745
- "id": 3
3746
- }
3747
- }
3748
- }
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"
3749
4260
  }
4261
+ }
4262
+ }
4263
+ },
4264
+ "CreateSchemaMetadata": {
4265
+ "fields": {
4266
+ "createTime": {
4267
+ "type": "google.protobuf.Timestamp",
4268
+ "id": 1
3750
4269
  },
3751
- "GuidedSearchResult": {
3752
- "fields": {
3753
- "refinementAttributes": {
3754
- "rule": "repeated",
3755
- "type": "RefinementAttribute",
3756
- "id": 1
3757
- }
3758
- },
3759
- "nested": {
3760
- "RefinementAttribute": {
3761
- "fields": {
3762
- "attributeKey": {
3763
- "type": "string",
3764
- "id": 1
3765
- },
3766
- "attributeValue": {
3767
- "type": "string",
3768
- "id": 2
3769
- }
3770
- }
3771
- }
3772
- }
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
3773
4281
  },
3774
- "Summary": {
3775
- "fields": {
3776
- "summaryText": {
3777
- "type": "string",
3778
- "id": 1
3779
- }
3780
- }
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
3781
4297
  }
3782
4298
  }
3783
4299
  },
@@ -5488,6 +6004,15 @@
5488
6004
  },
5489
6005
  "Empty": {
5490
6006
  "fields": {}
6007
+ },
6008
+ "FieldMask": {
6009
+ "fields": {
6010
+ "paths": {
6011
+ "rule": "repeated",
6012
+ "type": "string",
6013
+ "id": 1
6014
+ }
6015
+ }
5491
6016
  }
5492
6017
  }
5493
6018
  },