@googleapis/spanner 11.0.0 → 12.1.1
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 +26 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +58 -7
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +156 -203
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.
|
|
@@ -3543,8 +3551,7 @@ export namespace spanner_v1 {
|
|
|
3543
3551
|
}
|
|
3544
3552
|
}
|
|
3545
3553
|
|
|
3546
|
-
export interface Params$Resource$Projects$Instanceconfigoperations$List
|
|
3547
|
-
extends StandardParameters {
|
|
3554
|
+
export interface Params$Resource$Projects$Instanceconfigoperations$List extends StandardParameters {
|
|
3548
3555
|
/**
|
|
3549
3556
|
* An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \ `(metadata.instance_config.name:custom-config) AND` \ `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance configuration name contains "custom-config". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.
|
|
3550
3557
|
*/
|
|
@@ -4321,8 +4328,7 @@ export namespace spanner_v1 {
|
|
|
4321
4328
|
}
|
|
4322
4329
|
}
|
|
4323
4330
|
|
|
4324
|
-
export interface Params$Resource$Projects$Instanceconfigs$Create
|
|
4325
|
-
extends StandardParameters {
|
|
4331
|
+
export interface Params$Resource$Projects$Instanceconfigs$Create extends StandardParameters {
|
|
4326
4332
|
/**
|
|
4327
4333
|
* Required. The name of the project in which to create the instance configuration. Values are of the form `projects/`.
|
|
4328
4334
|
*/
|
|
@@ -4333,8 +4339,7 @@ export namespace spanner_v1 {
|
|
|
4333
4339
|
*/
|
|
4334
4340
|
requestBody?: Schema$CreateInstanceConfigRequest;
|
|
4335
4341
|
}
|
|
4336
|
-
export interface Params$Resource$Projects$Instanceconfigs$Delete
|
|
4337
|
-
extends StandardParameters {
|
|
4342
|
+
export interface Params$Resource$Projects$Instanceconfigs$Delete extends StandardParameters {
|
|
4338
4343
|
/**
|
|
4339
4344
|
* Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.
|
|
4340
4345
|
*/
|
|
@@ -4348,15 +4353,13 @@ export namespace spanner_v1 {
|
|
|
4348
4353
|
*/
|
|
4349
4354
|
validateOnly?: boolean;
|
|
4350
4355
|
}
|
|
4351
|
-
export interface Params$Resource$Projects$Instanceconfigs$Get
|
|
4352
|
-
extends StandardParameters {
|
|
4356
|
+
export interface Params$Resource$Projects$Instanceconfigs$Get extends StandardParameters {
|
|
4353
4357
|
/**
|
|
4354
4358
|
* Required. The name of the requested instance configuration. Values are of the form `projects//instanceConfigs/`.
|
|
4355
4359
|
*/
|
|
4356
4360
|
name?: string;
|
|
4357
4361
|
}
|
|
4358
|
-
export interface Params$Resource$Projects$Instanceconfigs$List
|
|
4359
|
-
extends StandardParameters {
|
|
4362
|
+
export interface Params$Resource$Projects$Instanceconfigs$List extends StandardParameters {
|
|
4360
4363
|
/**
|
|
4361
4364
|
* Number of instance configurations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
|
|
4362
4365
|
*/
|
|
@@ -4370,8 +4373,7 @@ export namespace spanner_v1 {
|
|
|
4370
4373
|
*/
|
|
4371
4374
|
parent?: string;
|
|
4372
4375
|
}
|
|
4373
|
-
export interface Params$Resource$Projects$Instanceconfigs$Patch
|
|
4374
|
-
extends StandardParameters {
|
|
4376
|
+
export interface Params$Resource$Projects$Instanceconfigs$Patch extends StandardParameters {
|
|
4375
4377
|
/**
|
|
4376
4378
|
* A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.
|
|
4377
4379
|
*/
|
|
@@ -4844,13 +4846,16 @@ export namespace spanner_v1 {
|
|
|
4844
4846
|
* pageSize: 'placeholder-value',
|
|
4845
4847
|
* // The standard list page token.
|
|
4846
4848
|
* pageToken: 'placeholder-value',
|
|
4849
|
+
* // 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.
|
|
4850
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
4847
4851
|
* });
|
|
4848
4852
|
* console.log(res.data);
|
|
4849
4853
|
*
|
|
4850
4854
|
* // Example response
|
|
4851
4855
|
* // {
|
|
4852
4856
|
* // "nextPageToken": "my_nextPageToken",
|
|
4853
|
-
* // "operations": []
|
|
4857
|
+
* // "operations": [],
|
|
4858
|
+
* // "unreachable": []
|
|
4854
4859
|
* // }
|
|
4855
4860
|
* }
|
|
4856
4861
|
*
|
|
@@ -4949,29 +4954,25 @@ export namespace spanner_v1 {
|
|
|
4949
4954
|
}
|
|
4950
4955
|
}
|
|
4951
4956
|
|
|
4952
|
-
export interface Params$Resource$Projects$Instanceconfigs$Operations$Cancel
|
|
4953
|
-
extends StandardParameters {
|
|
4957
|
+
export interface Params$Resource$Projects$Instanceconfigs$Operations$Cancel extends StandardParameters {
|
|
4954
4958
|
/**
|
|
4955
4959
|
* The name of the operation resource to be cancelled.
|
|
4956
4960
|
*/
|
|
4957
4961
|
name?: string;
|
|
4958
4962
|
}
|
|
4959
|
-
export interface Params$Resource$Projects$Instanceconfigs$Operations$Delete
|
|
4960
|
-
extends StandardParameters {
|
|
4963
|
+
export interface Params$Resource$Projects$Instanceconfigs$Operations$Delete extends StandardParameters {
|
|
4961
4964
|
/**
|
|
4962
4965
|
* The name of the operation resource to be deleted.
|
|
4963
4966
|
*/
|
|
4964
4967
|
name?: string;
|
|
4965
4968
|
}
|
|
4966
|
-
export interface Params$Resource$Projects$Instanceconfigs$Operations$Get
|
|
4967
|
-
extends StandardParameters {
|
|
4969
|
+
export interface Params$Resource$Projects$Instanceconfigs$Operations$Get extends StandardParameters {
|
|
4968
4970
|
/**
|
|
4969
4971
|
* The name of the operation resource.
|
|
4970
4972
|
*/
|
|
4971
4973
|
name?: string;
|
|
4972
4974
|
}
|
|
4973
|
-
export interface Params$Resource$Projects$Instanceconfigs$Operations$List
|
|
4974
|
-
extends StandardParameters {
|
|
4975
|
+
export interface Params$Resource$Projects$Instanceconfigs$Operations$List extends StandardParameters {
|
|
4975
4976
|
/**
|
|
4976
4977
|
* The standard list filter.
|
|
4977
4978
|
*/
|
|
@@ -4988,6 +4989,10 @@ export namespace spanner_v1 {
|
|
|
4988
4989
|
* The standard list page token.
|
|
4989
4990
|
*/
|
|
4990
4991
|
pageToken?: string;
|
|
4992
|
+
/**
|
|
4993
|
+
* 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.
|
|
4994
|
+
*/
|
|
4995
|
+
returnPartialSuccess?: boolean;
|
|
4991
4996
|
}
|
|
4992
4997
|
|
|
4993
4998
|
export class Resource$Projects$Instanceconfigs$Ssdcaches {
|
|
@@ -5466,13 +5471,16 @@ export namespace spanner_v1 {
|
|
|
5466
5471
|
* pageSize: 'placeholder-value',
|
|
5467
5472
|
* // The standard list page token.
|
|
5468
5473
|
* pageToken: 'placeholder-value',
|
|
5474
|
+
* // 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.
|
|
5475
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
5469
5476
|
* });
|
|
5470
5477
|
* console.log(res.data);
|
|
5471
5478
|
*
|
|
5472
5479
|
* // Example response
|
|
5473
5480
|
* // {
|
|
5474
5481
|
* // "nextPageToken": "my_nextPageToken",
|
|
5475
|
-
* // "operations": []
|
|
5482
|
+
* // "operations": [],
|
|
5483
|
+
* // "unreachable": []
|
|
5476
5484
|
* // }
|
|
5477
5485
|
* }
|
|
5478
5486
|
*
|
|
@@ -5572,29 +5580,25 @@ export namespace spanner_v1 {
|
|
|
5572
5580
|
}
|
|
5573
5581
|
}
|
|
5574
5582
|
|
|
5575
|
-
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel
|
|
5576
|
-
extends StandardParameters {
|
|
5583
|
+
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel extends StandardParameters {
|
|
5577
5584
|
/**
|
|
5578
5585
|
* The name of the operation resource to be cancelled.
|
|
5579
5586
|
*/
|
|
5580
5587
|
name?: string;
|
|
5581
5588
|
}
|
|
5582
|
-
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete
|
|
5583
|
-
extends StandardParameters {
|
|
5589
|
+
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete extends StandardParameters {
|
|
5584
5590
|
/**
|
|
5585
5591
|
* The name of the operation resource to be deleted.
|
|
5586
5592
|
*/
|
|
5587
5593
|
name?: string;
|
|
5588
5594
|
}
|
|
5589
|
-
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get
|
|
5590
|
-
extends StandardParameters {
|
|
5595
|
+
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get extends StandardParameters {
|
|
5591
5596
|
/**
|
|
5592
5597
|
* The name of the operation resource.
|
|
5593
5598
|
*/
|
|
5594
5599
|
name?: string;
|
|
5595
5600
|
}
|
|
5596
|
-
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List
|
|
5597
|
-
extends StandardParameters {
|
|
5601
|
+
export interface Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List extends StandardParameters {
|
|
5598
5602
|
/**
|
|
5599
5603
|
* The standard list filter.
|
|
5600
5604
|
*/
|
|
@@ -5611,6 +5615,10 @@ export namespace spanner_v1 {
|
|
|
5611
5615
|
* The standard list page token.
|
|
5612
5616
|
*/
|
|
5613
5617
|
pageToken?: string;
|
|
5618
|
+
/**
|
|
5619
|
+
* 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.
|
|
5620
|
+
*/
|
|
5621
|
+
returnPartialSuccess?: boolean;
|
|
5614
5622
|
}
|
|
5615
5623
|
|
|
5616
5624
|
export class Resource$Projects$Instances {
|
|
@@ -6989,8 +6997,7 @@ export namespace spanner_v1 {
|
|
|
6989
6997
|
}
|
|
6990
6998
|
}
|
|
6991
6999
|
|
|
6992
|
-
export interface Params$Resource$Projects$Instances$Create
|
|
6993
|
-
extends StandardParameters {
|
|
7000
|
+
export interface Params$Resource$Projects$Instances$Create extends StandardParameters {
|
|
6994
7001
|
/**
|
|
6995
7002
|
* Required. The name of the project in which to create the instance. Values are of the form `projects/`.
|
|
6996
7003
|
*/
|
|
@@ -7001,15 +7008,13 @@ export namespace spanner_v1 {
|
|
|
7001
7008
|
*/
|
|
7002
7009
|
requestBody?: Schema$CreateInstanceRequest;
|
|
7003
7010
|
}
|
|
7004
|
-
export interface Params$Resource$Projects$Instances$Delete
|
|
7005
|
-
extends StandardParameters {
|
|
7011
|
+
export interface Params$Resource$Projects$Instances$Delete extends StandardParameters {
|
|
7006
7012
|
/**
|
|
7007
7013
|
* Required. The name of the instance to be deleted. Values are of the form `projects//instances/`
|
|
7008
7014
|
*/
|
|
7009
7015
|
name?: string;
|
|
7010
7016
|
}
|
|
7011
|
-
export interface Params$Resource$Projects$Instances$Get
|
|
7012
|
-
extends StandardParameters {
|
|
7017
|
+
export interface Params$Resource$Projects$Instances$Get extends StandardParameters {
|
|
7013
7018
|
/**
|
|
7014
7019
|
* If field_mask is present, specifies the subset of Instance fields that should be returned. If absent, all Instance fields are returned.
|
|
7015
7020
|
*/
|
|
@@ -7019,8 +7024,7 @@ export namespace spanner_v1 {
|
|
|
7019
7024
|
*/
|
|
7020
7025
|
name?: string;
|
|
7021
7026
|
}
|
|
7022
|
-
export interface Params$Resource$Projects$Instances$Getiampolicy
|
|
7023
|
-
extends StandardParameters {
|
|
7027
|
+
export interface Params$Resource$Projects$Instances$Getiampolicy extends StandardParameters {
|
|
7024
7028
|
/**
|
|
7025
7029
|
* REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
7026
7030
|
*/
|
|
@@ -7031,8 +7035,7 @@ export namespace spanner_v1 {
|
|
|
7031
7035
|
*/
|
|
7032
7036
|
requestBody?: Schema$GetIamPolicyRequest;
|
|
7033
7037
|
}
|
|
7034
|
-
export interface Params$Resource$Projects$Instances$List
|
|
7035
|
-
extends StandardParameters {
|
|
7038
|
+
export interface Params$Resource$Projects$Instances$List extends StandardParameters {
|
|
7036
7039
|
/**
|
|
7037
7040
|
* An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `display_name` * `labels.key` where key is the name of a label Some examples of using filters are: * `name:*` --\> The instance has a name. * `name:Howl` --\> The instance's name contains the string "howl". * `name:HOWL` --\> Equivalent to above. * `NAME:howl` --\> Equivalent to above. * `labels.env:*` --\> The instance has the label "env". * `labels.env:dev` --\> The instance has the label "env" and the value of the label contains the string "dev". * `name:howl labels.env:dev` --\> The instance's name contains "howl" and it has the label "env" with its value containing "dev".
|
|
7038
7041
|
*/
|
|
@@ -7054,8 +7057,7 @@ export namespace spanner_v1 {
|
|
|
7054
7057
|
*/
|
|
7055
7058
|
parent?: string;
|
|
7056
7059
|
}
|
|
7057
|
-
export interface Params$Resource$Projects$Instances$Move
|
|
7058
|
-
extends StandardParameters {
|
|
7060
|
+
export interface Params$Resource$Projects$Instances$Move extends StandardParameters {
|
|
7059
7061
|
/**
|
|
7060
7062
|
* Required. The instance to move. Values are of the form `projects//instances/`.
|
|
7061
7063
|
*/
|
|
@@ -7066,8 +7068,7 @@ export namespace spanner_v1 {
|
|
|
7066
7068
|
*/
|
|
7067
7069
|
requestBody?: Schema$MoveInstanceRequest;
|
|
7068
7070
|
}
|
|
7069
|
-
export interface Params$Resource$Projects$Instances$Patch
|
|
7070
|
-
extends StandardParameters {
|
|
7071
|
+
export interface Params$Resource$Projects$Instances$Patch extends StandardParameters {
|
|
7071
7072
|
/**
|
|
7072
7073
|
* Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.
|
|
7073
7074
|
*/
|
|
@@ -7078,8 +7079,7 @@ export namespace spanner_v1 {
|
|
|
7078
7079
|
*/
|
|
7079
7080
|
requestBody?: Schema$UpdateInstanceRequest;
|
|
7080
7081
|
}
|
|
7081
|
-
export interface Params$Resource$Projects$Instances$Setiampolicy
|
|
7082
|
-
extends StandardParameters {
|
|
7082
|
+
export interface Params$Resource$Projects$Instances$Setiampolicy extends StandardParameters {
|
|
7083
7083
|
/**
|
|
7084
7084
|
* REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.
|
|
7085
7085
|
*/
|
|
@@ -7090,8 +7090,7 @@ export namespace spanner_v1 {
|
|
|
7090
7090
|
*/
|
|
7091
7091
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
7092
7092
|
}
|
|
7093
|
-
export interface Params$Resource$Projects$Instances$Testiampermissions
|
|
7094
|
-
extends StandardParameters {
|
|
7093
|
+
export interface Params$Resource$Projects$Instances$Testiampermissions extends StandardParameters {
|
|
7095
7094
|
/**
|
|
7096
7095
|
* REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
7097
7096
|
*/
|
|
@@ -7263,8 +7262,7 @@ export namespace spanner_v1 {
|
|
|
7263
7262
|
}
|
|
7264
7263
|
}
|
|
7265
7264
|
|
|
7266
|
-
export interface Params$Resource$Projects$Instances$Backupoperations$List
|
|
7267
|
-
extends StandardParameters {
|
|
7265
|
+
export interface Params$Resource$Projects$Instances$Backupoperations$List extends StandardParameters {
|
|
7268
7266
|
/**
|
|
7269
7267
|
* An expression that filters the list of returned backup operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateBackupMetadata is `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ `metadata.database:prod` - Returns operations where: * The operation's metadata type is CreateBackupMetadata. * The source database name of backup contains the string "prod". * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ `(metadata.name:howl) AND` \ `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ `(error:*)` - Returns operations where: * The operation's metadata type is CreateBackupMetadata. * The backup name contains the string "howl". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CopyBackupMetadata) AND` \ `(metadata.source_backup:test) AND` \ `(metadata.progress.start_time < \"2022-01-18T14:50:00Z\") AND` \ `(error:*)` - Returns operations where: * The operation's metadata type is CopyBackupMetadata. * The source backup name contains the string "test". * The operation started before 2022-01-18T14:50:00Z. * The operation resulted in an error. * `((metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ `(metadata.database:test_db)) OR` \ `((metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CopyBackupMetadata) AND` \ `(metadata.source_backup:test_bkp)) AND` \ `(error:*)` - Returns operations where: * The operation's metadata matches either of criteria: * The operation's metadata type is CreateBackupMetadata AND the source database name of the backup contains the string "test_db" * The operation's metadata type is CopyBackupMetadata AND the source backup name contains the string "test_bkp" * The operation resulted in an error.
|
|
7270
7268
|
*/
|
|
@@ -8700,8 +8698,7 @@ export namespace spanner_v1 {
|
|
|
8700
8698
|
}
|
|
8701
8699
|
}
|
|
8702
8700
|
|
|
8703
|
-
export interface Params$Resource$Projects$Instances$Backups$Copy
|
|
8704
|
-
extends StandardParameters {
|
|
8701
|
+
export interface Params$Resource$Projects$Instances$Backups$Copy extends StandardParameters {
|
|
8705
8702
|
/**
|
|
8706
8703
|
* Required. The name of the destination instance that will contain the backup copy. Values are of the form: `projects//instances/`.
|
|
8707
8704
|
*/
|
|
@@ -8712,8 +8709,7 @@ export namespace spanner_v1 {
|
|
|
8712
8709
|
*/
|
|
8713
8710
|
requestBody?: Schema$CopyBackupRequest;
|
|
8714
8711
|
}
|
|
8715
|
-
export interface Params$Resource$Projects$Instances$Backups$Create
|
|
8716
|
-
extends StandardParameters {
|
|
8712
|
+
export interface Params$Resource$Projects$Instances$Backups$Create extends StandardParameters {
|
|
8717
8713
|
/**
|
|
8718
8714
|
* Required. The id of the backup to be created. The `backup_id` appended to `parent` forms the full backup name of the form `projects//instances//backups/`.
|
|
8719
8715
|
*/
|
|
@@ -8740,22 +8736,19 @@ export namespace spanner_v1 {
|
|
|
8740
8736
|
*/
|
|
8741
8737
|
requestBody?: Schema$Backup;
|
|
8742
8738
|
}
|
|
8743
|
-
export interface Params$Resource$Projects$Instances$Backups$Delete
|
|
8744
|
-
extends StandardParameters {
|
|
8739
|
+
export interface Params$Resource$Projects$Instances$Backups$Delete extends StandardParameters {
|
|
8745
8740
|
/**
|
|
8746
8741
|
* Required. Name of the backup to delete. Values are of the form `projects//instances//backups/`.
|
|
8747
8742
|
*/
|
|
8748
8743
|
name?: string;
|
|
8749
8744
|
}
|
|
8750
|
-
export interface Params$Resource$Projects$Instances$Backups$Get
|
|
8751
|
-
extends StandardParameters {
|
|
8745
|
+
export interface Params$Resource$Projects$Instances$Backups$Get extends StandardParameters {
|
|
8752
8746
|
/**
|
|
8753
8747
|
* Required. Name of the backup. Values are of the form `projects//instances//backups/`.
|
|
8754
8748
|
*/
|
|
8755
8749
|
name?: string;
|
|
8756
8750
|
}
|
|
8757
|
-
export interface Params$Resource$Projects$Instances$Backups$Getiampolicy
|
|
8758
|
-
extends StandardParameters {
|
|
8751
|
+
export interface Params$Resource$Projects$Instances$Backups$Getiampolicy extends StandardParameters {
|
|
8759
8752
|
/**
|
|
8760
8753
|
* REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
8761
8754
|
*/
|
|
@@ -8766,8 +8759,7 @@ export namespace spanner_v1 {
|
|
|
8766
8759
|
*/
|
|
8767
8760
|
requestBody?: Schema$GetIamPolicyRequest;
|
|
8768
8761
|
}
|
|
8769
|
-
export interface Params$Resource$Projects$Instances$Backups$List
|
|
8770
|
-
extends StandardParameters {
|
|
8762
|
+
export interface Params$Resource$Projects$Instances$Backups$List extends StandardParameters {
|
|
8771
8763
|
/**
|
|
8772
8764
|
* An expression that filters the list of returned backups. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Backup are eligible for filtering: * `name` * `database` * `state` * `create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `version_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes` * `backup_schedules` You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `name:Howl` - The backup's name contains the string "howl". * `database:prod` - The database's name contains the string "prod". * `state:CREATING` - The backup is pending creation. * `state:READY` - The backup is fully created and ready for use. * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")` - The backup name contains the string "howl" and `create_time` of the backup is before 2018-03-28T14:50:00Z. * `expire_time < \"2018-03-28T14:50:00Z\"` - The backup `expire_time` is before 2018-03-28T14:50:00Z. * `size_bytes \> 10000000000` - The backup's size is greater than 10GB * `backup_schedules:daily` - The backup is created from a schedule with "daily" in its name.
|
|
8773
8765
|
*/
|
|
@@ -8785,8 +8777,7 @@ export namespace spanner_v1 {
|
|
|
8785
8777
|
*/
|
|
8786
8778
|
parent?: string;
|
|
8787
8779
|
}
|
|
8788
|
-
export interface Params$Resource$Projects$Instances$Backups$Patch
|
|
8789
|
-
extends StandardParameters {
|
|
8780
|
+
export interface Params$Resource$Projects$Instances$Backups$Patch extends StandardParameters {
|
|
8790
8781
|
/**
|
|
8791
8782
|
* 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/`.
|
|
8792
8783
|
*/
|
|
@@ -8801,8 +8792,7 @@ export namespace spanner_v1 {
|
|
|
8801
8792
|
*/
|
|
8802
8793
|
requestBody?: Schema$Backup;
|
|
8803
8794
|
}
|
|
8804
|
-
export interface Params$Resource$Projects$Instances$Backups$Setiampolicy
|
|
8805
|
-
extends StandardParameters {
|
|
8795
|
+
export interface Params$Resource$Projects$Instances$Backups$Setiampolicy extends StandardParameters {
|
|
8806
8796
|
/**
|
|
8807
8797
|
* REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.
|
|
8808
8798
|
*/
|
|
@@ -8813,8 +8803,7 @@ export namespace spanner_v1 {
|
|
|
8813
8803
|
*/
|
|
8814
8804
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
8815
8805
|
}
|
|
8816
|
-
export interface Params$Resource$Projects$Instances$Backups$Testiampermissions
|
|
8817
|
-
extends StandardParameters {
|
|
8806
|
+
export interface Params$Resource$Projects$Instances$Backups$Testiampermissions extends StandardParameters {
|
|
8818
8807
|
/**
|
|
8819
8808
|
* REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
8820
8809
|
*/
|
|
@@ -9288,13 +9277,16 @@ export namespace spanner_v1 {
|
|
|
9288
9277
|
* pageSize: 'placeholder-value',
|
|
9289
9278
|
* // The standard list page token.
|
|
9290
9279
|
* pageToken: 'placeholder-value',
|
|
9280
|
+
* // 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.
|
|
9281
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
9291
9282
|
* });
|
|
9292
9283
|
* console.log(res.data);
|
|
9293
9284
|
*
|
|
9294
9285
|
* // Example response
|
|
9295
9286
|
* // {
|
|
9296
9287
|
* // "nextPageToken": "my_nextPageToken",
|
|
9297
|
-
* // "operations": []
|
|
9288
|
+
* // "operations": [],
|
|
9289
|
+
* // "unreachable": []
|
|
9298
9290
|
* // }
|
|
9299
9291
|
* }
|
|
9300
9292
|
*
|
|
@@ -9394,29 +9386,25 @@ export namespace spanner_v1 {
|
|
|
9394
9386
|
}
|
|
9395
9387
|
}
|
|
9396
9388
|
|
|
9397
|
-
export interface Params$Resource$Projects$Instances$Backups$Operations$Cancel
|
|
9398
|
-
extends StandardParameters {
|
|
9389
|
+
export interface Params$Resource$Projects$Instances$Backups$Operations$Cancel extends StandardParameters {
|
|
9399
9390
|
/**
|
|
9400
9391
|
* The name of the operation resource to be cancelled.
|
|
9401
9392
|
*/
|
|
9402
9393
|
name?: string;
|
|
9403
9394
|
}
|
|
9404
|
-
export interface Params$Resource$Projects$Instances$Backups$Operations$Delete
|
|
9405
|
-
extends StandardParameters {
|
|
9395
|
+
export interface Params$Resource$Projects$Instances$Backups$Operations$Delete extends StandardParameters {
|
|
9406
9396
|
/**
|
|
9407
9397
|
* The name of the operation resource to be deleted.
|
|
9408
9398
|
*/
|
|
9409
9399
|
name?: string;
|
|
9410
9400
|
}
|
|
9411
|
-
export interface Params$Resource$Projects$Instances$Backups$Operations$Get
|
|
9412
|
-
extends StandardParameters {
|
|
9401
|
+
export interface Params$Resource$Projects$Instances$Backups$Operations$Get extends StandardParameters {
|
|
9413
9402
|
/**
|
|
9414
9403
|
* The name of the operation resource.
|
|
9415
9404
|
*/
|
|
9416
9405
|
name?: string;
|
|
9417
9406
|
}
|
|
9418
|
-
export interface Params$Resource$Projects$Instances$Backups$Operations$List
|
|
9419
|
-
extends StandardParameters {
|
|
9407
|
+
export interface Params$Resource$Projects$Instances$Backups$Operations$List extends StandardParameters {
|
|
9420
9408
|
/**
|
|
9421
9409
|
* The standard list filter.
|
|
9422
9410
|
*/
|
|
@@ -9433,6 +9421,10 @@ export namespace spanner_v1 {
|
|
|
9433
9421
|
* The standard list page token.
|
|
9434
9422
|
*/
|
|
9435
9423
|
pageToken?: string;
|
|
9424
|
+
/**
|
|
9425
|
+
* 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.
|
|
9426
|
+
*/
|
|
9427
|
+
returnPartialSuccess?: boolean;
|
|
9436
9428
|
}
|
|
9437
9429
|
|
|
9438
9430
|
export class Resource$Projects$Instances$Databaseoperations {
|
|
@@ -9596,8 +9588,7 @@ export namespace spanner_v1 {
|
|
|
9596
9588
|
}
|
|
9597
9589
|
}
|
|
9598
9590
|
|
|
9599
|
-
export interface Params$Resource$Projects$Instances$Databaseoperations$List
|
|
9600
|
-
extends StandardParameters {
|
|
9591
|
+
export interface Params$Resource$Projects$Instances$Databaseoperations$List extends StandardParameters {
|
|
9601
9592
|
/**
|
|
9602
9593
|
* An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \ `(metadata.source_type:BACKUP) AND` \ `(metadata.backup_info.backup:backup_howl) AND` \ `(metadata.name:restored_howl) AND` \ `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is RestoreDatabaseMetadata. * The database is restored from a backup. * The backup name contains "backup_howl". * The restored database's name contains "restored_howl". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error.
|
|
9603
9594
|
*/
|
|
@@ -11748,8 +11739,7 @@ export namespace spanner_v1 {
|
|
|
11748
11739
|
}
|
|
11749
11740
|
}
|
|
11750
11741
|
|
|
11751
|
-
export interface Params$Resource$Projects$Instances$Databases$Addsplitpoints
|
|
11752
|
-
extends StandardParameters {
|
|
11742
|
+
export interface Params$Resource$Projects$Instances$Databases$Addsplitpoints extends StandardParameters {
|
|
11753
11743
|
/**
|
|
11754
11744
|
* Required. The database on whose tables or indexes the split points are to be added. Values are of the form `projects//instances//databases/`.
|
|
11755
11745
|
*/
|
|
@@ -11760,8 +11750,7 @@ export namespace spanner_v1 {
|
|
|
11760
11750
|
*/
|
|
11761
11751
|
requestBody?: Schema$AddSplitPointsRequest;
|
|
11762
11752
|
}
|
|
11763
|
-
export interface Params$Resource$Projects$Instances$Databases$Changequorum
|
|
11764
|
-
extends StandardParameters {
|
|
11753
|
+
export interface Params$Resource$Projects$Instances$Databases$Changequorum extends StandardParameters {
|
|
11765
11754
|
/**
|
|
11766
11755
|
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`.
|
|
11767
11756
|
*/
|
|
@@ -11772,8 +11761,7 @@ export namespace spanner_v1 {
|
|
|
11772
11761
|
*/
|
|
11773
11762
|
requestBody?: Schema$ChangeQuorumRequest;
|
|
11774
11763
|
}
|
|
11775
|
-
export interface Params$Resource$Projects$Instances$Databases$Create
|
|
11776
|
-
extends StandardParameters {
|
|
11764
|
+
export interface Params$Resource$Projects$Instances$Databases$Create extends StandardParameters {
|
|
11777
11765
|
/**
|
|
11778
11766
|
* Required. The name of the instance that will serve the new database. Values are of the form `projects//instances/`.
|
|
11779
11767
|
*/
|
|
@@ -11784,29 +11772,25 @@ export namespace spanner_v1 {
|
|
|
11784
11772
|
*/
|
|
11785
11773
|
requestBody?: Schema$CreateDatabaseRequest;
|
|
11786
11774
|
}
|
|
11787
|
-
export interface Params$Resource$Projects$Instances$Databases$Dropdatabase
|
|
11788
|
-
extends StandardParameters {
|
|
11775
|
+
export interface Params$Resource$Projects$Instances$Databases$Dropdatabase extends StandardParameters {
|
|
11789
11776
|
/**
|
|
11790
11777
|
* Required. The database to be dropped.
|
|
11791
11778
|
*/
|
|
11792
11779
|
database?: string;
|
|
11793
11780
|
}
|
|
11794
|
-
export interface Params$Resource$Projects$Instances$Databases$Get
|
|
11795
|
-
extends StandardParameters {
|
|
11781
|
+
export interface Params$Resource$Projects$Instances$Databases$Get extends StandardParameters {
|
|
11796
11782
|
/**
|
|
11797
11783
|
* Required. The name of the requested database. Values are of the form `projects//instances//databases/`.
|
|
11798
11784
|
*/
|
|
11799
11785
|
name?: string;
|
|
11800
11786
|
}
|
|
11801
|
-
export interface Params$Resource$Projects$Instances$Databases$Getddl
|
|
11802
|
-
extends StandardParameters {
|
|
11787
|
+
export interface Params$Resource$Projects$Instances$Databases$Getddl extends StandardParameters {
|
|
11803
11788
|
/**
|
|
11804
11789
|
* Required. The database whose schema we wish to get. Values are of the form `projects//instances//databases/`
|
|
11805
11790
|
*/
|
|
11806
11791
|
database?: string;
|
|
11807
11792
|
}
|
|
11808
|
-
export interface Params$Resource$Projects$Instances$Databases$Getiampolicy
|
|
11809
|
-
extends StandardParameters {
|
|
11793
|
+
export interface Params$Resource$Projects$Instances$Databases$Getiampolicy extends StandardParameters {
|
|
11810
11794
|
/**
|
|
11811
11795
|
* REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
11812
11796
|
*/
|
|
@@ -11817,8 +11801,7 @@ export namespace spanner_v1 {
|
|
|
11817
11801
|
*/
|
|
11818
11802
|
requestBody?: Schema$GetIamPolicyRequest;
|
|
11819
11803
|
}
|
|
11820
|
-
export interface Params$Resource$Projects$Instances$Databases$Getscans
|
|
11821
|
-
extends StandardParameters {
|
|
11804
|
+
export interface Params$Resource$Projects$Instances$Databases$Getscans extends StandardParameters {
|
|
11822
11805
|
/**
|
|
11823
11806
|
* The upper bound for the time range to retrieve Scan data for.
|
|
11824
11807
|
*/
|
|
@@ -11836,8 +11819,7 @@ export namespace spanner_v1 {
|
|
|
11836
11819
|
*/
|
|
11837
11820
|
view?: string;
|
|
11838
11821
|
}
|
|
11839
|
-
export interface Params$Resource$Projects$Instances$Databases$List
|
|
11840
|
-
extends StandardParameters {
|
|
11822
|
+
export interface Params$Resource$Projects$Instances$Databases$List extends StandardParameters {
|
|
11841
11823
|
/**
|
|
11842
11824
|
* Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
|
|
11843
11825
|
*/
|
|
@@ -11851,8 +11833,7 @@ export namespace spanner_v1 {
|
|
|
11851
11833
|
*/
|
|
11852
11834
|
parent?: string;
|
|
11853
11835
|
}
|
|
11854
|
-
export interface Params$Resource$Projects$Instances$Databases$Patch
|
|
11855
|
-
extends StandardParameters {
|
|
11836
|
+
export interface Params$Resource$Projects$Instances$Databases$Patch extends StandardParameters {
|
|
11856
11837
|
/**
|
|
11857
11838
|
* Required. The name of the database. Values are of the form `projects//instances//databases/`, where `` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database.
|
|
11858
11839
|
*/
|
|
@@ -11867,8 +11848,7 @@ export namespace spanner_v1 {
|
|
|
11867
11848
|
*/
|
|
11868
11849
|
requestBody?: Schema$Database;
|
|
11869
11850
|
}
|
|
11870
|
-
export interface Params$Resource$Projects$Instances$Databases$Restore
|
|
11871
|
-
extends StandardParameters {
|
|
11851
|
+
export interface Params$Resource$Projects$Instances$Databases$Restore extends StandardParameters {
|
|
11872
11852
|
/**
|
|
11873
11853
|
* Required. The name of the instance in which to create the restored database. This instance must be in the same project and have the same instance configuration as the instance containing the source backup. Values are of the form `projects//instances/`.
|
|
11874
11854
|
*/
|
|
@@ -11879,8 +11859,7 @@ export namespace spanner_v1 {
|
|
|
11879
11859
|
*/
|
|
11880
11860
|
requestBody?: Schema$RestoreDatabaseRequest;
|
|
11881
11861
|
}
|
|
11882
|
-
export interface Params$Resource$Projects$Instances$Databases$Setiampolicy
|
|
11883
|
-
extends StandardParameters {
|
|
11862
|
+
export interface Params$Resource$Projects$Instances$Databases$Setiampolicy extends StandardParameters {
|
|
11884
11863
|
/**
|
|
11885
11864
|
* REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.
|
|
11886
11865
|
*/
|
|
@@ -11891,8 +11870,7 @@ export namespace spanner_v1 {
|
|
|
11891
11870
|
*/
|
|
11892
11871
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
11893
11872
|
}
|
|
11894
|
-
export interface Params$Resource$Projects$Instances$Databases$Testiampermissions
|
|
11895
|
-
extends StandardParameters {
|
|
11873
|
+
export interface Params$Resource$Projects$Instances$Databases$Testiampermissions extends StandardParameters {
|
|
11896
11874
|
/**
|
|
11897
11875
|
* REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
11898
11876
|
*/
|
|
@@ -11903,8 +11881,7 @@ export namespace spanner_v1 {
|
|
|
11903
11881
|
*/
|
|
11904
11882
|
requestBody?: Schema$TestIamPermissionsRequest;
|
|
11905
11883
|
}
|
|
11906
|
-
export interface Params$Resource$Projects$Instances$Databases$Updateddl
|
|
11907
|
-
extends StandardParameters {
|
|
11884
|
+
export interface Params$Resource$Projects$Instances$Databases$Updateddl extends StandardParameters {
|
|
11908
11885
|
/**
|
|
11909
11886
|
* Required. The database to update.
|
|
11910
11887
|
*/
|
|
@@ -13143,8 +13120,7 @@ export namespace spanner_v1 {
|
|
|
13143
13120
|
}
|
|
13144
13121
|
}
|
|
13145
13122
|
|
|
13146
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Create
|
|
13147
|
-
extends StandardParameters {
|
|
13123
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Create extends StandardParameters {
|
|
13148
13124
|
/**
|
|
13149
13125
|
* Required. The Id to use for the backup schedule. The `backup_schedule_id` appended to `parent` forms the full backup schedule name of the form `projects//instances//databases//backupSchedules/`.
|
|
13150
13126
|
*/
|
|
@@ -13159,22 +13135,19 @@ export namespace spanner_v1 {
|
|
|
13159
13135
|
*/
|
|
13160
13136
|
requestBody?: Schema$BackupSchedule;
|
|
13161
13137
|
}
|
|
13162
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Delete
|
|
13163
|
-
extends StandardParameters {
|
|
13138
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Delete extends StandardParameters {
|
|
13164
13139
|
/**
|
|
13165
13140
|
* Required. The name of the schedule to delete. Values are of the form `projects//instances//databases//backupSchedules/`.
|
|
13166
13141
|
*/
|
|
13167
13142
|
name?: string;
|
|
13168
13143
|
}
|
|
13169
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Get
|
|
13170
|
-
extends StandardParameters {
|
|
13144
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Get extends StandardParameters {
|
|
13171
13145
|
/**
|
|
13172
13146
|
* Required. The name of the schedule to retrieve. Values are of the form `projects//instances//databases//backupSchedules/`.
|
|
13173
13147
|
*/
|
|
13174
13148
|
name?: string;
|
|
13175
13149
|
}
|
|
13176
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy
|
|
13177
|
-
extends StandardParameters {
|
|
13150
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy extends StandardParameters {
|
|
13178
13151
|
/**
|
|
13179
13152
|
* REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
13180
13153
|
*/
|
|
@@ -13185,8 +13158,7 @@ export namespace spanner_v1 {
|
|
|
13185
13158
|
*/
|
|
13186
13159
|
requestBody?: Schema$GetIamPolicyRequest;
|
|
13187
13160
|
}
|
|
13188
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$List
|
|
13189
|
-
extends StandardParameters {
|
|
13161
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$List extends StandardParameters {
|
|
13190
13162
|
/**
|
|
13191
13163
|
* Optional. Number of backup schedules to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
|
|
13192
13164
|
*/
|
|
@@ -13200,8 +13172,7 @@ export namespace spanner_v1 {
|
|
|
13200
13172
|
*/
|
|
13201
13173
|
parent?: string;
|
|
13202
13174
|
}
|
|
13203
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Patch
|
|
13204
|
-
extends StandardParameters {
|
|
13175
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Patch extends StandardParameters {
|
|
13205
13176
|
/**
|
|
13206
13177
|
* Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects//instances//databases//backupSchedules/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.
|
|
13207
13178
|
*/
|
|
@@ -13216,8 +13187,7 @@ export namespace spanner_v1 {
|
|
|
13216
13187
|
*/
|
|
13217
13188
|
requestBody?: Schema$BackupSchedule;
|
|
13218
13189
|
}
|
|
13219
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy
|
|
13220
|
-
extends StandardParameters {
|
|
13190
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy extends StandardParameters {
|
|
13221
13191
|
/**
|
|
13222
13192
|
* REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.
|
|
13223
13193
|
*/
|
|
@@ -13228,8 +13198,7 @@ export namespace spanner_v1 {
|
|
|
13228
13198
|
*/
|
|
13229
13199
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
13230
13200
|
}
|
|
13231
|
-
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions
|
|
13232
|
-
extends StandardParameters {
|
|
13201
|
+
export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions extends StandardParameters {
|
|
13233
13202
|
/**
|
|
13234
13203
|
* REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
13235
13204
|
*/
|
|
@@ -13555,8 +13524,7 @@ export namespace spanner_v1 {
|
|
|
13555
13524
|
}
|
|
13556
13525
|
}
|
|
13557
13526
|
|
|
13558
|
-
export interface Params$Resource$Projects$Instances$Databases$Databaseroles$List
|
|
13559
|
-
extends StandardParameters {
|
|
13527
|
+
export interface Params$Resource$Projects$Instances$Databases$Databaseroles$List extends StandardParameters {
|
|
13560
13528
|
/**
|
|
13561
13529
|
* Number of database roles to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
|
|
13562
13530
|
*/
|
|
@@ -13570,8 +13538,7 @@ export namespace spanner_v1 {
|
|
|
13570
13538
|
*/
|
|
13571
13539
|
parent?: string;
|
|
13572
13540
|
}
|
|
13573
|
-
export interface Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions
|
|
13574
|
-
extends StandardParameters {
|
|
13541
|
+
export interface Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions extends StandardParameters {
|
|
13575
13542
|
/**
|
|
13576
13543
|
* REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
|
|
13577
13544
|
*/
|
|
@@ -14045,13 +14012,16 @@ export namespace spanner_v1 {
|
|
|
14045
14012
|
* pageSize: 'placeholder-value',
|
|
14046
14013
|
* // The standard list page token.
|
|
14047
14014
|
* pageToken: 'placeholder-value',
|
|
14015
|
+
* // 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.
|
|
14016
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
14048
14017
|
* });
|
|
14049
14018
|
* console.log(res.data);
|
|
14050
14019
|
*
|
|
14051
14020
|
* // Example response
|
|
14052
14021
|
* // {
|
|
14053
14022
|
* // "nextPageToken": "my_nextPageToken",
|
|
14054
|
-
* // "operations": []
|
|
14023
|
+
* // "operations": [],
|
|
14024
|
+
* // "unreachable": []
|
|
14055
14025
|
* // }
|
|
14056
14026
|
* }
|
|
14057
14027
|
*
|
|
@@ -14151,29 +14121,25 @@ export namespace spanner_v1 {
|
|
|
14151
14121
|
}
|
|
14152
14122
|
}
|
|
14153
14123
|
|
|
14154
|
-
export interface Params$Resource$Projects$Instances$Databases$Operations$Cancel
|
|
14155
|
-
extends StandardParameters {
|
|
14124
|
+
export interface Params$Resource$Projects$Instances$Databases$Operations$Cancel extends StandardParameters {
|
|
14156
14125
|
/**
|
|
14157
14126
|
* The name of the operation resource to be cancelled.
|
|
14158
14127
|
*/
|
|
14159
14128
|
name?: string;
|
|
14160
14129
|
}
|
|
14161
|
-
export interface Params$Resource$Projects$Instances$Databases$Operations$Delete
|
|
14162
|
-
extends StandardParameters {
|
|
14130
|
+
export interface Params$Resource$Projects$Instances$Databases$Operations$Delete extends StandardParameters {
|
|
14163
14131
|
/**
|
|
14164
14132
|
* The name of the operation resource to be deleted.
|
|
14165
14133
|
*/
|
|
14166
14134
|
name?: string;
|
|
14167
14135
|
}
|
|
14168
|
-
export interface Params$Resource$Projects$Instances$Databases$Operations$Get
|
|
14169
|
-
extends StandardParameters {
|
|
14136
|
+
export interface Params$Resource$Projects$Instances$Databases$Operations$Get extends StandardParameters {
|
|
14170
14137
|
/**
|
|
14171
14138
|
* The name of the operation resource.
|
|
14172
14139
|
*/
|
|
14173
14140
|
name?: string;
|
|
14174
14141
|
}
|
|
14175
|
-
export interface Params$Resource$Projects$Instances$Databases$Operations$List
|
|
14176
|
-
extends StandardParameters {
|
|
14142
|
+
export interface Params$Resource$Projects$Instances$Databases$Operations$List extends StandardParameters {
|
|
14177
14143
|
/**
|
|
14178
14144
|
* The standard list filter.
|
|
14179
14145
|
*/
|
|
@@ -14190,6 +14156,10 @@ export namespace spanner_v1 {
|
|
|
14190
14156
|
* The standard list page token.
|
|
14191
14157
|
*/
|
|
14192
14158
|
pageToken?: string;
|
|
14159
|
+
/**
|
|
14160
|
+
* 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.
|
|
14161
|
+
*/
|
|
14162
|
+
returnPartialSuccess?: boolean;
|
|
14193
14163
|
}
|
|
14194
14164
|
|
|
14195
14165
|
export class Resource$Projects$Instances$Databases$Sessions {
|
|
@@ -17010,8 +16980,7 @@ export namespace spanner_v1 {
|
|
|
17010
16980
|
}
|
|
17011
16981
|
}
|
|
17012
16982
|
|
|
17013
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adapter
|
|
17014
|
-
extends StandardParameters {
|
|
16983
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adapter extends StandardParameters {
|
|
17015
16984
|
/**
|
|
17016
16985
|
* Required. The database in which the new session is created.
|
|
17017
16986
|
*/
|
|
@@ -17022,8 +16991,7 @@ export namespace spanner_v1 {
|
|
|
17022
16991
|
*/
|
|
17023
16992
|
requestBody?: Schema$AdapterSession;
|
|
17024
16993
|
}
|
|
17025
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage
|
|
17026
|
-
extends StandardParameters {
|
|
16994
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage extends StandardParameters {
|
|
17027
16995
|
/**
|
|
17028
16996
|
* Required. The database session in which the adapter request is processed.
|
|
17029
16997
|
*/
|
|
@@ -17034,8 +17002,7 @@ export namespace spanner_v1 {
|
|
|
17034
17002
|
*/
|
|
17035
17003
|
requestBody?: Schema$AdaptMessageRequest;
|
|
17036
17004
|
}
|
|
17037
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate
|
|
17038
|
-
extends StandardParameters {
|
|
17005
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate extends StandardParameters {
|
|
17039
17006
|
/**
|
|
17040
17007
|
* Required. The database in which the new sessions are created.
|
|
17041
17008
|
*/
|
|
@@ -17046,8 +17013,7 @@ export namespace spanner_v1 {
|
|
|
17046
17013
|
*/
|
|
17047
17014
|
requestBody?: Schema$BatchCreateSessionsRequest;
|
|
17048
17015
|
}
|
|
17049
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite
|
|
17050
|
-
extends StandardParameters {
|
|
17016
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite extends StandardParameters {
|
|
17051
17017
|
/**
|
|
17052
17018
|
* Required. The session in which the batch request is to be run.
|
|
17053
17019
|
*/
|
|
@@ -17058,8 +17024,7 @@ export namespace spanner_v1 {
|
|
|
17058
17024
|
*/
|
|
17059
17025
|
requestBody?: Schema$BatchWriteRequest;
|
|
17060
17026
|
}
|
|
17061
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction
|
|
17062
|
-
extends StandardParameters {
|
|
17027
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction extends StandardParameters {
|
|
17063
17028
|
/**
|
|
17064
17029
|
* Required. The session in which the transaction runs.
|
|
17065
17030
|
*/
|
|
@@ -17070,8 +17035,7 @@ export namespace spanner_v1 {
|
|
|
17070
17035
|
*/
|
|
17071
17036
|
requestBody?: Schema$BeginTransactionRequest;
|
|
17072
17037
|
}
|
|
17073
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Commit
|
|
17074
|
-
extends StandardParameters {
|
|
17038
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Commit extends StandardParameters {
|
|
17075
17039
|
/**
|
|
17076
17040
|
* Required. The session in which the transaction to be committed is running.
|
|
17077
17041
|
*/
|
|
@@ -17082,8 +17046,7 @@ export namespace spanner_v1 {
|
|
|
17082
17046
|
*/
|
|
17083
17047
|
requestBody?: Schema$CommitRequest;
|
|
17084
17048
|
}
|
|
17085
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Create
|
|
17086
|
-
extends StandardParameters {
|
|
17049
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Create extends StandardParameters {
|
|
17087
17050
|
/**
|
|
17088
17051
|
* Required. The database in which the new session is created.
|
|
17089
17052
|
*/
|
|
@@ -17094,15 +17057,13 @@ export namespace spanner_v1 {
|
|
|
17094
17057
|
*/
|
|
17095
17058
|
requestBody?: Schema$CreateSessionRequest;
|
|
17096
17059
|
}
|
|
17097
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Delete
|
|
17098
|
-
extends StandardParameters {
|
|
17060
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Delete extends StandardParameters {
|
|
17099
17061
|
/**
|
|
17100
17062
|
* Required. The name of the session to delete.
|
|
17101
17063
|
*/
|
|
17102
17064
|
name?: string;
|
|
17103
17065
|
}
|
|
17104
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml
|
|
17105
|
-
extends StandardParameters {
|
|
17066
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml extends StandardParameters {
|
|
17106
17067
|
/**
|
|
17107
17068
|
* Required. The session in which the DML statements should be performed.
|
|
17108
17069
|
*/
|
|
@@ -17113,8 +17074,7 @@ export namespace spanner_v1 {
|
|
|
17113
17074
|
*/
|
|
17114
17075
|
requestBody?: Schema$ExecuteBatchDmlRequest;
|
|
17115
17076
|
}
|
|
17116
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executesql
|
|
17117
|
-
extends StandardParameters {
|
|
17077
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executesql extends StandardParameters {
|
|
17118
17078
|
/**
|
|
17119
17079
|
* Required. The session in which the SQL query should be performed.
|
|
17120
17080
|
*/
|
|
@@ -17125,8 +17085,7 @@ export namespace spanner_v1 {
|
|
|
17125
17085
|
*/
|
|
17126
17086
|
requestBody?: Schema$ExecuteSqlRequest;
|
|
17127
17087
|
}
|
|
17128
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql
|
|
17129
|
-
extends StandardParameters {
|
|
17088
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql extends StandardParameters {
|
|
17130
17089
|
/**
|
|
17131
17090
|
* Required. The session in which the SQL query should be performed.
|
|
17132
17091
|
*/
|
|
@@ -17137,15 +17096,13 @@ export namespace spanner_v1 {
|
|
|
17137
17096
|
*/
|
|
17138
17097
|
requestBody?: Schema$ExecuteSqlRequest;
|
|
17139
17098
|
}
|
|
17140
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Get
|
|
17141
|
-
extends StandardParameters {
|
|
17099
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Get extends StandardParameters {
|
|
17142
17100
|
/**
|
|
17143
17101
|
* Required. The name of the session to retrieve.
|
|
17144
17102
|
*/
|
|
17145
17103
|
name?: string;
|
|
17146
17104
|
}
|
|
17147
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$List
|
|
17148
|
-
extends StandardParameters {
|
|
17105
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$List extends StandardParameters {
|
|
17149
17106
|
/**
|
|
17150
17107
|
* Required. The database in which to list sessions.
|
|
17151
17108
|
*/
|
|
@@ -17163,8 +17120,7 @@ export namespace spanner_v1 {
|
|
|
17163
17120
|
*/
|
|
17164
17121
|
pageToken?: string;
|
|
17165
17122
|
}
|
|
17166
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery
|
|
17167
|
-
extends StandardParameters {
|
|
17123
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery extends StandardParameters {
|
|
17168
17124
|
/**
|
|
17169
17125
|
* Required. The session used to create the partitions.
|
|
17170
17126
|
*/
|
|
@@ -17175,8 +17131,7 @@ export namespace spanner_v1 {
|
|
|
17175
17131
|
*/
|
|
17176
17132
|
requestBody?: Schema$PartitionQueryRequest;
|
|
17177
17133
|
}
|
|
17178
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Partitionread
|
|
17179
|
-
extends StandardParameters {
|
|
17134
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Partitionread extends StandardParameters {
|
|
17180
17135
|
/**
|
|
17181
17136
|
* Required. The session used to create the partitions.
|
|
17182
17137
|
*/
|
|
@@ -17187,8 +17142,7 @@ export namespace spanner_v1 {
|
|
|
17187
17142
|
*/
|
|
17188
17143
|
requestBody?: Schema$PartitionReadRequest;
|
|
17189
17144
|
}
|
|
17190
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Read
|
|
17191
|
-
extends StandardParameters {
|
|
17145
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Read extends StandardParameters {
|
|
17192
17146
|
/**
|
|
17193
17147
|
* Required. The session in which the read should be performed.
|
|
17194
17148
|
*/
|
|
@@ -17199,8 +17153,7 @@ export namespace spanner_v1 {
|
|
|
17199
17153
|
*/
|
|
17200
17154
|
requestBody?: Schema$ReadRequest;
|
|
17201
17155
|
}
|
|
17202
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Rollback
|
|
17203
|
-
extends StandardParameters {
|
|
17156
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Rollback extends StandardParameters {
|
|
17204
17157
|
/**
|
|
17205
17158
|
* Required. The session in which the transaction to roll back is running.
|
|
17206
17159
|
*/
|
|
@@ -17211,8 +17164,7 @@ export namespace spanner_v1 {
|
|
|
17211
17164
|
*/
|
|
17212
17165
|
requestBody?: Schema$RollbackRequest;
|
|
17213
17166
|
}
|
|
17214
|
-
export interface Params$Resource$Projects$Instances$Databases$Sessions$Streamingread
|
|
17215
|
-
extends StandardParameters {
|
|
17167
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Streamingread extends StandardParameters {
|
|
17216
17168
|
/**
|
|
17217
17169
|
* Required. The session in which the read should be performed.
|
|
17218
17170
|
*/
|
|
@@ -17393,8 +17345,7 @@ export namespace spanner_v1 {
|
|
|
17393
17345
|
}
|
|
17394
17346
|
}
|
|
17395
17347
|
|
|
17396
|
-
export interface Params$Resource$Projects$Instances$Instancepartitionoperations$List
|
|
17397
|
-
extends StandardParameters {
|
|
17348
|
+
export interface Params$Resource$Projects$Instances$Instancepartitionoperations$List extends StandardParameters {
|
|
17398
17349
|
/**
|
|
17399
17350
|
* Optional. An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstancePartitionMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstancePartitionMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) AND` \ `(metadata.instance_partition.name:custom-instance-partition) AND` \ `(metadata.start_time < \"2021-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstancePartitionMetadata. * The instance partition name contains "custom-instance-partition". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.
|
|
17400
17351
|
*/
|
|
@@ -17761,6 +17712,7 @@ export namespace spanner_v1 {
|
|
|
17761
17712
|
*
|
|
17762
17713
|
* // Example response
|
|
17763
17714
|
* // {
|
|
17715
|
+
* // "autoscalingConfig": {},
|
|
17764
17716
|
* // "config": "my_config",
|
|
17765
17717
|
* // "createTime": "my_createTime",
|
|
17766
17718
|
* // "displayName": "my_displayName",
|
|
@@ -18175,8 +18127,7 @@ export namespace spanner_v1 {
|
|
|
18175
18127
|
}
|
|
18176
18128
|
}
|
|
18177
18129
|
|
|
18178
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Create
|
|
18179
|
-
extends StandardParameters {
|
|
18130
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Create extends StandardParameters {
|
|
18180
18131
|
/**
|
|
18181
18132
|
* Required. The name of the instance in which to create the instance partition. Values are of the form `projects//instances/`.
|
|
18182
18133
|
*/
|
|
@@ -18187,8 +18138,7 @@ export namespace spanner_v1 {
|
|
|
18187
18138
|
*/
|
|
18188
18139
|
requestBody?: Schema$CreateInstancePartitionRequest;
|
|
18189
18140
|
}
|
|
18190
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Delete
|
|
18191
|
-
extends StandardParameters {
|
|
18141
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Delete extends StandardParameters {
|
|
18192
18142
|
/**
|
|
18193
18143
|
* Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.
|
|
18194
18144
|
*/
|
|
@@ -18198,15 +18148,13 @@ export namespace spanner_v1 {
|
|
|
18198
18148
|
*/
|
|
18199
18149
|
name?: string;
|
|
18200
18150
|
}
|
|
18201
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Get
|
|
18202
|
-
extends StandardParameters {
|
|
18151
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Get extends StandardParameters {
|
|
18203
18152
|
/**
|
|
18204
18153
|
* Required. The name of the requested instance partition. Values are of the form `projects/{project\}/instances/{instance\}/instancePartitions/{instance_partition\}`.
|
|
18205
18154
|
*/
|
|
18206
18155
|
name?: string;
|
|
18207
18156
|
}
|
|
18208
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$List
|
|
18209
|
-
extends StandardParameters {
|
|
18157
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$List extends StandardParameters {
|
|
18210
18158
|
/**
|
|
18211
18159
|
* Optional. Deadline used while retrieving metadata for instance partitions. Instance partitions whose metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancePartitionsResponse.
|
|
18212
18160
|
*/
|
|
@@ -18224,8 +18172,7 @@ export namespace spanner_v1 {
|
|
|
18224
18172
|
*/
|
|
18225
18173
|
parent?: string;
|
|
18226
18174
|
}
|
|
18227
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Patch
|
|
18228
|
-
extends StandardParameters {
|
|
18175
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Patch extends StandardParameters {
|
|
18229
18176
|
/**
|
|
18230
18177
|
* Required. A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created.
|
|
18231
18178
|
*/
|
|
@@ -18703,13 +18650,16 @@ export namespace spanner_v1 {
|
|
|
18703
18650
|
* pageSize: 'placeholder-value',
|
|
18704
18651
|
* // The standard list page token.
|
|
18705
18652
|
* pageToken: 'placeholder-value',
|
|
18653
|
+
* // 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.
|
|
18654
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
18706
18655
|
* });
|
|
18707
18656
|
* console.log(res.data);
|
|
18708
18657
|
*
|
|
18709
18658
|
* // Example response
|
|
18710
18659
|
* // {
|
|
18711
18660
|
* // "nextPageToken": "my_nextPageToken",
|
|
18712
|
-
* // "operations": []
|
|
18661
|
+
* // "operations": [],
|
|
18662
|
+
* // "unreachable": []
|
|
18713
18663
|
* // }
|
|
18714
18664
|
* }
|
|
18715
18665
|
*
|
|
@@ -18809,29 +18759,25 @@ export namespace spanner_v1 {
|
|
|
18809
18759
|
}
|
|
18810
18760
|
}
|
|
18811
18761
|
|
|
18812
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel
|
|
18813
|
-
extends StandardParameters {
|
|
18762
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel extends StandardParameters {
|
|
18814
18763
|
/**
|
|
18815
18764
|
* The name of the operation resource to be cancelled.
|
|
18816
18765
|
*/
|
|
18817
18766
|
name?: string;
|
|
18818
18767
|
}
|
|
18819
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete
|
|
18820
|
-
extends StandardParameters {
|
|
18768
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete extends StandardParameters {
|
|
18821
18769
|
/**
|
|
18822
18770
|
* The name of the operation resource to be deleted.
|
|
18823
18771
|
*/
|
|
18824
18772
|
name?: string;
|
|
18825
18773
|
}
|
|
18826
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Get
|
|
18827
|
-
extends StandardParameters {
|
|
18774
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$Get extends StandardParameters {
|
|
18828
18775
|
/**
|
|
18829
18776
|
* The name of the operation resource.
|
|
18830
18777
|
*/
|
|
18831
18778
|
name?: string;
|
|
18832
18779
|
}
|
|
18833
|
-
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$List
|
|
18834
|
-
extends StandardParameters {
|
|
18780
|
+
export interface Params$Resource$Projects$Instances$Instancepartitions$Operations$List extends StandardParameters {
|
|
18835
18781
|
/**
|
|
18836
18782
|
* The standard list filter.
|
|
18837
18783
|
*/
|
|
@@ -18848,6 +18794,10 @@ export namespace spanner_v1 {
|
|
|
18848
18794
|
* The standard list page token.
|
|
18849
18795
|
*/
|
|
18850
18796
|
pageToken?: string;
|
|
18797
|
+
/**
|
|
18798
|
+
* 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.
|
|
18799
|
+
*/
|
|
18800
|
+
returnPartialSuccess?: boolean;
|
|
18851
18801
|
}
|
|
18852
18802
|
|
|
18853
18803
|
export class Resource$Projects$Instances$Operations {
|
|
@@ -19309,13 +19259,16 @@ export namespace spanner_v1 {
|
|
|
19309
19259
|
* pageSize: 'placeholder-value',
|
|
19310
19260
|
* // The standard list page token.
|
|
19311
19261
|
* pageToken: 'placeholder-value',
|
|
19262
|
+
* // 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.
|
|
19263
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
19312
19264
|
* });
|
|
19313
19265
|
* console.log(res.data);
|
|
19314
19266
|
*
|
|
19315
19267
|
* // Example response
|
|
19316
19268
|
* // {
|
|
19317
19269
|
* // "nextPageToken": "my_nextPageToken",
|
|
19318
|
-
* // "operations": []
|
|
19270
|
+
* // "operations": [],
|
|
19271
|
+
* // "unreachable": []
|
|
19319
19272
|
* // }
|
|
19320
19273
|
* }
|
|
19321
19274
|
*
|
|
@@ -19414,29 +19367,25 @@ export namespace spanner_v1 {
|
|
|
19414
19367
|
}
|
|
19415
19368
|
}
|
|
19416
19369
|
|
|
19417
|
-
export interface Params$Resource$Projects$Instances$Operations$Cancel
|
|
19418
|
-
extends StandardParameters {
|
|
19370
|
+
export interface Params$Resource$Projects$Instances$Operations$Cancel extends StandardParameters {
|
|
19419
19371
|
/**
|
|
19420
19372
|
* The name of the operation resource to be cancelled.
|
|
19421
19373
|
*/
|
|
19422
19374
|
name?: string;
|
|
19423
19375
|
}
|
|
19424
|
-
export interface Params$Resource$Projects$Instances$Operations$Delete
|
|
19425
|
-
extends StandardParameters {
|
|
19376
|
+
export interface Params$Resource$Projects$Instances$Operations$Delete extends StandardParameters {
|
|
19426
19377
|
/**
|
|
19427
19378
|
* The name of the operation resource to be deleted.
|
|
19428
19379
|
*/
|
|
19429
19380
|
name?: string;
|
|
19430
19381
|
}
|
|
19431
|
-
export interface Params$Resource$Projects$Instances$Operations$Get
|
|
19432
|
-
extends StandardParameters {
|
|
19382
|
+
export interface Params$Resource$Projects$Instances$Operations$Get extends StandardParameters {
|
|
19433
19383
|
/**
|
|
19434
19384
|
* The name of the operation resource.
|
|
19435
19385
|
*/
|
|
19436
19386
|
name?: string;
|
|
19437
19387
|
}
|
|
19438
|
-
export interface Params$Resource$Projects$Instances$Operations$List
|
|
19439
|
-
extends StandardParameters {
|
|
19388
|
+
export interface Params$Resource$Projects$Instances$Operations$List extends StandardParameters {
|
|
19440
19389
|
/**
|
|
19441
19390
|
* The standard list filter.
|
|
19442
19391
|
*/
|
|
@@ -19453,6 +19402,10 @@ export namespace spanner_v1 {
|
|
|
19453
19402
|
* The standard list page token.
|
|
19454
19403
|
*/
|
|
19455
19404
|
pageToken?: string;
|
|
19405
|
+
/**
|
|
19406
|
+
* 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.
|
|
19407
|
+
*/
|
|
19408
|
+
returnPartialSuccess?: boolean;
|
|
19456
19409
|
}
|
|
19457
19410
|
|
|
19458
19411
|
export class Resource$Scans {
|