@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20230414 → 0.0.20230428
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.
- package/index.d.ts +2045 -892
- package/package.json +1 -1
- package/tests.ts +34 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230428
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,65 +24,85 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace discoveryengine {
|
|
25
25
|
interface GoogleApiHttpBody {
|
|
26
26
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
27
|
-
contentType?:
|
|
27
|
+
contentType?:
|
|
28
|
+
string;
|
|
28
29
|
/** The HTTP request/response body as raw binary. */
|
|
29
|
-
data?:
|
|
30
|
+
data?:
|
|
31
|
+
string;
|
|
30
32
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
31
|
-
extensions?:
|
|
33
|
+
extensions?:
|
|
34
|
+
Array<{ [P in string]: any }>;
|
|
32
35
|
}
|
|
33
36
|
interface GoogleCloudDiscoveryengineLoggingErrorContext {
|
|
34
37
|
/** The HTTP request which was processed when the error was triggered. */
|
|
35
|
-
httpRequest?:
|
|
38
|
+
httpRequest?:
|
|
39
|
+
GoogleCloudDiscoveryengineLoggingHttpRequestContext;
|
|
36
40
|
/** The location in the source code where the decision was made to report the error, usually the place where it was logged. */
|
|
37
|
-
reportLocation?:
|
|
41
|
+
reportLocation?:
|
|
42
|
+
GoogleCloudDiscoveryengineLoggingSourceLocation;
|
|
38
43
|
}
|
|
39
44
|
interface GoogleCloudDiscoveryengineLoggingErrorLog {
|
|
40
45
|
/** A description of the context in which the error occurred. */
|
|
41
|
-
context?:
|
|
46
|
+
context?:
|
|
47
|
+
GoogleCloudDiscoveryengineLoggingErrorContext;
|
|
42
48
|
/** The error payload that is populated on LRO import APIs. */
|
|
43
|
-
importPayload?:
|
|
49
|
+
importPayload?:
|
|
50
|
+
GoogleCloudDiscoveryengineLoggingImportErrorContext;
|
|
44
51
|
/** A message describing the error. */
|
|
45
|
-
message?:
|
|
52
|
+
message?:
|
|
53
|
+
string;
|
|
46
54
|
/**
|
|
47
55
|
* The API request payload, represented as a protocol buffer. Most API request types are supported—for example: *
|
|
48
56
|
* `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` *
|
|
49
57
|
* `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest`
|
|
50
58
|
*/
|
|
51
|
-
requestPayload?:
|
|
59
|
+
requestPayload?:
|
|
60
|
+
{ [P in string]: any };
|
|
52
61
|
/**
|
|
53
62
|
* The API response payload, represented as a protocol buffer. This is used to log some "soft errors", where the response is valid but we consider there are some quality issues like
|
|
54
63
|
* unjoined events. The following API responses are supported, and no PII is included: * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` *
|
|
55
64
|
* `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`
|
|
56
65
|
*/
|
|
57
|
-
responsePayload?:
|
|
66
|
+
responsePayload?:
|
|
67
|
+
{ [P in string]: any };
|
|
58
68
|
/** The service context in which this error has occurred. */
|
|
59
|
-
serviceContext?:
|
|
69
|
+
serviceContext?:
|
|
70
|
+
GoogleCloudDiscoveryengineLoggingServiceContext;
|
|
60
71
|
/** The RPC status associated with the error log. */
|
|
61
|
-
status?:
|
|
72
|
+
status?:
|
|
73
|
+
GoogleRpcStatus;
|
|
62
74
|
}
|
|
63
75
|
interface GoogleCloudDiscoveryengineLoggingHttpRequestContext {
|
|
64
76
|
/** The HTTP response status code for the request. */
|
|
65
|
-
responseStatusCode?:
|
|
77
|
+
responseStatusCode?:
|
|
78
|
+
number;
|
|
66
79
|
}
|
|
67
80
|
interface GoogleCloudDiscoveryengineLoggingImportErrorContext {
|
|
68
81
|
/** The detailed content which caused the error on importing a document. */
|
|
69
|
-
document?:
|
|
82
|
+
document?:
|
|
83
|
+
string;
|
|
70
84
|
/** Google Cloud Storage file path of the import source. Can be set for batch operation error. */
|
|
71
|
-
gcsPath?:
|
|
85
|
+
gcsPath?:
|
|
86
|
+
string;
|
|
72
87
|
/** Line number of the content in file. Should be empty for permission or batch operation error. */
|
|
73
|
-
lineNumber?:
|
|
88
|
+
lineNumber?:
|
|
89
|
+
string;
|
|
74
90
|
/** The operation resource name of the LRO. */
|
|
75
|
-
operation?:
|
|
91
|
+
operation?:
|
|
92
|
+
string;
|
|
76
93
|
/** The detailed content which caused the error on importing a user event. */
|
|
77
|
-
userEvent?:
|
|
94
|
+
userEvent?:
|
|
95
|
+
string;
|
|
78
96
|
}
|
|
79
97
|
interface GoogleCloudDiscoveryengineLoggingServiceContext {
|
|
80
98
|
/** An identifier of the service—for example, `discoveryengine.googleapis.com`. */
|
|
81
|
-
service?:
|
|
99
|
+
service?:
|
|
100
|
+
string;
|
|
82
101
|
}
|
|
83
102
|
interface GoogleCloudDiscoveryengineLoggingSourceLocation {
|
|
84
103
|
/** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
|
|
85
|
-
functionName?:
|
|
104
|
+
functionName?:
|
|
105
|
+
string;
|
|
86
106
|
}
|
|
87
107
|
interface GoogleCloudDiscoveryengineV1alphaBigQuerySource {
|
|
88
108
|
/**
|
|
@@ -90,75 +110,95 @@ declare namespace gapi.client {
|
|
|
90
110
|
* imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One
|
|
91
111
|
* custom data per row in arbitrary format that conforms the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.
|
|
92
112
|
*/
|
|
93
|
-
dataSchema?:
|
|
113
|
+
dataSchema?:
|
|
114
|
+
string;
|
|
94
115
|
/** Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters. */
|
|
95
|
-
datasetId?:
|
|
116
|
+
datasetId?:
|
|
117
|
+
string;
|
|
96
118
|
/**
|
|
97
119
|
* Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud
|
|
98
120
|
* Storage directory.
|
|
99
121
|
*/
|
|
100
|
-
gcsStagingDir?:
|
|
122
|
+
gcsStagingDir?:
|
|
123
|
+
string;
|
|
101
124
|
/** BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. */
|
|
102
|
-
partitionDate?:
|
|
125
|
+
partitionDate?:
|
|
126
|
+
GoogleTypeDate;
|
|
103
127
|
/** The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
|
|
104
|
-
projectId?:
|
|
128
|
+
projectId?:
|
|
129
|
+
string;
|
|
105
130
|
/** Required. The BigQuery table to copy the data from with a length limit of 1,024 characters. */
|
|
106
|
-
tableId?:
|
|
131
|
+
tableId?:
|
|
132
|
+
string;
|
|
107
133
|
}
|
|
108
134
|
interface GoogleCloudDiscoveryengineV1alphaCompletionInfo {
|
|
109
135
|
/** End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0. */
|
|
110
|
-
selectedPosition?:
|
|
136
|
+
selectedPosition?:
|
|
137
|
+
number;
|
|
111
138
|
/** End user selected CompleteQueryResponse.CompletionResult.suggestion. */
|
|
112
|
-
selectedSuggestion?:
|
|
139
|
+
selectedSuggestion?:
|
|
140
|
+
string;
|
|
113
141
|
}
|
|
114
142
|
interface GoogleCloudDiscoveryengineV1alphaCustomAttribute {
|
|
115
143
|
/**
|
|
116
|
-
* The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of text or numbers should be set.
|
|
117
|
-
* error is returned.
|
|
144
|
+
* The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set.
|
|
145
|
+
* Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
118
146
|
*/
|
|
119
|
-
numbers?:
|
|
147
|
+
numbers?:
|
|
148
|
+
number[];
|
|
120
149
|
/**
|
|
121
|
-
* The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is
|
|
122
|
-
* returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
150
|
+
* The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is
|
|
151
|
+
* returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
123
152
|
*/
|
|
124
|
-
text?:
|
|
153
|
+
text?:
|
|
154
|
+
string[];
|
|
125
155
|
}
|
|
126
156
|
interface GoogleCloudDiscoveryengineV1alphaDocument {
|
|
127
157
|
/** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
128
|
-
id?:
|
|
129
|
-
|
|
130
|
-
|
|
158
|
+
id?:
|
|
159
|
+
string;
|
|
160
|
+
/** The JSON string representation of the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
|
|
161
|
+
jsonData?:
|
|
162
|
+
string;
|
|
131
163
|
/**
|
|
132
164
|
* Immutable. The full resource name of the document. Format:
|
|
133
165
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with
|
|
134
166
|
* a length limit of 1024 characters.
|
|
135
167
|
*/
|
|
136
|
-
name?:
|
|
168
|
+
name?:
|
|
169
|
+
string;
|
|
137
170
|
/**
|
|
138
171
|
* The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
|
|
139
172
|
* length limit of 63 characters.
|
|
140
173
|
*/
|
|
141
|
-
parentDocumentId?:
|
|
174
|
+
parentDocumentId?:
|
|
175
|
+
string;
|
|
142
176
|
/** The identifier of the schema located in the same data store. */
|
|
143
|
-
schemaId?:
|
|
144
|
-
|
|
145
|
-
|
|
177
|
+
schemaId?:
|
|
178
|
+
string;
|
|
179
|
+
/** The structured JSON data for the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
|
|
180
|
+
structData?:
|
|
181
|
+
{ [P in string]: any };
|
|
146
182
|
}
|
|
147
183
|
interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
|
|
148
184
|
/** Required. The Document resource ID. */
|
|
149
|
-
id?:
|
|
185
|
+
id?:
|
|
186
|
+
string;
|
|
150
187
|
/**
|
|
151
188
|
* Required. The Document resource full name, of the form:
|
|
152
|
-
* projects/{
|
|
189
|
+
* `projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
|
|
153
190
|
*/
|
|
154
|
-
name?:
|
|
191
|
+
name?:
|
|
192
|
+
string;
|
|
155
193
|
/** The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID. */
|
|
156
|
-
promotionIds?:
|
|
194
|
+
promotionIds?:
|
|
195
|
+
string[];
|
|
157
196
|
/**
|
|
158
197
|
* Quantity of the Document associated with the user event. Defaults to 1. For example, this field will be 2 if two quantities of the same Document are involved in a `add-to-cart`
|
|
159
198
|
* event. Required for events of the following event types: * `add-to-cart` * `purchase`
|
|
160
199
|
*/
|
|
161
|
-
quantity?:
|
|
200
|
+
quantity?:
|
|
201
|
+
number;
|
|
162
202
|
}
|
|
163
203
|
interface GoogleCloudDiscoveryengineV1alphaGcsSource {
|
|
164
204
|
/**
|
|
@@ -167,104 +207,136 @@ declare namespace gapi.client {
|
|
|
167
207
|
* as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms the defined Schema of the data store. This can only be used by the GENERIC Data Store
|
|
168
208
|
* vertical. Supported values for user even imports: * `user_event` (default): One JSON UserEvent per line.
|
|
169
209
|
*/
|
|
170
|
-
dataSchema?:
|
|
210
|
+
dataSchema?:
|
|
211
|
+
string;
|
|
171
212
|
/**
|
|
172
213
|
* Required. Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a
|
|
173
214
|
* pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can
|
|
174
215
|
* be up to 2 GB (or 100 MB if `data_schema` is `content`).
|
|
175
216
|
*/
|
|
176
|
-
inputUris?:
|
|
217
|
+
inputUris?:
|
|
218
|
+
string[];
|
|
177
219
|
}
|
|
178
220
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
179
221
|
/** Operation create time. */
|
|
180
|
-
createTime?:
|
|
222
|
+
createTime?:
|
|
223
|
+
string;
|
|
181
224
|
/** Count of entries that encountered errors while processing. */
|
|
182
|
-
failureCount?:
|
|
225
|
+
failureCount?:
|
|
226
|
+
string;
|
|
183
227
|
/** Count of entries that were processed successfully. */
|
|
184
|
-
successCount?:
|
|
228
|
+
successCount?:
|
|
229
|
+
string;
|
|
185
230
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
186
|
-
updateTime?:
|
|
231
|
+
updateTime?:
|
|
232
|
+
string;
|
|
187
233
|
}
|
|
188
234
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest {
|
|
189
235
|
/** BigQuery input source. */
|
|
190
|
-
bigquerySource?:
|
|
236
|
+
bigquerySource?:
|
|
237
|
+
GoogleCloudDiscoveryengineV1alphaBigQuerySource;
|
|
191
238
|
/** The desired location of errors incurred during the Import. */
|
|
192
|
-
errorConfig?:
|
|
239
|
+
errorConfig?:
|
|
240
|
+
GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
193
241
|
/** Cloud Storage location for the input content. */
|
|
194
|
-
gcsSource?:
|
|
242
|
+
gcsSource?:
|
|
243
|
+
GoogleCloudDiscoveryengineV1alphaGcsSource;
|
|
195
244
|
/** The Inline source for the input content for documents. */
|
|
196
|
-
inlineSource?:
|
|
245
|
+
inlineSource?:
|
|
246
|
+
GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource;
|
|
197
247
|
/** The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
|
|
198
|
-
reconciliationMode?:
|
|
248
|
+
reconciliationMode?:
|
|
249
|
+
string;
|
|
199
250
|
}
|
|
200
251
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource {
|
|
201
252
|
/** Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items. */
|
|
202
|
-
documents?:
|
|
253
|
+
documents?:
|
|
254
|
+
GoogleCloudDiscoveryengineV1alphaDocument[];
|
|
203
255
|
}
|
|
204
256
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse {
|
|
205
257
|
/** Echoes the destination for the complete errors in the request if set. */
|
|
206
|
-
errorConfig?:
|
|
258
|
+
errorConfig?:
|
|
259
|
+
GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
207
260
|
/** A sample of errors encountered while processing the request. */
|
|
208
|
-
errorSamples?:
|
|
261
|
+
errorSamples?:
|
|
262
|
+
GoogleRpcStatus[];
|
|
209
263
|
}
|
|
210
264
|
interface GoogleCloudDiscoveryengineV1alphaImportErrorConfig {
|
|
211
265
|
/**
|
|
212
266
|
* Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a
|
|
213
267
|
* JSON-encoded `google.rpc.Status` message.
|
|
214
268
|
*/
|
|
215
|
-
gcsPrefix?:
|
|
269
|
+
gcsPrefix?:
|
|
270
|
+
string;
|
|
216
271
|
}
|
|
217
272
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata {
|
|
218
273
|
/** Operation create time. */
|
|
219
|
-
createTime?:
|
|
274
|
+
createTime?:
|
|
275
|
+
string;
|
|
220
276
|
/** Count of entries that encountered errors while processing. */
|
|
221
|
-
failureCount?:
|
|
277
|
+
failureCount?:
|
|
278
|
+
string;
|
|
222
279
|
/** Count of entries that were processed successfully. */
|
|
223
|
-
successCount?:
|
|
280
|
+
successCount?:
|
|
281
|
+
string;
|
|
224
282
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
225
|
-
updateTime?:
|
|
283
|
+
updateTime?:
|
|
284
|
+
string;
|
|
226
285
|
}
|
|
227
286
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest {
|
|
228
287
|
/** Required. BigQuery input source. */
|
|
229
|
-
bigquerySource?:
|
|
288
|
+
bigquerySource?:
|
|
289
|
+
GoogleCloudDiscoveryengineV1alphaBigQuerySource;
|
|
230
290
|
/** The desired location of errors incurred during the Import. Cannot be set for inline user event imports. */
|
|
231
|
-
errorConfig?:
|
|
291
|
+
errorConfig?:
|
|
292
|
+
GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
232
293
|
/** Required. Cloud Storage location for the input content. */
|
|
233
|
-
gcsSource?:
|
|
294
|
+
gcsSource?:
|
|
295
|
+
GoogleCloudDiscoveryengineV1alphaGcsSource;
|
|
234
296
|
/** Required. The Inline source for the input content for UserEvents. */
|
|
235
|
-
inlineSource?:
|
|
297
|
+
inlineSource?:
|
|
298
|
+
GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource;
|
|
236
299
|
}
|
|
237
300
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource {
|
|
238
301
|
/** Required. A list of user events to import. Recommended max of 10k items. */
|
|
239
|
-
userEvents?:
|
|
302
|
+
userEvents?:
|
|
303
|
+
GoogleCloudDiscoveryengineV1alphaUserEvent[];
|
|
240
304
|
}
|
|
241
305
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse {
|
|
242
306
|
/** Echoes the destination for the complete errors if this field was set in the request. */
|
|
243
|
-
errorConfig?:
|
|
307
|
+
errorConfig?:
|
|
308
|
+
GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
244
309
|
/** A sample of errors encountered while processing the request. */
|
|
245
|
-
errorSamples?:
|
|
310
|
+
errorSamples?:
|
|
311
|
+
GoogleRpcStatus[];
|
|
246
312
|
/** Count of user events imported with complete existing Documents. */
|
|
247
|
-
joinedEventsCount?:
|
|
313
|
+
joinedEventsCount?:
|
|
314
|
+
string;
|
|
248
315
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
249
|
-
unjoinedEventsCount?:
|
|
316
|
+
unjoinedEventsCount?:
|
|
317
|
+
string;
|
|
250
318
|
}
|
|
251
319
|
interface GoogleCloudDiscoveryengineV1alphaListDocumentsResponse {
|
|
252
320
|
/** The Documents. */
|
|
253
|
-
documents?:
|
|
321
|
+
documents?:
|
|
322
|
+
GoogleCloudDiscoveryengineV1alphaDocument[];
|
|
254
323
|
/** A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
255
|
-
nextPageToken?:
|
|
324
|
+
nextPageToken?:
|
|
325
|
+
string;
|
|
256
326
|
}
|
|
257
327
|
interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
|
|
258
328
|
/**
|
|
259
329
|
* The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be
|
|
260
330
|
* set to 90.
|
|
261
331
|
*/
|
|
262
|
-
mediaProgressDuration?:
|
|
332
|
+
mediaProgressDuration?:
|
|
333
|
+
string;
|
|
263
334
|
/**
|
|
264
|
-
* Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between [0, 1.0] inclusive. If this is not a
|
|
265
|
-
* or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.
|
|
335
|
+
* Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a
|
|
336
|
+
* playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.
|
|
266
337
|
*/
|
|
267
|
-
mediaProgressPercentage?:
|
|
338
|
+
mediaProgressPercentage?:
|
|
339
|
+
number;
|
|
268
340
|
}
|
|
269
341
|
interface GoogleCloudDiscoveryengineV1alphaPageInfo {
|
|
270
342
|
/**
|
|
@@ -273,63 +345,105 @@ declare namespace gapi.client {
|
|
|
273
345
|
* "pageCategory" : "Sales > 2017 Black Friday Deals". Required for `view-category-page` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is
|
|
274
346
|
* returned.
|
|
275
347
|
*/
|
|
276
|
-
pageCategory?:
|
|
348
|
+
pageCategory?:
|
|
349
|
+
string;
|
|
277
350
|
/**
|
|
278
351
|
* A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple
|
|
279
352
|
* events as the user is browsing the page. The `pageViewId` property should be kept the same for all these events so that they can be grouped together properly. When using the client
|
|
280
353
|
* side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.
|
|
281
354
|
*/
|
|
282
|
-
pageviewId?:
|
|
355
|
+
pageviewId?:
|
|
356
|
+
string;
|
|
283
357
|
/**
|
|
284
358
|
* The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some
|
|
285
359
|
* browser privacy restrictions may cause this field to be empty.
|
|
286
360
|
*/
|
|
287
|
-
referrerUri?:
|
|
361
|
+
referrerUri?:
|
|
362
|
+
string;
|
|
288
363
|
/**
|
|
289
364
|
* Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in
|
|
290
365
|
* automatically. Maximum length 5,000 characters.
|
|
291
366
|
*/
|
|
292
|
-
uri?:
|
|
367
|
+
uri?:
|
|
368
|
+
string;
|
|
293
369
|
}
|
|
294
370
|
interface GoogleCloudDiscoveryengineV1alphaPanelInfo {
|
|
295
371
|
/** The display name of the panel. */
|
|
296
|
-
displayName?:
|
|
372
|
+
displayName?:
|
|
373
|
+
string;
|
|
297
374
|
/** Required. The panel ID. */
|
|
298
|
-
panelId?:
|
|
375
|
+
panelId?:
|
|
376
|
+
string;
|
|
299
377
|
/** The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set. */
|
|
300
|
-
panelPosition?:
|
|
378
|
+
panelPosition?:
|
|
379
|
+
number;
|
|
301
380
|
/** The total number of panels, including this one, shown to the user. Must be set if panel_position is set. */
|
|
302
|
-
totalPanels?:
|
|
381
|
+
totalPanels?:
|
|
382
|
+
number;
|
|
383
|
+
}
|
|
384
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
385
|
+
/** Operation create time. */
|
|
386
|
+
createTime?:
|
|
387
|
+
string;
|
|
388
|
+
/** Count of entries that encountered errors while processing. */
|
|
389
|
+
failureCount?:
|
|
390
|
+
string;
|
|
391
|
+
/** Count of entries that were deleted successfully. */
|
|
392
|
+
successCount?:
|
|
393
|
+
string;
|
|
394
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
395
|
+
updateTime?:
|
|
396
|
+
string;
|
|
397
|
+
}
|
|
398
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest {
|
|
399
|
+
/** Required. Filter matching documents to purge. Only currently supported value is “*” (all items). */
|
|
400
|
+
filter?:
|
|
401
|
+
string;
|
|
402
|
+
/** Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents. */
|
|
403
|
+
force?:
|
|
404
|
+
boolean;
|
|
405
|
+
}
|
|
406
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse {
|
|
407
|
+
/** The total count of documents purged as a result of the operation. */
|
|
408
|
+
purgeCount?:
|
|
409
|
+
string;
|
|
410
|
+
/** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
|
|
411
|
+
purgeSample?:
|
|
412
|
+
string[];
|
|
303
413
|
}
|
|
304
414
|
interface GoogleCloudDiscoveryengineV1alphaRecommendRequest {
|
|
305
415
|
/**
|
|
306
416
|
* Filter for restricting recommendation results with a length limit of 5,000 characters. Currently, only filter expressions on the `filter_tags` attribute is supported. Examples: *
|
|
307
|
-
* (filter_tags: ANY("Red", "Blue") OR filter_tags: ANY("Hot", "Cold")) * (filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("Green")) If your filter blocks all results,
|
|
308
|
-
* API will return generic (unfiltered) popular Documents. If you only want results strictly matching the filters, set `strictFiltering` to True in RecommendRequest.params to
|
|
309
|
-
* empty results instead. Note that the API will never return Documents with storageStatus of
|
|
417
|
+
* `(filter_tags: ANY("Red", "Blue") OR filter_tags: ANY("Hot", "Cold"))` * `(filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("Green"))` If your filter blocks all results,
|
|
418
|
+
* the API will return generic (unfiltered) popular Documents. If you only want results strictly matching the filters, set `strictFiltering` to True in RecommendRequest.params to
|
|
419
|
+
* receive empty results instead. Note that the API will never return Documents with `storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices.
|
|
310
420
|
*/
|
|
311
|
-
filter?:
|
|
421
|
+
filter?:
|
|
422
|
+
string;
|
|
312
423
|
/**
|
|
313
424
|
* Maximum number of results to return. Set this property to the number of recommendation results needed. If zero, the service will choose a reasonable default. The maximum allowed
|
|
314
425
|
* value is 100. Values above 100 will be coerced to 100.
|
|
315
426
|
*/
|
|
316
|
-
pageSize?:
|
|
427
|
+
pageSize?:
|
|
428
|
+
number;
|
|
317
429
|
/**
|
|
318
430
|
* Additional domain specific parameters for the recommendations. Allowed values: * `returnDocument`: Boolean. If set to true, the associated Document object will be returned in
|
|
319
|
-
* RecommendResponse.
|
|
320
|
-
* RecommendResponse.
|
|
321
|
-
* default. If set to false, the service will return generic (unfiltered) popular Documents instead of empty if your filter blocks all recommendation results. *
|
|
322
|
-
* String. Default empty. If set to be non-empty, then it needs to be one of: *
|
|
323
|
-
* request-level control and adjusts recommendation results based on Document category.
|
|
431
|
+
* RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. If set to true, the recommendation 'score' corresponding to each returned Document will be set in
|
|
432
|
+
* RecommendResponse.RecommendationResult.metadata. The given 'score' indicates the probability of a Document conversion given the user's context and history. * `strictFiltering`:
|
|
433
|
+
* Boolean. True by default. If set to false, the service will return generic (unfiltered) popular Documents instead of empty if your filter blocks all recommendation results. *
|
|
434
|
+
* `diversityLevel`: String. Default empty. If set to be non-empty, then it needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` *
|
|
435
|
+
* `auto-diversity` This gives request-level control and adjusts recommendation results based on Document category.
|
|
324
436
|
*/
|
|
325
|
-
params?:
|
|
437
|
+
params?:
|
|
438
|
+
{ [P in string]: any };
|
|
326
439
|
/**
|
|
327
440
|
* Required. Context about the user, what they are looking at and what action they took to trigger the Recommend request. Note that this user event detail won't be ingested to
|
|
328
441
|
* userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserEvent.user_pseudo_id or UserEvent.user_info.user_id to the same fixed ID for
|
|
329
442
|
* different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserEvent.user_pseudo_id
|
|
330
443
|
* to a random unique ID and leave UserEvent.user_info.user_id unset.
|
|
331
444
|
*/
|
|
332
|
-
userEvent?:
|
|
445
|
+
userEvent?:
|
|
446
|
+
GoogleCloudDiscoveryengineV1alphaUserEvent;
|
|
333
447
|
/**
|
|
334
448
|
* The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. *
|
|
335
449
|
* Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and
|
|
@@ -337,41 +451,53 @@ declare namespace gapi.client {
|
|
|
337
451
|
* portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Requirements
|
|
338
452
|
* for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
|
|
339
453
|
*/
|
|
340
|
-
userLabels?:
|
|
454
|
+
userLabels?:
|
|
455
|
+
{ [P in string]: string };
|
|
341
456
|
/**
|
|
342
457
|
* Use validate only mode for this recommendation query. If set to true, a fake model will be used that returns arbitrary Document IDs. Note that the validate only mode should only be
|
|
343
458
|
* used for testing the API, or if the model is not ready.
|
|
344
459
|
*/
|
|
345
|
-
validateOnly?:
|
|
460
|
+
validateOnly?:
|
|
461
|
+
boolean;
|
|
346
462
|
}
|
|
347
463
|
interface GoogleCloudDiscoveryengineV1alphaRecommendResponse {
|
|
348
464
|
/** A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance. */
|
|
349
|
-
attributionToken?:
|
|
465
|
+
attributionToken?:
|
|
466
|
+
string;
|
|
350
467
|
/** IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig. */
|
|
351
|
-
missingIds?:
|
|
468
|
+
missingIds?:
|
|
469
|
+
string[];
|
|
352
470
|
/** A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least). */
|
|
353
|
-
results?:
|
|
471
|
+
results?:
|
|
472
|
+
GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult[];
|
|
354
473
|
/** True if RecommendRequest.validate_only was set. */
|
|
355
|
-
validateOnly?:
|
|
474
|
+
validateOnly?:
|
|
475
|
+
boolean;
|
|
356
476
|
}
|
|
357
477
|
interface GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult {
|
|
358
478
|
/** Set if `returnDocument` is set to true in RecommendRequest.params. */
|
|
359
|
-
document?:
|
|
479
|
+
document?:
|
|
480
|
+
GoogleCloudDiscoveryengineV1alphaDocument;
|
|
360
481
|
/** Resource ID of the recommended Document. */
|
|
361
|
-
id?:
|
|
482
|
+
id?:
|
|
483
|
+
string;
|
|
362
484
|
/** Additional Document metadata / annotations. Possible values: * `score`: Recommendation score in double value. Is set if `returnScore` is set to true in RecommendRequest.params. */
|
|
363
|
-
metadata?:
|
|
485
|
+
metadata?:
|
|
486
|
+
{ [P in string]: any };
|
|
364
487
|
}
|
|
365
488
|
interface GoogleCloudDiscoveryengineV1alphaSchema {
|
|
366
489
|
/** The JSON representation of the schema. */
|
|
367
|
-
jsonSchema?:
|
|
490
|
+
jsonSchema?:
|
|
491
|
+
string;
|
|
368
492
|
/**
|
|
369
493
|
* Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This
|
|
370
494
|
* field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
371
495
|
*/
|
|
372
|
-
name?:
|
|
496
|
+
name?:
|
|
497
|
+
string;
|
|
373
498
|
/** The structured representation of the schema. */
|
|
374
|
-
structSchema?:
|
|
499
|
+
structSchema?:
|
|
500
|
+
{ [P in string]: any };
|
|
375
501
|
}
|
|
376
502
|
interface GoogleCloudDiscoveryengineV1alphaSearchInfo {
|
|
377
503
|
/**
|
|
@@ -379,116 +505,142 @@ declare namespace gapi.client {
|
|
|
379
505
|
* definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an
|
|
380
506
|
* INVALID_ARGUMENT error is returned.
|
|
381
507
|
*/
|
|
382
|
-
offset?:
|
|
508
|
+
offset?:
|
|
509
|
+
number;
|
|
383
510
|
/**
|
|
384
511
|
* The order in which products are returned, if applicable. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000
|
|
385
512
|
* characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT
|
|
386
513
|
* error is returned.
|
|
387
514
|
*/
|
|
388
|
-
orderBy?:
|
|
515
|
+
orderBy?:
|
|
516
|
+
string;
|
|
389
517
|
/**
|
|
390
518
|
* The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
|
|
391
|
-
* error is returned. At least one of search_query or
|
|
392
|
-
* is returned.
|
|
519
|
+
* error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an
|
|
520
|
+
* INVALID_ARGUMENT error is returned.
|
|
393
521
|
*/
|
|
394
|
-
searchQuery?:
|
|
522
|
+
searchQuery?:
|
|
523
|
+
string;
|
|
395
524
|
}
|
|
396
525
|
interface GoogleCloudDiscoveryengineV1alphaTransactionInfo {
|
|
397
526
|
/**
|
|
398
527
|
* All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = value - tax -
|
|
399
528
|
* cost
|
|
400
529
|
*/
|
|
401
|
-
cost?:
|
|
530
|
+
cost?:
|
|
531
|
+
number;
|
|
402
532
|
/** Required. Currency code. Use three-character ISO-4217 code. */
|
|
403
|
-
currency?:
|
|
533
|
+
currency?:
|
|
534
|
+
string;
|
|
404
535
|
/**
|
|
405
536
|
* The total discount(s) value applied to this transaction. This figure should be excluded from TransactionInfo.value For example, if a user paid TransactionInfo.value amount, then
|
|
406
537
|
* nominal (pre-discount) value of the transaction is the sum of TransactionInfo.value and TransactionInfo.discount_value This means that profit is calculated the same way, regardless
|
|
407
538
|
* of the discount value, and that TransactionInfo.discount_value can be larger than TransactionInfo.value: * Profit = value - tax - cost
|
|
408
539
|
*/
|
|
409
|
-
discountValue?:
|
|
540
|
+
discountValue?:
|
|
541
|
+
number;
|
|
410
542
|
/** All the taxes associated with the transaction. */
|
|
411
|
-
tax?:
|
|
543
|
+
tax?:
|
|
544
|
+
number;
|
|
412
545
|
/** The transaction ID with a length limit of 128 characters. */
|
|
413
|
-
transactionId?:
|
|
546
|
+
transactionId?:
|
|
547
|
+
string;
|
|
414
548
|
/** Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include. */
|
|
415
|
-
value?:
|
|
549
|
+
value?:
|
|
550
|
+
number;
|
|
416
551
|
}
|
|
417
552
|
interface GoogleCloudDiscoveryengineV1alphaUserEvent {
|
|
418
553
|
/**
|
|
419
554
|
* Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings.
|
|
420
555
|
* If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be
|
|
421
556
|
* consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving
|
|
422
|
-
* predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8
|
|
557
|
+
* predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8
|
|
423
558
|
* encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded
|
|
424
|
-
* string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is
|
|
425
|
-
* traffic_channel
|
|
559
|
+
* string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `
|
|
560
|
+
* traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.
|
|
426
561
|
*/
|
|
427
|
-
attributes?:
|
|
562
|
+
attributes?:
|
|
563
|
+
{ [P in string]: GoogleCloudDiscoveryengineV1alphaCustomAttribute };
|
|
428
564
|
/**
|
|
429
|
-
* Token to attribute an API response to user action(s) to trigger the event. Highly recommended for user events that are the result of
|
|
430
|
-
* accurate attribution of recommendation model performance. The value must be one of: * PredictResponse.attribution_token for events that are the result of
|
|
431
|
-
* * SearchResponse.attribution_token for events that are the result of SearchService.Search. * CompleteQueryResponse.attribution_token for events that
|
|
432
|
-
*
|
|
433
|
-
* clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product
|
|
434
|
-
* events on product K's page, log the PredictResponse.attribution_token to this field.
|
|
565
|
+
* Token to attribute an API response to user action(s) to trigger the event. Highly recommended for user events that are the result of RecommendationService.Recommend. This field
|
|
566
|
+
* enables accurate attribution of recommendation model performance. The value must be one of: * PredictResponse.attribution_token for events that are the result of
|
|
567
|
+
* RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. * CompleteQueryResponse.attribution_token for events that
|
|
568
|
+
* are the result of CompletionService.CompleteQuery. This token enables us to accurately attribute page view or conversion completion back to the event and the particular predict
|
|
569
|
+
* response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product
|
|
570
|
+
* K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.
|
|
435
571
|
*/
|
|
436
|
-
attributionToken?:
|
|
572
|
+
attributionToken?:
|
|
573
|
+
string;
|
|
437
574
|
/** CompleteQuery API details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search. */
|
|
438
|
-
completionInfo?:
|
|
575
|
+
completionInfo?:
|
|
576
|
+
GoogleCloudDiscoveryengineV1alphaCompletionInfo;
|
|
439
577
|
/**
|
|
440
578
|
* Should set to true if the request is made directly from the end user, in which case the UserEvent.user_info.user_agent can be populated from the HTTP request. This flag should be
|
|
441
579
|
* set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be
|
|
442
580
|
* set when using the JavaScript tag in UserEventService.CollectUserEvent.
|
|
443
581
|
*/
|
|
444
|
-
directUserRequest?:
|
|
582
|
+
directUserRequest?:
|
|
583
|
+
boolean;
|
|
445
584
|
/**
|
|
446
585
|
* List of Documents associated with this user event. This field is optional except for the following event types: * `view-item` * `add-to-cart` * `purchase` * `media-play` *
|
|
447
586
|
* `media-complete` In a `search` event, this field represents the documents returned to the end user on the current page (the end user may have not finished browsing the whole page
|
|
448
587
|
* yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different UserEvent.documents is desired.
|
|
449
588
|
*/
|
|
450
|
-
documents?:
|
|
589
|
+
documents?:
|
|
590
|
+
GoogleCloudDiscoveryengineV1alphaDocumentInfo[];
|
|
451
591
|
/** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
|
|
452
|
-
eventTime?:
|
|
592
|
+
eventTime?:
|
|
593
|
+
string;
|
|
453
594
|
/**
|
|
454
595
|
* Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel
|
|
455
596
|
* or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: *
|
|
456
597
|
* `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing
|
|
457
598
|
* a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
|
|
458
599
|
*/
|
|
459
|
-
eventType?:
|
|
600
|
+
eventType?:
|
|
601
|
+
string;
|
|
460
602
|
/**
|
|
461
603
|
* The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the
|
|
462
|
-
* associated
|
|
463
|
-
*
|
|
604
|
+
* associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
|
|
605
|
+
* generated from a RecommendationService.RecommendRequest, this field may be populated directly from RecommendationService.RecommendRequest.filter conforming to
|
|
464
606
|
* https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
465
607
|
*/
|
|
466
|
-
filter?:
|
|
608
|
+
filter?:
|
|
609
|
+
string;
|
|
467
610
|
/** Media-specific info. */
|
|
468
|
-
mediaInfo?:
|
|
611
|
+
mediaInfo?:
|
|
612
|
+
GoogleCloudDiscoveryengineV1alphaMediaInfo;
|
|
469
613
|
/** Page metadata such as categories and other critical information for certain event types such as `view-category-page`. */
|
|
470
|
-
pageInfo?:
|
|
614
|
+
pageInfo?:
|
|
615
|
+
GoogleCloudDiscoveryengineV1alphaPageInfo;
|
|
471
616
|
/** Panel metadata associated with this user event. */
|
|
472
|
-
panel?:
|
|
617
|
+
panel?:
|
|
618
|
+
GoogleCloudDiscoveryengineV1alphaPanelInfo;
|
|
473
619
|
/** The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID. */
|
|
474
|
-
promotionIds?:
|
|
620
|
+
promotionIds?:
|
|
621
|
+
string[];
|
|
475
622
|
/** Search API details related to the event. This field should be set for `search` event. */
|
|
476
|
-
searchInfo?:
|
|
623
|
+
searchInfo?:
|
|
624
|
+
GoogleCloudDiscoveryengineV1alphaSearchInfo;
|
|
477
625
|
/**
|
|
478
626
|
* A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to
|
|
479
627
|
* populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add
|
|
480
628
|
* UserEvent.user_pseudo_id as prefix.
|
|
481
629
|
*/
|
|
482
|
-
sessionId?:
|
|
630
|
+
sessionId?:
|
|
631
|
+
string;
|
|
483
632
|
/**
|
|
484
633
|
* A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups
|
|
485
634
|
* on the customer end.
|
|
486
635
|
*/
|
|
487
|
-
tagIds?:
|
|
636
|
+
tagIds?:
|
|
637
|
+
string[];
|
|
488
638
|
/** The transaction metadata (if any) associated with this user event. */
|
|
489
|
-
transactionInfo?:
|
|
639
|
+
transactionInfo?:
|
|
640
|
+
GoogleCloudDiscoveryengineV1alphaTransactionInfo;
|
|
490
641
|
/** Information about the end user. */
|
|
491
|
-
userInfo?:
|
|
642
|
+
userInfo?:
|
|
643
|
+
GoogleCloudDiscoveryengineV1alphaUserInfo;
|
|
492
644
|
/**
|
|
493
645
|
* Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single
|
|
494
646
|
* device. This unique identifier should not change if the visitor log in/out of the website. Do not set the field to the same fixed ID for different users. This mixes the event
|
|
@@ -496,258 +648,365 @@ declare namespace gapi.client {
|
|
|
496
648
|
* INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client
|
|
497
649
|
* ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
|
498
650
|
*/
|
|
499
|
-
userPseudoId?:
|
|
651
|
+
userPseudoId?:
|
|
652
|
+
string;
|
|
500
653
|
}
|
|
501
654
|
interface GoogleCloudDiscoveryengineV1alphaUserInfo {
|
|
502
655
|
/**
|
|
503
656
|
* User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters.
|
|
504
|
-
* Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent
|
|
505
|
-
* or if direct_user_request is set.
|
|
657
|
+
* Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent
|
|
658
|
+
* or if UserEvent.direct_user_request is set.
|
|
506
659
|
*/
|
|
507
|
-
userAgent?:
|
|
660
|
+
userAgent?:
|
|
661
|
+
string;
|
|
508
662
|
/**
|
|
509
663
|
* Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set
|
|
510
664
|
* the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded
|
|
511
|
-
* string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
665
|
+
* string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
512
666
|
*/
|
|
513
|
-
userId?:
|
|
667
|
+
userId?:
|
|
668
|
+
string;
|
|
514
669
|
}
|
|
515
670
|
interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
|
|
516
671
|
/** Operation create time. */
|
|
517
|
-
createTime?:
|
|
672
|
+
createTime?:
|
|
673
|
+
string;
|
|
518
674
|
/** Count of entries that encountered errors while processing. */
|
|
519
|
-
failureCount?:
|
|
675
|
+
failureCount?:
|
|
676
|
+
string;
|
|
520
677
|
/** Count of entries that were processed successfully. */
|
|
521
|
-
successCount?:
|
|
678
|
+
successCount?:
|
|
679
|
+
string;
|
|
522
680
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
523
|
-
updateTime?:
|
|
681
|
+
updateTime?:
|
|
682
|
+
string;
|
|
524
683
|
}
|
|
525
684
|
interface GoogleCloudDiscoveryengineV1betaImportDocumentsResponse {
|
|
526
685
|
/** Echoes the destination for the complete errors in the request if set. */
|
|
527
|
-
errorConfig?:
|
|
686
|
+
errorConfig?:
|
|
687
|
+
GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
528
688
|
/** A sample of errors encountered while processing the request. */
|
|
529
|
-
errorSamples?:
|
|
689
|
+
errorSamples?:
|
|
690
|
+
GoogleRpcStatus[];
|
|
530
691
|
}
|
|
531
692
|
interface GoogleCloudDiscoveryengineV1betaImportErrorConfig {
|
|
532
693
|
/**
|
|
533
694
|
* Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a
|
|
534
695
|
* JSON-encoded `google.rpc.Status` message.
|
|
535
696
|
*/
|
|
536
|
-
gcsPrefix?:
|
|
697
|
+
gcsPrefix?:
|
|
698
|
+
string;
|
|
537
699
|
}
|
|
538
700
|
interface GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata {
|
|
539
701
|
/** Operation create time. */
|
|
540
|
-
createTime?:
|
|
702
|
+
createTime?:
|
|
703
|
+
string;
|
|
541
704
|
/** Count of entries that encountered errors while processing. */
|
|
542
|
-
failureCount?:
|
|
705
|
+
failureCount?:
|
|
706
|
+
string;
|
|
543
707
|
/** Count of entries that were processed successfully. */
|
|
544
|
-
successCount?:
|
|
708
|
+
successCount?:
|
|
709
|
+
string;
|
|
545
710
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
546
|
-
updateTime?:
|
|
711
|
+
updateTime?:
|
|
712
|
+
string;
|
|
547
713
|
}
|
|
548
714
|
interface GoogleCloudDiscoveryengineV1betaImportUserEventsResponse {
|
|
549
715
|
/** Echoes the destination for the complete errors if this field was set in the request. */
|
|
550
|
-
errorConfig?:
|
|
716
|
+
errorConfig?:
|
|
717
|
+
GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
551
718
|
/** A sample of errors encountered while processing the request. */
|
|
552
|
-
errorSamples?:
|
|
719
|
+
errorSamples?:
|
|
720
|
+
GoogleRpcStatus[];
|
|
553
721
|
/** Count of user events imported with complete existing Documents. */
|
|
554
|
-
joinedEventsCount?:
|
|
722
|
+
joinedEventsCount?:
|
|
723
|
+
string;
|
|
555
724
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
556
|
-
unjoinedEventsCount?:
|
|
725
|
+
unjoinedEventsCount?:
|
|
726
|
+
string;
|
|
727
|
+
}
|
|
728
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
|
|
729
|
+
/** Operation create time. */
|
|
730
|
+
createTime?:
|
|
731
|
+
string;
|
|
732
|
+
/** Count of entries that encountered errors while processing. */
|
|
733
|
+
failureCount?:
|
|
734
|
+
string;
|
|
735
|
+
/** Count of entries that were deleted successfully. */
|
|
736
|
+
successCount?:
|
|
737
|
+
string;
|
|
738
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
739
|
+
updateTime?:
|
|
740
|
+
string;
|
|
741
|
+
}
|
|
742
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse {
|
|
743
|
+
/** The total count of documents purged as a result of the operation. */
|
|
744
|
+
purgeCount?:
|
|
745
|
+
string;
|
|
746
|
+
/** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
|
|
747
|
+
purgeSample?:
|
|
748
|
+
string[];
|
|
557
749
|
}
|
|
558
750
|
interface GoogleCloudDiscoveryengineV1betaSchema {
|
|
559
751
|
/** The JSON representation of the schema. */
|
|
560
|
-
jsonSchema?:
|
|
752
|
+
jsonSchema?:
|
|
753
|
+
string;
|
|
561
754
|
/**
|
|
562
755
|
* Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This
|
|
563
756
|
* field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
564
757
|
*/
|
|
565
|
-
name?:
|
|
758
|
+
name?:
|
|
759
|
+
string;
|
|
566
760
|
/** The structured representation of the schema. */
|
|
567
|
-
structSchema?:
|
|
761
|
+
structSchema?:
|
|
762
|
+
{ [P in string]: any };
|
|
568
763
|
}
|
|
569
764
|
interface GoogleLongrunningListOperationsResponse {
|
|
570
765
|
/** The standard List next-page token. */
|
|
571
|
-
nextPageToken?:
|
|
766
|
+
nextPageToken?:
|
|
767
|
+
string;
|
|
572
768
|
/** A list of operations that matches the specified filter in the request. */
|
|
573
|
-
operations?:
|
|
769
|
+
operations?:
|
|
770
|
+
GoogleLongrunningOperation[];
|
|
574
771
|
}
|
|
575
772
|
interface GoogleLongrunningOperation {
|
|
576
773
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
577
|
-
done?:
|
|
774
|
+
done?:
|
|
775
|
+
boolean;
|
|
578
776
|
/** The error result of the operation in case of failure or cancellation. */
|
|
579
|
-
error?:
|
|
777
|
+
error?:
|
|
778
|
+
GoogleRpcStatus;
|
|
580
779
|
/**
|
|
581
780
|
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
582
781
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
583
782
|
*/
|
|
584
|
-
metadata?:
|
|
783
|
+
metadata?:
|
|
784
|
+
{ [P in string]: any };
|
|
585
785
|
/**
|
|
586
786
|
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
587
787
|
* with `operations/{unique_id}`.
|
|
588
788
|
*/
|
|
589
|
-
name?:
|
|
789
|
+
name?:
|
|
790
|
+
string;
|
|
590
791
|
/**
|
|
591
792
|
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
592
793
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
593
794
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
594
795
|
*/
|
|
595
|
-
response?:
|
|
796
|
+
response?:
|
|
797
|
+
{ [P in string]: any };
|
|
596
798
|
}
|
|
597
799
|
// tslint:disable-next-line:no-empty-interface
|
|
598
800
|
interface GoogleProtobufEmpty {
|
|
599
801
|
}
|
|
600
802
|
interface GoogleRpcStatus {
|
|
601
803
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
602
|
-
code?:
|
|
804
|
+
code?:
|
|
805
|
+
number;
|
|
603
806
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
604
|
-
details?:
|
|
807
|
+
details?:
|
|
808
|
+
Array<{ [P in string]: any }>;
|
|
605
809
|
/**
|
|
606
810
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
607
811
|
* client.
|
|
608
812
|
*/
|
|
609
|
-
message?:
|
|
813
|
+
message?:
|
|
814
|
+
string;
|
|
610
815
|
}
|
|
611
816
|
interface GoogleTypeDate {
|
|
612
817
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
613
|
-
day?:
|
|
818
|
+
day?:
|
|
819
|
+
number;
|
|
614
820
|
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
615
|
-
month?:
|
|
821
|
+
month?:
|
|
822
|
+
number;
|
|
616
823
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
617
|
-
year?:
|
|
824
|
+
year?:
|
|
825
|
+
number;
|
|
618
826
|
}
|
|
619
827
|
interface DocumentsResource {
|
|
620
828
|
/** Creates a Document. */
|
|
621
829
|
create(request: {
|
|
622
830
|
/** V1 error format. */
|
|
623
|
-
"$.xgafv"?:
|
|
831
|
+
"$.xgafv"?:
|
|
832
|
+
string;
|
|
624
833
|
/** OAuth access token. */
|
|
625
|
-
access_token?:
|
|
834
|
+
access_token?:
|
|
835
|
+
string;
|
|
626
836
|
/** Data format for response. */
|
|
627
|
-
alt?:
|
|
837
|
+
alt?:
|
|
838
|
+
string;
|
|
628
839
|
/** JSONP */
|
|
629
|
-
callback?:
|
|
840
|
+
callback?:
|
|
841
|
+
string;
|
|
630
842
|
/**
|
|
631
843
|
* Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless
|
|
632
|
-
* of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Documents with the same parent. Otherwise, an ALREADY_EXISTS error is
|
|
633
|
-
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is
|
|
844
|
+
* of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
|
|
845
|
+
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
634
846
|
* returned.
|
|
635
847
|
*/
|
|
636
|
-
documentId?:
|
|
848
|
+
documentId?:
|
|
849
|
+
string;
|
|
637
850
|
/** Selector specifying which fields to include in a partial response. */
|
|
638
|
-
fields?:
|
|
851
|
+
fields?:
|
|
852
|
+
string;
|
|
639
853
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
640
|
-
key?:
|
|
854
|
+
key?:
|
|
855
|
+
string;
|
|
641
856
|
/** OAuth 2.0 token for the current user. */
|
|
642
|
-
oauth_token?:
|
|
857
|
+
oauth_token?:
|
|
858
|
+
string;
|
|
643
859
|
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
644
|
-
parent:
|
|
860
|
+
parent:
|
|
861
|
+
string;
|
|
645
862
|
/** Returns response with indentations and line breaks. */
|
|
646
|
-
prettyPrint?:
|
|
863
|
+
prettyPrint?:
|
|
864
|
+
boolean;
|
|
647
865
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
648
|
-
quotaUser?:
|
|
866
|
+
quotaUser?:
|
|
867
|
+
string;
|
|
649
868
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
650
|
-
upload_protocol?:
|
|
869
|
+
upload_protocol?:
|
|
870
|
+
string;
|
|
651
871
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
652
|
-
uploadType?:
|
|
872
|
+
uploadType?:
|
|
873
|
+
string;
|
|
653
874
|
/** Request body */
|
|
654
|
-
resource:
|
|
875
|
+
resource:
|
|
876
|
+
GoogleCloudDiscoveryengineV1alphaDocument;
|
|
655
877
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
656
878
|
create(request: {
|
|
657
879
|
/** V1 error format. */
|
|
658
|
-
"$.xgafv"?:
|
|
880
|
+
"$.xgafv"?:
|
|
881
|
+
string;
|
|
659
882
|
/** OAuth access token. */
|
|
660
|
-
access_token?:
|
|
883
|
+
access_token?:
|
|
884
|
+
string;
|
|
661
885
|
/** Data format for response. */
|
|
662
|
-
alt?:
|
|
886
|
+
alt?:
|
|
887
|
+
string;
|
|
663
888
|
/** JSONP */
|
|
664
|
-
callback?:
|
|
889
|
+
callback?:
|
|
890
|
+
string;
|
|
665
891
|
/**
|
|
666
892
|
* Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless
|
|
667
|
-
* of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Documents with the same parent. Otherwise, an ALREADY_EXISTS error is
|
|
668
|
-
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is
|
|
893
|
+
* of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
|
|
894
|
+
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
669
895
|
* returned.
|
|
670
896
|
*/
|
|
671
|
-
documentId?:
|
|
897
|
+
documentId?:
|
|
898
|
+
string;
|
|
672
899
|
/** Selector specifying which fields to include in a partial response. */
|
|
673
|
-
fields?:
|
|
900
|
+
fields?:
|
|
901
|
+
string;
|
|
674
902
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
675
|
-
key?:
|
|
903
|
+
key?:
|
|
904
|
+
string;
|
|
676
905
|
/** OAuth 2.0 token for the current user. */
|
|
677
|
-
oauth_token?:
|
|
906
|
+
oauth_token?:
|
|
907
|
+
string;
|
|
678
908
|
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
679
|
-
parent:
|
|
909
|
+
parent:
|
|
910
|
+
string;
|
|
680
911
|
/** Returns response with indentations and line breaks. */
|
|
681
|
-
prettyPrint?:
|
|
912
|
+
prettyPrint?:
|
|
913
|
+
boolean;
|
|
682
914
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
683
|
-
quotaUser?:
|
|
915
|
+
quotaUser?:
|
|
916
|
+
string;
|
|
684
917
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
685
|
-
upload_protocol?:
|
|
918
|
+
upload_protocol?:
|
|
919
|
+
string;
|
|
686
920
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
687
|
-
uploadType?:
|
|
921
|
+
uploadType?:
|
|
922
|
+
string;
|
|
688
923
|
},
|
|
689
924
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
690
925
|
/** Deletes a Document. */
|
|
691
926
|
delete(request?: {
|
|
692
927
|
/** V1 error format. */
|
|
693
|
-
"$.xgafv"?:
|
|
928
|
+
"$.xgafv"?:
|
|
929
|
+
string;
|
|
694
930
|
/** OAuth access token. */
|
|
695
|
-
access_token?:
|
|
931
|
+
access_token?:
|
|
932
|
+
string;
|
|
696
933
|
/** Data format for response. */
|
|
697
|
-
alt?:
|
|
934
|
+
alt?:
|
|
935
|
+
string;
|
|
698
936
|
/** JSONP */
|
|
699
|
-
callback?:
|
|
937
|
+
callback?:
|
|
938
|
+
string;
|
|
700
939
|
/** Selector specifying which fields to include in a partial response. */
|
|
701
|
-
fields?:
|
|
940
|
+
fields?:
|
|
941
|
+
string;
|
|
702
942
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
703
|
-
key?:
|
|
943
|
+
key?:
|
|
944
|
+
string;
|
|
704
945
|
/**
|
|
705
946
|
* Required. Full resource name of Document, such as
|
|
706
947
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to
|
|
707
|
-
* delete the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Document to delete does not exist, a NOT_FOUND error is returned.
|
|
948
|
+
* delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.
|
|
708
949
|
*/
|
|
709
|
-
name:
|
|
950
|
+
name:
|
|
951
|
+
string;
|
|
710
952
|
/** OAuth 2.0 token for the current user. */
|
|
711
|
-
oauth_token?:
|
|
953
|
+
oauth_token?:
|
|
954
|
+
string;
|
|
712
955
|
/** Returns response with indentations and line breaks. */
|
|
713
|
-
prettyPrint?:
|
|
956
|
+
prettyPrint?:
|
|
957
|
+
boolean;
|
|
714
958
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
715
|
-
quotaUser?:
|
|
959
|
+
quotaUser?:
|
|
960
|
+
string;
|
|
716
961
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
717
|
-
upload_protocol?:
|
|
962
|
+
upload_protocol?:
|
|
963
|
+
string;
|
|
718
964
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
719
|
-
uploadType?:
|
|
965
|
+
uploadType?:
|
|
966
|
+
string;
|
|
720
967
|
}): Request<{}>;
|
|
721
968
|
/** Gets a Document. */
|
|
722
969
|
get(request?: {
|
|
723
970
|
/** V1 error format. */
|
|
724
|
-
"$.xgafv"?:
|
|
971
|
+
"$.xgafv"?:
|
|
972
|
+
string;
|
|
725
973
|
/** OAuth access token. */
|
|
726
|
-
access_token?:
|
|
974
|
+
access_token?:
|
|
975
|
+
string;
|
|
727
976
|
/** Data format for response. */
|
|
728
|
-
alt?:
|
|
977
|
+
alt?:
|
|
978
|
+
string;
|
|
729
979
|
/** JSONP */
|
|
730
|
-
callback?:
|
|
980
|
+
callback?:
|
|
981
|
+
string;
|
|
731
982
|
/** Selector specifying which fields to include in a partial response. */
|
|
732
|
-
fields?:
|
|
983
|
+
fields?:
|
|
984
|
+
string;
|
|
733
985
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
734
|
-
key?:
|
|
986
|
+
key?:
|
|
987
|
+
string;
|
|
735
988
|
/**
|
|
736
989
|
* Required. Full resource name of Document, such as
|
|
737
990
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to
|
|
738
|
-
* access the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Document does not exist, a NOT_FOUND error is returned.
|
|
991
|
+
* access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
|
|
739
992
|
*/
|
|
740
|
-
name:
|
|
993
|
+
name:
|
|
994
|
+
string;
|
|
741
995
|
/** OAuth 2.0 token for the current user. */
|
|
742
|
-
oauth_token?:
|
|
996
|
+
oauth_token?:
|
|
997
|
+
string;
|
|
743
998
|
/** Returns response with indentations and line breaks. */
|
|
744
|
-
prettyPrint?:
|
|
999
|
+
prettyPrint?:
|
|
1000
|
+
boolean;
|
|
745
1001
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
746
|
-
quotaUser?:
|
|
1002
|
+
quotaUser?:
|
|
1003
|
+
string;
|
|
747
1004
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
748
|
-
upload_protocol?:
|
|
1005
|
+
upload_protocol?:
|
|
1006
|
+
string;
|
|
749
1007
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
750
|
-
uploadType?:
|
|
1008
|
+
uploadType?:
|
|
1009
|
+
string;
|
|
751
1010
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
752
1011
|
/**
|
|
753
1012
|
* Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully
|
|
@@ -755,429 +1014,689 @@ declare namespace gapi.client {
|
|
|
755
1014
|
*/
|
|
756
1015
|
import(request: {
|
|
757
1016
|
/** V1 error format. */
|
|
758
|
-
"$.xgafv"?:
|
|
1017
|
+
"$.xgafv"?:
|
|
1018
|
+
string;
|
|
759
1019
|
/** OAuth access token. */
|
|
760
|
-
access_token?:
|
|
1020
|
+
access_token?:
|
|
1021
|
+
string;
|
|
761
1022
|
/** Data format for response. */
|
|
762
|
-
alt?:
|
|
1023
|
+
alt?:
|
|
1024
|
+
string;
|
|
763
1025
|
/** JSONP */
|
|
764
|
-
callback?:
|
|
1026
|
+
callback?:
|
|
1027
|
+
string;
|
|
765
1028
|
/** Selector specifying which fields to include in a partial response. */
|
|
766
|
-
fields?:
|
|
1029
|
+
fields?:
|
|
1030
|
+
string;
|
|
767
1031
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
768
|
-
key?:
|
|
1032
|
+
key?:
|
|
1033
|
+
string;
|
|
769
1034
|
/** OAuth 2.0 token for the current user. */
|
|
770
|
-
oauth_token?:
|
|
1035
|
+
oauth_token?:
|
|
1036
|
+
string;
|
|
771
1037
|
/**
|
|
772
1038
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires
|
|
773
1039
|
* create/update permission.
|
|
774
1040
|
*/
|
|
775
|
-
parent:
|
|
1041
|
+
parent:
|
|
1042
|
+
string;
|
|
776
1043
|
/** Returns response with indentations and line breaks. */
|
|
777
|
-
prettyPrint?:
|
|
1044
|
+
prettyPrint?:
|
|
1045
|
+
boolean;
|
|
778
1046
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
779
|
-
quotaUser?:
|
|
1047
|
+
quotaUser?:
|
|
1048
|
+
string;
|
|
780
1049
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
781
|
-
upload_protocol?:
|
|
1050
|
+
upload_protocol?:
|
|
1051
|
+
string;
|
|
782
1052
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
783
|
-
uploadType?:
|
|
1053
|
+
uploadType?:
|
|
1054
|
+
string;
|
|
784
1055
|
/** Request body */
|
|
785
|
-
resource:
|
|
1056
|
+
resource:
|
|
1057
|
+
GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest;
|
|
786
1058
|
}): Request<GoogleLongrunningOperation>;
|
|
787
1059
|
import(request: {
|
|
788
1060
|
/** V1 error format. */
|
|
789
|
-
"$.xgafv"?:
|
|
1061
|
+
"$.xgafv"?:
|
|
1062
|
+
string;
|
|
790
1063
|
/** OAuth access token. */
|
|
791
|
-
access_token?:
|
|
1064
|
+
access_token?:
|
|
1065
|
+
string;
|
|
792
1066
|
/** Data format for response. */
|
|
793
|
-
alt?:
|
|
1067
|
+
alt?:
|
|
1068
|
+
string;
|
|
794
1069
|
/** JSONP */
|
|
795
|
-
callback?:
|
|
1070
|
+
callback?:
|
|
1071
|
+
string;
|
|
796
1072
|
/** Selector specifying which fields to include in a partial response. */
|
|
797
|
-
fields?:
|
|
1073
|
+
fields?:
|
|
1074
|
+
string;
|
|
798
1075
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
799
|
-
key?:
|
|
1076
|
+
key?:
|
|
1077
|
+
string;
|
|
800
1078
|
/** OAuth 2.0 token for the current user. */
|
|
801
|
-
oauth_token?:
|
|
1079
|
+
oauth_token?:
|
|
1080
|
+
string;
|
|
802
1081
|
/**
|
|
803
1082
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires
|
|
804
1083
|
* create/update permission.
|
|
805
1084
|
*/
|
|
806
|
-
parent:
|
|
1085
|
+
parent:
|
|
1086
|
+
string;
|
|
807
1087
|
/** Returns response with indentations and line breaks. */
|
|
808
|
-
prettyPrint?:
|
|
1088
|
+
prettyPrint?:
|
|
1089
|
+
boolean;
|
|
809
1090
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
810
|
-
quotaUser?:
|
|
1091
|
+
quotaUser?:
|
|
1092
|
+
string;
|
|
811
1093
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
812
|
-
upload_protocol?:
|
|
1094
|
+
upload_protocol?:
|
|
1095
|
+
string;
|
|
813
1096
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
814
|
-
uploadType?:
|
|
1097
|
+
uploadType?:
|
|
1098
|
+
string;
|
|
815
1099
|
},
|
|
816
1100
|
body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest): Request<GoogleLongrunningOperation>;
|
|
817
1101
|
/** Gets a list of Documents. */
|
|
818
1102
|
list(request?: {
|
|
819
1103
|
/** V1 error format. */
|
|
820
|
-
"$.xgafv"?:
|
|
1104
|
+
"$.xgafv"?:
|
|
1105
|
+
string;
|
|
821
1106
|
/** OAuth access token. */
|
|
822
|
-
access_token?:
|
|
1107
|
+
access_token?:
|
|
1108
|
+
string;
|
|
823
1109
|
/** Data format for response. */
|
|
824
|
-
alt?:
|
|
1110
|
+
alt?:
|
|
1111
|
+
string;
|
|
825
1112
|
/** JSONP */
|
|
826
|
-
callback?:
|
|
1113
|
+
callback?:
|
|
1114
|
+
string;
|
|
827
1115
|
/** Selector specifying which fields to include in a partial response. */
|
|
828
|
-
fields?:
|
|
1116
|
+
fields?:
|
|
1117
|
+
string;
|
|
829
1118
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
830
|
-
key?:
|
|
1119
|
+
key?:
|
|
1120
|
+
string;
|
|
831
1121
|
/** OAuth 2.0 token for the current user. */
|
|
832
|
-
oauth_token?:
|
|
1122
|
+
oauth_token?:
|
|
1123
|
+
string;
|
|
833
1124
|
/**
|
|
834
1125
|
* Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative,
|
|
835
|
-
* an INVALID_ARGUMENT error is returned.
|
|
1126
|
+
* an `INVALID_ARGUMENT` error is returned.
|
|
836
1127
|
*/
|
|
837
|
-
pageSize?:
|
|
1128
|
+
pageSize?:
|
|
1129
|
+
number;
|
|
838
1130
|
/**
|
|
839
1131
|
* A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating,
|
|
840
|
-
* all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
1132
|
+
* all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
841
1133
|
*/
|
|
842
|
-
pageToken?:
|
|
1134
|
+
pageToken?:
|
|
1135
|
+
string;
|
|
843
1136
|
/**
|
|
844
1137
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
|
|
845
1138
|
* `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documentss under this branch, regardless of whether
|
|
846
|
-
* or not this branch exists, a PERMISSION_DENIED error is returned.
|
|
1139
|
+
* or not this branch exists, a `PERMISSION_DENIED` error is returned.
|
|
847
1140
|
*/
|
|
848
|
-
parent:
|
|
1141
|
+
parent:
|
|
1142
|
+
string;
|
|
849
1143
|
/** Returns response with indentations and line breaks. */
|
|
850
|
-
prettyPrint?:
|
|
1144
|
+
prettyPrint?:
|
|
1145
|
+
boolean;
|
|
851
1146
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
852
|
-
quotaUser?:
|
|
1147
|
+
quotaUser?:
|
|
1148
|
+
string;
|
|
853
1149
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
854
|
-
upload_protocol?:
|
|
1150
|
+
upload_protocol?:
|
|
1151
|
+
string;
|
|
855
1152
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
856
|
-
uploadType?:
|
|
1153
|
+
uploadType?:
|
|
1154
|
+
string;
|
|
857
1155
|
}): Request<GoogleCloudDiscoveryengineV1alphaListDocumentsResponse>;
|
|
858
1156
|
/** Updates a Document. */
|
|
859
1157
|
patch(request: {
|
|
860
1158
|
/** V1 error format. */
|
|
861
|
-
"$.xgafv"?:
|
|
1159
|
+
"$.xgafv"?:
|
|
1160
|
+
string;
|
|
862
1161
|
/** OAuth access token. */
|
|
863
|
-
access_token?:
|
|
1162
|
+
access_token?:
|
|
1163
|
+
string;
|
|
864
1164
|
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
865
|
-
allowMissing?:
|
|
1165
|
+
allowMissing?:
|
|
1166
|
+
boolean;
|
|
866
1167
|
/** Data format for response. */
|
|
867
|
-
alt?:
|
|
1168
|
+
alt?:
|
|
1169
|
+
string;
|
|
868
1170
|
/** JSONP */
|
|
869
|
-
callback?:
|
|
1171
|
+
callback?:
|
|
1172
|
+
string;
|
|
870
1173
|
/** Selector specifying which fields to include in a partial response. */
|
|
871
|
-
fields?:
|
|
1174
|
+
fields?:
|
|
1175
|
+
string;
|
|
872
1176
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
873
|
-
key?:
|
|
1177
|
+
key?:
|
|
1178
|
+
string;
|
|
874
1179
|
/**
|
|
875
1180
|
* Immutable. The full resource name of the document. Format:
|
|
876
1181
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string
|
|
877
1182
|
* with a length limit of 1024 characters.
|
|
878
1183
|
*/
|
|
879
|
-
name:
|
|
1184
|
+
name:
|
|
1185
|
+
string;
|
|
880
1186
|
/** OAuth 2.0 token for the current user. */
|
|
881
|
-
oauth_token?:
|
|
1187
|
+
oauth_token?:
|
|
1188
|
+
string;
|
|
882
1189
|
/** Returns response with indentations and line breaks. */
|
|
883
|
-
prettyPrint?:
|
|
1190
|
+
prettyPrint?:
|
|
1191
|
+
boolean;
|
|
884
1192
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
885
|
-
quotaUser?:
|
|
1193
|
+
quotaUser?:
|
|
1194
|
+
string;
|
|
886
1195
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
887
|
-
upload_protocol?:
|
|
1196
|
+
upload_protocol?:
|
|
1197
|
+
string;
|
|
888
1198
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
889
|
-
uploadType?:
|
|
1199
|
+
uploadType?:
|
|
1200
|
+
string;
|
|
890
1201
|
/** Request body */
|
|
891
|
-
resource:
|
|
1202
|
+
resource:
|
|
1203
|
+
GoogleCloudDiscoveryengineV1alphaDocument;
|
|
892
1204
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
893
1205
|
patch(request: {
|
|
894
1206
|
/** V1 error format. */
|
|
895
|
-
"$.xgafv"?:
|
|
1207
|
+
"$.xgafv"?:
|
|
1208
|
+
string;
|
|
896
1209
|
/** OAuth access token. */
|
|
897
|
-
access_token?:
|
|
1210
|
+
access_token?:
|
|
1211
|
+
string;
|
|
898
1212
|
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
899
|
-
allowMissing?:
|
|
1213
|
+
allowMissing?:
|
|
1214
|
+
boolean;
|
|
900
1215
|
/** Data format for response. */
|
|
901
|
-
alt?:
|
|
1216
|
+
alt?:
|
|
1217
|
+
string;
|
|
902
1218
|
/** JSONP */
|
|
903
|
-
callback?:
|
|
1219
|
+
callback?:
|
|
1220
|
+
string;
|
|
904
1221
|
/** Selector specifying which fields to include in a partial response. */
|
|
905
|
-
fields?:
|
|
1222
|
+
fields?:
|
|
1223
|
+
string;
|
|
906
1224
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
907
|
-
key?:
|
|
1225
|
+
key?:
|
|
1226
|
+
string;
|
|
908
1227
|
/**
|
|
909
1228
|
* Immutable. The full resource name of the document. Format:
|
|
910
1229
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string
|
|
911
1230
|
* with a length limit of 1024 characters.
|
|
912
1231
|
*/
|
|
913
|
-
name:
|
|
1232
|
+
name:
|
|
1233
|
+
string;
|
|
914
1234
|
/** OAuth 2.0 token for the current user. */
|
|
915
|
-
oauth_token?:
|
|
1235
|
+
oauth_token?:
|
|
1236
|
+
string;
|
|
916
1237
|
/** Returns response with indentations and line breaks. */
|
|
917
|
-
prettyPrint?:
|
|
1238
|
+
prettyPrint?:
|
|
1239
|
+
boolean;
|
|
918
1240
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
919
|
-
quotaUser?:
|
|
1241
|
+
quotaUser?:
|
|
1242
|
+
string;
|
|
920
1243
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
921
|
-
upload_protocol?:
|
|
1244
|
+
upload_protocol?:
|
|
1245
|
+
string;
|
|
922
1246
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
923
|
-
uploadType?:
|
|
1247
|
+
uploadType?:
|
|
1248
|
+
string;
|
|
924
1249
|
},
|
|
925
1250
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Permanently deletes all selected Documents under a branch. This process is asynchronous. If the request is valid, the removal will be enquired and processed offlines. Depending on
|
|
1253
|
+
* the number of Documents, this operation could take hours to complete. Before the operation completes, some Documents may still be returned by DocumentService.GetDocument or
|
|
1254
|
+
* DocumentService.ListDocuments. To get a sample of Documents that would be deleted, set PurgeDocumentsRequest.force to false.
|
|
1255
|
+
*/
|
|
1256
|
+
purge(request: {
|
|
1257
|
+
/** V1 error format. */
|
|
1258
|
+
"$.xgafv"?:
|
|
1259
|
+
string;
|
|
1260
|
+
/** OAuth access token. */
|
|
1261
|
+
access_token?:
|
|
1262
|
+
string;
|
|
1263
|
+
/** Data format for response. */
|
|
1264
|
+
alt?:
|
|
1265
|
+
string;
|
|
1266
|
+
/** JSONP */
|
|
1267
|
+
callback?:
|
|
1268
|
+
string;
|
|
1269
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1270
|
+
fields?:
|
|
1271
|
+
string;
|
|
1272
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1273
|
+
key?:
|
|
1274
|
+
string;
|
|
1275
|
+
/** OAuth 2.0 token for the current user. */
|
|
1276
|
+
oauth_token?:
|
|
1277
|
+
string;
|
|
1278
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
1279
|
+
parent:
|
|
1280
|
+
string;
|
|
1281
|
+
/** Returns response with indentations and line breaks. */
|
|
1282
|
+
prettyPrint?:
|
|
1283
|
+
boolean;
|
|
1284
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1285
|
+
quotaUser?:
|
|
1286
|
+
string;
|
|
1287
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1288
|
+
upload_protocol?:
|
|
1289
|
+
string;
|
|
1290
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1291
|
+
uploadType?:
|
|
1292
|
+
string;
|
|
1293
|
+
/** Request body */
|
|
1294
|
+
resource:
|
|
1295
|
+
GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest;
|
|
1296
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1297
|
+
purge(request: {
|
|
1298
|
+
/** V1 error format. */
|
|
1299
|
+
"$.xgafv"?:
|
|
1300
|
+
string;
|
|
1301
|
+
/** OAuth access token. */
|
|
1302
|
+
access_token?:
|
|
1303
|
+
string;
|
|
1304
|
+
/** Data format for response. */
|
|
1305
|
+
alt?:
|
|
1306
|
+
string;
|
|
1307
|
+
/** JSONP */
|
|
1308
|
+
callback?:
|
|
1309
|
+
string;
|
|
1310
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1311
|
+
fields?:
|
|
1312
|
+
string;
|
|
1313
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1314
|
+
key?:
|
|
1315
|
+
string;
|
|
1316
|
+
/** OAuth 2.0 token for the current user. */
|
|
1317
|
+
oauth_token?:
|
|
1318
|
+
string;
|
|
1319
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
1320
|
+
parent:
|
|
1321
|
+
string;
|
|
1322
|
+
/** Returns response with indentations and line breaks. */
|
|
1323
|
+
prettyPrint?:
|
|
1324
|
+
boolean;
|
|
1325
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1326
|
+
quotaUser?:
|
|
1327
|
+
string;
|
|
1328
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1329
|
+
upload_protocol?:
|
|
1330
|
+
string;
|
|
1331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1332
|
+
uploadType?:
|
|
1333
|
+
string;
|
|
1334
|
+
},
|
|
1335
|
+
body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest): Request<GoogleLongrunningOperation>;
|
|
926
1336
|
}
|
|
927
1337
|
interface OperationsResource {
|
|
928
1338
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
929
1339
|
get(request?: {
|
|
930
1340
|
/** V1 error format. */
|
|
931
|
-
"$.xgafv"?:
|
|
1341
|
+
"$.xgafv"?:
|
|
1342
|
+
string;
|
|
932
1343
|
/** OAuth access token. */
|
|
933
|
-
access_token?:
|
|
1344
|
+
access_token?:
|
|
1345
|
+
string;
|
|
934
1346
|
/** Data format for response. */
|
|
935
|
-
alt?:
|
|
1347
|
+
alt?:
|
|
1348
|
+
string;
|
|
936
1349
|
/** JSONP */
|
|
937
|
-
callback?:
|
|
1350
|
+
callback?:
|
|
1351
|
+
string;
|
|
938
1352
|
/** Selector specifying which fields to include in a partial response. */
|
|
939
|
-
fields?:
|
|
1353
|
+
fields?:
|
|
1354
|
+
string;
|
|
940
1355
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
941
|
-
key?:
|
|
1356
|
+
key?:
|
|
1357
|
+
string;
|
|
942
1358
|
/** The name of the operation resource. */
|
|
943
|
-
name:
|
|
1359
|
+
name:
|
|
1360
|
+
string;
|
|
944
1361
|
/** OAuth 2.0 token for the current user. */
|
|
945
|
-
oauth_token?:
|
|
1362
|
+
oauth_token?:
|
|
1363
|
+
string;
|
|
946
1364
|
/** Returns response with indentations and line breaks. */
|
|
947
|
-
prettyPrint?:
|
|
1365
|
+
prettyPrint?:
|
|
1366
|
+
boolean;
|
|
948
1367
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
949
|
-
quotaUser?:
|
|
1368
|
+
quotaUser?:
|
|
1369
|
+
string;
|
|
950
1370
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
951
|
-
upload_protocol?:
|
|
1371
|
+
upload_protocol?:
|
|
1372
|
+
string;
|
|
952
1373
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
953
|
-
uploadType?:
|
|
1374
|
+
uploadType?:
|
|
1375
|
+
string;
|
|
954
1376
|
}): Request<GoogleLongrunningOperation>;
|
|
955
1377
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
956
1378
|
list(request?: {
|
|
957
1379
|
/** V1 error format. */
|
|
958
|
-
"$.xgafv"?:
|
|
1380
|
+
"$.xgafv"?:
|
|
1381
|
+
string;
|
|
959
1382
|
/** OAuth access token. */
|
|
960
|
-
access_token?:
|
|
1383
|
+
access_token?:
|
|
1384
|
+
string;
|
|
961
1385
|
/** Data format for response. */
|
|
962
|
-
alt?:
|
|
1386
|
+
alt?:
|
|
1387
|
+
string;
|
|
963
1388
|
/** JSONP */
|
|
964
|
-
callback?:
|
|
1389
|
+
callback?:
|
|
1390
|
+
string;
|
|
965
1391
|
/** Selector specifying which fields to include in a partial response. */
|
|
966
|
-
fields?:
|
|
1392
|
+
fields?:
|
|
1393
|
+
string;
|
|
967
1394
|
/** The standard list filter. */
|
|
968
|
-
filter?:
|
|
1395
|
+
filter?:
|
|
1396
|
+
string;
|
|
969
1397
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
970
|
-
key?:
|
|
1398
|
+
key?:
|
|
1399
|
+
string;
|
|
971
1400
|
/** The name of the operation's parent resource. */
|
|
972
|
-
name:
|
|
1401
|
+
name:
|
|
1402
|
+
string;
|
|
973
1403
|
/** OAuth 2.0 token for the current user. */
|
|
974
|
-
oauth_token?:
|
|
1404
|
+
oauth_token?:
|
|
1405
|
+
string;
|
|
975
1406
|
/** The standard list page size. */
|
|
976
|
-
pageSize?:
|
|
1407
|
+
pageSize?:
|
|
1408
|
+
number;
|
|
977
1409
|
/** The standard list page token. */
|
|
978
|
-
pageToken?:
|
|
1410
|
+
pageToken?:
|
|
1411
|
+
string;
|
|
979
1412
|
/** Returns response with indentations and line breaks. */
|
|
980
|
-
prettyPrint?:
|
|
1413
|
+
prettyPrint?:
|
|
1414
|
+
boolean;
|
|
981
1415
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
982
|
-
quotaUser?:
|
|
1416
|
+
quotaUser?:
|
|
1417
|
+
string;
|
|
983
1418
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
984
|
-
upload_protocol?:
|
|
1419
|
+
upload_protocol?:
|
|
1420
|
+
string;
|
|
985
1421
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
986
|
-
uploadType?:
|
|
1422
|
+
uploadType?:
|
|
1423
|
+
string;
|
|
987
1424
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
988
1425
|
}
|
|
989
1426
|
interface BranchesResource {
|
|
990
|
-
documents:
|
|
991
|
-
|
|
1427
|
+
documents:
|
|
1428
|
+
DocumentsResource;
|
|
1429
|
+
operations:
|
|
1430
|
+
OperationsResource;
|
|
992
1431
|
}
|
|
993
1432
|
interface OperationsResource {
|
|
994
1433
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
995
1434
|
get(request?: {
|
|
996
1435
|
/** V1 error format. */
|
|
997
|
-
"$.xgafv"?:
|
|
1436
|
+
"$.xgafv"?:
|
|
1437
|
+
string;
|
|
998
1438
|
/** OAuth access token. */
|
|
999
|
-
access_token?:
|
|
1439
|
+
access_token?:
|
|
1440
|
+
string;
|
|
1000
1441
|
/** Data format for response. */
|
|
1001
|
-
alt?:
|
|
1442
|
+
alt?:
|
|
1443
|
+
string;
|
|
1002
1444
|
/** JSONP */
|
|
1003
|
-
callback?:
|
|
1445
|
+
callback?:
|
|
1446
|
+
string;
|
|
1004
1447
|
/** Selector specifying which fields to include in a partial response. */
|
|
1005
|
-
fields?:
|
|
1448
|
+
fields?:
|
|
1449
|
+
string;
|
|
1006
1450
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1007
|
-
key?:
|
|
1451
|
+
key?:
|
|
1452
|
+
string;
|
|
1008
1453
|
/** The name of the operation resource. */
|
|
1009
|
-
name:
|
|
1454
|
+
name:
|
|
1455
|
+
string;
|
|
1010
1456
|
/** OAuth 2.0 token for the current user. */
|
|
1011
|
-
oauth_token?:
|
|
1457
|
+
oauth_token?:
|
|
1458
|
+
string;
|
|
1012
1459
|
/** Returns response with indentations and line breaks. */
|
|
1013
|
-
prettyPrint?:
|
|
1460
|
+
prettyPrint?:
|
|
1461
|
+
boolean;
|
|
1014
1462
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1015
|
-
quotaUser?:
|
|
1463
|
+
quotaUser?:
|
|
1464
|
+
string;
|
|
1016
1465
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1017
|
-
upload_protocol?:
|
|
1466
|
+
upload_protocol?:
|
|
1467
|
+
string;
|
|
1018
1468
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1019
|
-
uploadType?:
|
|
1469
|
+
uploadType?:
|
|
1470
|
+
string;
|
|
1020
1471
|
}): Request<GoogleLongrunningOperation>;
|
|
1021
1472
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1022
1473
|
list(request?: {
|
|
1023
1474
|
/** V1 error format. */
|
|
1024
|
-
"$.xgafv"?:
|
|
1475
|
+
"$.xgafv"?:
|
|
1476
|
+
string;
|
|
1025
1477
|
/** OAuth access token. */
|
|
1026
|
-
access_token?:
|
|
1478
|
+
access_token?:
|
|
1479
|
+
string;
|
|
1027
1480
|
/** Data format for response. */
|
|
1028
|
-
alt?:
|
|
1481
|
+
alt?:
|
|
1482
|
+
string;
|
|
1029
1483
|
/** JSONP */
|
|
1030
|
-
callback?:
|
|
1484
|
+
callback?:
|
|
1485
|
+
string;
|
|
1031
1486
|
/** Selector specifying which fields to include in a partial response. */
|
|
1032
|
-
fields?:
|
|
1487
|
+
fields?:
|
|
1488
|
+
string;
|
|
1033
1489
|
/** The standard list filter. */
|
|
1034
|
-
filter?:
|
|
1490
|
+
filter?:
|
|
1491
|
+
string;
|
|
1035
1492
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1036
|
-
key?:
|
|
1493
|
+
key?:
|
|
1494
|
+
string;
|
|
1037
1495
|
/** The name of the operation's parent resource. */
|
|
1038
|
-
name:
|
|
1496
|
+
name:
|
|
1497
|
+
string;
|
|
1039
1498
|
/** OAuth 2.0 token for the current user. */
|
|
1040
|
-
oauth_token?:
|
|
1499
|
+
oauth_token?:
|
|
1500
|
+
string;
|
|
1041
1501
|
/** The standard list page size. */
|
|
1042
|
-
pageSize?:
|
|
1502
|
+
pageSize?:
|
|
1503
|
+
number;
|
|
1043
1504
|
/** The standard list page token. */
|
|
1044
|
-
pageToken?:
|
|
1505
|
+
pageToken?:
|
|
1506
|
+
string;
|
|
1045
1507
|
/** Returns response with indentations and line breaks. */
|
|
1046
|
-
prettyPrint?:
|
|
1508
|
+
prettyPrint?:
|
|
1509
|
+
boolean;
|
|
1047
1510
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1048
|
-
quotaUser?:
|
|
1511
|
+
quotaUser?:
|
|
1512
|
+
string;
|
|
1049
1513
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1050
|
-
upload_protocol?:
|
|
1514
|
+
upload_protocol?:
|
|
1515
|
+
string;
|
|
1051
1516
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1052
|
-
uploadType?:
|
|
1517
|
+
uploadType?:
|
|
1518
|
+
string;
|
|
1053
1519
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1054
1520
|
}
|
|
1055
1521
|
interface ModelsResource {
|
|
1056
|
-
operations:
|
|
1522
|
+
operations:
|
|
1523
|
+
OperationsResource;
|
|
1057
1524
|
}
|
|
1058
1525
|
interface OperationsResource {
|
|
1059
1526
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1060
1527
|
get(request?: {
|
|
1061
1528
|
/** V1 error format. */
|
|
1062
|
-
"$.xgafv"?:
|
|
1529
|
+
"$.xgafv"?:
|
|
1530
|
+
string;
|
|
1063
1531
|
/** OAuth access token. */
|
|
1064
|
-
access_token?:
|
|
1532
|
+
access_token?:
|
|
1533
|
+
string;
|
|
1065
1534
|
/** Data format for response. */
|
|
1066
|
-
alt?:
|
|
1535
|
+
alt?:
|
|
1536
|
+
string;
|
|
1067
1537
|
/** JSONP */
|
|
1068
|
-
callback?:
|
|
1538
|
+
callback?:
|
|
1539
|
+
string;
|
|
1069
1540
|
/** Selector specifying which fields to include in a partial response. */
|
|
1070
|
-
fields?:
|
|
1541
|
+
fields?:
|
|
1542
|
+
string;
|
|
1071
1543
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1072
|
-
key?:
|
|
1544
|
+
key?:
|
|
1545
|
+
string;
|
|
1073
1546
|
/** The name of the operation resource. */
|
|
1074
|
-
name:
|
|
1547
|
+
name:
|
|
1548
|
+
string;
|
|
1075
1549
|
/** OAuth 2.0 token for the current user. */
|
|
1076
|
-
oauth_token?:
|
|
1550
|
+
oauth_token?:
|
|
1551
|
+
string;
|
|
1077
1552
|
/** Returns response with indentations and line breaks. */
|
|
1078
|
-
prettyPrint?:
|
|
1553
|
+
prettyPrint?:
|
|
1554
|
+
boolean;
|
|
1079
1555
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1080
|
-
quotaUser?:
|
|
1556
|
+
quotaUser?:
|
|
1557
|
+
string;
|
|
1081
1558
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1082
|
-
upload_protocol?:
|
|
1559
|
+
upload_protocol?:
|
|
1560
|
+
string;
|
|
1083
1561
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1084
|
-
uploadType?:
|
|
1562
|
+
uploadType?:
|
|
1563
|
+
string;
|
|
1085
1564
|
}): Request<GoogleLongrunningOperation>;
|
|
1086
1565
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1087
1566
|
list(request?: {
|
|
1088
1567
|
/** V1 error format. */
|
|
1089
|
-
"$.xgafv"?:
|
|
1568
|
+
"$.xgafv"?:
|
|
1569
|
+
string;
|
|
1090
1570
|
/** OAuth access token. */
|
|
1091
|
-
access_token?:
|
|
1571
|
+
access_token?:
|
|
1572
|
+
string;
|
|
1092
1573
|
/** Data format for response. */
|
|
1093
|
-
alt?:
|
|
1574
|
+
alt?:
|
|
1575
|
+
string;
|
|
1094
1576
|
/** JSONP */
|
|
1095
|
-
callback?:
|
|
1577
|
+
callback?:
|
|
1578
|
+
string;
|
|
1096
1579
|
/** Selector specifying which fields to include in a partial response. */
|
|
1097
|
-
fields?:
|
|
1580
|
+
fields?:
|
|
1581
|
+
string;
|
|
1098
1582
|
/** The standard list filter. */
|
|
1099
|
-
filter?:
|
|
1583
|
+
filter?:
|
|
1584
|
+
string;
|
|
1100
1585
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1101
|
-
key?:
|
|
1586
|
+
key?:
|
|
1587
|
+
string;
|
|
1102
1588
|
/** The name of the operation's parent resource. */
|
|
1103
|
-
name:
|
|
1589
|
+
name:
|
|
1590
|
+
string;
|
|
1104
1591
|
/** OAuth 2.0 token for the current user. */
|
|
1105
|
-
oauth_token?:
|
|
1592
|
+
oauth_token?:
|
|
1593
|
+
string;
|
|
1106
1594
|
/** The standard list page size. */
|
|
1107
|
-
pageSize?:
|
|
1595
|
+
pageSize?:
|
|
1596
|
+
number;
|
|
1108
1597
|
/** The standard list page token. */
|
|
1109
|
-
pageToken?:
|
|
1598
|
+
pageToken?:
|
|
1599
|
+
string;
|
|
1110
1600
|
/** Returns response with indentations and line breaks. */
|
|
1111
|
-
prettyPrint?:
|
|
1601
|
+
prettyPrint?:
|
|
1602
|
+
boolean;
|
|
1112
1603
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1113
|
-
quotaUser?:
|
|
1604
|
+
quotaUser?:
|
|
1605
|
+
string;
|
|
1114
1606
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1115
|
-
upload_protocol?:
|
|
1607
|
+
upload_protocol?:
|
|
1608
|
+
string;
|
|
1116
1609
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1117
|
-
uploadType?:
|
|
1610
|
+
uploadType?:
|
|
1611
|
+
string;
|
|
1118
1612
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1119
1613
|
}
|
|
1120
1614
|
interface ServingConfigsResource {
|
|
1121
1615
|
/** Makes a recommendation, which requires a contextual user event. */
|
|
1122
1616
|
recommend(request: {
|
|
1123
1617
|
/** V1 error format. */
|
|
1124
|
-
"$.xgafv"?:
|
|
1618
|
+
"$.xgafv"?:
|
|
1619
|
+
string;
|
|
1125
1620
|
/** OAuth access token. */
|
|
1126
|
-
access_token?:
|
|
1621
|
+
access_token?:
|
|
1622
|
+
string;
|
|
1127
1623
|
/** Data format for response. */
|
|
1128
|
-
alt?:
|
|
1624
|
+
alt?:
|
|
1625
|
+
string;
|
|
1129
1626
|
/** JSONP */
|
|
1130
|
-
callback?:
|
|
1627
|
+
callback?:
|
|
1628
|
+
string;
|
|
1131
1629
|
/** Selector specifying which fields to include in a partial response. */
|
|
1132
|
-
fields?:
|
|
1630
|
+
fields?:
|
|
1631
|
+
string;
|
|
1133
1632
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1134
|
-
key?:
|
|
1633
|
+
key?:
|
|
1634
|
+
string;
|
|
1135
1635
|
/** OAuth 2.0 token for the current user. */
|
|
1136
|
-
oauth_token?:
|
|
1636
|
+
oauth_token?:
|
|
1637
|
+
string;
|
|
1137
1638
|
/** Returns response with indentations and line breaks. */
|
|
1138
|
-
prettyPrint?:
|
|
1639
|
+
prettyPrint?:
|
|
1640
|
+
boolean;
|
|
1139
1641
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1140
|
-
quotaUser?:
|
|
1642
|
+
quotaUser?:
|
|
1643
|
+
string;
|
|
1141
1644
|
/**
|
|
1142
|
-
* Required. Full resource name of the format: projects/*/locations/global/collections/*/dataStores/*/servingConfigs
|
|
1645
|
+
* Required. Full resource name of the format: `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` Before you can request recommendations from your model,
|
|
1143
1646
|
* you must create at least one serving config for it.
|
|
1144
1647
|
*/
|
|
1145
|
-
servingConfig:
|
|
1648
|
+
servingConfig:
|
|
1649
|
+
string;
|
|
1146
1650
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1147
|
-
upload_protocol?:
|
|
1651
|
+
upload_protocol?:
|
|
1652
|
+
string;
|
|
1148
1653
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1149
|
-
uploadType?:
|
|
1654
|
+
uploadType?:
|
|
1655
|
+
string;
|
|
1150
1656
|
/** Request body */
|
|
1151
|
-
resource:
|
|
1657
|
+
resource:
|
|
1658
|
+
GoogleCloudDiscoveryengineV1alphaRecommendRequest;
|
|
1152
1659
|
}): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
|
|
1153
1660
|
recommend(request: {
|
|
1154
1661
|
/** V1 error format. */
|
|
1155
|
-
"$.xgafv"?:
|
|
1662
|
+
"$.xgafv"?:
|
|
1663
|
+
string;
|
|
1156
1664
|
/** OAuth access token. */
|
|
1157
|
-
access_token?:
|
|
1665
|
+
access_token?:
|
|
1666
|
+
string;
|
|
1158
1667
|
/** Data format for response. */
|
|
1159
|
-
alt?:
|
|
1668
|
+
alt?:
|
|
1669
|
+
string;
|
|
1160
1670
|
/** JSONP */
|
|
1161
|
-
callback?:
|
|
1671
|
+
callback?:
|
|
1672
|
+
string;
|
|
1162
1673
|
/** Selector specifying which fields to include in a partial response. */
|
|
1163
|
-
fields?:
|
|
1674
|
+
fields?:
|
|
1675
|
+
string;
|
|
1164
1676
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1165
|
-
key?:
|
|
1677
|
+
key?:
|
|
1678
|
+
string;
|
|
1166
1679
|
/** OAuth 2.0 token for the current user. */
|
|
1167
|
-
oauth_token?:
|
|
1680
|
+
oauth_token?:
|
|
1681
|
+
string;
|
|
1168
1682
|
/** Returns response with indentations and line breaks. */
|
|
1169
|
-
prettyPrint?:
|
|
1683
|
+
prettyPrint?:
|
|
1684
|
+
boolean;
|
|
1170
1685
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1171
|
-
quotaUser?:
|
|
1686
|
+
quotaUser?:
|
|
1687
|
+
string;
|
|
1172
1688
|
/**
|
|
1173
|
-
* Required. Full resource name of the format: projects/*/locations/global/collections/*/dataStores/*/servingConfigs
|
|
1689
|
+
* Required. Full resource name of the format: `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` Before you can request recommendations from your model,
|
|
1174
1690
|
* you must create at least one serving config for it.
|
|
1175
1691
|
*/
|
|
1176
|
-
servingConfig:
|
|
1692
|
+
servingConfig:
|
|
1693
|
+
string;
|
|
1177
1694
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1178
|
-
upload_protocol?:
|
|
1695
|
+
upload_protocol?:
|
|
1696
|
+
string;
|
|
1179
1697
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1180
|
-
uploadType?:
|
|
1698
|
+
uploadType?:
|
|
1699
|
+
string;
|
|
1181
1700
|
},
|
|
1182
1701
|
body: GoogleCloudDiscoveryengineV1alphaRecommendRequest): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
|
|
1183
1702
|
}
|
|
@@ -1188,38 +1707,53 @@ declare namespace gapi.client {
|
|
|
1188
1707
|
*/
|
|
1189
1708
|
collect(request?: {
|
|
1190
1709
|
/** V1 error format. */
|
|
1191
|
-
"$.xgafv"?:
|
|
1710
|
+
"$.xgafv"?:
|
|
1711
|
+
string;
|
|
1192
1712
|
/** OAuth access token. */
|
|
1193
|
-
access_token?:
|
|
1713
|
+
access_token?:
|
|
1714
|
+
string;
|
|
1194
1715
|
/** Data format for response. */
|
|
1195
|
-
alt?:
|
|
1716
|
+
alt?:
|
|
1717
|
+
string;
|
|
1196
1718
|
/** JSONP */
|
|
1197
|
-
callback?:
|
|
1719
|
+
callback?:
|
|
1720
|
+
string;
|
|
1198
1721
|
/** The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
1199
|
-
ets?:
|
|
1722
|
+
ets?:
|
|
1723
|
+
string;
|
|
1200
1724
|
/** Selector specifying which fields to include in a partial response. */
|
|
1201
|
-
fields?:
|
|
1725
|
+
fields?:
|
|
1726
|
+
string;
|
|
1202
1727
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1203
|
-
key?:
|
|
1728
|
+
key?:
|
|
1729
|
+
string;
|
|
1204
1730
|
/** OAuth 2.0 token for the current user. */
|
|
1205
|
-
oauth_token?:
|
|
1731
|
+
oauth_token?:
|
|
1732
|
+
string;
|
|
1206
1733
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
1207
|
-
parent:
|
|
1734
|
+
parent:
|
|
1735
|
+
string;
|
|
1208
1736
|
/** Returns response with indentations and line breaks. */
|
|
1209
|
-
prettyPrint?:
|
|
1737
|
+
prettyPrint?:
|
|
1738
|
+
boolean;
|
|
1210
1739
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1211
|
-
quotaUser?:
|
|
1740
|
+
quotaUser?:
|
|
1741
|
+
string;
|
|
1212
1742
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1213
|
-
upload_protocol?:
|
|
1743
|
+
upload_protocol?:
|
|
1744
|
+
string;
|
|
1214
1745
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1215
|
-
uploadType?:
|
|
1746
|
+
uploadType?:
|
|
1747
|
+
string;
|
|
1216
1748
|
/**
|
|
1217
1749
|
* The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers
|
|
1218
1750
|
* only send the domain for 3rd party requests.
|
|
1219
1751
|
*/
|
|
1220
|
-
uri?:
|
|
1752
|
+
uri?:
|
|
1753
|
+
string;
|
|
1221
1754
|
/** Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. */
|
|
1222
|
-
userEvent?:
|
|
1755
|
+
userEvent?:
|
|
1756
|
+
string;
|
|
1223
1757
|
}): Request<GoogleApiHttpBody>;
|
|
1224
1758
|
/**
|
|
1225
1759
|
* Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
|
|
@@ -1227,321 +1761,551 @@ declare namespace gapi.client {
|
|
|
1227
1761
|
*/
|
|
1228
1762
|
import(request: {
|
|
1229
1763
|
/** V1 error format. */
|
|
1230
|
-
"$.xgafv"?:
|
|
1764
|
+
"$.xgafv"?:
|
|
1765
|
+
string;
|
|
1231
1766
|
/** OAuth access token. */
|
|
1232
|
-
access_token?:
|
|
1767
|
+
access_token?:
|
|
1768
|
+
string;
|
|
1233
1769
|
/** Data format for response. */
|
|
1234
|
-
alt?:
|
|
1770
|
+
alt?:
|
|
1771
|
+
string;
|
|
1235
1772
|
/** JSONP */
|
|
1236
|
-
callback?:
|
|
1773
|
+
callback?:
|
|
1774
|
+
string;
|
|
1237
1775
|
/** Selector specifying which fields to include in a partial response. */
|
|
1238
|
-
fields?:
|
|
1776
|
+
fields?:
|
|
1777
|
+
string;
|
|
1239
1778
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1240
|
-
key?:
|
|
1779
|
+
key?:
|
|
1780
|
+
string;
|
|
1241
1781
|
/** OAuth 2.0 token for the current user. */
|
|
1242
|
-
oauth_token?:
|
|
1782
|
+
oauth_token?:
|
|
1783
|
+
string;
|
|
1243
1784
|
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
1244
|
-
parent:
|
|
1785
|
+
parent:
|
|
1786
|
+
string;
|
|
1245
1787
|
/** Returns response with indentations and line breaks. */
|
|
1246
|
-
prettyPrint?:
|
|
1788
|
+
prettyPrint?:
|
|
1789
|
+
boolean;
|
|
1247
1790
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1248
|
-
quotaUser?:
|
|
1791
|
+
quotaUser?:
|
|
1792
|
+
string;
|
|
1249
1793
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1250
|
-
upload_protocol?:
|
|
1794
|
+
upload_protocol?:
|
|
1795
|
+
string;
|
|
1251
1796
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1252
|
-
uploadType?:
|
|
1797
|
+
uploadType?:
|
|
1798
|
+
string;
|
|
1253
1799
|
/** Request body */
|
|
1254
|
-
resource:
|
|
1800
|
+
resource:
|
|
1801
|
+
GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest;
|
|
1255
1802
|
}): Request<GoogleLongrunningOperation>;
|
|
1256
1803
|
import(request: {
|
|
1257
1804
|
/** V1 error format. */
|
|
1258
|
-
"$.xgafv"?:
|
|
1805
|
+
"$.xgafv"?:
|
|
1806
|
+
string;
|
|
1259
1807
|
/** OAuth access token. */
|
|
1260
|
-
access_token?:
|
|
1808
|
+
access_token?:
|
|
1809
|
+
string;
|
|
1261
1810
|
/** Data format for response. */
|
|
1262
|
-
alt?:
|
|
1811
|
+
alt?:
|
|
1812
|
+
string;
|
|
1263
1813
|
/** JSONP */
|
|
1264
|
-
callback?:
|
|
1814
|
+
callback?:
|
|
1815
|
+
string;
|
|
1265
1816
|
/** Selector specifying which fields to include in a partial response. */
|
|
1266
|
-
fields?:
|
|
1817
|
+
fields?:
|
|
1818
|
+
string;
|
|
1267
1819
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1268
|
-
key?:
|
|
1820
|
+
key?:
|
|
1821
|
+
string;
|
|
1269
1822
|
/** OAuth 2.0 token for the current user. */
|
|
1270
|
-
oauth_token?:
|
|
1823
|
+
oauth_token?:
|
|
1824
|
+
string;
|
|
1271
1825
|
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
1272
|
-
parent:
|
|
1826
|
+
parent:
|
|
1827
|
+
string;
|
|
1273
1828
|
/** Returns response with indentations and line breaks. */
|
|
1274
|
-
prettyPrint?:
|
|
1829
|
+
prettyPrint?:
|
|
1830
|
+
boolean;
|
|
1275
1831
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1276
|
-
quotaUser?:
|
|
1832
|
+
quotaUser?:
|
|
1833
|
+
string;
|
|
1277
1834
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1278
|
-
upload_protocol?:
|
|
1835
|
+
upload_protocol?:
|
|
1836
|
+
string;
|
|
1279
1837
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1280
|
-
uploadType?:
|
|
1838
|
+
uploadType?:
|
|
1839
|
+
string;
|
|
1281
1840
|
},
|
|
1282
1841
|
body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest): Request<GoogleLongrunningOperation>;
|
|
1283
1842
|
/** Writes a single user event. */
|
|
1284
1843
|
write(request: {
|
|
1285
1844
|
/** V1 error format. */
|
|
1286
|
-
"$.xgafv"?:
|
|
1845
|
+
"$.xgafv"?:
|
|
1846
|
+
string;
|
|
1287
1847
|
/** OAuth access token. */
|
|
1288
|
-
access_token?:
|
|
1848
|
+
access_token?:
|
|
1849
|
+
string;
|
|
1289
1850
|
/** Data format for response. */
|
|
1290
|
-
alt?:
|
|
1851
|
+
alt?:
|
|
1852
|
+
string;
|
|
1291
1853
|
/** JSONP */
|
|
1292
|
-
callback?:
|
|
1854
|
+
callback?:
|
|
1855
|
+
string;
|
|
1293
1856
|
/** Selector specifying which fields to include in a partial response. */
|
|
1294
|
-
fields?:
|
|
1857
|
+
fields?:
|
|
1858
|
+
string;
|
|
1295
1859
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1296
|
-
key?:
|
|
1860
|
+
key?:
|
|
1861
|
+
string;
|
|
1297
1862
|
/** OAuth 2.0 token for the current user. */
|
|
1298
|
-
oauth_token?:
|
|
1863
|
+
oauth_token?:
|
|
1864
|
+
string;
|
|
1299
1865
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
1300
|
-
parent:
|
|
1866
|
+
parent:
|
|
1867
|
+
string;
|
|
1301
1868
|
/** Returns response with indentations and line breaks. */
|
|
1302
|
-
prettyPrint?:
|
|
1869
|
+
prettyPrint?:
|
|
1870
|
+
boolean;
|
|
1303
1871
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1304
|
-
quotaUser?:
|
|
1872
|
+
quotaUser?:
|
|
1873
|
+
string;
|
|
1305
1874
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1306
|
-
upload_protocol?:
|
|
1875
|
+
upload_protocol?:
|
|
1876
|
+
string;
|
|
1307
1877
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1308
|
-
uploadType?:
|
|
1878
|
+
uploadType?:
|
|
1879
|
+
string;
|
|
1309
1880
|
/** Request body */
|
|
1310
|
-
resource:
|
|
1881
|
+
resource:
|
|
1882
|
+
GoogleCloudDiscoveryengineV1alphaUserEvent;
|
|
1311
1883
|
}): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
|
|
1312
1884
|
write(request: {
|
|
1313
1885
|
/** V1 error format. */
|
|
1314
|
-
"$.xgafv"?:
|
|
1886
|
+
"$.xgafv"?:
|
|
1887
|
+
string;
|
|
1315
1888
|
/** OAuth access token. */
|
|
1316
|
-
access_token?:
|
|
1889
|
+
access_token?:
|
|
1890
|
+
string;
|
|
1317
1891
|
/** Data format for response. */
|
|
1318
|
-
alt?:
|
|
1892
|
+
alt?:
|
|
1893
|
+
string;
|
|
1319
1894
|
/** JSONP */
|
|
1320
|
-
callback?:
|
|
1895
|
+
callback?:
|
|
1896
|
+
string;
|
|
1321
1897
|
/** Selector specifying which fields to include in a partial response. */
|
|
1322
|
-
fields?:
|
|
1898
|
+
fields?:
|
|
1899
|
+
string;
|
|
1323
1900
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1324
|
-
key?:
|
|
1901
|
+
key?:
|
|
1902
|
+
string;
|
|
1325
1903
|
/** OAuth 2.0 token for the current user. */
|
|
1326
|
-
oauth_token?:
|
|
1904
|
+
oauth_token?:
|
|
1905
|
+
string;
|
|
1327
1906
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
1328
|
-
parent:
|
|
1907
|
+
parent:
|
|
1908
|
+
string;
|
|
1329
1909
|
/** Returns response with indentations and line breaks. */
|
|
1330
|
-
prettyPrint?:
|
|
1910
|
+
prettyPrint?:
|
|
1911
|
+
boolean;
|
|
1331
1912
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1332
|
-
quotaUser?:
|
|
1913
|
+
quotaUser?:
|
|
1914
|
+
string;
|
|
1333
1915
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1334
|
-
upload_protocol?:
|
|
1916
|
+
upload_protocol?:
|
|
1917
|
+
string;
|
|
1335
1918
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1336
|
-
uploadType?:
|
|
1919
|
+
uploadType?:
|
|
1920
|
+
string;
|
|
1337
1921
|
},
|
|
1338
1922
|
body: GoogleCloudDiscoveryengineV1alphaUserEvent): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
|
|
1339
1923
|
}
|
|
1340
1924
|
interface DataStoresResource {
|
|
1341
|
-
branches:
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1925
|
+
branches:
|
|
1926
|
+
BranchesResource;
|
|
1927
|
+
models:
|
|
1928
|
+
ModelsResource;
|
|
1929
|
+
operations:
|
|
1930
|
+
OperationsResource;
|
|
1931
|
+
servingConfigs:
|
|
1932
|
+
ServingConfigsResource;
|
|
1933
|
+
userEvents:
|
|
1934
|
+
UserEventsResource;
|
|
1346
1935
|
}
|
|
1347
1936
|
interface OperationsResource {
|
|
1348
1937
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1349
1938
|
get(request?: {
|
|
1350
1939
|
/** V1 error format. */
|
|
1351
|
-
"$.xgafv"?:
|
|
1940
|
+
"$.xgafv"?:
|
|
1941
|
+
string;
|
|
1352
1942
|
/** OAuth access token. */
|
|
1353
|
-
access_token?:
|
|
1943
|
+
access_token?:
|
|
1944
|
+
string;
|
|
1354
1945
|
/** Data format for response. */
|
|
1355
|
-
alt?:
|
|
1946
|
+
alt?:
|
|
1947
|
+
string;
|
|
1356
1948
|
/** JSONP */
|
|
1357
|
-
callback?:
|
|
1949
|
+
callback?:
|
|
1950
|
+
string;
|
|
1358
1951
|
/** Selector specifying which fields to include in a partial response. */
|
|
1359
|
-
fields?:
|
|
1952
|
+
fields?:
|
|
1953
|
+
string;
|
|
1360
1954
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1361
|
-
key?:
|
|
1955
|
+
key?:
|
|
1956
|
+
string;
|
|
1362
1957
|
/** The name of the operation resource. */
|
|
1363
|
-
name:
|
|
1958
|
+
name:
|
|
1959
|
+
string;
|
|
1364
1960
|
/** OAuth 2.0 token for the current user. */
|
|
1365
|
-
oauth_token?:
|
|
1961
|
+
oauth_token?:
|
|
1962
|
+
string;
|
|
1366
1963
|
/** Returns response with indentations and line breaks. */
|
|
1367
|
-
prettyPrint?:
|
|
1964
|
+
prettyPrint?:
|
|
1965
|
+
boolean;
|
|
1368
1966
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1369
|
-
quotaUser?:
|
|
1967
|
+
quotaUser?:
|
|
1968
|
+
string;
|
|
1370
1969
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1371
|
-
upload_protocol?:
|
|
1970
|
+
upload_protocol?:
|
|
1971
|
+
string;
|
|
1372
1972
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1373
|
-
uploadType?:
|
|
1973
|
+
uploadType?:
|
|
1974
|
+
string;
|
|
1374
1975
|
}): Request<GoogleLongrunningOperation>;
|
|
1375
1976
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1376
1977
|
list(request?: {
|
|
1377
1978
|
/** V1 error format. */
|
|
1378
|
-
"$.xgafv"?:
|
|
1979
|
+
"$.xgafv"?:
|
|
1980
|
+
string;
|
|
1379
1981
|
/** OAuth access token. */
|
|
1380
|
-
access_token?:
|
|
1982
|
+
access_token?:
|
|
1983
|
+
string;
|
|
1381
1984
|
/** Data format for response. */
|
|
1382
|
-
alt?:
|
|
1985
|
+
alt?:
|
|
1986
|
+
string;
|
|
1383
1987
|
/** JSONP */
|
|
1384
|
-
callback?:
|
|
1988
|
+
callback?:
|
|
1989
|
+
string;
|
|
1385
1990
|
/** Selector specifying which fields to include in a partial response. */
|
|
1386
|
-
fields?:
|
|
1991
|
+
fields?:
|
|
1992
|
+
string;
|
|
1387
1993
|
/** The standard list filter. */
|
|
1388
|
-
filter?:
|
|
1994
|
+
filter?:
|
|
1995
|
+
string;
|
|
1389
1996
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1390
|
-
key?:
|
|
1997
|
+
key?:
|
|
1998
|
+
string;
|
|
1391
1999
|
/** The name of the operation's parent resource. */
|
|
1392
|
-
name:
|
|
2000
|
+
name:
|
|
2001
|
+
string;
|
|
1393
2002
|
/** OAuth 2.0 token for the current user. */
|
|
1394
|
-
oauth_token?:
|
|
2003
|
+
oauth_token?:
|
|
2004
|
+
string;
|
|
1395
2005
|
/** The standard list page size. */
|
|
1396
|
-
pageSize?:
|
|
2006
|
+
pageSize?:
|
|
2007
|
+
number;
|
|
1397
2008
|
/** The standard list page token. */
|
|
1398
|
-
pageToken?:
|
|
2009
|
+
pageToken?:
|
|
2010
|
+
string;
|
|
1399
2011
|
/** Returns response with indentations and line breaks. */
|
|
1400
|
-
prettyPrint?:
|
|
2012
|
+
prettyPrint?:
|
|
2013
|
+
boolean;
|
|
1401
2014
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1402
|
-
quotaUser?:
|
|
2015
|
+
quotaUser?:
|
|
2016
|
+
string;
|
|
1403
2017
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1404
|
-
upload_protocol?:
|
|
2018
|
+
upload_protocol?:
|
|
2019
|
+
string;
|
|
1405
2020
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1406
|
-
uploadType?:
|
|
2021
|
+
uploadType?:
|
|
2022
|
+
string;
|
|
2023
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2024
|
+
}
|
|
2025
|
+
interface EnginesResource {
|
|
2026
|
+
operations:
|
|
2027
|
+
OperationsResource;
|
|
2028
|
+
}
|
|
2029
|
+
interface OperationsResource {
|
|
2030
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2031
|
+
get(request?: {
|
|
2032
|
+
/** V1 error format. */
|
|
2033
|
+
"$.xgafv"?:
|
|
2034
|
+
string;
|
|
2035
|
+
/** OAuth access token. */
|
|
2036
|
+
access_token?:
|
|
2037
|
+
string;
|
|
2038
|
+
/** Data format for response. */
|
|
2039
|
+
alt?:
|
|
2040
|
+
string;
|
|
2041
|
+
/** JSONP */
|
|
2042
|
+
callback?:
|
|
2043
|
+
string;
|
|
2044
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2045
|
+
fields?:
|
|
2046
|
+
string;
|
|
2047
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2048
|
+
key?:
|
|
2049
|
+
string;
|
|
2050
|
+
/** The name of the operation resource. */
|
|
2051
|
+
name:
|
|
2052
|
+
string;
|
|
2053
|
+
/** OAuth 2.0 token for the current user. */
|
|
2054
|
+
oauth_token?:
|
|
2055
|
+
string;
|
|
2056
|
+
/** Returns response with indentations and line breaks. */
|
|
2057
|
+
prettyPrint?:
|
|
2058
|
+
boolean;
|
|
2059
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2060
|
+
quotaUser?:
|
|
2061
|
+
string;
|
|
2062
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2063
|
+
upload_protocol?:
|
|
2064
|
+
string;
|
|
2065
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2066
|
+
uploadType?:
|
|
2067
|
+
string;
|
|
2068
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2069
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2070
|
+
list(request?: {
|
|
2071
|
+
/** V1 error format. */
|
|
2072
|
+
"$.xgafv"?:
|
|
2073
|
+
string;
|
|
2074
|
+
/** OAuth access token. */
|
|
2075
|
+
access_token?:
|
|
2076
|
+
string;
|
|
2077
|
+
/** Data format for response. */
|
|
2078
|
+
alt?:
|
|
2079
|
+
string;
|
|
2080
|
+
/** JSONP */
|
|
2081
|
+
callback?:
|
|
2082
|
+
string;
|
|
2083
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2084
|
+
fields?:
|
|
2085
|
+
string;
|
|
2086
|
+
/** The standard list filter. */
|
|
2087
|
+
filter?:
|
|
2088
|
+
string;
|
|
2089
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2090
|
+
key?:
|
|
2091
|
+
string;
|
|
2092
|
+
/** The name of the operation's parent resource. */
|
|
2093
|
+
name:
|
|
2094
|
+
string;
|
|
2095
|
+
/** OAuth 2.0 token for the current user. */
|
|
2096
|
+
oauth_token?:
|
|
2097
|
+
string;
|
|
2098
|
+
/** The standard list page size. */
|
|
2099
|
+
pageSize?:
|
|
2100
|
+
number;
|
|
2101
|
+
/** The standard list page token. */
|
|
2102
|
+
pageToken?:
|
|
2103
|
+
string;
|
|
2104
|
+
/** Returns response with indentations and line breaks. */
|
|
2105
|
+
prettyPrint?:
|
|
2106
|
+
boolean;
|
|
2107
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2108
|
+
quotaUser?:
|
|
2109
|
+
string;
|
|
2110
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2111
|
+
upload_protocol?:
|
|
2112
|
+
string;
|
|
2113
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2114
|
+
uploadType?:
|
|
2115
|
+
string;
|
|
1407
2116
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1408
2117
|
}
|
|
1409
2118
|
interface CollectionsResource {
|
|
1410
|
-
dataStores:
|
|
1411
|
-
|
|
2119
|
+
dataStores:
|
|
2120
|
+
DataStoresResource;
|
|
2121
|
+
engines:
|
|
2122
|
+
EnginesResource;
|
|
2123
|
+
operations:
|
|
2124
|
+
OperationsResource;
|
|
1412
2125
|
}
|
|
1413
2126
|
interface DocumentsResource {
|
|
1414
2127
|
/** Creates a Document. */
|
|
1415
2128
|
create(request: {
|
|
1416
2129
|
/** V1 error format. */
|
|
1417
|
-
"$.xgafv"?:
|
|
2130
|
+
"$.xgafv"?:
|
|
2131
|
+
string;
|
|
1418
2132
|
/** OAuth access token. */
|
|
1419
|
-
access_token?:
|
|
2133
|
+
access_token?:
|
|
2134
|
+
string;
|
|
1420
2135
|
/** Data format for response. */
|
|
1421
|
-
alt?:
|
|
2136
|
+
alt?:
|
|
2137
|
+
string;
|
|
1422
2138
|
/** JSONP */
|
|
1423
|
-
callback?:
|
|
2139
|
+
callback?:
|
|
2140
|
+
string;
|
|
1424
2141
|
/**
|
|
1425
2142
|
* Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless
|
|
1426
|
-
* of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Documents with the same parent. Otherwise, an ALREADY_EXISTS error is
|
|
1427
|
-
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is
|
|
2143
|
+
* of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
|
|
2144
|
+
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
1428
2145
|
* returned.
|
|
1429
2146
|
*/
|
|
1430
|
-
documentId?:
|
|
2147
|
+
documentId?:
|
|
2148
|
+
string;
|
|
1431
2149
|
/** Selector specifying which fields to include in a partial response. */
|
|
1432
|
-
fields?:
|
|
2150
|
+
fields?:
|
|
2151
|
+
string;
|
|
1433
2152
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1434
|
-
key?:
|
|
2153
|
+
key?:
|
|
2154
|
+
string;
|
|
1435
2155
|
/** OAuth 2.0 token for the current user. */
|
|
1436
|
-
oauth_token?:
|
|
2156
|
+
oauth_token?:
|
|
2157
|
+
string;
|
|
1437
2158
|
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
1438
|
-
parent:
|
|
2159
|
+
parent:
|
|
2160
|
+
string;
|
|
1439
2161
|
/** Returns response with indentations and line breaks. */
|
|
1440
|
-
prettyPrint?:
|
|
2162
|
+
prettyPrint?:
|
|
2163
|
+
boolean;
|
|
1441
2164
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1442
|
-
quotaUser?:
|
|
2165
|
+
quotaUser?:
|
|
2166
|
+
string;
|
|
1443
2167
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1444
|
-
upload_protocol?:
|
|
2168
|
+
upload_protocol?:
|
|
2169
|
+
string;
|
|
1445
2170
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1446
|
-
uploadType?:
|
|
2171
|
+
uploadType?:
|
|
2172
|
+
string;
|
|
1447
2173
|
/** Request body */
|
|
1448
|
-
resource:
|
|
2174
|
+
resource:
|
|
2175
|
+
GoogleCloudDiscoveryengineV1alphaDocument;
|
|
1449
2176
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1450
2177
|
create(request: {
|
|
1451
2178
|
/** V1 error format. */
|
|
1452
|
-
"$.xgafv"?:
|
|
2179
|
+
"$.xgafv"?:
|
|
2180
|
+
string;
|
|
1453
2181
|
/** OAuth access token. */
|
|
1454
|
-
access_token?:
|
|
2182
|
+
access_token?:
|
|
2183
|
+
string;
|
|
1455
2184
|
/** Data format for response. */
|
|
1456
|
-
alt?:
|
|
2185
|
+
alt?:
|
|
2186
|
+
string;
|
|
1457
2187
|
/** JSONP */
|
|
1458
|
-
callback?:
|
|
2188
|
+
callback?:
|
|
2189
|
+
string;
|
|
1459
2190
|
/**
|
|
1460
2191
|
* Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless
|
|
1461
|
-
* of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Documents with the same parent. Otherwise, an ALREADY_EXISTS error is
|
|
1462
|
-
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is
|
|
2192
|
+
* of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is
|
|
2193
|
+
* returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is
|
|
1463
2194
|
* returned.
|
|
1464
2195
|
*/
|
|
1465
|
-
documentId?:
|
|
2196
|
+
documentId?:
|
|
2197
|
+
string;
|
|
1466
2198
|
/** Selector specifying which fields to include in a partial response. */
|
|
1467
|
-
fields?:
|
|
2199
|
+
fields?:
|
|
2200
|
+
string;
|
|
1468
2201
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1469
|
-
key?:
|
|
2202
|
+
key?:
|
|
2203
|
+
string;
|
|
1470
2204
|
/** OAuth 2.0 token for the current user. */
|
|
1471
|
-
oauth_token?:
|
|
2205
|
+
oauth_token?:
|
|
2206
|
+
string;
|
|
1472
2207
|
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
1473
|
-
parent:
|
|
2208
|
+
parent:
|
|
2209
|
+
string;
|
|
1474
2210
|
/** Returns response with indentations and line breaks. */
|
|
1475
|
-
prettyPrint?:
|
|
2211
|
+
prettyPrint?:
|
|
2212
|
+
boolean;
|
|
1476
2213
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1477
|
-
quotaUser?:
|
|
2214
|
+
quotaUser?:
|
|
2215
|
+
string;
|
|
1478
2216
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1479
|
-
upload_protocol?:
|
|
2217
|
+
upload_protocol?:
|
|
2218
|
+
string;
|
|
1480
2219
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1481
|
-
uploadType?:
|
|
2220
|
+
uploadType?:
|
|
2221
|
+
string;
|
|
1482
2222
|
},
|
|
1483
2223
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1484
2224
|
/** Deletes a Document. */
|
|
1485
2225
|
delete(request?: {
|
|
1486
2226
|
/** V1 error format. */
|
|
1487
|
-
"$.xgafv"?:
|
|
2227
|
+
"$.xgafv"?:
|
|
2228
|
+
string;
|
|
1488
2229
|
/** OAuth access token. */
|
|
1489
|
-
access_token?:
|
|
2230
|
+
access_token?:
|
|
2231
|
+
string;
|
|
1490
2232
|
/** Data format for response. */
|
|
1491
|
-
alt?:
|
|
2233
|
+
alt?:
|
|
2234
|
+
string;
|
|
1492
2235
|
/** JSONP */
|
|
1493
|
-
callback?:
|
|
2236
|
+
callback?:
|
|
2237
|
+
string;
|
|
1494
2238
|
/** Selector specifying which fields to include in a partial response. */
|
|
1495
|
-
fields?:
|
|
2239
|
+
fields?:
|
|
2240
|
+
string;
|
|
1496
2241
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1497
|
-
key?:
|
|
2242
|
+
key?:
|
|
2243
|
+
string;
|
|
1498
2244
|
/**
|
|
1499
2245
|
* Required. Full resource name of Document, such as
|
|
1500
2246
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to
|
|
1501
|
-
* delete the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Document to delete does not exist, a NOT_FOUND error is returned.
|
|
2247
|
+
* delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.
|
|
1502
2248
|
*/
|
|
1503
|
-
name:
|
|
2249
|
+
name:
|
|
2250
|
+
string;
|
|
1504
2251
|
/** OAuth 2.0 token for the current user. */
|
|
1505
|
-
oauth_token?:
|
|
2252
|
+
oauth_token?:
|
|
2253
|
+
string;
|
|
1506
2254
|
/** Returns response with indentations and line breaks. */
|
|
1507
|
-
prettyPrint?:
|
|
2255
|
+
prettyPrint?:
|
|
2256
|
+
boolean;
|
|
1508
2257
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1509
|
-
quotaUser?:
|
|
2258
|
+
quotaUser?:
|
|
2259
|
+
string;
|
|
1510
2260
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1511
|
-
upload_protocol?:
|
|
2261
|
+
upload_protocol?:
|
|
2262
|
+
string;
|
|
1512
2263
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1513
|
-
uploadType?:
|
|
2264
|
+
uploadType?:
|
|
2265
|
+
string;
|
|
1514
2266
|
}): Request<{}>;
|
|
1515
2267
|
/** Gets a Document. */
|
|
1516
2268
|
get(request?: {
|
|
1517
2269
|
/** V1 error format. */
|
|
1518
|
-
"$.xgafv"?:
|
|
2270
|
+
"$.xgafv"?:
|
|
2271
|
+
string;
|
|
1519
2272
|
/** OAuth access token. */
|
|
1520
|
-
access_token?:
|
|
2273
|
+
access_token?:
|
|
2274
|
+
string;
|
|
1521
2275
|
/** Data format for response. */
|
|
1522
|
-
alt?:
|
|
2276
|
+
alt?:
|
|
2277
|
+
string;
|
|
1523
2278
|
/** JSONP */
|
|
1524
|
-
callback?:
|
|
2279
|
+
callback?:
|
|
2280
|
+
string;
|
|
1525
2281
|
/** Selector specifying which fields to include in a partial response. */
|
|
1526
|
-
fields?:
|
|
2282
|
+
fields?:
|
|
2283
|
+
string;
|
|
1527
2284
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1528
|
-
key?:
|
|
2285
|
+
key?:
|
|
2286
|
+
string;
|
|
1529
2287
|
/**
|
|
1530
2288
|
* Required. Full resource name of Document, such as
|
|
1531
2289
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to
|
|
1532
|
-
* access the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Document does not exist, a NOT_FOUND error is returned.
|
|
2290
|
+
* access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
|
|
1533
2291
|
*/
|
|
1534
|
-
name:
|
|
2292
|
+
name:
|
|
2293
|
+
string;
|
|
1535
2294
|
/** OAuth 2.0 token for the current user. */
|
|
1536
|
-
oauth_token?:
|
|
2295
|
+
oauth_token?:
|
|
2296
|
+
string;
|
|
1537
2297
|
/** Returns response with indentations and line breaks. */
|
|
1538
|
-
prettyPrint?:
|
|
2298
|
+
prettyPrint?:
|
|
2299
|
+
boolean;
|
|
1539
2300
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1540
|
-
quotaUser?:
|
|
2301
|
+
quotaUser?:
|
|
2302
|
+
string;
|
|
1541
2303
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1542
|
-
upload_protocol?:
|
|
2304
|
+
upload_protocol?:
|
|
2305
|
+
string;
|
|
1543
2306
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1544
|
-
uploadType?:
|
|
2307
|
+
uploadType?:
|
|
2308
|
+
string;
|
|
1545
2309
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1546
2310
|
/**
|
|
1547
2311
|
* Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully
|
|
@@ -1549,429 +2313,689 @@ declare namespace gapi.client {
|
|
|
1549
2313
|
*/
|
|
1550
2314
|
import(request: {
|
|
1551
2315
|
/** V1 error format. */
|
|
1552
|
-
"$.xgafv"?:
|
|
2316
|
+
"$.xgafv"?:
|
|
2317
|
+
string;
|
|
1553
2318
|
/** OAuth access token. */
|
|
1554
|
-
access_token?:
|
|
2319
|
+
access_token?:
|
|
2320
|
+
string;
|
|
1555
2321
|
/** Data format for response. */
|
|
1556
|
-
alt?:
|
|
2322
|
+
alt?:
|
|
2323
|
+
string;
|
|
1557
2324
|
/** JSONP */
|
|
1558
|
-
callback?:
|
|
2325
|
+
callback?:
|
|
2326
|
+
string;
|
|
1559
2327
|
/** Selector specifying which fields to include in a partial response. */
|
|
1560
|
-
fields?:
|
|
2328
|
+
fields?:
|
|
2329
|
+
string;
|
|
1561
2330
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1562
|
-
key?:
|
|
2331
|
+
key?:
|
|
2332
|
+
string;
|
|
1563
2333
|
/** OAuth 2.0 token for the current user. */
|
|
1564
|
-
oauth_token?:
|
|
2334
|
+
oauth_token?:
|
|
2335
|
+
string;
|
|
1565
2336
|
/**
|
|
1566
2337
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires
|
|
1567
2338
|
* create/update permission.
|
|
1568
2339
|
*/
|
|
1569
|
-
parent:
|
|
2340
|
+
parent:
|
|
2341
|
+
string;
|
|
1570
2342
|
/** Returns response with indentations and line breaks. */
|
|
1571
|
-
prettyPrint?:
|
|
2343
|
+
prettyPrint?:
|
|
2344
|
+
boolean;
|
|
1572
2345
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1573
|
-
quotaUser?:
|
|
2346
|
+
quotaUser?:
|
|
2347
|
+
string;
|
|
1574
2348
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1575
|
-
upload_protocol?:
|
|
2349
|
+
upload_protocol?:
|
|
2350
|
+
string;
|
|
1576
2351
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1577
|
-
uploadType?:
|
|
2352
|
+
uploadType?:
|
|
2353
|
+
string;
|
|
1578
2354
|
/** Request body */
|
|
1579
|
-
resource:
|
|
2355
|
+
resource:
|
|
2356
|
+
GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest;
|
|
1580
2357
|
}): Request<GoogleLongrunningOperation>;
|
|
1581
2358
|
import(request: {
|
|
1582
2359
|
/** V1 error format. */
|
|
1583
|
-
"$.xgafv"?:
|
|
2360
|
+
"$.xgafv"?:
|
|
2361
|
+
string;
|
|
1584
2362
|
/** OAuth access token. */
|
|
1585
|
-
access_token?:
|
|
2363
|
+
access_token?:
|
|
2364
|
+
string;
|
|
1586
2365
|
/** Data format for response. */
|
|
1587
|
-
alt?:
|
|
2366
|
+
alt?:
|
|
2367
|
+
string;
|
|
1588
2368
|
/** JSONP */
|
|
1589
|
-
callback?:
|
|
2369
|
+
callback?:
|
|
2370
|
+
string;
|
|
1590
2371
|
/** Selector specifying which fields to include in a partial response. */
|
|
1591
|
-
fields?:
|
|
2372
|
+
fields?:
|
|
2373
|
+
string;
|
|
1592
2374
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1593
|
-
key?:
|
|
2375
|
+
key?:
|
|
2376
|
+
string;
|
|
1594
2377
|
/** OAuth 2.0 token for the current user. */
|
|
1595
|
-
oauth_token?:
|
|
2378
|
+
oauth_token?:
|
|
2379
|
+
string;
|
|
1596
2380
|
/**
|
|
1597
2381
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires
|
|
1598
2382
|
* create/update permission.
|
|
1599
2383
|
*/
|
|
1600
|
-
parent:
|
|
2384
|
+
parent:
|
|
2385
|
+
string;
|
|
1601
2386
|
/** Returns response with indentations and line breaks. */
|
|
1602
|
-
prettyPrint?:
|
|
2387
|
+
prettyPrint?:
|
|
2388
|
+
boolean;
|
|
1603
2389
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1604
|
-
quotaUser?:
|
|
2390
|
+
quotaUser?:
|
|
2391
|
+
string;
|
|
1605
2392
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1606
|
-
upload_protocol?:
|
|
2393
|
+
upload_protocol?:
|
|
2394
|
+
string;
|
|
1607
2395
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1608
|
-
uploadType?:
|
|
2396
|
+
uploadType?:
|
|
2397
|
+
string;
|
|
1609
2398
|
},
|
|
1610
2399
|
body: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest): Request<GoogleLongrunningOperation>;
|
|
1611
2400
|
/** Gets a list of Documents. */
|
|
1612
2401
|
list(request?: {
|
|
1613
2402
|
/** V1 error format. */
|
|
1614
|
-
"$.xgafv"?:
|
|
2403
|
+
"$.xgafv"?:
|
|
2404
|
+
string;
|
|
1615
2405
|
/** OAuth access token. */
|
|
1616
|
-
access_token?:
|
|
2406
|
+
access_token?:
|
|
2407
|
+
string;
|
|
1617
2408
|
/** Data format for response. */
|
|
1618
|
-
alt?:
|
|
2409
|
+
alt?:
|
|
2410
|
+
string;
|
|
1619
2411
|
/** JSONP */
|
|
1620
|
-
callback?:
|
|
2412
|
+
callback?:
|
|
2413
|
+
string;
|
|
1621
2414
|
/** Selector specifying which fields to include in a partial response. */
|
|
1622
|
-
fields?:
|
|
2415
|
+
fields?:
|
|
2416
|
+
string;
|
|
1623
2417
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1624
|
-
key?:
|
|
2418
|
+
key?:
|
|
2419
|
+
string;
|
|
1625
2420
|
/** OAuth 2.0 token for the current user. */
|
|
1626
|
-
oauth_token?:
|
|
2421
|
+
oauth_token?:
|
|
2422
|
+
string;
|
|
1627
2423
|
/**
|
|
1628
2424
|
* Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative,
|
|
1629
|
-
* an INVALID_ARGUMENT error is returned.
|
|
2425
|
+
* an `INVALID_ARGUMENT` error is returned.
|
|
1630
2426
|
*/
|
|
1631
|
-
pageSize?:
|
|
2427
|
+
pageSize?:
|
|
2428
|
+
number;
|
|
1632
2429
|
/**
|
|
1633
2430
|
* A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating,
|
|
1634
|
-
* all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
2431
|
+
* all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
1635
2432
|
*/
|
|
1636
|
-
pageToken?:
|
|
2433
|
+
pageToken?:
|
|
2434
|
+
string;
|
|
1637
2435
|
/**
|
|
1638
2436
|
* Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
|
|
1639
2437
|
* `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documentss under this branch, regardless of whether
|
|
1640
|
-
* or not this branch exists, a PERMISSION_DENIED error is returned.
|
|
2438
|
+
* or not this branch exists, a `PERMISSION_DENIED` error is returned.
|
|
1641
2439
|
*/
|
|
1642
|
-
parent:
|
|
2440
|
+
parent:
|
|
2441
|
+
string;
|
|
1643
2442
|
/** Returns response with indentations and line breaks. */
|
|
1644
|
-
prettyPrint?:
|
|
2443
|
+
prettyPrint?:
|
|
2444
|
+
boolean;
|
|
1645
2445
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1646
|
-
quotaUser?:
|
|
2446
|
+
quotaUser?:
|
|
2447
|
+
string;
|
|
1647
2448
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1648
|
-
upload_protocol?:
|
|
2449
|
+
upload_protocol?:
|
|
2450
|
+
string;
|
|
1649
2451
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1650
|
-
uploadType?:
|
|
2452
|
+
uploadType?:
|
|
2453
|
+
string;
|
|
1651
2454
|
}): Request<GoogleCloudDiscoveryengineV1alphaListDocumentsResponse>;
|
|
1652
2455
|
/** Updates a Document. */
|
|
1653
2456
|
patch(request: {
|
|
1654
2457
|
/** V1 error format. */
|
|
1655
|
-
"$.xgafv"?:
|
|
2458
|
+
"$.xgafv"?:
|
|
2459
|
+
string;
|
|
1656
2460
|
/** OAuth access token. */
|
|
1657
|
-
access_token?:
|
|
2461
|
+
access_token?:
|
|
2462
|
+
string;
|
|
1658
2463
|
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
1659
|
-
allowMissing?:
|
|
2464
|
+
allowMissing?:
|
|
2465
|
+
boolean;
|
|
1660
2466
|
/** Data format for response. */
|
|
1661
|
-
alt?:
|
|
2467
|
+
alt?:
|
|
2468
|
+
string;
|
|
1662
2469
|
/** JSONP */
|
|
1663
|
-
callback?:
|
|
2470
|
+
callback?:
|
|
2471
|
+
string;
|
|
1664
2472
|
/** Selector specifying which fields to include in a partial response. */
|
|
1665
|
-
fields?:
|
|
2473
|
+
fields?:
|
|
2474
|
+
string;
|
|
1666
2475
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1667
|
-
key?:
|
|
2476
|
+
key?:
|
|
2477
|
+
string;
|
|
1668
2478
|
/**
|
|
1669
2479
|
* Immutable. The full resource name of the document. Format:
|
|
1670
2480
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string
|
|
1671
2481
|
* with a length limit of 1024 characters.
|
|
1672
2482
|
*/
|
|
1673
|
-
name:
|
|
2483
|
+
name:
|
|
2484
|
+
string;
|
|
1674
2485
|
/** OAuth 2.0 token for the current user. */
|
|
1675
|
-
oauth_token?:
|
|
2486
|
+
oauth_token?:
|
|
2487
|
+
string;
|
|
1676
2488
|
/** Returns response with indentations and line breaks. */
|
|
1677
|
-
prettyPrint?:
|
|
2489
|
+
prettyPrint?:
|
|
2490
|
+
boolean;
|
|
1678
2491
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1679
|
-
quotaUser?:
|
|
2492
|
+
quotaUser?:
|
|
2493
|
+
string;
|
|
1680
2494
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1681
|
-
upload_protocol?:
|
|
2495
|
+
upload_protocol?:
|
|
2496
|
+
string;
|
|
1682
2497
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1683
|
-
uploadType?:
|
|
2498
|
+
uploadType?:
|
|
2499
|
+
string;
|
|
1684
2500
|
/** Request body */
|
|
1685
|
-
resource:
|
|
2501
|
+
resource:
|
|
2502
|
+
GoogleCloudDiscoveryengineV1alphaDocument;
|
|
1686
2503
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
1687
2504
|
patch(request: {
|
|
1688
2505
|
/** V1 error format. */
|
|
1689
|
-
"$.xgafv"?:
|
|
2506
|
+
"$.xgafv"?:
|
|
2507
|
+
string;
|
|
1690
2508
|
/** OAuth access token. */
|
|
1691
|
-
access_token?:
|
|
2509
|
+
access_token?:
|
|
2510
|
+
string;
|
|
1692
2511
|
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
1693
|
-
allowMissing?:
|
|
2512
|
+
allowMissing?:
|
|
2513
|
+
boolean;
|
|
1694
2514
|
/** Data format for response. */
|
|
1695
|
-
alt?:
|
|
2515
|
+
alt?:
|
|
2516
|
+
string;
|
|
1696
2517
|
/** JSONP */
|
|
1697
|
-
callback?:
|
|
2518
|
+
callback?:
|
|
2519
|
+
string;
|
|
1698
2520
|
/** Selector specifying which fields to include in a partial response. */
|
|
1699
|
-
fields?:
|
|
2521
|
+
fields?:
|
|
2522
|
+
string;
|
|
1700
2523
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1701
|
-
key?:
|
|
2524
|
+
key?:
|
|
2525
|
+
string;
|
|
1702
2526
|
/**
|
|
1703
2527
|
* Immutable. The full resource name of the document. Format:
|
|
1704
2528
|
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string
|
|
1705
2529
|
* with a length limit of 1024 characters.
|
|
1706
2530
|
*/
|
|
1707
|
-
name:
|
|
2531
|
+
name:
|
|
2532
|
+
string;
|
|
1708
2533
|
/** OAuth 2.0 token for the current user. */
|
|
1709
|
-
oauth_token?:
|
|
2534
|
+
oauth_token?:
|
|
2535
|
+
string;
|
|
1710
2536
|
/** Returns response with indentations and line breaks. */
|
|
1711
|
-
prettyPrint?:
|
|
2537
|
+
prettyPrint?:
|
|
2538
|
+
boolean;
|
|
1712
2539
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1713
|
-
quotaUser?:
|
|
2540
|
+
quotaUser?:
|
|
2541
|
+
string;
|
|
1714
2542
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1715
|
-
upload_protocol?:
|
|
2543
|
+
upload_protocol?:
|
|
2544
|
+
string;
|
|
1716
2545
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1717
|
-
uploadType?:
|
|
2546
|
+
uploadType?:
|
|
2547
|
+
string;
|
|
1718
2548
|
},
|
|
1719
2549
|
body: GoogleCloudDiscoveryengineV1alphaDocument): Request<GoogleCloudDiscoveryengineV1alphaDocument>;
|
|
2550
|
+
/**
|
|
2551
|
+
* Permanently deletes all selected Documents under a branch. This process is asynchronous. If the request is valid, the removal will be enquired and processed offlines. Depending on
|
|
2552
|
+
* the number of Documents, this operation could take hours to complete. Before the operation completes, some Documents may still be returned by DocumentService.GetDocument or
|
|
2553
|
+
* DocumentService.ListDocuments. To get a sample of Documents that would be deleted, set PurgeDocumentsRequest.force to false.
|
|
2554
|
+
*/
|
|
2555
|
+
purge(request: {
|
|
2556
|
+
/** V1 error format. */
|
|
2557
|
+
"$.xgafv"?:
|
|
2558
|
+
string;
|
|
2559
|
+
/** OAuth access token. */
|
|
2560
|
+
access_token?:
|
|
2561
|
+
string;
|
|
2562
|
+
/** Data format for response. */
|
|
2563
|
+
alt?:
|
|
2564
|
+
string;
|
|
2565
|
+
/** JSONP */
|
|
2566
|
+
callback?:
|
|
2567
|
+
string;
|
|
2568
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2569
|
+
fields?:
|
|
2570
|
+
string;
|
|
2571
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2572
|
+
key?:
|
|
2573
|
+
string;
|
|
2574
|
+
/** OAuth 2.0 token for the current user. */
|
|
2575
|
+
oauth_token?:
|
|
2576
|
+
string;
|
|
2577
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
2578
|
+
parent:
|
|
2579
|
+
string;
|
|
2580
|
+
/** Returns response with indentations and line breaks. */
|
|
2581
|
+
prettyPrint?:
|
|
2582
|
+
boolean;
|
|
2583
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2584
|
+
quotaUser?:
|
|
2585
|
+
string;
|
|
2586
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2587
|
+
upload_protocol?:
|
|
2588
|
+
string;
|
|
2589
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2590
|
+
uploadType?:
|
|
2591
|
+
string;
|
|
2592
|
+
/** Request body */
|
|
2593
|
+
resource:
|
|
2594
|
+
GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest;
|
|
2595
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2596
|
+
purge(request: {
|
|
2597
|
+
/** V1 error format. */
|
|
2598
|
+
"$.xgafv"?:
|
|
2599
|
+
string;
|
|
2600
|
+
/** OAuth access token. */
|
|
2601
|
+
access_token?:
|
|
2602
|
+
string;
|
|
2603
|
+
/** Data format for response. */
|
|
2604
|
+
alt?:
|
|
2605
|
+
string;
|
|
2606
|
+
/** JSONP */
|
|
2607
|
+
callback?:
|
|
2608
|
+
string;
|
|
2609
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2610
|
+
fields?:
|
|
2611
|
+
string;
|
|
2612
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2613
|
+
key?:
|
|
2614
|
+
string;
|
|
2615
|
+
/** OAuth 2.0 token for the current user. */
|
|
2616
|
+
oauth_token?:
|
|
2617
|
+
string;
|
|
2618
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
2619
|
+
parent:
|
|
2620
|
+
string;
|
|
2621
|
+
/** Returns response with indentations and line breaks. */
|
|
2622
|
+
prettyPrint?:
|
|
2623
|
+
boolean;
|
|
2624
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2625
|
+
quotaUser?:
|
|
2626
|
+
string;
|
|
2627
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2628
|
+
upload_protocol?:
|
|
2629
|
+
string;
|
|
2630
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2631
|
+
uploadType?:
|
|
2632
|
+
string;
|
|
2633
|
+
},
|
|
2634
|
+
body: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest): Request<GoogleLongrunningOperation>;
|
|
1720
2635
|
}
|
|
1721
2636
|
interface OperationsResource {
|
|
1722
2637
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1723
2638
|
get(request?: {
|
|
1724
2639
|
/** V1 error format. */
|
|
1725
|
-
"$.xgafv"?:
|
|
2640
|
+
"$.xgafv"?:
|
|
2641
|
+
string;
|
|
1726
2642
|
/** OAuth access token. */
|
|
1727
|
-
access_token?:
|
|
2643
|
+
access_token?:
|
|
2644
|
+
string;
|
|
1728
2645
|
/** Data format for response. */
|
|
1729
|
-
alt?:
|
|
2646
|
+
alt?:
|
|
2647
|
+
string;
|
|
1730
2648
|
/** JSONP */
|
|
1731
|
-
callback?:
|
|
2649
|
+
callback?:
|
|
2650
|
+
string;
|
|
1732
2651
|
/** Selector specifying which fields to include in a partial response. */
|
|
1733
|
-
fields?:
|
|
2652
|
+
fields?:
|
|
2653
|
+
string;
|
|
1734
2654
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1735
|
-
key?:
|
|
2655
|
+
key?:
|
|
2656
|
+
string;
|
|
1736
2657
|
/** The name of the operation resource. */
|
|
1737
|
-
name:
|
|
2658
|
+
name:
|
|
2659
|
+
string;
|
|
1738
2660
|
/** OAuth 2.0 token for the current user. */
|
|
1739
|
-
oauth_token?:
|
|
2661
|
+
oauth_token?:
|
|
2662
|
+
string;
|
|
1740
2663
|
/** Returns response with indentations and line breaks. */
|
|
1741
|
-
prettyPrint?:
|
|
2664
|
+
prettyPrint?:
|
|
2665
|
+
boolean;
|
|
1742
2666
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1743
|
-
quotaUser?:
|
|
2667
|
+
quotaUser?:
|
|
2668
|
+
string;
|
|
1744
2669
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1745
|
-
upload_protocol?:
|
|
2670
|
+
upload_protocol?:
|
|
2671
|
+
string;
|
|
1746
2672
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1747
|
-
uploadType?:
|
|
2673
|
+
uploadType?:
|
|
2674
|
+
string;
|
|
1748
2675
|
}): Request<GoogleLongrunningOperation>;
|
|
1749
2676
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1750
2677
|
list(request?: {
|
|
1751
2678
|
/** V1 error format. */
|
|
1752
|
-
"$.xgafv"?:
|
|
2679
|
+
"$.xgafv"?:
|
|
2680
|
+
string;
|
|
1753
2681
|
/** OAuth access token. */
|
|
1754
|
-
access_token?:
|
|
2682
|
+
access_token?:
|
|
2683
|
+
string;
|
|
1755
2684
|
/** Data format for response. */
|
|
1756
|
-
alt?:
|
|
2685
|
+
alt?:
|
|
2686
|
+
string;
|
|
1757
2687
|
/** JSONP */
|
|
1758
|
-
callback?:
|
|
2688
|
+
callback?:
|
|
2689
|
+
string;
|
|
1759
2690
|
/** Selector specifying which fields to include in a partial response. */
|
|
1760
|
-
fields?:
|
|
2691
|
+
fields?:
|
|
2692
|
+
string;
|
|
1761
2693
|
/** The standard list filter. */
|
|
1762
|
-
filter?:
|
|
2694
|
+
filter?:
|
|
2695
|
+
string;
|
|
1763
2696
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1764
|
-
key?:
|
|
2697
|
+
key?:
|
|
2698
|
+
string;
|
|
1765
2699
|
/** The name of the operation's parent resource. */
|
|
1766
|
-
name:
|
|
2700
|
+
name:
|
|
2701
|
+
string;
|
|
1767
2702
|
/** OAuth 2.0 token for the current user. */
|
|
1768
|
-
oauth_token?:
|
|
2703
|
+
oauth_token?:
|
|
2704
|
+
string;
|
|
1769
2705
|
/** The standard list page size. */
|
|
1770
|
-
pageSize?:
|
|
2706
|
+
pageSize?:
|
|
2707
|
+
number;
|
|
1771
2708
|
/** The standard list page token. */
|
|
1772
|
-
pageToken?:
|
|
2709
|
+
pageToken?:
|
|
2710
|
+
string;
|
|
1773
2711
|
/** Returns response with indentations and line breaks. */
|
|
1774
|
-
prettyPrint?:
|
|
2712
|
+
prettyPrint?:
|
|
2713
|
+
boolean;
|
|
1775
2714
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1776
|
-
quotaUser?:
|
|
2715
|
+
quotaUser?:
|
|
2716
|
+
string;
|
|
1777
2717
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1778
|
-
upload_protocol?:
|
|
2718
|
+
upload_protocol?:
|
|
2719
|
+
string;
|
|
1779
2720
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1780
|
-
uploadType?:
|
|
2721
|
+
uploadType?:
|
|
2722
|
+
string;
|
|
1781
2723
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1782
2724
|
}
|
|
1783
2725
|
interface BranchesResource {
|
|
1784
|
-
documents:
|
|
1785
|
-
|
|
2726
|
+
documents:
|
|
2727
|
+
DocumentsResource;
|
|
2728
|
+
operations:
|
|
2729
|
+
OperationsResource;
|
|
1786
2730
|
}
|
|
1787
2731
|
interface OperationsResource {
|
|
1788
2732
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1789
2733
|
get(request?: {
|
|
1790
2734
|
/** V1 error format. */
|
|
1791
|
-
"$.xgafv"?:
|
|
2735
|
+
"$.xgafv"?:
|
|
2736
|
+
string;
|
|
1792
2737
|
/** OAuth access token. */
|
|
1793
|
-
access_token?:
|
|
2738
|
+
access_token?:
|
|
2739
|
+
string;
|
|
1794
2740
|
/** Data format for response. */
|
|
1795
|
-
alt?:
|
|
2741
|
+
alt?:
|
|
2742
|
+
string;
|
|
1796
2743
|
/** JSONP */
|
|
1797
|
-
callback?:
|
|
2744
|
+
callback?:
|
|
2745
|
+
string;
|
|
1798
2746
|
/** Selector specifying which fields to include in a partial response. */
|
|
1799
|
-
fields?:
|
|
2747
|
+
fields?:
|
|
2748
|
+
string;
|
|
1800
2749
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1801
|
-
key?:
|
|
2750
|
+
key?:
|
|
2751
|
+
string;
|
|
1802
2752
|
/** The name of the operation resource. */
|
|
1803
|
-
name:
|
|
2753
|
+
name:
|
|
2754
|
+
string;
|
|
1804
2755
|
/** OAuth 2.0 token for the current user. */
|
|
1805
|
-
oauth_token?:
|
|
2756
|
+
oauth_token?:
|
|
2757
|
+
string;
|
|
1806
2758
|
/** Returns response with indentations and line breaks. */
|
|
1807
|
-
prettyPrint?:
|
|
2759
|
+
prettyPrint?:
|
|
2760
|
+
boolean;
|
|
1808
2761
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1809
|
-
quotaUser?:
|
|
2762
|
+
quotaUser?:
|
|
2763
|
+
string;
|
|
1810
2764
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1811
|
-
upload_protocol?:
|
|
2765
|
+
upload_protocol?:
|
|
2766
|
+
string;
|
|
1812
2767
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1813
|
-
uploadType?:
|
|
2768
|
+
uploadType?:
|
|
2769
|
+
string;
|
|
1814
2770
|
}): Request<GoogleLongrunningOperation>;
|
|
1815
2771
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1816
2772
|
list(request?: {
|
|
1817
2773
|
/** V1 error format. */
|
|
1818
|
-
"$.xgafv"?:
|
|
2774
|
+
"$.xgafv"?:
|
|
2775
|
+
string;
|
|
1819
2776
|
/** OAuth access token. */
|
|
1820
|
-
access_token?:
|
|
2777
|
+
access_token?:
|
|
2778
|
+
string;
|
|
1821
2779
|
/** Data format for response. */
|
|
1822
|
-
alt?:
|
|
2780
|
+
alt?:
|
|
2781
|
+
string;
|
|
1823
2782
|
/** JSONP */
|
|
1824
|
-
callback?:
|
|
2783
|
+
callback?:
|
|
2784
|
+
string;
|
|
1825
2785
|
/** Selector specifying which fields to include in a partial response. */
|
|
1826
|
-
fields?:
|
|
2786
|
+
fields?:
|
|
2787
|
+
string;
|
|
1827
2788
|
/** The standard list filter. */
|
|
1828
|
-
filter?:
|
|
2789
|
+
filter?:
|
|
2790
|
+
string;
|
|
1829
2791
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1830
|
-
key?:
|
|
2792
|
+
key?:
|
|
2793
|
+
string;
|
|
1831
2794
|
/** The name of the operation's parent resource. */
|
|
1832
|
-
name:
|
|
2795
|
+
name:
|
|
2796
|
+
string;
|
|
1833
2797
|
/** OAuth 2.0 token for the current user. */
|
|
1834
|
-
oauth_token?:
|
|
2798
|
+
oauth_token?:
|
|
2799
|
+
string;
|
|
1835
2800
|
/** The standard list page size. */
|
|
1836
|
-
pageSize?:
|
|
2801
|
+
pageSize?:
|
|
2802
|
+
number;
|
|
1837
2803
|
/** The standard list page token. */
|
|
1838
|
-
pageToken?:
|
|
2804
|
+
pageToken?:
|
|
2805
|
+
string;
|
|
1839
2806
|
/** Returns response with indentations and line breaks. */
|
|
1840
|
-
prettyPrint?:
|
|
2807
|
+
prettyPrint?:
|
|
2808
|
+
boolean;
|
|
1841
2809
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1842
|
-
quotaUser?:
|
|
2810
|
+
quotaUser?:
|
|
2811
|
+
string;
|
|
1843
2812
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1844
|
-
upload_protocol?:
|
|
2813
|
+
upload_protocol?:
|
|
2814
|
+
string;
|
|
1845
2815
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1846
|
-
uploadType?:
|
|
2816
|
+
uploadType?:
|
|
2817
|
+
string;
|
|
1847
2818
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1848
2819
|
}
|
|
1849
2820
|
interface ModelsResource {
|
|
1850
|
-
operations:
|
|
2821
|
+
operations:
|
|
2822
|
+
OperationsResource;
|
|
1851
2823
|
}
|
|
1852
2824
|
interface OperationsResource {
|
|
1853
2825
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1854
2826
|
get(request?: {
|
|
1855
2827
|
/** V1 error format. */
|
|
1856
|
-
"$.xgafv"?:
|
|
2828
|
+
"$.xgafv"?:
|
|
2829
|
+
string;
|
|
1857
2830
|
/** OAuth access token. */
|
|
1858
|
-
access_token?:
|
|
2831
|
+
access_token?:
|
|
2832
|
+
string;
|
|
1859
2833
|
/** Data format for response. */
|
|
1860
|
-
alt?:
|
|
2834
|
+
alt?:
|
|
2835
|
+
string;
|
|
1861
2836
|
/** JSONP */
|
|
1862
|
-
callback?:
|
|
2837
|
+
callback?:
|
|
2838
|
+
string;
|
|
1863
2839
|
/** Selector specifying which fields to include in a partial response. */
|
|
1864
|
-
fields?:
|
|
2840
|
+
fields?:
|
|
2841
|
+
string;
|
|
1865
2842
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1866
|
-
key?:
|
|
2843
|
+
key?:
|
|
2844
|
+
string;
|
|
1867
2845
|
/** The name of the operation resource. */
|
|
1868
|
-
name:
|
|
2846
|
+
name:
|
|
2847
|
+
string;
|
|
1869
2848
|
/** OAuth 2.0 token for the current user. */
|
|
1870
|
-
oauth_token?:
|
|
2849
|
+
oauth_token?:
|
|
2850
|
+
string;
|
|
1871
2851
|
/** Returns response with indentations and line breaks. */
|
|
1872
|
-
prettyPrint?:
|
|
2852
|
+
prettyPrint?:
|
|
2853
|
+
boolean;
|
|
1873
2854
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1874
|
-
quotaUser?:
|
|
2855
|
+
quotaUser?:
|
|
2856
|
+
string;
|
|
1875
2857
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1876
|
-
upload_protocol?:
|
|
2858
|
+
upload_protocol?:
|
|
2859
|
+
string;
|
|
1877
2860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1878
|
-
uploadType?:
|
|
2861
|
+
uploadType?:
|
|
2862
|
+
string;
|
|
1879
2863
|
}): Request<GoogleLongrunningOperation>;
|
|
1880
2864
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1881
2865
|
list(request?: {
|
|
1882
2866
|
/** V1 error format. */
|
|
1883
|
-
"$.xgafv"?:
|
|
2867
|
+
"$.xgafv"?:
|
|
2868
|
+
string;
|
|
1884
2869
|
/** OAuth access token. */
|
|
1885
|
-
access_token?:
|
|
2870
|
+
access_token?:
|
|
2871
|
+
string;
|
|
1886
2872
|
/** Data format for response. */
|
|
1887
|
-
alt?:
|
|
2873
|
+
alt?:
|
|
2874
|
+
string;
|
|
1888
2875
|
/** JSONP */
|
|
1889
|
-
callback?:
|
|
2876
|
+
callback?:
|
|
2877
|
+
string;
|
|
1890
2878
|
/** Selector specifying which fields to include in a partial response. */
|
|
1891
|
-
fields?:
|
|
2879
|
+
fields?:
|
|
2880
|
+
string;
|
|
1892
2881
|
/** The standard list filter. */
|
|
1893
|
-
filter?:
|
|
2882
|
+
filter?:
|
|
2883
|
+
string;
|
|
1894
2884
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1895
|
-
key?:
|
|
2885
|
+
key?:
|
|
2886
|
+
string;
|
|
1896
2887
|
/** The name of the operation's parent resource. */
|
|
1897
|
-
name:
|
|
2888
|
+
name:
|
|
2889
|
+
string;
|
|
1898
2890
|
/** OAuth 2.0 token for the current user. */
|
|
1899
|
-
oauth_token?:
|
|
2891
|
+
oauth_token?:
|
|
2892
|
+
string;
|
|
1900
2893
|
/** The standard list page size. */
|
|
1901
|
-
pageSize?:
|
|
2894
|
+
pageSize?:
|
|
2895
|
+
number;
|
|
1902
2896
|
/** The standard list page token. */
|
|
1903
|
-
pageToken?:
|
|
2897
|
+
pageToken?:
|
|
2898
|
+
string;
|
|
1904
2899
|
/** Returns response with indentations and line breaks. */
|
|
1905
|
-
prettyPrint?:
|
|
2900
|
+
prettyPrint?:
|
|
2901
|
+
boolean;
|
|
1906
2902
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1907
|
-
quotaUser?:
|
|
2903
|
+
quotaUser?:
|
|
2904
|
+
string;
|
|
1908
2905
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1909
|
-
upload_protocol?:
|
|
2906
|
+
upload_protocol?:
|
|
2907
|
+
string;
|
|
1910
2908
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1911
|
-
uploadType?:
|
|
2909
|
+
uploadType?:
|
|
2910
|
+
string;
|
|
1912
2911
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1913
2912
|
}
|
|
1914
2913
|
interface ServingConfigsResource {
|
|
1915
2914
|
/** Makes a recommendation, which requires a contextual user event. */
|
|
1916
2915
|
recommend(request: {
|
|
1917
2916
|
/** V1 error format. */
|
|
1918
|
-
"$.xgafv"?:
|
|
2917
|
+
"$.xgafv"?:
|
|
2918
|
+
string;
|
|
1919
2919
|
/** OAuth access token. */
|
|
1920
|
-
access_token?:
|
|
2920
|
+
access_token?:
|
|
2921
|
+
string;
|
|
1921
2922
|
/** Data format for response. */
|
|
1922
|
-
alt?:
|
|
2923
|
+
alt?:
|
|
2924
|
+
string;
|
|
1923
2925
|
/** JSONP */
|
|
1924
|
-
callback?:
|
|
2926
|
+
callback?:
|
|
2927
|
+
string;
|
|
1925
2928
|
/** Selector specifying which fields to include in a partial response. */
|
|
1926
|
-
fields?:
|
|
2929
|
+
fields?:
|
|
2930
|
+
string;
|
|
1927
2931
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1928
|
-
key?:
|
|
2932
|
+
key?:
|
|
2933
|
+
string;
|
|
1929
2934
|
/** OAuth 2.0 token for the current user. */
|
|
1930
|
-
oauth_token?:
|
|
2935
|
+
oauth_token?:
|
|
2936
|
+
string;
|
|
1931
2937
|
/** Returns response with indentations and line breaks. */
|
|
1932
|
-
prettyPrint?:
|
|
2938
|
+
prettyPrint?:
|
|
2939
|
+
boolean;
|
|
1933
2940
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1934
|
-
quotaUser?:
|
|
2941
|
+
quotaUser?:
|
|
2942
|
+
string;
|
|
1935
2943
|
/**
|
|
1936
|
-
* Required. Full resource name of the format: projects/*/locations/global/collections/*/dataStores/*/servingConfigs
|
|
2944
|
+
* Required. Full resource name of the format: `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` Before you can request recommendations from your model,
|
|
1937
2945
|
* you must create at least one serving config for it.
|
|
1938
2946
|
*/
|
|
1939
|
-
servingConfig:
|
|
2947
|
+
servingConfig:
|
|
2948
|
+
string;
|
|
1940
2949
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1941
|
-
upload_protocol?:
|
|
2950
|
+
upload_protocol?:
|
|
2951
|
+
string;
|
|
1942
2952
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1943
|
-
uploadType?:
|
|
2953
|
+
uploadType?:
|
|
2954
|
+
string;
|
|
1944
2955
|
/** Request body */
|
|
1945
|
-
resource:
|
|
2956
|
+
resource:
|
|
2957
|
+
GoogleCloudDiscoveryengineV1alphaRecommendRequest;
|
|
1946
2958
|
}): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
|
|
1947
2959
|
recommend(request: {
|
|
1948
2960
|
/** V1 error format. */
|
|
1949
|
-
"$.xgafv"?:
|
|
2961
|
+
"$.xgafv"?:
|
|
2962
|
+
string;
|
|
1950
2963
|
/** OAuth access token. */
|
|
1951
|
-
access_token?:
|
|
2964
|
+
access_token?:
|
|
2965
|
+
string;
|
|
1952
2966
|
/** Data format for response. */
|
|
1953
|
-
alt?:
|
|
2967
|
+
alt?:
|
|
2968
|
+
string;
|
|
1954
2969
|
/** JSONP */
|
|
1955
|
-
callback?:
|
|
2970
|
+
callback?:
|
|
2971
|
+
string;
|
|
1956
2972
|
/** Selector specifying which fields to include in a partial response. */
|
|
1957
|
-
fields?:
|
|
2973
|
+
fields?:
|
|
2974
|
+
string;
|
|
1958
2975
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1959
|
-
key?:
|
|
2976
|
+
key?:
|
|
2977
|
+
string;
|
|
1960
2978
|
/** OAuth 2.0 token for the current user. */
|
|
1961
|
-
oauth_token?:
|
|
2979
|
+
oauth_token?:
|
|
2980
|
+
string;
|
|
1962
2981
|
/** Returns response with indentations and line breaks. */
|
|
1963
|
-
prettyPrint?:
|
|
2982
|
+
prettyPrint?:
|
|
2983
|
+
boolean;
|
|
1964
2984
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1965
|
-
quotaUser?:
|
|
2985
|
+
quotaUser?:
|
|
2986
|
+
string;
|
|
1966
2987
|
/**
|
|
1967
|
-
* Required. Full resource name of the format: projects/*/locations/global/collections/*/dataStores/*/servingConfigs
|
|
2988
|
+
* Required. Full resource name of the format: `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` Before you can request recommendations from your model,
|
|
1968
2989
|
* you must create at least one serving config for it.
|
|
1969
2990
|
*/
|
|
1970
|
-
servingConfig:
|
|
2991
|
+
servingConfig:
|
|
2992
|
+
string;
|
|
1971
2993
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1972
|
-
upload_protocol?:
|
|
2994
|
+
upload_protocol?:
|
|
2995
|
+
string;
|
|
1973
2996
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1974
|
-
uploadType?:
|
|
2997
|
+
uploadType?:
|
|
2998
|
+
string;
|
|
1975
2999
|
},
|
|
1976
3000
|
body: GoogleCloudDiscoveryengineV1alphaRecommendRequest): Request<GoogleCloudDiscoveryengineV1alphaRecommendResponse>;
|
|
1977
3001
|
}
|
|
@@ -1982,38 +3006,53 @@ declare namespace gapi.client {
|
|
|
1982
3006
|
*/
|
|
1983
3007
|
collect(request?: {
|
|
1984
3008
|
/** V1 error format. */
|
|
1985
|
-
"$.xgafv"?:
|
|
3009
|
+
"$.xgafv"?:
|
|
3010
|
+
string;
|
|
1986
3011
|
/** OAuth access token. */
|
|
1987
|
-
access_token?:
|
|
3012
|
+
access_token?:
|
|
3013
|
+
string;
|
|
1988
3014
|
/** Data format for response. */
|
|
1989
|
-
alt?:
|
|
3015
|
+
alt?:
|
|
3016
|
+
string;
|
|
1990
3017
|
/** JSONP */
|
|
1991
|
-
callback?:
|
|
3018
|
+
callback?:
|
|
3019
|
+
string;
|
|
1992
3020
|
/** The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
1993
|
-
ets?:
|
|
3021
|
+
ets?:
|
|
3022
|
+
string;
|
|
1994
3023
|
/** Selector specifying which fields to include in a partial response. */
|
|
1995
|
-
fields?:
|
|
3024
|
+
fields?:
|
|
3025
|
+
string;
|
|
1996
3026
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1997
|
-
key?:
|
|
3027
|
+
key?:
|
|
3028
|
+
string;
|
|
1998
3029
|
/** OAuth 2.0 token for the current user. */
|
|
1999
|
-
oauth_token?:
|
|
3030
|
+
oauth_token?:
|
|
3031
|
+
string;
|
|
2000
3032
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
2001
|
-
parent:
|
|
3033
|
+
parent:
|
|
3034
|
+
string;
|
|
2002
3035
|
/** Returns response with indentations and line breaks. */
|
|
2003
|
-
prettyPrint?:
|
|
3036
|
+
prettyPrint?:
|
|
3037
|
+
boolean;
|
|
2004
3038
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2005
|
-
quotaUser?:
|
|
3039
|
+
quotaUser?:
|
|
3040
|
+
string;
|
|
2006
3041
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2007
|
-
upload_protocol?:
|
|
3042
|
+
upload_protocol?:
|
|
3043
|
+
string;
|
|
2008
3044
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2009
|
-
uploadType?:
|
|
3045
|
+
uploadType?:
|
|
3046
|
+
string;
|
|
2010
3047
|
/**
|
|
2011
3048
|
* The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers
|
|
2012
3049
|
* only send the domain for 3rd party requests.
|
|
2013
3050
|
*/
|
|
2014
|
-
uri?:
|
|
3051
|
+
uri?:
|
|
3052
|
+
string;
|
|
2015
3053
|
/** Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. */
|
|
2016
|
-
userEvent?:
|
|
3054
|
+
userEvent?:
|
|
3055
|
+
string;
|
|
2017
3056
|
}): Request<GoogleApiHttpBody>;
|
|
2018
3057
|
/**
|
|
2019
3058
|
* Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
|
|
@@ -2021,255 +3060,369 @@ declare namespace gapi.client {
|
|
|
2021
3060
|
*/
|
|
2022
3061
|
import(request: {
|
|
2023
3062
|
/** V1 error format. */
|
|
2024
|
-
"$.xgafv"?:
|
|
3063
|
+
"$.xgafv"?:
|
|
3064
|
+
string;
|
|
2025
3065
|
/** OAuth access token. */
|
|
2026
|
-
access_token?:
|
|
3066
|
+
access_token?:
|
|
3067
|
+
string;
|
|
2027
3068
|
/** Data format for response. */
|
|
2028
|
-
alt?:
|
|
3069
|
+
alt?:
|
|
3070
|
+
string;
|
|
2029
3071
|
/** JSONP */
|
|
2030
|
-
callback?:
|
|
3072
|
+
callback?:
|
|
3073
|
+
string;
|
|
2031
3074
|
/** Selector specifying which fields to include in a partial response. */
|
|
2032
|
-
fields?:
|
|
3075
|
+
fields?:
|
|
3076
|
+
string;
|
|
2033
3077
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2034
|
-
key?:
|
|
3078
|
+
key?:
|
|
3079
|
+
string;
|
|
2035
3080
|
/** OAuth 2.0 token for the current user. */
|
|
2036
|
-
oauth_token?:
|
|
3081
|
+
oauth_token?:
|
|
3082
|
+
string;
|
|
2037
3083
|
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
2038
|
-
parent:
|
|
3084
|
+
parent:
|
|
3085
|
+
string;
|
|
2039
3086
|
/** Returns response with indentations and line breaks. */
|
|
2040
|
-
prettyPrint?:
|
|
3087
|
+
prettyPrint?:
|
|
3088
|
+
boolean;
|
|
2041
3089
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2042
|
-
quotaUser?:
|
|
3090
|
+
quotaUser?:
|
|
3091
|
+
string;
|
|
2043
3092
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2044
|
-
upload_protocol?:
|
|
3093
|
+
upload_protocol?:
|
|
3094
|
+
string;
|
|
2045
3095
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2046
|
-
uploadType?:
|
|
3096
|
+
uploadType?:
|
|
3097
|
+
string;
|
|
2047
3098
|
/** Request body */
|
|
2048
|
-
resource:
|
|
3099
|
+
resource:
|
|
3100
|
+
GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest;
|
|
2049
3101
|
}): Request<GoogleLongrunningOperation>;
|
|
2050
3102
|
import(request: {
|
|
2051
3103
|
/** V1 error format. */
|
|
2052
|
-
"$.xgafv"?:
|
|
3104
|
+
"$.xgafv"?:
|
|
3105
|
+
string;
|
|
2053
3106
|
/** OAuth access token. */
|
|
2054
|
-
access_token?:
|
|
3107
|
+
access_token?:
|
|
3108
|
+
string;
|
|
2055
3109
|
/** Data format for response. */
|
|
2056
|
-
alt?:
|
|
3110
|
+
alt?:
|
|
3111
|
+
string;
|
|
2057
3112
|
/** JSONP */
|
|
2058
|
-
callback?:
|
|
3113
|
+
callback?:
|
|
3114
|
+
string;
|
|
2059
3115
|
/** Selector specifying which fields to include in a partial response. */
|
|
2060
|
-
fields?:
|
|
3116
|
+
fields?:
|
|
3117
|
+
string;
|
|
2061
3118
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2062
|
-
key?:
|
|
3119
|
+
key?:
|
|
3120
|
+
string;
|
|
2063
3121
|
/** OAuth 2.0 token for the current user. */
|
|
2064
|
-
oauth_token?:
|
|
3122
|
+
oauth_token?:
|
|
3123
|
+
string;
|
|
2065
3124
|
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
2066
|
-
parent:
|
|
3125
|
+
parent:
|
|
3126
|
+
string;
|
|
2067
3127
|
/** Returns response with indentations and line breaks. */
|
|
2068
|
-
prettyPrint?:
|
|
3128
|
+
prettyPrint?:
|
|
3129
|
+
boolean;
|
|
2069
3130
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2070
|
-
quotaUser?:
|
|
3131
|
+
quotaUser?:
|
|
3132
|
+
string;
|
|
2071
3133
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2072
|
-
upload_protocol?:
|
|
3134
|
+
upload_protocol?:
|
|
3135
|
+
string;
|
|
2073
3136
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2074
|
-
uploadType?:
|
|
3137
|
+
uploadType?:
|
|
3138
|
+
string;
|
|
2075
3139
|
},
|
|
2076
3140
|
body: GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest): Request<GoogleLongrunningOperation>;
|
|
2077
3141
|
/** Writes a single user event. */
|
|
2078
3142
|
write(request: {
|
|
2079
3143
|
/** V1 error format. */
|
|
2080
|
-
"$.xgafv"?:
|
|
3144
|
+
"$.xgafv"?:
|
|
3145
|
+
string;
|
|
2081
3146
|
/** OAuth access token. */
|
|
2082
|
-
access_token?:
|
|
3147
|
+
access_token?:
|
|
3148
|
+
string;
|
|
2083
3149
|
/** Data format for response. */
|
|
2084
|
-
alt?:
|
|
3150
|
+
alt?:
|
|
3151
|
+
string;
|
|
2085
3152
|
/** JSONP */
|
|
2086
|
-
callback?:
|
|
3153
|
+
callback?:
|
|
3154
|
+
string;
|
|
2087
3155
|
/** Selector specifying which fields to include in a partial response. */
|
|
2088
|
-
fields?:
|
|
3156
|
+
fields?:
|
|
3157
|
+
string;
|
|
2089
3158
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2090
|
-
key?:
|
|
3159
|
+
key?:
|
|
3160
|
+
string;
|
|
2091
3161
|
/** OAuth 2.0 token for the current user. */
|
|
2092
|
-
oauth_token?:
|
|
3162
|
+
oauth_token?:
|
|
3163
|
+
string;
|
|
2093
3164
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
2094
|
-
parent:
|
|
3165
|
+
parent:
|
|
3166
|
+
string;
|
|
2095
3167
|
/** Returns response with indentations and line breaks. */
|
|
2096
|
-
prettyPrint?:
|
|
3168
|
+
prettyPrint?:
|
|
3169
|
+
boolean;
|
|
2097
3170
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2098
|
-
quotaUser?:
|
|
3171
|
+
quotaUser?:
|
|
3172
|
+
string;
|
|
2099
3173
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2100
|
-
upload_protocol?:
|
|
3174
|
+
upload_protocol?:
|
|
3175
|
+
string;
|
|
2101
3176
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2102
|
-
uploadType?:
|
|
3177
|
+
uploadType?:
|
|
3178
|
+
string;
|
|
2103
3179
|
/** Request body */
|
|
2104
|
-
resource:
|
|
3180
|
+
resource:
|
|
3181
|
+
GoogleCloudDiscoveryengineV1alphaUserEvent;
|
|
2105
3182
|
}): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
|
|
2106
3183
|
write(request: {
|
|
2107
3184
|
/** V1 error format. */
|
|
2108
|
-
"$.xgafv"?:
|
|
3185
|
+
"$.xgafv"?:
|
|
3186
|
+
string;
|
|
2109
3187
|
/** OAuth access token. */
|
|
2110
|
-
access_token?:
|
|
3188
|
+
access_token?:
|
|
3189
|
+
string;
|
|
2111
3190
|
/** Data format for response. */
|
|
2112
|
-
alt?:
|
|
3191
|
+
alt?:
|
|
3192
|
+
string;
|
|
2113
3193
|
/** JSONP */
|
|
2114
|
-
callback?:
|
|
3194
|
+
callback?:
|
|
3195
|
+
string;
|
|
2115
3196
|
/** Selector specifying which fields to include in a partial response. */
|
|
2116
|
-
fields?:
|
|
3197
|
+
fields?:
|
|
3198
|
+
string;
|
|
2117
3199
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2118
|
-
key?:
|
|
3200
|
+
key?:
|
|
3201
|
+
string;
|
|
2119
3202
|
/** OAuth 2.0 token for the current user. */
|
|
2120
|
-
oauth_token?:
|
|
3203
|
+
oauth_token?:
|
|
3204
|
+
string;
|
|
2121
3205
|
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
2122
|
-
parent:
|
|
3206
|
+
parent:
|
|
3207
|
+
string;
|
|
2123
3208
|
/** Returns response with indentations and line breaks. */
|
|
2124
|
-
prettyPrint?:
|
|
3209
|
+
prettyPrint?:
|
|
3210
|
+
boolean;
|
|
2125
3211
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2126
|
-
quotaUser?:
|
|
3212
|
+
quotaUser?:
|
|
3213
|
+
string;
|
|
2127
3214
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2128
|
-
upload_protocol?:
|
|
3215
|
+
upload_protocol?:
|
|
3216
|
+
string;
|
|
2129
3217
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2130
|
-
uploadType?:
|
|
3218
|
+
uploadType?:
|
|
3219
|
+
string;
|
|
2131
3220
|
},
|
|
2132
3221
|
body: GoogleCloudDiscoveryengineV1alphaUserEvent): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
|
|
2133
3222
|
}
|
|
2134
3223
|
interface DataStoresResource {
|
|
2135
|
-
branches:
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
3224
|
+
branches:
|
|
3225
|
+
BranchesResource;
|
|
3226
|
+
models:
|
|
3227
|
+
ModelsResource;
|
|
3228
|
+
operations:
|
|
3229
|
+
OperationsResource;
|
|
3230
|
+
servingConfigs:
|
|
3231
|
+
ServingConfigsResource;
|
|
3232
|
+
userEvents:
|
|
3233
|
+
UserEventsResource;
|
|
2140
3234
|
}
|
|
2141
3235
|
interface OperationsResource {
|
|
2142
3236
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2143
3237
|
get(request?: {
|
|
2144
3238
|
/** V1 error format. */
|
|
2145
|
-
"$.xgafv"?:
|
|
3239
|
+
"$.xgafv"?:
|
|
3240
|
+
string;
|
|
2146
3241
|
/** OAuth access token. */
|
|
2147
|
-
access_token?:
|
|
3242
|
+
access_token?:
|
|
3243
|
+
string;
|
|
2148
3244
|
/** Data format for response. */
|
|
2149
|
-
alt?:
|
|
3245
|
+
alt?:
|
|
3246
|
+
string;
|
|
2150
3247
|
/** JSONP */
|
|
2151
|
-
callback?:
|
|
3248
|
+
callback?:
|
|
3249
|
+
string;
|
|
2152
3250
|
/** Selector specifying which fields to include in a partial response. */
|
|
2153
|
-
fields?:
|
|
3251
|
+
fields?:
|
|
3252
|
+
string;
|
|
2154
3253
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2155
|
-
key?:
|
|
3254
|
+
key?:
|
|
3255
|
+
string;
|
|
2156
3256
|
/** The name of the operation resource. */
|
|
2157
|
-
name:
|
|
3257
|
+
name:
|
|
3258
|
+
string;
|
|
2158
3259
|
/** OAuth 2.0 token for the current user. */
|
|
2159
|
-
oauth_token?:
|
|
3260
|
+
oauth_token?:
|
|
3261
|
+
string;
|
|
2160
3262
|
/** Returns response with indentations and line breaks. */
|
|
2161
|
-
prettyPrint?:
|
|
3263
|
+
prettyPrint?:
|
|
3264
|
+
boolean;
|
|
2162
3265
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2163
|
-
quotaUser?:
|
|
3266
|
+
quotaUser?:
|
|
3267
|
+
string;
|
|
2164
3268
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2165
|
-
upload_protocol?:
|
|
3269
|
+
upload_protocol?:
|
|
3270
|
+
string;
|
|
2166
3271
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2167
|
-
uploadType?:
|
|
3272
|
+
uploadType?:
|
|
3273
|
+
string;
|
|
2168
3274
|
}): Request<GoogleLongrunningOperation>;
|
|
2169
3275
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2170
3276
|
list(request?: {
|
|
2171
3277
|
/** V1 error format. */
|
|
2172
|
-
"$.xgafv"?:
|
|
3278
|
+
"$.xgafv"?:
|
|
3279
|
+
string;
|
|
2173
3280
|
/** OAuth access token. */
|
|
2174
|
-
access_token?:
|
|
3281
|
+
access_token?:
|
|
3282
|
+
string;
|
|
2175
3283
|
/** Data format for response. */
|
|
2176
|
-
alt?:
|
|
3284
|
+
alt?:
|
|
3285
|
+
string;
|
|
2177
3286
|
/** JSONP */
|
|
2178
|
-
callback?:
|
|
3287
|
+
callback?:
|
|
3288
|
+
string;
|
|
2179
3289
|
/** Selector specifying which fields to include in a partial response. */
|
|
2180
|
-
fields?:
|
|
3290
|
+
fields?:
|
|
3291
|
+
string;
|
|
2181
3292
|
/** The standard list filter. */
|
|
2182
|
-
filter?:
|
|
3293
|
+
filter?:
|
|
3294
|
+
string;
|
|
2183
3295
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2184
|
-
key?:
|
|
3296
|
+
key?:
|
|
3297
|
+
string;
|
|
2185
3298
|
/** The name of the operation's parent resource. */
|
|
2186
|
-
name:
|
|
3299
|
+
name:
|
|
3300
|
+
string;
|
|
2187
3301
|
/** OAuth 2.0 token for the current user. */
|
|
2188
|
-
oauth_token?:
|
|
3302
|
+
oauth_token?:
|
|
3303
|
+
string;
|
|
2189
3304
|
/** The standard list page size. */
|
|
2190
|
-
pageSize?:
|
|
3305
|
+
pageSize?:
|
|
3306
|
+
number;
|
|
2191
3307
|
/** The standard list page token. */
|
|
2192
|
-
pageToken?:
|
|
3308
|
+
pageToken?:
|
|
3309
|
+
string;
|
|
2193
3310
|
/** Returns response with indentations and line breaks. */
|
|
2194
|
-
prettyPrint?:
|
|
3311
|
+
prettyPrint?:
|
|
3312
|
+
boolean;
|
|
2195
3313
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2196
|
-
quotaUser?:
|
|
3314
|
+
quotaUser?:
|
|
3315
|
+
string;
|
|
2197
3316
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2198
|
-
upload_protocol?:
|
|
3317
|
+
upload_protocol?:
|
|
3318
|
+
string;
|
|
2199
3319
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2200
|
-
uploadType?:
|
|
3320
|
+
uploadType?:
|
|
3321
|
+
string;
|
|
2201
3322
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2202
3323
|
}
|
|
2203
3324
|
interface LocationsResource {
|
|
2204
|
-
collections:
|
|
2205
|
-
|
|
2206
|
-
|
|
3325
|
+
collections:
|
|
3326
|
+
CollectionsResource;
|
|
3327
|
+
dataStores:
|
|
3328
|
+
DataStoresResource;
|
|
3329
|
+
operations:
|
|
3330
|
+
OperationsResource;
|
|
2207
3331
|
}
|
|
2208
3332
|
interface OperationsResource {
|
|
2209
3333
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2210
3334
|
get(request?: {
|
|
2211
3335
|
/** V1 error format. */
|
|
2212
|
-
"$.xgafv"?:
|
|
3336
|
+
"$.xgafv"?:
|
|
3337
|
+
string;
|
|
2213
3338
|
/** OAuth access token. */
|
|
2214
|
-
access_token?:
|
|
3339
|
+
access_token?:
|
|
3340
|
+
string;
|
|
2215
3341
|
/** Data format for response. */
|
|
2216
|
-
alt?:
|
|
3342
|
+
alt?:
|
|
3343
|
+
string;
|
|
2217
3344
|
/** JSONP */
|
|
2218
|
-
callback?:
|
|
3345
|
+
callback?:
|
|
3346
|
+
string;
|
|
2219
3347
|
/** Selector specifying which fields to include in a partial response. */
|
|
2220
|
-
fields?:
|
|
3348
|
+
fields?:
|
|
3349
|
+
string;
|
|
2221
3350
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2222
|
-
key?:
|
|
3351
|
+
key?:
|
|
3352
|
+
string;
|
|
2223
3353
|
/** The name of the operation resource. */
|
|
2224
|
-
name:
|
|
3354
|
+
name:
|
|
3355
|
+
string;
|
|
2225
3356
|
/** OAuth 2.0 token for the current user. */
|
|
2226
|
-
oauth_token?:
|
|
3357
|
+
oauth_token?:
|
|
3358
|
+
string;
|
|
2227
3359
|
/** Returns response with indentations and line breaks. */
|
|
2228
|
-
prettyPrint?:
|
|
3360
|
+
prettyPrint?:
|
|
3361
|
+
boolean;
|
|
2229
3362
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2230
|
-
quotaUser?:
|
|
3363
|
+
quotaUser?:
|
|
3364
|
+
string;
|
|
2231
3365
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2232
|
-
upload_protocol?:
|
|
3366
|
+
upload_protocol?:
|
|
3367
|
+
string;
|
|
2233
3368
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2234
|
-
uploadType?:
|
|
3369
|
+
uploadType?:
|
|
3370
|
+
string;
|
|
2235
3371
|
}): Request<GoogleLongrunningOperation>;
|
|
2236
3372
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2237
3373
|
list(request?: {
|
|
2238
3374
|
/** V1 error format. */
|
|
2239
|
-
"$.xgafv"?:
|
|
3375
|
+
"$.xgafv"?:
|
|
3376
|
+
string;
|
|
2240
3377
|
/** OAuth access token. */
|
|
2241
|
-
access_token?:
|
|
3378
|
+
access_token?:
|
|
3379
|
+
string;
|
|
2242
3380
|
/** Data format for response. */
|
|
2243
|
-
alt?:
|
|
3381
|
+
alt?:
|
|
3382
|
+
string;
|
|
2244
3383
|
/** JSONP */
|
|
2245
|
-
callback?:
|
|
3384
|
+
callback?:
|
|
3385
|
+
string;
|
|
2246
3386
|
/** Selector specifying which fields to include in a partial response. */
|
|
2247
|
-
fields?:
|
|
3387
|
+
fields?:
|
|
3388
|
+
string;
|
|
2248
3389
|
/** The standard list filter. */
|
|
2249
|
-
filter?:
|
|
3390
|
+
filter?:
|
|
3391
|
+
string;
|
|
2250
3392
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2251
|
-
key?:
|
|
3393
|
+
key?:
|
|
3394
|
+
string;
|
|
2252
3395
|
/** The name of the operation's parent resource. */
|
|
2253
|
-
name:
|
|
3396
|
+
name:
|
|
3397
|
+
string;
|
|
2254
3398
|
/** OAuth 2.0 token for the current user. */
|
|
2255
|
-
oauth_token?:
|
|
3399
|
+
oauth_token?:
|
|
3400
|
+
string;
|
|
2256
3401
|
/** The standard list page size. */
|
|
2257
|
-
pageSize?:
|
|
3402
|
+
pageSize?:
|
|
3403
|
+
number;
|
|
2258
3404
|
/** The standard list page token. */
|
|
2259
|
-
pageToken?:
|
|
3405
|
+
pageToken?:
|
|
3406
|
+
string;
|
|
2260
3407
|
/** Returns response with indentations and line breaks. */
|
|
2261
|
-
prettyPrint?:
|
|
3408
|
+
prettyPrint?:
|
|
3409
|
+
boolean;
|
|
2262
3410
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2263
|
-
quotaUser?:
|
|
3411
|
+
quotaUser?:
|
|
3412
|
+
string;
|
|
2264
3413
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2265
|
-
upload_protocol?:
|
|
3414
|
+
upload_protocol?:
|
|
3415
|
+
string;
|
|
2266
3416
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2267
|
-
uploadType?:
|
|
3417
|
+
uploadType?:
|
|
3418
|
+
string;
|
|
2268
3419
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2269
3420
|
}
|
|
2270
3421
|
interface ProjectsResource {
|
|
2271
|
-
locations:
|
|
2272
|
-
|
|
3422
|
+
locations:
|
|
3423
|
+
LocationsResource;
|
|
3424
|
+
operations:
|
|
3425
|
+
OperationsResource;
|
|
2273
3426
|
}
|
|
2274
3427
|
|
|
2275
3428
|
const projects: ProjectsResource;
|