@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240510 → 0.0.20240512
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 +118 -1
- package/package.json +1 -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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240512
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2736,6 +2736,7 @@ declare namespace gapi.client {
|
|
|
2736
2736
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2737
2737
|
updateTime?: string;
|
|
2738
2738
|
}
|
|
2739
|
+
interface GoogleLongrunningCancelOperationRequest {}
|
|
2739
2740
|
interface GoogleLongrunningListOperationsResponse {
|
|
2740
2741
|
/** The standard List next-page token. */
|
|
2741
2742
|
nextPageToken?: string;
|
|
@@ -3168,6 +3169,64 @@ declare namespace gapi.client {
|
|
|
3168
3169
|
): Request<GoogleLongrunningOperation>;
|
|
3169
3170
|
}
|
|
3170
3171
|
interface OperationsResource {
|
|
3172
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
3173
|
+
cancel(request: {
|
|
3174
|
+
/** V1 error format. */
|
|
3175
|
+
'$.xgafv'?: string;
|
|
3176
|
+
/** OAuth access token. */
|
|
3177
|
+
access_token?: string;
|
|
3178
|
+
/** Data format for response. */
|
|
3179
|
+
alt?: string;
|
|
3180
|
+
/** JSONP */
|
|
3181
|
+
callback?: string;
|
|
3182
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3183
|
+
fields?: string;
|
|
3184
|
+
/** 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. */
|
|
3185
|
+
key?: string;
|
|
3186
|
+
/** The name of the operation resource to be cancelled. */
|
|
3187
|
+
name: string;
|
|
3188
|
+
/** OAuth 2.0 token for the current user. */
|
|
3189
|
+
oauth_token?: string;
|
|
3190
|
+
/** Returns response with indentations and line breaks. */
|
|
3191
|
+
prettyPrint?: boolean;
|
|
3192
|
+
/** 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. */
|
|
3193
|
+
quotaUser?: string;
|
|
3194
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3195
|
+
upload_protocol?: string;
|
|
3196
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3197
|
+
uploadType?: string;
|
|
3198
|
+
/** Request body */
|
|
3199
|
+
resource: GoogleLongrunningCancelOperationRequest;
|
|
3200
|
+
}): Request<{}>;
|
|
3201
|
+
cancel(
|
|
3202
|
+
request: {
|
|
3203
|
+
/** V1 error format. */
|
|
3204
|
+
'$.xgafv'?: string;
|
|
3205
|
+
/** OAuth access token. */
|
|
3206
|
+
access_token?: string;
|
|
3207
|
+
/** Data format for response. */
|
|
3208
|
+
alt?: string;
|
|
3209
|
+
/** JSONP */
|
|
3210
|
+
callback?: string;
|
|
3211
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3212
|
+
fields?: string;
|
|
3213
|
+
/** 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. */
|
|
3214
|
+
key?: string;
|
|
3215
|
+
/** The name of the operation resource to be cancelled. */
|
|
3216
|
+
name: string;
|
|
3217
|
+
/** OAuth 2.0 token for the current user. */
|
|
3218
|
+
oauth_token?: string;
|
|
3219
|
+
/** Returns response with indentations and line breaks. */
|
|
3220
|
+
prettyPrint?: boolean;
|
|
3221
|
+
/** 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. */
|
|
3222
|
+
quotaUser?: string;
|
|
3223
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3224
|
+
upload_protocol?: string;
|
|
3225
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3226
|
+
uploadType?: string;
|
|
3227
|
+
},
|
|
3228
|
+
body: GoogleLongrunningCancelOperationRequest
|
|
3229
|
+
): Request<{}>;
|
|
3171
3230
|
/** 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. */
|
|
3172
3231
|
get(request?: {
|
|
3173
3232
|
/** V1 error format. */
|
|
@@ -7398,6 +7457,64 @@ declare namespace gapi.client {
|
|
|
7398
7457
|
): Request<GoogleLongrunningOperation>;
|
|
7399
7458
|
}
|
|
7400
7459
|
interface OperationsResource {
|
|
7460
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
7461
|
+
cancel(request: {
|
|
7462
|
+
/** V1 error format. */
|
|
7463
|
+
'$.xgafv'?: string;
|
|
7464
|
+
/** OAuth access token. */
|
|
7465
|
+
access_token?: string;
|
|
7466
|
+
/** Data format for response. */
|
|
7467
|
+
alt?: string;
|
|
7468
|
+
/** JSONP */
|
|
7469
|
+
callback?: string;
|
|
7470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7471
|
+
fields?: string;
|
|
7472
|
+
/** 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. */
|
|
7473
|
+
key?: string;
|
|
7474
|
+
/** The name of the operation resource to be cancelled. */
|
|
7475
|
+
name: string;
|
|
7476
|
+
/** OAuth 2.0 token for the current user. */
|
|
7477
|
+
oauth_token?: string;
|
|
7478
|
+
/** Returns response with indentations and line breaks. */
|
|
7479
|
+
prettyPrint?: boolean;
|
|
7480
|
+
/** 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. */
|
|
7481
|
+
quotaUser?: string;
|
|
7482
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7483
|
+
upload_protocol?: string;
|
|
7484
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7485
|
+
uploadType?: string;
|
|
7486
|
+
/** Request body */
|
|
7487
|
+
resource: GoogleLongrunningCancelOperationRequest;
|
|
7488
|
+
}): Request<{}>;
|
|
7489
|
+
cancel(
|
|
7490
|
+
request: {
|
|
7491
|
+
/** V1 error format. */
|
|
7492
|
+
'$.xgafv'?: string;
|
|
7493
|
+
/** OAuth access token. */
|
|
7494
|
+
access_token?: string;
|
|
7495
|
+
/** Data format for response. */
|
|
7496
|
+
alt?: string;
|
|
7497
|
+
/** JSONP */
|
|
7498
|
+
callback?: string;
|
|
7499
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7500
|
+
fields?: string;
|
|
7501
|
+
/** 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. */
|
|
7502
|
+
key?: string;
|
|
7503
|
+
/** The name of the operation resource to be cancelled. */
|
|
7504
|
+
name: string;
|
|
7505
|
+
/** OAuth 2.0 token for the current user. */
|
|
7506
|
+
oauth_token?: string;
|
|
7507
|
+
/** Returns response with indentations and line breaks. */
|
|
7508
|
+
prettyPrint?: boolean;
|
|
7509
|
+
/** 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. */
|
|
7510
|
+
quotaUser?: string;
|
|
7511
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7512
|
+
upload_protocol?: string;
|
|
7513
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7514
|
+
uploadType?: string;
|
|
7515
|
+
},
|
|
7516
|
+
body: GoogleLongrunningCancelOperationRequest
|
|
7517
|
+
): Request<{}>;
|
|
7401
7518
|
/** 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. */
|
|
7402
7519
|
get(request?: {
|
|
7403
7520
|
/** V1 error format. */
|