@googleapis/spanner 10.0.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +88 -27
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +88 -27
package/build/v1.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ export declare namespace spanner_v1 {
|
|
|
103
103
|
* Message sent by the adapter to the client.
|
|
104
104
|
*/
|
|
105
105
|
export interface Schema$AdaptMessageResponse {
|
|
106
|
+
/**
|
|
107
|
+
* Optional. Indicates whether this is the last AdaptMessageResponse in the stream. This field may be optionally set by the server. Clients should not rely on this field being set in all cases.
|
|
108
|
+
*/
|
|
109
|
+
last?: boolean | null;
|
|
106
110
|
/**
|
|
107
111
|
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
108
112
|
*/
|
|
@@ -254,7 +258,7 @@ export declare namespace spanner_v1 {
|
|
|
254
258
|
*/
|
|
255
259
|
incrementalBackupChainId?: string | null;
|
|
256
260
|
/**
|
|
257
|
-
* Output only. The instance partition
|
|
261
|
+
* Output only. The instance partition storing the backup. This is the same as the list of the instance partitions that the database recorded at the backup's `version_time`.
|
|
258
262
|
*/
|
|
259
263
|
instancePartitions?: Schema$BackupInstancePartition[];
|
|
260
264
|
/**
|
|
@@ -367,7 +371,7 @@ export declare namespace spanner_v1 {
|
|
|
367
371
|
*/
|
|
368
372
|
export interface Schema$BatchCreateSessionsRequest {
|
|
369
373
|
/**
|
|
370
|
-
* Required. The number of sessions to be created in this batch call. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
|
|
374
|
+
* Required. The number of sessions to be created in this batch call. At least one session is created. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
|
|
371
375
|
*/
|
|
372
376
|
sessionCount?: number | null;
|
|
373
377
|
/**
|
|
@@ -598,6 +602,10 @@ export declare namespace spanner_v1 {
|
|
|
598
602
|
* If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
|
|
599
603
|
*/
|
|
600
604
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
605
|
+
/**
|
|
606
|
+
* If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned.
|
|
607
|
+
*/
|
|
608
|
+
snapshotTimestamp?: string | null;
|
|
601
609
|
}
|
|
602
610
|
/**
|
|
603
611
|
* Additional statistics about a commit.
|
|
@@ -638,7 +646,7 @@ export declare namespace spanner_v1 {
|
|
|
638
646
|
*/
|
|
639
647
|
encryptionType?: string | null;
|
|
640
648
|
/**
|
|
641
|
-
* Optional. The Cloud KMS key that
|
|
649
|
+
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
642
650
|
*/
|
|
643
651
|
kmsKeyName?: string | null;
|
|
644
652
|
/**
|
|
@@ -697,7 +705,7 @@ export declare namespace spanner_v1 {
|
|
|
697
705
|
*/
|
|
698
706
|
encryptionType?: string | null;
|
|
699
707
|
/**
|
|
700
|
-
* Optional. The Cloud KMS key that
|
|
708
|
+
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
701
709
|
*/
|
|
702
710
|
kmsKeyName?: string | null;
|
|
703
711
|
/**
|
|
@@ -1033,15 +1041,15 @@ export declare namespace spanner_v1 {
|
|
|
1033
1041
|
*/
|
|
1034
1042
|
export interface Schema$DdlStatementActionInfo {
|
|
1035
1043
|
/**
|
|
1036
|
-
* The action for the DDL statement,
|
|
1044
|
+
* The action for the DDL statement, for example, CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.
|
|
1037
1045
|
*/
|
|
1038
1046
|
action?: string | null;
|
|
1039
1047
|
/**
|
|
1040
|
-
* The entity
|
|
1048
|
+
* The entity names being operated on the DDL statement. For example, 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
|
|
1041
1049
|
*/
|
|
1042
1050
|
entityNames?: string[] | null;
|
|
1043
1051
|
/**
|
|
1044
|
-
* The entity type for the DDL statement,
|
|
1052
|
+
* The entity type for the DDL statement, for example, TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, for example, for statement "ANALYZE", `entity_type` = "".
|
|
1045
1053
|
*/
|
|
1046
1054
|
entityType?: string | null;
|
|
1047
1055
|
}
|
|
@@ -1549,7 +1557,7 @@ export declare namespace spanner_v1 {
|
|
|
1549
1557
|
*/
|
|
1550
1558
|
export interface Schema$InstanceEncryptionConfig {
|
|
1551
1559
|
/**
|
|
1552
|
-
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. `kms_key_name`
|
|
1560
|
+
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
1553
1561
|
*/
|
|
1554
1562
|
kmsKeyName?: string | null;
|
|
1555
1563
|
/**
|
|
@@ -1578,6 +1586,10 @@ export declare namespace spanner_v1 {
|
|
|
1578
1586
|
* An isolated set of Cloud Spanner resources that databases can define placements on.
|
|
1579
1587
|
*/
|
|
1580
1588
|
export interface Schema$InstancePartition {
|
|
1589
|
+
/**
|
|
1590
|
+
* Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance partition.
|
|
1591
|
+
*/
|
|
1592
|
+
autoscalingConfig?: Schema$AutoscalingConfig;
|
|
1581
1593
|
/**
|
|
1582
1594
|
* Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.
|
|
1583
1595
|
*/
|
|
@@ -1628,7 +1640,7 @@ export declare namespace spanner_v1 {
|
|
|
1628
1640
|
*/
|
|
1629
1641
|
export interface Schema$InstanceReplicaSelection {
|
|
1630
1642
|
/**
|
|
1631
|
-
* Required. Name of the location of the replicas (
|
|
1643
|
+
* Required. Name of the location of the replicas (for example, "us-central1").
|
|
1632
1644
|
*/
|
|
1633
1645
|
location?: string | null;
|
|
1634
1646
|
}
|
|
@@ -1900,6 +1912,10 @@ export declare namespace spanner_v1 {
|
|
|
1900
1912
|
* A list of operations that matches the specified filter in the request.
|
|
1901
1913
|
*/
|
|
1902
1914
|
operations?: Schema$Operation[];
|
|
1915
|
+
/**
|
|
1916
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
|
|
1917
|
+
*/
|
|
1918
|
+
unreachable?: string[] | null;
|
|
1903
1919
|
}
|
|
1904
1920
|
/**
|
|
1905
1921
|
* Response method from the ListScans method.
|
|
@@ -2695,7 +2711,7 @@ export declare namespace spanner_v1 {
|
|
|
2695
2711
|
*/
|
|
2696
2712
|
encryptionType?: string | null;
|
|
2697
2713
|
/**
|
|
2698
|
-
* Optional. The Cloud KMS key that
|
|
2714
|
+
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
2699
2715
|
*/
|
|
2700
2716
|
kmsKeyName?: string | null;
|
|
2701
2717
|
/**
|
|
@@ -2936,7 +2952,7 @@ export declare namespace spanner_v1 {
|
|
|
2936
2952
|
*/
|
|
2937
2953
|
export interface Schema$SingleRegionQuorum {
|
|
2938
2954
|
/**
|
|
2939
|
-
* Required. The location of the serving region,
|
|
2955
|
+
* Required. The location of the serving region, for example, "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.
|
|
2940
2956
|
*/
|
|
2941
2957
|
servingLocation?: string | null;
|
|
2942
2958
|
}
|
|
@@ -3137,12 +3153,12 @@ export declare namespace spanner_v1 {
|
|
|
3137
3153
|
*/
|
|
3138
3154
|
statements?: string[] | null;
|
|
3139
3155
|
/**
|
|
3140
|
-
* Output only. When true, indicates that the operation is throttled
|
|
3156
|
+
* Output only. When true, indicates that the operation is throttled, for example, due to resource constraints. When resources become available the operation will resume and this field will be false again.
|
|
3141
3157
|
*/
|
|
3142
3158
|
throttled?: boolean | null;
|
|
3143
3159
|
}
|
|
3144
3160
|
/**
|
|
3145
|
-
* Enqueues the given DDL statements to be applied, in order but not necessarily all at once, to the database schema at some point (or points) in the future. The server checks that the statements are executable (syntactically valid, name tables that exist, etc.) before enqueueing them, but they may still fail upon later execution (
|
|
3161
|
+
* Enqueues the given DDL statements to be applied, in order but not necessarily all at once, to the database schema at some point (or points) in the future. The server checks that the statements are executable (syntactically valid, name tables that exist, etc.) before enqueueing them, but they may still fail upon later execution (for example, if a statement from another batch of statements is applied first and it conflicts in some way, or if there is some data-related problem like a `NULL` value in a column to which `NOT NULL` would be added). If a statement fails, all subsequent statements in the batch are automatically cancelled. Each batch of statements is assigned a name which can be used with the Operations API to monitor progress. See the operation_id field for more details.
|
|
3146
3162
|
*/
|
|
3147
3163
|
export interface Schema$UpdateDatabaseDdlRequest {
|
|
3148
3164
|
/**
|
|
@@ -4109,13 +4125,16 @@ export declare namespace spanner_v1 {
|
|
|
4109
4125
|
* pageSize: 'placeholder-value',
|
|
4110
4126
|
* // The standard list page token.
|
|
4111
4127
|
* pageToken: 'placeholder-value',
|
|
4128
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
4129
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
4112
4130
|
* });
|
|
4113
4131
|
* console.log(res.data);
|
|
4114
4132
|
*
|
|
4115
4133
|
* // Example response
|
|
4116
4134
|
* // {
|
|
4117
4135
|
* // "nextPageToken": "my_nextPageToken",
|
|
4118
|
-
* // "operations": []
|
|
4136
|
+
* // "operations": [],
|
|
4137
|
+
* // "unreachable": []
|
|
4119
4138
|
* // }
|
|
4120
4139
|
* }
|
|
4121
4140
|
*
|
|
@@ -4173,6 +4192,10 @@ export declare namespace spanner_v1 {
|
|
|
4173
4192
|
* The standard list page token.
|
|
4174
4193
|
*/
|
|
4175
4194
|
pageToken?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
4197
|
+
*/
|
|
4198
|
+
returnPartialSuccess?: boolean;
|
|
4176
4199
|
}
|
|
4177
4200
|
export class Resource$Projects$Instanceconfigs$Ssdcaches {
|
|
4178
4201
|
context: APIRequestContext;
|
|
@@ -4415,13 +4438,16 @@ export declare namespace spanner_v1 {
|
|
|
4415
4438
|
* pageSize: 'placeholder-value',
|
|
4416
4439
|
* // The standard list page token.
|
|
4417
4440
|
* pageToken: 'placeholder-value',
|
|
4441
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
4442
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
4418
4443
|
* });
|
|
4419
4444
|
* console.log(res.data);
|
|
4420
4445
|
*
|
|
4421
4446
|
* // Example response
|
|
4422
4447
|
* // {
|
|
4423
4448
|
* // "nextPageToken": "my_nextPageToken",
|
|
4424
|
-
* // "operations": []
|
|
4449
|
+
* // "operations": [],
|
|
4450
|
+
* // "unreachable": []
|
|
4425
4451
|
* // }
|
|
4426
4452
|
* }
|
|
4427
4453
|
*
|
|
@@ -4479,6 +4505,10 @@ export declare namespace spanner_v1 {
|
|
|
4479
4505
|
* The standard list page token.
|
|
4480
4506
|
*/
|
|
4481
4507
|
pageToken?: string;
|
|
4508
|
+
/**
|
|
4509
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
4510
|
+
*/
|
|
4511
|
+
returnPartialSuccess?: boolean;
|
|
4482
4512
|
}
|
|
4483
4513
|
export class Resource$Projects$Instances {
|
|
4484
4514
|
context: APIRequestContext;
|
|
@@ -5460,11 +5490,11 @@ export declare namespace spanner_v1 {
|
|
|
5460
5490
|
* backupId: 'placeholder-value',
|
|
5461
5491
|
* // Required. The encryption type of the backup.
|
|
5462
5492
|
* 'encryptionConfig.encryptionType': 'placeholder-value',
|
|
5463
|
-
* // Optional. The Cloud KMS key that
|
|
5493
|
+
* // Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
5464
5494
|
* 'encryptionConfig.kmsKeyName': 'placeholder-value',
|
|
5465
5495
|
* // Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
|
|
5466
5496
|
* 'encryptionConfig.kmsKeyNames': 'placeholder-value',
|
|
5467
|
-
* // Required. The name of the instance in which the backup
|
|
5497
|
+
* // Required. The name of the instance in which the backup is created. This must be the same instance that contains the database the backup is created from. The backup will be stored in the locations specified in the instance configuration of this instance. Values are of the form `projects//instances/`.
|
|
5468
5498
|
* parent: 'projects/my-project/instances/my-instance',
|
|
5469
5499
|
*
|
|
5470
5500
|
* // Request body metadata
|
|
@@ -5844,7 +5874,7 @@ export declare namespace spanner_v1 {
|
|
|
5844
5874
|
* const res = await spanner.projects.instances.backups.patch({
|
|
5845
5875
|
* // Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form `projects//instances/`.
|
|
5846
5876
|
* name: 'projects/my-project/instances/my-instance/backups/my-backup',
|
|
5847
|
-
* // Required. A mask specifying which fields (
|
|
5877
|
+
* // Required. A mask specifying which fields (for example, `expire_time`) in the backup resource should be updated. This mask is relative to the backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.
|
|
5848
5878
|
* updateMask: 'placeholder-value',
|
|
5849
5879
|
*
|
|
5850
5880
|
* // Request body metadata
|
|
@@ -6082,7 +6112,7 @@ export declare namespace spanner_v1 {
|
|
|
6082
6112
|
*/
|
|
6083
6113
|
'encryptionConfig.encryptionType'?: string;
|
|
6084
6114
|
/**
|
|
6085
|
-
* Optional. The Cloud KMS key that
|
|
6115
|
+
* Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
|
|
6086
6116
|
*/
|
|
6087
6117
|
'encryptionConfig.kmsKeyName'?: string;
|
|
6088
6118
|
/**
|
|
@@ -6090,7 +6120,7 @@ export declare namespace spanner_v1 {
|
|
|
6090
6120
|
*/
|
|
6091
6121
|
'encryptionConfig.kmsKeyNames'?: string[];
|
|
6092
6122
|
/**
|
|
6093
|
-
* Required. The name of the instance in which the backup
|
|
6123
|
+
* Required. The name of the instance in which the backup is created. This must be the same instance that contains the database the backup is created from. The backup will be stored in the locations specified in the instance configuration of this instance. Values are of the form `projects//instances/`.
|
|
6094
6124
|
*/
|
|
6095
6125
|
parent?: string;
|
|
6096
6126
|
/**
|
|
@@ -6144,7 +6174,7 @@ export declare namespace spanner_v1 {
|
|
|
6144
6174
|
*/
|
|
6145
6175
|
name?: string;
|
|
6146
6176
|
/**
|
|
6147
|
-
* Required. A mask specifying which fields (
|
|
6177
|
+
* Required. A mask specifying which fields (for example, `expire_time`) in the backup resource should be updated. This mask is relative to the backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.
|
|
6148
6178
|
*/
|
|
6149
6179
|
updateMask?: string;
|
|
6150
6180
|
/**
|
|
@@ -6406,13 +6436,16 @@ export declare namespace spanner_v1 {
|
|
|
6406
6436
|
* pageSize: 'placeholder-value',
|
|
6407
6437
|
* // The standard list page token.
|
|
6408
6438
|
* pageToken: 'placeholder-value',
|
|
6439
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
6440
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
6409
6441
|
* });
|
|
6410
6442
|
* console.log(res.data);
|
|
6411
6443
|
*
|
|
6412
6444
|
* // Example response
|
|
6413
6445
|
* // {
|
|
6414
6446
|
* // "nextPageToken": "my_nextPageToken",
|
|
6415
|
-
* // "operations": []
|
|
6447
|
+
* // "operations": [],
|
|
6448
|
+
* // "unreachable": []
|
|
6416
6449
|
* // }
|
|
6417
6450
|
* }
|
|
6418
6451
|
*
|
|
@@ -6470,6 +6503,10 @@ export declare namespace spanner_v1 {
|
|
|
6470
6503
|
* The standard list page token.
|
|
6471
6504
|
*/
|
|
6472
6505
|
pageToken?: string;
|
|
6506
|
+
/**
|
|
6507
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
6508
|
+
*/
|
|
6509
|
+
returnPartialSuccess?: boolean;
|
|
6473
6510
|
}
|
|
6474
6511
|
export class Resource$Projects$Instances$Databaseoperations {
|
|
6475
6512
|
context: APIRequestContext;
|
|
@@ -7521,7 +7558,7 @@ export declare namespace spanner_v1 {
|
|
|
7521
7558
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
7522
7559
|
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
7523
7560
|
/**
|
|
7524
|
-
* Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned long-running operation will have a name of the format `/operations/` and can be used to track execution of the schema
|
|
7561
|
+
* Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned long-running operation will have a name of the format `/operations/` and can be used to track execution of the schema changes. The metadata field type is UpdateDatabaseDdlMetadata. The operation has no response.
|
|
7525
7562
|
* @example
|
|
7526
7563
|
* ```js
|
|
7527
7564
|
* // Before running the sample:
|
|
@@ -8832,13 +8869,16 @@ export declare namespace spanner_v1 {
|
|
|
8832
8869
|
* pageSize: 'placeholder-value',
|
|
8833
8870
|
* // The standard list page token.
|
|
8834
8871
|
* pageToken: 'placeholder-value',
|
|
8872
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
8873
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
8835
8874
|
* });
|
|
8836
8875
|
* console.log(res.data);
|
|
8837
8876
|
*
|
|
8838
8877
|
* // Example response
|
|
8839
8878
|
* // {
|
|
8840
8879
|
* // "nextPageToken": "my_nextPageToken",
|
|
8841
|
-
* // "operations": []
|
|
8880
|
+
* // "operations": [],
|
|
8881
|
+
* // "unreachable": []
|
|
8842
8882
|
* // }
|
|
8843
8883
|
* }
|
|
8844
8884
|
*
|
|
@@ -8896,6 +8936,10 @@ export declare namespace spanner_v1 {
|
|
|
8896
8936
|
* The standard list page token.
|
|
8897
8937
|
*/
|
|
8898
8938
|
pageToken?: string;
|
|
8939
|
+
/**
|
|
8940
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
8941
|
+
*/
|
|
8942
|
+
returnPartialSuccess?: boolean;
|
|
8899
8943
|
}
|
|
8900
8944
|
export class Resource$Projects$Instances$Databases$Sessions {
|
|
8901
8945
|
context: APIRequestContext;
|
|
@@ -9022,6 +9066,7 @@ export declare namespace spanner_v1 {
|
|
|
9022
9066
|
*
|
|
9023
9067
|
* // Example response
|
|
9024
9068
|
* // {
|
|
9069
|
+
* // "last": false,
|
|
9025
9070
|
* // "payload": "my_payload",
|
|
9026
9071
|
* // "stateUpdates": {}
|
|
9027
9072
|
* // }
|
|
@@ -9328,7 +9373,8 @@ export declare namespace spanner_v1 {
|
|
|
9328
9373
|
* // {
|
|
9329
9374
|
* // "commitStats": {},
|
|
9330
9375
|
* // "commitTimestamp": "my_commitTimestamp",
|
|
9331
|
-
* // "precommitToken": {}
|
|
9376
|
+
* // "precommitToken": {},
|
|
9377
|
+
* // "snapshotTimestamp": "my_snapshotTimestamp"
|
|
9332
9378
|
* // }
|
|
9333
9379
|
* }
|
|
9334
9380
|
*
|
|
@@ -10755,6 +10801,7 @@ export declare namespace spanner_v1 {
|
|
|
10755
10801
|
*
|
|
10756
10802
|
* // Example response
|
|
10757
10803
|
* // {
|
|
10804
|
+
* // "autoscalingConfig": {},
|
|
10758
10805
|
* // "config": "my_config",
|
|
10759
10806
|
* // "createTime": "my_createTime",
|
|
10760
10807
|
* // "displayName": "my_displayName",
|
|
@@ -11227,13 +11274,16 @@ export declare namespace spanner_v1 {
|
|
|
11227
11274
|
* pageSize: 'placeholder-value',
|
|
11228
11275
|
* // The standard list page token.
|
|
11229
11276
|
* pageToken: 'placeholder-value',
|
|
11277
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
11278
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
11230
11279
|
* });
|
|
11231
11280
|
* console.log(res.data);
|
|
11232
11281
|
*
|
|
11233
11282
|
* // Example response
|
|
11234
11283
|
* // {
|
|
11235
11284
|
* // "nextPageToken": "my_nextPageToken",
|
|
11236
|
-
* // "operations": []
|
|
11285
|
+
* // "operations": [],
|
|
11286
|
+
* // "unreachable": []
|
|
11237
11287
|
* // }
|
|
11238
11288
|
* }
|
|
11239
11289
|
*
|
|
@@ -11291,6 +11341,10 @@ export declare namespace spanner_v1 {
|
|
|
11291
11341
|
* The standard list page token.
|
|
11292
11342
|
*/
|
|
11293
11343
|
pageToken?: string;
|
|
11344
|
+
/**
|
|
11345
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
11346
|
+
*/
|
|
11347
|
+
returnPartialSuccess?: boolean;
|
|
11294
11348
|
}
|
|
11295
11349
|
export class Resource$Projects$Instances$Operations {
|
|
11296
11350
|
context: APIRequestContext;
|
|
@@ -11526,13 +11580,16 @@ export declare namespace spanner_v1 {
|
|
|
11526
11580
|
* pageSize: 'placeholder-value',
|
|
11527
11581
|
* // The standard list page token.
|
|
11528
11582
|
* pageToken: 'placeholder-value',
|
|
11583
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
11584
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
11529
11585
|
* });
|
|
11530
11586
|
* console.log(res.data);
|
|
11531
11587
|
*
|
|
11532
11588
|
* // Example response
|
|
11533
11589
|
* // {
|
|
11534
11590
|
* // "nextPageToken": "my_nextPageToken",
|
|
11535
|
-
* // "operations": []
|
|
11591
|
+
* // "operations": [],
|
|
11592
|
+
* // "unreachable": []
|
|
11536
11593
|
* // }
|
|
11537
11594
|
* }
|
|
11538
11595
|
*
|
|
@@ -11590,6 +11647,10 @@ export declare namespace spanner_v1 {
|
|
|
11590
11647
|
* The standard list page token.
|
|
11591
11648
|
*/
|
|
11592
11649
|
pageToken?: string;
|
|
11650
|
+
/**
|
|
11651
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
11652
|
+
*/
|
|
11653
|
+
returnPartialSuccess?: boolean;
|
|
11593
11654
|
}
|
|
11594
11655
|
export class Resource$Scans {
|
|
11595
11656
|
context: APIRequestContext;
|