@googleapis/spanner 11.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/v1.ts CHANGED
@@ -421,7 +421,7 @@ export namespace spanner_v1 {
421
421
  */
422
422
  export interface Schema$BatchCreateSessionsRequest {
423
423
  /**
424
- * 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).
425
425
  */
426
426
  sessionCount?: number | null;
427
427
  /**
@@ -1620,6 +1620,10 @@ export namespace spanner_v1 {
1620
1620
  * An isolated set of Cloud Spanner resources that databases can define placements on.
1621
1621
  */
1622
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;
1623
1627
  /**
1624
1628
  * Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.
1625
1629
  */
@@ -1942,6 +1946,10 @@ export namespace spanner_v1 {
1942
1946
  * A list of operations that matches the specified filter in the request.
1943
1947
  */
1944
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;
1945
1953
  }
1946
1954
  /**
1947
1955
  * Response method from the ListScans method.
@@ -4844,13 +4852,16 @@ export namespace spanner_v1 {
4844
4852
  * pageSize: 'placeholder-value',
4845
4853
  * // The standard list page token.
4846
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',
4847
4857
  * });
4848
4858
  * console.log(res.data);
4849
4859
  *
4850
4860
  * // Example response
4851
4861
  * // {
4852
4862
  * // "nextPageToken": "my_nextPageToken",
4853
- * // "operations": []
4863
+ * // "operations": [],
4864
+ * // "unreachable": []
4854
4865
  * // }
4855
4866
  * }
4856
4867
  *
@@ -4988,6 +4999,10 @@ export namespace spanner_v1 {
4988
4999
  * The standard list page token.
4989
5000
  */
4990
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;
4991
5006
  }
4992
5007
 
4993
5008
  export class Resource$Projects$Instanceconfigs$Ssdcaches {
@@ -5466,13 +5481,16 @@ export namespace spanner_v1 {
5466
5481
  * pageSize: 'placeholder-value',
5467
5482
  * // The standard list page token.
5468
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',
5469
5486
  * });
5470
5487
  * console.log(res.data);
5471
5488
  *
5472
5489
  * // Example response
5473
5490
  * // {
5474
5491
  * // "nextPageToken": "my_nextPageToken",
5475
- * // "operations": []
5492
+ * // "operations": [],
5493
+ * // "unreachable": []
5476
5494
  * // }
5477
5495
  * }
5478
5496
  *
@@ -5611,6 +5629,10 @@ export namespace spanner_v1 {
5611
5629
  * The standard list page token.
5612
5630
  */
5613
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;
5614
5636
  }
5615
5637
 
5616
5638
  export class Resource$Projects$Instances {
@@ -9288,13 +9310,16 @@ export namespace spanner_v1 {
9288
9310
  * pageSize: 'placeholder-value',
9289
9311
  * // The standard list page token.
9290
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',
9291
9315
  * });
9292
9316
  * console.log(res.data);
9293
9317
  *
9294
9318
  * // Example response
9295
9319
  * // {
9296
9320
  * // "nextPageToken": "my_nextPageToken",
9297
- * // "operations": []
9321
+ * // "operations": [],
9322
+ * // "unreachable": []
9298
9323
  * // }
9299
9324
  * }
9300
9325
  *
@@ -9433,6 +9458,10 @@ export namespace spanner_v1 {
9433
9458
  * The standard list page token.
9434
9459
  */
9435
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;
9436
9465
  }
9437
9466
 
9438
9467
  export class Resource$Projects$Instances$Databaseoperations {
@@ -14045,13 +14074,16 @@ export namespace spanner_v1 {
14045
14074
  * pageSize: 'placeholder-value',
14046
14075
  * // The standard list page token.
14047
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',
14048
14079
  * });
14049
14080
  * console.log(res.data);
14050
14081
  *
14051
14082
  * // Example response
14052
14083
  * // {
14053
14084
  * // "nextPageToken": "my_nextPageToken",
14054
- * // "operations": []
14085
+ * // "operations": [],
14086
+ * // "unreachable": []
14055
14087
  * // }
14056
14088
  * }
14057
14089
  *
@@ -14190,6 +14222,10 @@ export namespace spanner_v1 {
14190
14222
  * The standard list page token.
14191
14223
  */
14192
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;
14193
14229
  }
14194
14230
 
14195
14231
  export class Resource$Projects$Instances$Databases$Sessions {
@@ -17761,6 +17797,7 @@ export namespace spanner_v1 {
17761
17797
  *
17762
17798
  * // Example response
17763
17799
  * // {
17800
+ * // "autoscalingConfig": {},
17764
17801
  * // "config": "my_config",
17765
17802
  * // "createTime": "my_createTime",
17766
17803
  * // "displayName": "my_displayName",
@@ -18703,13 +18740,16 @@ export namespace spanner_v1 {
18703
18740
  * pageSize: 'placeholder-value',
18704
18741
  * // The standard list page token.
18705
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',
18706
18745
  * });
18707
18746
  * console.log(res.data);
18708
18747
  *
18709
18748
  * // Example response
18710
18749
  * // {
18711
18750
  * // "nextPageToken": "my_nextPageToken",
18712
- * // "operations": []
18751
+ * // "operations": [],
18752
+ * // "unreachable": []
18713
18753
  * // }
18714
18754
  * }
18715
18755
  *
@@ -18848,6 +18888,10 @@ export namespace spanner_v1 {
18848
18888
  * The standard list page token.
18849
18889
  */
18850
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;
18851
18895
  }
18852
18896
 
18853
18897
  export class Resource$Projects$Instances$Operations {
@@ -19309,13 +19353,16 @@ export namespace spanner_v1 {
19309
19353
  * pageSize: 'placeholder-value',
19310
19354
  * // The standard list page token.
19311
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',
19312
19358
  * });
19313
19359
  * console.log(res.data);
19314
19360
  *
19315
19361
  * // Example response
19316
19362
  * // {
19317
19363
  * // "nextPageToken": "my_nextPageToken",
19318
- * // "operations": []
19364
+ * // "operations": [],
19365
+ * // "unreachable": []
19319
19366
  * // }
19320
19367
  * }
19321
19368
  *
@@ -19453,6 +19500,10 @@ export namespace spanner_v1 {
19453
19500
  * The standard list page token.
19454
19501
  */
19455
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;
19456
19507
  }
19457
19508
 
19458
19509
  export class Resource$Scans {