@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/v1.ts
CHANGED
|
@@ -156,6 +156,10 @@ export namespace spanner_v1 {
|
|
|
156
156
|
* Message sent by the adapter to the client.
|
|
157
157
|
*/
|
|
158
158
|
export interface Schema$AdaptMessageResponse {
|
|
159
|
+
/**
|
|
160
|
+
* 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.
|
|
161
|
+
*/
|
|
162
|
+
last?: boolean | null;
|
|
159
163
|
/**
|
|
160
164
|
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
161
165
|
*/
|
|
@@ -304,7 +308,7 @@ export namespace spanner_v1 {
|
|
|
304
308
|
*/
|
|
305
309
|
incrementalBackupChainId?: string | null;
|
|
306
310
|
/**
|
|
307
|
-
* Output only. The instance partition
|
|
311
|
+
* 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`.
|
|
308
312
|
*/
|
|
309
313
|
instancePartitions?: Schema$BackupInstancePartition[];
|
|
310
314
|
/**
|
|
@@ -417,7 +421,7 @@ export namespace spanner_v1 {
|
|
|
417
421
|
*/
|
|
418
422
|
export interface Schema$BatchCreateSessionsRequest {
|
|
419
423
|
/**
|
|
420
|
-
* 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).
|
|
424
|
+
* 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).
|
|
421
425
|
*/
|
|
422
426
|
sessionCount?: number | null;
|
|
423
427
|
/**
|
|
@@ -648,6 +652,10 @@ export namespace spanner_v1 {
|
|
|
648
652
|
* If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
|
|
649
653
|
*/
|
|
650
654
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
655
|
+
/**
|
|
656
|
+
* 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.
|
|
657
|
+
*/
|
|
658
|
+
snapshotTimestamp?: string | null;
|
|
651
659
|
}
|
|
652
660
|
/**
|
|
653
661
|
* Additional statistics about a commit.
|
|
@@ -688,7 +696,7 @@ export namespace spanner_v1 {
|
|
|
688
696
|
*/
|
|
689
697
|
encryptionType?: string | null;
|
|
690
698
|
/**
|
|
691
|
-
* Optional. The Cloud KMS key that
|
|
699
|
+
* 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/`.
|
|
692
700
|
*/
|
|
693
701
|
kmsKeyName?: string | null;
|
|
694
702
|
/**
|
|
@@ -747,7 +755,7 @@ export namespace spanner_v1 {
|
|
|
747
755
|
*/
|
|
748
756
|
encryptionType?: string | null;
|
|
749
757
|
/**
|
|
750
|
-
* Optional. The Cloud KMS key that
|
|
758
|
+
* 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/`.
|
|
751
759
|
*/
|
|
752
760
|
kmsKeyName?: string | null;
|
|
753
761
|
/**
|
|
@@ -1083,15 +1091,15 @@ export namespace spanner_v1 {
|
|
|
1083
1091
|
*/
|
|
1084
1092
|
export interface Schema$DdlStatementActionInfo {
|
|
1085
1093
|
/**
|
|
1086
|
-
* The action for the DDL statement,
|
|
1094
|
+
* The action for the DDL statement, for example, CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.
|
|
1087
1095
|
*/
|
|
1088
1096
|
action?: string | null;
|
|
1089
1097
|
/**
|
|
1090
|
-
* The entity
|
|
1098
|
+
* 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` = [].
|
|
1091
1099
|
*/
|
|
1092
1100
|
entityNames?: string[] | null;
|
|
1093
1101
|
/**
|
|
1094
|
-
* The entity type for the DDL statement,
|
|
1102
|
+
* 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` = "".
|
|
1095
1103
|
*/
|
|
1096
1104
|
entityType?: string | null;
|
|
1097
1105
|
}
|
|
@@ -1583,7 +1591,7 @@ export namespace spanner_v1 {
|
|
|
1583
1591
|
*/
|
|
1584
1592
|
export interface Schema$InstanceEncryptionConfig {
|
|
1585
1593
|
/**
|
|
1586
|
-
* 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`
|
|
1594
|
+
* 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/`.
|
|
1587
1595
|
*/
|
|
1588
1596
|
kmsKeyName?: string | null;
|
|
1589
1597
|
/**
|
|
@@ -1612,6 +1620,10 @@ export namespace spanner_v1 {
|
|
|
1612
1620
|
* An isolated set of Cloud Spanner resources that databases can define placements on.
|
|
1613
1621
|
*/
|
|
1614
1622
|
export interface Schema$InstancePartition {
|
|
1623
|
+
/**
|
|
1624
|
+
* 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.
|
|
1625
|
+
*/
|
|
1626
|
+
autoscalingConfig?: Schema$AutoscalingConfig;
|
|
1615
1627
|
/**
|
|
1616
1628
|
* Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.
|
|
1617
1629
|
*/
|
|
@@ -1662,7 +1674,7 @@ export namespace spanner_v1 {
|
|
|
1662
1674
|
*/
|
|
1663
1675
|
export interface Schema$InstanceReplicaSelection {
|
|
1664
1676
|
/**
|
|
1665
|
-
* Required. Name of the location of the replicas (
|
|
1677
|
+
* Required. Name of the location of the replicas (for example, "us-central1").
|
|
1666
1678
|
*/
|
|
1667
1679
|
location?: string | null;
|
|
1668
1680
|
}
|
|
@@ -1934,6 +1946,10 @@ export namespace spanner_v1 {
|
|
|
1934
1946
|
* A list of operations that matches the specified filter in the request.
|
|
1935
1947
|
*/
|
|
1936
1948
|
operations?: Schema$Operation[];
|
|
1949
|
+
/**
|
|
1950
|
+
* 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.
|
|
1951
|
+
*/
|
|
1952
|
+
unreachable?: string[] | null;
|
|
1937
1953
|
}
|
|
1938
1954
|
/**
|
|
1939
1955
|
* Response method from the ListScans method.
|
|
@@ -2710,7 +2726,7 @@ export namespace spanner_v1 {
|
|
|
2710
2726
|
*/
|
|
2711
2727
|
encryptionType?: string | null;
|
|
2712
2728
|
/**
|
|
2713
|
-
* Optional. The Cloud KMS key that
|
|
2729
|
+
* 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/`.
|
|
2714
2730
|
*/
|
|
2715
2731
|
kmsKeyName?: string | null;
|
|
2716
2732
|
/**
|
|
@@ -2943,7 +2959,7 @@ export namespace spanner_v1 {
|
|
|
2943
2959
|
*/
|
|
2944
2960
|
export interface Schema$SingleRegionQuorum {
|
|
2945
2961
|
/**
|
|
2946
|
-
* Required. The location of the serving region,
|
|
2962
|
+
* 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.
|
|
2947
2963
|
*/
|
|
2948
2964
|
servingLocation?: string | null;
|
|
2949
2965
|
}
|
|
@@ -3138,12 +3154,12 @@ export namespace spanner_v1 {
|
|
|
3138
3154
|
*/
|
|
3139
3155
|
statements?: string[] | null;
|
|
3140
3156
|
/**
|
|
3141
|
-
* Output only. When true, indicates that the operation is throttled
|
|
3157
|
+
* 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.
|
|
3142
3158
|
*/
|
|
3143
3159
|
throttled?: boolean | null;
|
|
3144
3160
|
}
|
|
3145
3161
|
/**
|
|
3146
|
-
* 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 (
|
|
3162
|
+
* 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.
|
|
3147
3163
|
*/
|
|
3148
3164
|
export interface Schema$UpdateDatabaseDdlRequest {
|
|
3149
3165
|
/**
|
|
@@ -4836,13 +4852,16 @@ export namespace spanner_v1 {
|
|
|
4836
4852
|
* pageSize: 'placeholder-value',
|
|
4837
4853
|
* // The standard list page token.
|
|
4838
4854
|
* pageToken: 'placeholder-value',
|
|
4855
|
+
* // 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.
|
|
4856
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
4839
4857
|
* });
|
|
4840
4858
|
* console.log(res.data);
|
|
4841
4859
|
*
|
|
4842
4860
|
* // Example response
|
|
4843
4861
|
* // {
|
|
4844
4862
|
* // "nextPageToken": "my_nextPageToken",
|
|
4845
|
-
* // "operations": []
|
|
4863
|
+
* // "operations": [],
|
|
4864
|
+
* // "unreachable": []
|
|
4846
4865
|
* // }
|
|
4847
4866
|
* }
|
|
4848
4867
|
*
|
|
@@ -4980,6 +4999,10 @@ export namespace spanner_v1 {
|
|
|
4980
4999
|
* The standard list page token.
|
|
4981
5000
|
*/
|
|
4982
5001
|
pageToken?: string;
|
|
5002
|
+
/**
|
|
5003
|
+
* 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.
|
|
5004
|
+
*/
|
|
5005
|
+
returnPartialSuccess?: boolean;
|
|
4983
5006
|
}
|
|
4984
5007
|
|
|
4985
5008
|
export class Resource$Projects$Instanceconfigs$Ssdcaches {
|
|
@@ -5458,13 +5481,16 @@ export namespace spanner_v1 {
|
|
|
5458
5481
|
* pageSize: 'placeholder-value',
|
|
5459
5482
|
* // The standard list page token.
|
|
5460
5483
|
* pageToken: 'placeholder-value',
|
|
5484
|
+
* // 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.
|
|
5485
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
5461
5486
|
* });
|
|
5462
5487
|
* console.log(res.data);
|
|
5463
5488
|
*
|
|
5464
5489
|
* // Example response
|
|
5465
5490
|
* // {
|
|
5466
5491
|
* // "nextPageToken": "my_nextPageToken",
|
|
5467
|
-
* // "operations": []
|
|
5492
|
+
* // "operations": [],
|
|
5493
|
+
* // "unreachable": []
|
|
5468
5494
|
* // }
|
|
5469
5495
|
* }
|
|
5470
5496
|
*
|
|
@@ -5603,6 +5629,10 @@ export namespace spanner_v1 {
|
|
|
5603
5629
|
* The standard list page token.
|
|
5604
5630
|
*/
|
|
5605
5631
|
pageToken?: string;
|
|
5632
|
+
/**
|
|
5633
|
+
* 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.
|
|
5634
|
+
*/
|
|
5635
|
+
returnPartialSuccess?: boolean;
|
|
5606
5636
|
}
|
|
5607
5637
|
|
|
5608
5638
|
export class Resource$Projects$Instances {
|
|
@@ -7478,11 +7508,11 @@ export namespace spanner_v1 {
|
|
|
7478
7508
|
* backupId: 'placeholder-value',
|
|
7479
7509
|
* // Required. The encryption type of the backup.
|
|
7480
7510
|
* 'encryptionConfig.encryptionType': 'placeholder-value',
|
|
7481
|
-
* // Optional. The Cloud KMS key that
|
|
7511
|
+
* // 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/`.
|
|
7482
7512
|
* 'encryptionConfig.kmsKeyName': 'placeholder-value',
|
|
7483
7513
|
* // 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.
|
|
7484
7514
|
* 'encryptionConfig.kmsKeyNames': 'placeholder-value',
|
|
7485
|
-
* // Required. The name of the instance in which the backup
|
|
7515
|
+
* // 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/`.
|
|
7486
7516
|
* parent: 'projects/my-project/instances/my-instance',
|
|
7487
7517
|
*
|
|
7488
7518
|
* // Request body metadata
|
|
@@ -8241,7 +8271,7 @@ export namespace spanner_v1 {
|
|
|
8241
8271
|
* const res = await spanner.projects.instances.backups.patch({
|
|
8242
8272
|
* // 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/`.
|
|
8243
8273
|
* name: 'projects/my-project/instances/my-instance/backups/my-backup',
|
|
8244
|
-
* // Required. A mask specifying which fields (
|
|
8274
|
+
* // 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.
|
|
8245
8275
|
* updateMask: 'placeholder-value',
|
|
8246
8276
|
*
|
|
8247
8277
|
* // Request body metadata
|
|
@@ -8715,7 +8745,7 @@ export namespace spanner_v1 {
|
|
|
8715
8745
|
*/
|
|
8716
8746
|
'encryptionConfig.encryptionType'?: string;
|
|
8717
8747
|
/**
|
|
8718
|
-
* Optional. The Cloud KMS key that
|
|
8748
|
+
* 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/`.
|
|
8719
8749
|
*/
|
|
8720
8750
|
'encryptionConfig.kmsKeyName'?: string;
|
|
8721
8751
|
/**
|
|
@@ -8723,7 +8753,7 @@ export namespace spanner_v1 {
|
|
|
8723
8753
|
*/
|
|
8724
8754
|
'encryptionConfig.kmsKeyNames'?: string[];
|
|
8725
8755
|
/**
|
|
8726
|
-
* Required. The name of the instance in which the backup
|
|
8756
|
+
* 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/`.
|
|
8727
8757
|
*/
|
|
8728
8758
|
parent?: string;
|
|
8729
8759
|
|
|
@@ -8784,7 +8814,7 @@ export namespace spanner_v1 {
|
|
|
8784
8814
|
*/
|
|
8785
8815
|
name?: string;
|
|
8786
8816
|
/**
|
|
8787
|
-
* Required. A mask specifying which fields (
|
|
8817
|
+
* 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.
|
|
8788
8818
|
*/
|
|
8789
8819
|
updateMask?: string;
|
|
8790
8820
|
|
|
@@ -9280,13 +9310,16 @@ export namespace spanner_v1 {
|
|
|
9280
9310
|
* pageSize: 'placeholder-value',
|
|
9281
9311
|
* // The standard list page token.
|
|
9282
9312
|
* pageToken: 'placeholder-value',
|
|
9313
|
+
* // 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.
|
|
9314
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
9283
9315
|
* });
|
|
9284
9316
|
* console.log(res.data);
|
|
9285
9317
|
*
|
|
9286
9318
|
* // Example response
|
|
9287
9319
|
* // {
|
|
9288
9320
|
* // "nextPageToken": "my_nextPageToken",
|
|
9289
|
-
* // "operations": []
|
|
9321
|
+
* // "operations": [],
|
|
9322
|
+
* // "unreachable": []
|
|
9290
9323
|
* // }
|
|
9291
9324
|
* }
|
|
9292
9325
|
*
|
|
@@ -9425,6 +9458,10 @@ export namespace spanner_v1 {
|
|
|
9425
9458
|
* The standard list page token.
|
|
9426
9459
|
*/
|
|
9427
9460
|
pageToken?: string;
|
|
9461
|
+
/**
|
|
9462
|
+
* 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.
|
|
9463
|
+
*/
|
|
9464
|
+
returnPartialSuccess?: boolean;
|
|
9428
9465
|
}
|
|
9429
9466
|
|
|
9430
9467
|
export class Resource$Projects$Instances$Databaseoperations {
|
|
@@ -11586,7 +11623,7 @@ export namespace spanner_v1 {
|
|
|
11586
11623
|
}
|
|
11587
11624
|
|
|
11588
11625
|
/**
|
|
11589
|
-
* 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
|
|
11626
|
+
* 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.
|
|
11590
11627
|
* @example
|
|
11591
11628
|
* ```js
|
|
11592
11629
|
* // Before running the sample:
|
|
@@ -14037,13 +14074,16 @@ export namespace spanner_v1 {
|
|
|
14037
14074
|
* pageSize: 'placeholder-value',
|
|
14038
14075
|
* // The standard list page token.
|
|
14039
14076
|
* pageToken: 'placeholder-value',
|
|
14077
|
+
* // 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.
|
|
14078
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
14040
14079
|
* });
|
|
14041
14080
|
* console.log(res.data);
|
|
14042
14081
|
*
|
|
14043
14082
|
* // Example response
|
|
14044
14083
|
* // {
|
|
14045
14084
|
* // "nextPageToken": "my_nextPageToken",
|
|
14046
|
-
* // "operations": []
|
|
14085
|
+
* // "operations": [],
|
|
14086
|
+
* // "unreachable": []
|
|
14047
14087
|
* // }
|
|
14048
14088
|
* }
|
|
14049
14089
|
*
|
|
@@ -14182,6 +14222,10 @@ export namespace spanner_v1 {
|
|
|
14182
14222
|
* The standard list page token.
|
|
14183
14223
|
*/
|
|
14184
14224
|
pageToken?: string;
|
|
14225
|
+
/**
|
|
14226
|
+
* 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.
|
|
14227
|
+
*/
|
|
14228
|
+
returnPartialSuccess?: boolean;
|
|
14185
14229
|
}
|
|
14186
14230
|
|
|
14187
14231
|
export class Resource$Projects$Instances$Databases$Sessions {
|
|
@@ -14390,6 +14434,7 @@ export namespace spanner_v1 {
|
|
|
14390
14434
|
*
|
|
14391
14435
|
* // Example response
|
|
14392
14436
|
* // {
|
|
14437
|
+
* // "last": false,
|
|
14393
14438
|
* // "payload": "my_payload",
|
|
14394
14439
|
* // "stateUpdates": {}
|
|
14395
14440
|
* // }
|
|
@@ -15016,7 +15061,8 @@ export namespace spanner_v1 {
|
|
|
15016
15061
|
* // {
|
|
15017
15062
|
* // "commitStats": {},
|
|
15018
15063
|
* // "commitTimestamp": "my_commitTimestamp",
|
|
15019
|
-
* // "precommitToken": {}
|
|
15064
|
+
* // "precommitToken": {},
|
|
15065
|
+
* // "snapshotTimestamp": "my_snapshotTimestamp"
|
|
15020
15066
|
* // }
|
|
15021
15067
|
* }
|
|
15022
15068
|
*
|
|
@@ -17751,6 +17797,7 @@ export namespace spanner_v1 {
|
|
|
17751
17797
|
*
|
|
17752
17798
|
* // Example response
|
|
17753
17799
|
* // {
|
|
17800
|
+
* // "autoscalingConfig": {},
|
|
17754
17801
|
* // "config": "my_config",
|
|
17755
17802
|
* // "createTime": "my_createTime",
|
|
17756
17803
|
* // "displayName": "my_displayName",
|
|
@@ -18693,13 +18740,16 @@ export namespace spanner_v1 {
|
|
|
18693
18740
|
* pageSize: 'placeholder-value',
|
|
18694
18741
|
* // The standard list page token.
|
|
18695
18742
|
* pageToken: 'placeholder-value',
|
|
18743
|
+
* // 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.
|
|
18744
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
18696
18745
|
* });
|
|
18697
18746
|
* console.log(res.data);
|
|
18698
18747
|
*
|
|
18699
18748
|
* // Example response
|
|
18700
18749
|
* // {
|
|
18701
18750
|
* // "nextPageToken": "my_nextPageToken",
|
|
18702
|
-
* // "operations": []
|
|
18751
|
+
* // "operations": [],
|
|
18752
|
+
* // "unreachable": []
|
|
18703
18753
|
* // }
|
|
18704
18754
|
* }
|
|
18705
18755
|
*
|
|
@@ -18838,6 +18888,10 @@ export namespace spanner_v1 {
|
|
|
18838
18888
|
* The standard list page token.
|
|
18839
18889
|
*/
|
|
18840
18890
|
pageToken?: string;
|
|
18891
|
+
/**
|
|
18892
|
+
* 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.
|
|
18893
|
+
*/
|
|
18894
|
+
returnPartialSuccess?: boolean;
|
|
18841
18895
|
}
|
|
18842
18896
|
|
|
18843
18897
|
export class Resource$Projects$Instances$Operations {
|
|
@@ -19299,13 +19353,16 @@ export namespace spanner_v1 {
|
|
|
19299
19353
|
* pageSize: 'placeholder-value',
|
|
19300
19354
|
* // The standard list page token.
|
|
19301
19355
|
* pageToken: 'placeholder-value',
|
|
19356
|
+
* // 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.
|
|
19357
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
19302
19358
|
* });
|
|
19303
19359
|
* console.log(res.data);
|
|
19304
19360
|
*
|
|
19305
19361
|
* // Example response
|
|
19306
19362
|
* // {
|
|
19307
19363
|
* // "nextPageToken": "my_nextPageToken",
|
|
19308
|
-
* // "operations": []
|
|
19364
|
+
* // "operations": [],
|
|
19365
|
+
* // "unreachable": []
|
|
19309
19366
|
* // }
|
|
19310
19367
|
* }
|
|
19311
19368
|
*
|
|
@@ -19443,6 +19500,10 @@ export namespace spanner_v1 {
|
|
|
19443
19500
|
* The standard list page token.
|
|
19444
19501
|
*/
|
|
19445
19502
|
pageToken?: string;
|
|
19503
|
+
/**
|
|
19504
|
+
* 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.
|
|
19505
|
+
*/
|
|
19506
|
+
returnPartialSuccess?: boolean;
|
|
19446
19507
|
}
|
|
19447
19508
|
|
|
19448
19509
|
export class Resource$Scans {
|