@maxim_mazurok/gapi.client.spanner-v1 0.0.20241218 → 0.0.20250113
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 +95 -12
- 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://spanner.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250113
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,6 +24,13 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(name: 'spanner', version: 'v1', callback: () => any): void;
|
|
25
25
|
|
|
26
26
|
namespace spanner {
|
|
27
|
+
interface AddSplitPointsRequest {
|
|
28
|
+
/** Optional. A user-supplied tag associated with the split points. For example, "intital_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 characters are allowed. */
|
|
29
|
+
initiator?: string;
|
|
30
|
+
/** Required. The split points to add. */
|
|
31
|
+
splitPoints?: SplitPoints[];
|
|
32
|
+
}
|
|
33
|
+
interface AddSplitPointsResponse {}
|
|
27
34
|
interface AsymmetricAutoscalingOption {
|
|
28
35
|
/** Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas. */
|
|
29
36
|
overrides?: AutoscalingConfigOverrides;
|
|
@@ -351,7 +358,7 @@ declare namespace gapi.client {
|
|
|
351
358
|
interface CrontabSpec {
|
|
352
359
|
/** Output only. Schedule backups will contain an externally consistent copy of the database at the version time specified in `schedule_spec.cron_spec`. However, Spanner may not initiate the creation of the scheduled backups at that version time. Spanner will initiate the creation of scheduled backups within the time window bounded by the version_time specified in `schedule_spec.cron_spec` and version_time + `creation_window`. */
|
|
353
360
|
creationWindow?: string;
|
|
354
|
-
/** Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC
|
|
361
|
+
/** Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timezone. The backup will contain an externally consistent copy of the database at the version time. Full backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2,14) hours past midnight in UTC. * `0 */4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12, 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on 8th day at 2 past midnight in UTC. */
|
|
355
362
|
text?: string;
|
|
356
363
|
/** Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported. */
|
|
357
364
|
timeZone?: string;
|
|
@@ -447,6 +454,8 @@ declare namespace gapi.client {
|
|
|
447
454
|
replicaSelections?: ReplicaSelection[];
|
|
448
455
|
}
|
|
449
456
|
interface ExecuteBatchDmlRequest {
|
|
457
|
+
/** Optional. If set to true, this request marks the end of the transaction. The transaction should be committed or aborted after these statements execute, and attempts to execute any other requests against this transaction (including reads and queries) will be rejected. Setting this option may cause some error reporting to be deferred until commit time (e.g. validation of unique constraints). Given this, successful execution of statements should not be assumed until a subsequent Commit call completes successfully. */
|
|
458
|
+
lastStatements?: boolean;
|
|
450
459
|
/** Common options for this request. */
|
|
451
460
|
requestOptions?: RequestOptions;
|
|
452
461
|
/** Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution. */
|
|
@@ -469,6 +478,8 @@ declare namespace gapi.client {
|
|
|
469
478
|
dataBoostEnabled?: boolean;
|
|
470
479
|
/** Directed read options for this request. */
|
|
471
480
|
directedReadOptions?: DirectedReadOptions;
|
|
481
|
+
/** Optional. If set to true, this statement marks the end of the transaction. The transaction should be committed or aborted after this statement executes, and attempts to execute any other requests against this transaction (including reads and queries) will be rejected. For DML statements, setting this option may cause some error reporting to be deferred until commit time (e.g. validation of unique constraints). Given this, successful execution of a DML statement should not be assumed until a subsequent Commit call completes successfully. */
|
|
482
|
+
lastStatement?: boolean;
|
|
472
483
|
/** Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names must conform to the naming requirements of identifiers as specified at https://cloud.google.com/spanner/docs/lexical#identifiers. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters. */
|
|
473
484
|
params?: {[P in string]: any};
|
|
474
485
|
/** It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types. */
|
|
@@ -557,7 +568,7 @@ declare namespace gapi.client {
|
|
|
557
568
|
config?: string;
|
|
558
569
|
/** Output only. The time at which the instance was created. */
|
|
559
570
|
createTime?: string;
|
|
560
|
-
/** Optional. Controls the default backup behavior for new databases within the instance. Note that `AUTOMATIC`
|
|
571
|
+
/** Optional. Controls the default backup schedule behavior for new databases within the instance. By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the `AUTOMATIC` value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the `GetInstance` or `ListInstances` response, if the value of `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't create a default backup schedule for new databases in the instance. */
|
|
561
572
|
defaultBackupScheduleType?: string;
|
|
562
573
|
/** Required. The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length. */
|
|
563
574
|
displayName?: string;
|
|
@@ -650,6 +661,10 @@ declare namespace gapi.client {
|
|
|
650
661
|
/** Required. Name of the location of the replicas (e.g., "us-central1"). */
|
|
651
662
|
location?: string;
|
|
652
663
|
}
|
|
664
|
+
interface Key {
|
|
665
|
+
/** Required. The column values making up the split key. */
|
|
666
|
+
keyParts?: any[];
|
|
667
|
+
}
|
|
653
668
|
interface KeyRange {
|
|
654
669
|
/** If the end is closed, then the range includes all rows whose first `len(end_closed)` key columns exactly match `end_closed`. */
|
|
655
670
|
endClosed?: any[];
|
|
@@ -984,7 +999,7 @@ declare namespace gapi.client {
|
|
|
984
999
|
interface QueryPlan {
|
|
985
1000
|
/** The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each PlanNode's `id` corresponds to its index in `plan_nodes`. */
|
|
986
1001
|
planNodes?: PlanNode[];
|
|
987
|
-
/** Optional. The
|
|
1002
|
+
/** Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query. */
|
|
988
1003
|
queryAdvice?: QueryAdvisorResult;
|
|
989
1004
|
}
|
|
990
1005
|
interface QuorumInfo {
|
|
@@ -1197,6 +1212,16 @@ declare namespace gapi.client {
|
|
|
1197
1212
|
/** Required. The location of the serving region, e.g. "us-central1". The location must be one of the regions within the dual-region instance configuration of your database. The list of valid locations is available using the GetInstanceConfig API. This should only be used if you plan to change quorum to the single-region quorum type. */
|
|
1198
1213
|
servingLocation?: string;
|
|
1199
1214
|
}
|
|
1215
|
+
interface SplitPoints {
|
|
1216
|
+
/** Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified. */
|
|
1217
|
+
expireTime?: string;
|
|
1218
|
+
/** The index to split. If specified, the `table` field must refer to the index's base table. */
|
|
1219
|
+
index?: string;
|
|
1220
|
+
/** Required. The list of split keys, i.e., the split boundaries. */
|
|
1221
|
+
keys?: Key[];
|
|
1222
|
+
/** The table to split. */
|
|
1223
|
+
table?: string;
|
|
1224
|
+
}
|
|
1200
1225
|
interface Statement {
|
|
1201
1226
|
/** Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters. */
|
|
1202
1227
|
params?: {[P in string]: any};
|
|
@@ -1415,7 +1440,7 @@ declare namespace gapi.client {
|
|
|
1415
1440
|
}): Request<ListInstanceConfigOperationsResponse>;
|
|
1416
1441
|
}
|
|
1417
1442
|
interface OperationsResource {
|
|
1418
|
-
/** 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
|
|
1443
|
+
/** 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`. */
|
|
1419
1444
|
cancel(request?: {
|
|
1420
1445
|
/** V1 error format. */
|
|
1421
1446
|
'$.xgafv'?: string;
|
|
@@ -1531,7 +1556,7 @@ declare namespace gapi.client {
|
|
|
1531
1556
|
}): Request<ListOperationsResponse>;
|
|
1532
1557
|
}
|
|
1533
1558
|
interface OperationsResource {
|
|
1534
|
-
/** 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
|
|
1559
|
+
/** 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`. */
|
|
1535
1560
|
cancel(request?: {
|
|
1536
1561
|
/** V1 error format. */
|
|
1537
1562
|
'$.xgafv'?: string;
|
|
@@ -1894,7 +1919,7 @@ declare namespace gapi.client {
|
|
|
1894
1919
|
}): Request<ListBackupOperationsResponse>;
|
|
1895
1920
|
}
|
|
1896
1921
|
interface OperationsResource {
|
|
1897
|
-
/** 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
|
|
1922
|
+
/** 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`. */
|
|
1898
1923
|
cancel(request?: {
|
|
1899
1924
|
/** V1 error format. */
|
|
1900
1925
|
'$.xgafv'?: string;
|
|
@@ -2783,7 +2808,7 @@ declare namespace gapi.client {
|
|
|
2783
2808
|
): Request<TestIamPermissionsResponse>;
|
|
2784
2809
|
}
|
|
2785
2810
|
interface OperationsResource {
|
|
2786
|
-
/** 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
|
|
2811
|
+
/** 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`. */
|
|
2787
2812
|
cancel(request?: {
|
|
2788
2813
|
/** V1 error format. */
|
|
2789
2814
|
'$.xgafv'?: string;
|
|
@@ -3274,7 +3299,7 @@ declare namespace gapi.client {
|
|
|
3274
3299
|
},
|
|
3275
3300
|
body: ExecuteBatchDmlRequest
|
|
3276
3301
|
): Request<ExecuteBatchDmlResponse>;
|
|
3277
|
-
/** Executes an SQL statement, returning all results in a single reply. This method cannot be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead. */
|
|
3302
|
+
/** Executes an SQL statement, returning all results in a single reply. This method cannot be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro). */
|
|
3278
3303
|
executeSql(request: {
|
|
3279
3304
|
/** V1 error format. */
|
|
3280
3305
|
'$.xgafv'?: string;
|
|
@@ -3332,7 +3357,7 @@ declare namespace gapi.client {
|
|
|
3332
3357
|
},
|
|
3333
3358
|
body: ExecuteSqlRequest
|
|
3334
3359
|
): Request<ResultSet>;
|
|
3335
|
-
/** Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. */
|
|
3360
|
+
/** Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro). */
|
|
3336
3361
|
executeStreamingSql(request: {
|
|
3337
3362
|
/** V1 error format. */
|
|
3338
3363
|
'$.xgafv'?: string;
|
|
@@ -3742,6 +3767,64 @@ declare namespace gapi.client {
|
|
|
3742
3767
|
): Request<PartialResultSet>;
|
|
3743
3768
|
}
|
|
3744
3769
|
interface DatabasesResource {
|
|
3770
|
+
/** Adds split points to specified tables, indexes of a database. */
|
|
3771
|
+
addSplitPoints(request: {
|
|
3772
|
+
/** V1 error format. */
|
|
3773
|
+
'$.xgafv'?: string;
|
|
3774
|
+
/** OAuth access token. */
|
|
3775
|
+
access_token?: string;
|
|
3776
|
+
/** Data format for response. */
|
|
3777
|
+
alt?: string;
|
|
3778
|
+
/** JSONP */
|
|
3779
|
+
callback?: string;
|
|
3780
|
+
/** Required. The database on whose tables/indexes split points are to be added. Values are of the form `projects//instances//databases/`. */
|
|
3781
|
+
database: string;
|
|
3782
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3783
|
+
fields?: string;
|
|
3784
|
+
/** 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. */
|
|
3785
|
+
key?: string;
|
|
3786
|
+
/** OAuth 2.0 token for the current user. */
|
|
3787
|
+
oauth_token?: string;
|
|
3788
|
+
/** Returns response with indentations and line breaks. */
|
|
3789
|
+
prettyPrint?: boolean;
|
|
3790
|
+
/** 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. */
|
|
3791
|
+
quotaUser?: string;
|
|
3792
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3793
|
+
upload_protocol?: string;
|
|
3794
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3795
|
+
uploadType?: string;
|
|
3796
|
+
/** Request body */
|
|
3797
|
+
resource: AddSplitPointsRequest;
|
|
3798
|
+
}): Request<{}>;
|
|
3799
|
+
addSplitPoints(
|
|
3800
|
+
request: {
|
|
3801
|
+
/** V1 error format. */
|
|
3802
|
+
'$.xgafv'?: string;
|
|
3803
|
+
/** OAuth access token. */
|
|
3804
|
+
access_token?: string;
|
|
3805
|
+
/** Data format for response. */
|
|
3806
|
+
alt?: string;
|
|
3807
|
+
/** JSONP */
|
|
3808
|
+
callback?: string;
|
|
3809
|
+
/** Required. The database on whose tables/indexes split points are to be added. Values are of the form `projects//instances//databases/`. */
|
|
3810
|
+
database: string;
|
|
3811
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3812
|
+
fields?: string;
|
|
3813
|
+
/** 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. */
|
|
3814
|
+
key?: string;
|
|
3815
|
+
/** OAuth 2.0 token for the current user. */
|
|
3816
|
+
oauth_token?: string;
|
|
3817
|
+
/** Returns response with indentations and line breaks. */
|
|
3818
|
+
prettyPrint?: boolean;
|
|
3819
|
+
/** 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. */
|
|
3820
|
+
quotaUser?: string;
|
|
3821
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3822
|
+
upload_protocol?: string;
|
|
3823
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3824
|
+
uploadType?: string;
|
|
3825
|
+
},
|
|
3826
|
+
body: AddSplitPointsRequest
|
|
3827
|
+
): Request<{}>;
|
|
3745
3828
|
/** `ChangeQuorum` is strictly restricted to databases that use dual-region instance configurations. Initiates a background operation to change the quorum of a database from dual-region mode to single-region mode or vice versa. The returned long-running operation has a name of the format `projects//instances//databases//operations/` and can be used to track execution of the `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database. */
|
|
3746
3829
|
changequorum(request: {
|
|
3747
3830
|
/** V1 error format. */
|
|
@@ -4314,7 +4397,7 @@ declare namespace gapi.client {
|
|
|
4314
4397
|
}): Request<ListInstancePartitionOperationsResponse>;
|
|
4315
4398
|
}
|
|
4316
4399
|
interface OperationsResource {
|
|
4317
|
-
/** 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
|
|
4400
|
+
/** 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`. */
|
|
4318
4401
|
cancel(request?: {
|
|
4319
4402
|
/** V1 error format. */
|
|
4320
4403
|
'$.xgafv'?: string;
|
|
@@ -4638,7 +4721,7 @@ declare namespace gapi.client {
|
|
|
4638
4721
|
operations: OperationsResource;
|
|
4639
4722
|
}
|
|
4640
4723
|
interface OperationsResource {
|
|
4641
|
-
/** 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
|
|
4724
|
+
/** 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`. */
|
|
4642
4725
|
cancel(request?: {
|
|
4643
4726
|
/** V1 error format. */
|
|
4644
4727
|
'$.xgafv'?: string;
|