@googleapis/spanner 4.3.0 → 6.0.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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/spanner-v5.0.0...spanner-v6.0.0) (2024-04-04)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * This release has breaking changes.
9
+ * This release has breaking changes.
10
+
11
+ ### Features
12
+
13
+ * run the generator ([#3434](https://github.com/googleapis/google-api-nodejs-client/issues/3434)) ([f0db524](https://github.com/googleapis/google-api-nodejs-client/commit/f0db524bb26f05cea3dec4c0ed66b496399e3857))
14
+ * run the generator ([#3456](https://github.com/googleapis/google-api-nodejs-client/issues/3456)) ([a865e81](https://github.com/googleapis/google-api-nodejs-client/commit/a865e81539b315d3b321650663ba0b2555b1e5a1))
15
+ * **spanner:** update the API ([420bebb](https://github.com/googleapis/google-api-nodejs-client/commit/420bebbe23f63ffec76bb92674798f4eb2c1f219))
16
+ * **spanner:** update the API ([b648ca3](https://github.com/googleapis/google-api-nodejs-client/commit/b648ca3e2d31e38a1e45df582749a086a4023c1b))
17
+ * **spanner:** update the API ([7c371a3](https://github.com/googleapis/google-api-nodejs-client/commit/7c371a3d5168c00352c0e0971a4d967c787b509b))
18
+ * **spanner:** update the API ([19c8a5e](https://github.com/googleapis/google-api-nodejs-client/commit/19c8a5e40f233682de4a75d7f802e0fd7d80f8ef))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **spanner:** update the API ([0e40d67](https://github.com/googleapis/google-api-nodejs-client/commit/0e40d674369b7cc93147e1f97186ca7063eeb770))
24
+ * **spanner:** update the API ([ce99980](https://github.com/googleapis/google-api-nodejs-client/commit/ce99980e717cffd3c2cb50d3fd969c55f20b16b2))
25
+
26
+ ## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/spanner-v4.3.0...spanner-v5.0.0) (2024-03-12)
27
+
28
+
29
+ ### ⚠ BREAKING CHANGES
30
+
31
+ * This release has breaking changes.
32
+
33
+ ### Features
34
+
35
+ * run the generator ([#3434](https://github.com/googleapis/google-api-nodejs-client/issues/3434)) ([f0db524](https://github.com/googleapis/google-api-nodejs-client/commit/f0db524bb26f05cea3dec4c0ed66b496399e3857))
36
+
3
37
  ## [4.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/spanner-v4.2.0...spanner-v4.3.0) (2024-02-07)
4
38
 
5
39
 
package/build/v1.d.ts CHANGED
@@ -219,6 +219,10 @@ export declare namespace spanner_v1 {
219
219
  * The request for BatchWrite.
220
220
  */
221
221
  export interface Schema$BatchWriteRequest {
222
+ /**
223
+ * Optional. When `exclude_txn_from_change_streams` is set to `true`: * Mutations from all transactions in this batch write operation will not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Mutations from all transactions in this batch write operation will be recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
224
+ */
225
+ excludeTxnFromChangeStreams?: boolean | null;
222
226
  /**
223
227
  * Required. The groups of mutations to be applied.
224
228
  */
@@ -470,7 +474,7 @@ export declare namespace spanner_v1 {
470
474
  */
471
475
  extraStatements?: string[] | null;
472
476
  /**
473
- * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run """ $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto """ For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
477
+ * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
474
478
  */
475
479
  protoDescriptors?: string | null;
476
480
  }
@@ -520,6 +524,10 @@ export declare namespace spanner_v1 {
520
524
  * The time at which this operation failed or was completed successfully.
521
525
  */
522
526
  endTime?: string | null;
527
+ /**
528
+ * The expected fulfillment period of this create operation.
529
+ */
530
+ expectedFulfillmentPeriod?: string | null;
523
531
  /**
524
532
  * The instance being created.
525
533
  */
@@ -529,6 +537,40 @@ export declare namespace spanner_v1 {
529
537
  */
530
538
  startTime?: string | null;
531
539
  }
540
+ /**
541
+ * Metadata type for the operation returned by CreateInstancePartition.
542
+ */
543
+ export interface Schema$CreateInstancePartitionMetadata {
544
+ /**
545
+ * The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.
546
+ */
547
+ cancelTime?: string | null;
548
+ /**
549
+ * The time at which this operation failed or was completed successfully.
550
+ */
551
+ endTime?: string | null;
552
+ /**
553
+ * The instance partition being created.
554
+ */
555
+ instancePartition?: Schema$InstancePartition;
556
+ /**
557
+ * The time at which the CreateInstancePartition request was received.
558
+ */
559
+ startTime?: string | null;
560
+ }
561
+ /**
562
+ * The request for CreateInstancePartition.
563
+ */
564
+ export interface Schema$CreateInstancePartitionRequest {
565
+ /**
566
+ * Required. The instance partition to create. The instance_partition.name may be omitted, but if specified must be `/instancePartitions/`.
567
+ */
568
+ instancePartition?: Schema$InstancePartition;
569
+ /**
570
+ * Required. The ID of the instance partition to create. Valid identifiers are of the form `a-z*[a-z0-9]` and must be between 2 and 64 characters in length.
571
+ */
572
+ instancePartitionId?: string | null;
573
+ }
532
574
  /**
533
575
  * The request for CreateInstance.
534
576
  */
@@ -686,7 +728,7 @@ export declare namespace spanner_v1 {
686
728
  */
687
729
  export interface Schema$DirectedReadOptions {
688
730
  /**
689
- * Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
731
+ * Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
690
732
  */
691
733
  excludeReplicas?: Schema$ExcludeReplicas;
692
734
  /**
@@ -1090,6 +1132,55 @@ export declare namespace spanner_v1 {
1090
1132
  */
1091
1133
  startTime?: string | null;
1092
1134
  }
1135
+ /**
1136
+ * An isolated set of Cloud Spanner resources that databases can define placements on.
1137
+ */
1138
+ export interface Schema$InstancePartition {
1139
+ /**
1140
+ * Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.
1141
+ */
1142
+ config?: string | null;
1143
+ /**
1144
+ * Output only. The time at which the instance partition was created.
1145
+ */
1146
+ createTime?: string | null;
1147
+ /**
1148
+ * Required. The descriptive name for this instance partition as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
1149
+ */
1150
+ displayName?: string | null;
1151
+ /**
1152
+ * Used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance partition updates in order to avoid race conditions: An etag is returned in the response which contains instance partitions, and systems are expected to put that etag in the request to update instance partitions to ensure that their change will be applied to the same version of the instance partition. If no etag is provided in the call to update instance partition, then the existing instance partition is overwritten blindly.
1153
+ */
1154
+ etag?: string | null;
1155
+ /**
1156
+ * 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.
1157
+ */
1158
+ name?: string | null;
1159
+ /**
1160
+ * The number of nodes allocated to this instance partition. Users can set the node_count field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.
1161
+ */
1162
+ nodeCount?: number | null;
1163
+ /**
1164
+ * The number of processing units allocated to this instance partition. Users can set the processing_units field to specify the target number of processing units allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.
1165
+ */
1166
+ processingUnits?: number | null;
1167
+ /**
1168
+ * Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
1169
+ */
1170
+ referencingBackups?: string[] | null;
1171
+ /**
1172
+ * Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
1173
+ */
1174
+ referencingDatabases?: string[] | null;
1175
+ /**
1176
+ * Output only. The current instance partition state.
1177
+ */
1178
+ state?: string | null;
1179
+ /**
1180
+ * Output only. The time at which the instance partition was most recently updated.
1181
+ */
1182
+ updateTime?: string | null;
1183
+ }
1093
1184
  /**
1094
1185
  * KeyRange represents a range of rows in a table or index. A range has a start key and an end key. These keys can be open or closed, indicating if the range includes rows with that key. Keys are represented by lists, where the ith value in the list corresponds to the ith component of the table or index primary key. Individual values are encoded as described here. For example, consider the following table definition: CREATE TABLE UserEvents ( UserName STRING(MAX), EventDate STRING(10) ) PRIMARY KEY(UserName, EventDate); The following keys name rows in this table: "Bob", "2014-09-23" Since the `UserEvents` table's `PRIMARY KEY` clause names two columns, each `UserEvents` key has two elements; the first is the `UserName`, and the second is the `EventDate`. Key ranges with multiple components are interpreted lexicographically by component using the table or index key's declared sort order. For example, the following range returns all events for user `"Bob"` that occurred in the year 2015: "start_closed": ["Bob", "2015-01-01"] "end_closed": ["Bob", "2015-12-31"] Start and end keys can omit trailing key components. This affects the inclusion and exclusion of rows that exactly match the provided key components: if the key is closed, then rows that exactly match the provided components are included; if the key is open, then rows that exactly match are not included. For example, the following range includes all events for `"Bob"` that occurred during and after the year 2000: "start_closed": ["Bob", "2000-01-01"] "end_closed": ["Bob"] The next example retrieves all events for `"Bob"`: "start_closed": ["Bob"] "end_closed": ["Bob"] To retrieve events before the year 2000: "start_closed": ["Bob"] "end_open": ["Bob", "2000-01-01"] The following range includes all rows in the table: "start_closed": [] "end_closed": [] This range returns all users whose `UserName` begins with any character from A to C: "start_closed": ["A"] "end_open": ["D"] This range returns all users whose `UserName` begins with B: "start_closed": ["B"] "end_open": ["C"] Key ranges honor column sort order. For example, suppose a table is defined as follows: CREATE TABLE DescendingSortedTable { Key INT64, ... ) PRIMARY KEY(Key DESC); The following range retrieves all rows with key values between 1 and 100 inclusive: "start_closed": ["100"] "end_closed": ["1"] Note that 100 is passed as the start, and 1 is passed as the end, because `Key` is a descending column in the schema.
1095
1186
  */
@@ -1273,6 +1364,40 @@ export declare namespace spanner_v1 {
1273
1364
  */
1274
1365
  nextPageToken?: string | null;
1275
1366
  }
1367
+ /**
1368
+ * The response for ListInstancePartitionOperations.
1369
+ */
1370
+ export interface Schema$ListInstancePartitionOperationsResponse {
1371
+ /**
1372
+ * `next_page_token` can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.
1373
+ */
1374
+ nextPageToken?: string | null;
1375
+ /**
1376
+ * The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
1377
+ */
1378
+ operations?: Schema$Operation[];
1379
+ /**
1380
+ * The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within instance_partition_deadline.
1381
+ */
1382
+ unreachableInstancePartitions?: string[] | null;
1383
+ }
1384
+ /**
1385
+ * The response for ListInstancePartitions.
1386
+ */
1387
+ export interface Schema$ListInstancePartitionsResponse {
1388
+ /**
1389
+ * The list of requested instancePartitions.
1390
+ */
1391
+ instancePartitions?: Schema$InstancePartition[];
1392
+ /**
1393
+ * `next_page_token` can be sent in a subsequent ListInstancePartitions call to fetch more of the matching instance partitions.
1394
+ */
1395
+ nextPageToken?: string | null;
1396
+ /**
1397
+ * The list of unreachable instance partitions. It includes the names of instance partitions whose metadata could not be retrieved within instance_partition_deadline.
1398
+ */
1399
+ unreachable?: string[] | null;
1400
+ }
1276
1401
  /**
1277
1402
  * The response for ListInstances.
1278
1403
  */
@@ -1855,7 +1980,7 @@ export declare namespace spanner_v1 {
1855
1980
  type?: string | null;
1856
1981
  }
1857
1982
  /**
1858
- * The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --\> The "us-east1" replica(s) of any available type will be used to process the request. * `type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in nearest . available location will be used to process the request. * `location:us-east1 type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in location "us-east1" will be used to process the request.
1983
+ * The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --\> The "us-east1" replica(s) of any available type will be used to process the request. * `type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in nearest available location will be used to process the request. * `location:us-east1 type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in location "us-east1" will be used to process the request.
1859
1984
  */
1860
1985
  export interface Schema$ReplicaSelection {
1861
1986
  /**
@@ -2088,6 +2213,10 @@ export declare namespace spanner_v1 {
2088
2213
  labels?: {
2089
2214
  [key: string]: string;
2090
2215
  } | null;
2216
+ /**
2217
+ * Optional. If true, specifies a multiplexed session. A multiplexed session may be used for multiple, concurrent read-only operations but can not be used for read-write transactions, partitioned reads, or partitioned queries. Multiplexed sessions can be created via CreateSession but not via BatchCreateSessions. Multiplexed sessions may not be deleted nor listed.
2218
+ */
2219
+ multiplexed?: boolean | null;
2091
2220
  /**
2092
2221
  * Output only. The name of the session. This is always system-assigned.
2093
2222
  */
@@ -2201,6 +2330,10 @@ export declare namespace spanner_v1 {
2201
2330
  * Transactions: Each session can have at most one active transaction at a time (note that standalone reads and queries use a transaction internally and do count towards the one transaction limit). After the active transaction is completed, the session can immediately be re-used for the next transaction. It is not necessary to create a new session for each transaction. Transaction modes: Cloud Spanner supports three transaction modes: 1. Locking read-write. This type of transaction is the only way to write data into Cloud Spanner. These transactions rely on pessimistic locking and, if necessary, two-phase commit. Locking read-write transactions may abort, requiring the application to retry. 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed consistency across several reads, but do not allow writes. Snapshot read-only transactions can be configured to read at timestamps in the past, or configured to perform a strong read (where Spanner will select a timestamp such that the read is guaranteed to see the effects of all transactions that have committed before the start of the read). Snapshot read-only transactions do not need to be committed. Queries on change streams must be performed with the snapshot read-only transaction mode, specifying a strong read. Please see TransactionOptions.ReadOnly.strong for more details. 3. Partitioned DML. This type of transaction is used to execute a single Partitioned DML statement. Partitioned DML partitions the key space and runs the DML statement over each partition in parallel using separate, internal transactions that commit independently. Partitioned DML transactions do not need to be committed. For transactions that only read, snapshot read-only transactions provide simpler semantics and are almost always faster. In particular, read-only transactions do not take locks, so they do not conflict with read-write transactions. As a consequence of not taking locks, they also do not abort, so retry loops are not needed. Transactions may only read-write data in a single database. They may, however, read-write data in different tables within that database. Locking read-write transactions: Locking transactions may be used to atomically read-modify-write data anywhere in a database. This type of transaction is externally consistent. Clients should attempt to minimize the amount of time a transaction is active. Faster transactions commit with higher probability and cause less contention. Cloud Spanner attempts to keep read locks active as long as the transaction continues to do reads, and the transaction has not been terminated by Commit or Rollback. Long periods of inactivity at the client may cause Cloud Spanner to release a transaction's locks and abort it. Conceptually, a read-write transaction consists of zero or more reads or SQL statements followed by Commit. At any time before Commit, the client can send a Rollback request to abort the transaction. Semantics: Cloud Spanner can commit the transaction if all read locks it acquired are still valid at commit time, and it is able to acquire write locks for all writes. Cloud Spanner can abort the transaction for any reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees that the transaction has not modified any user data in Cloud Spanner. Unless the transaction commits, Cloud Spanner makes no guarantees about how long the transaction's locks were held for. It is an error to use Cloud Spanner locks for any sort of mutual exclusion other than between Cloud Spanner transactions themselves. Retrying aborted transactions: When a transaction aborts, the application can choose to retry the whole transaction again. To maximize the chances of successfully committing the retry, the client should execute the retry in the same session as the original attempt. The original session's lock priority increases with each consecutive abort, meaning that each attempt has a slightly better chance of success than the previous. Under some circumstances (for example, many transactions attempting to modify the same row(s)), a transaction can abort many times in a short period before successfully committing. Thus, it is not a good idea to cap the number of retries a transaction can attempt; instead, it is better to limit the total amount of time spent retrying. Idle transactions: A transaction is considered idle if it has no outstanding reads or SQL queries and has not started a read or SQL query within the last 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don't hold on to locks indefinitely. If an idle transaction is aborted, the commit will fail with error `ABORTED`. If this behavior is undesirable, periodically executing a simple SQL query in the transaction (for example, `SELECT 1`) prevents the transaction from becoming idle. Snapshot read-only transactions: Snapshot read-only transactions provides a simpler method than locking read-write transactions for doing several consistent reads. However, this type of transaction does not support writes. Snapshot transactions do not take locks. Instead, they work by choosing a Cloud Spanner timestamp, then executing all reads at that timestamp. Since they do not acquire locks, they do not block concurrent read-write transactions. Unlike locking read-write transactions, snapshot read-only transactions never abort. They can fail if the chosen read timestamp is garbage collected; however, the default garbage collection policy is generous enough that most applications do not need to worry about this in practice. Snapshot read-only transactions do not need to call Commit or Rollback (and in fact are not permitted to do so). To execute a snapshot transaction, the client specifies a timestamp bound, which tells Cloud Spanner how to choose a read timestamp. The types of timestamp bound are: - Strong (the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read is geographically distributed, stale read-only transactions can execute more quickly than strong or read-write transactions, because they are able to execute far from the leader replica. Each type of timestamp bound is discussed in detail below. Strong: Strong reads are guaranteed to see the effects of all transactions that have committed before the start of the read. Furthermore, all rows yielded by a single read are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Strong reads are not repeatable: two consecutive strong read-only transactions might return inconsistent results if there are concurrent writes. If consistency across reads is required, the reads should be executed within a transaction or at an exact read timestamp. Queries on change streams (see below for more details) must also specify the strong read timestamp bound. See TransactionOptions.ReadOnly.strong. Exact staleness: These timestamp bounds execute reads at a user-specified timestamp. Reads at a timestamp are guaranteed to see a consistent prefix of the global transaction history: they observe modifications done by all transactions with a commit timestamp less than or equal to the read timestamp, and observe none of the modifications done by transactions with a larger commit timestamp. They will block until all conflicting transactions that may be assigned commit timestamps <= the read timestamp have finished. The timestamp can either be expressed as an absolute Cloud Spanner commit timestamp or a staleness relative to the current time. These modes do not require a "negotiation phase" to pick a timestamp. As a result, they execute slightly faster than the equivalent boundedly stale concurrency modes. On the other hand, boundedly stale reads usually return fresher results. See TransactionOptions.ReadOnly.read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded staleness: Bounded staleness modes allow Cloud Spanner to pick the read timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses the newest timestamp within the staleness bound that allows execution of the reads at the closest available replica without blocking. All rows yielded are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Boundedly stale reads are not repeatable: two stale reads, even if they use the same staleness bound, can execute at different timestamps and thus return inconsistent results. Boundedly stale reads execute in two phases: the first phase negotiates a timestamp among all replicas needed to serve the read. In the second phase, reads are executed at the negotiated timestamp. As a result of the two phase execution, bounded staleness reads are usually a little slower than comparable exact staleness reads. However, they are typically able to return fresher results, and are more likely to execute at the closest replica. Because the timestamp negotiation requires up-front knowledge of which rows will be read, it can only be used with single-use read-only transactions. See TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.min_read_timestamp. Old read timestamps and garbage collection: Cloud Spanner continuously garbage collects deleted and overwritten data in the background to reclaim storage space. This process is known as "version GC". By default, version GC reclaims versions after they are one hour old. Because of this, Cloud Spanner cannot perform reads at read timestamps more than one hour in the past. This restriction also applies to in-progress reads and/or SQL queries whose timestamp become too old while executing. Reads and SQL queries with too-old read timestamps fail with the error `FAILED_PRECONDITION`. You can configure and extend the `VERSION_RETENTION_PERIOD` of a database up to a period as long as one week, which allows Cloud Spanner to perform reads up to one week in the past. Querying change Streams: A Change Stream is a schema object that can be configured to watch data changes on the entire database, a set of tables, or a set of columns in a database. When a change stream is created, Spanner automatically defines a corresponding SQL Table-Valued Function (TVF) that can be used to query the change records in the associated change stream using the ExecuteStreamingSql API. The name of the TVF for a change stream is generated from the name of the change stream: READ_. All queries on change stream TVFs must be executed using the ExecuteStreamingSql API with a single-use read-only transaction with a strong read-only timestamp_bound. The change stream TVF allows users to specify the start_timestamp and end_timestamp for the time range of interest. All change records within the retention period is accessible using the strong read-only timestamp_bound. All other TransactionOptions are invalid for change stream queries. In addition, if TransactionOptions.read_only.return_read_timestamp is set to true, a special value of 2^63 - 2 will be returned in the Transaction message that describes the transaction, instead of a valid read timestamp. This special value should be discarded and not used for any subsequent queries. Please see https://cloud.google.com/spanner/docs/change-streams for more details on how to query the change stream TVFs. Partitioned DML transactions: Partitioned DML transactions are used to execute DML statements with a different execution strategy that provides different, and often better, scalability properties for large, table-wide operations than DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP workload, should prefer using ReadWrite transactions. Partitioned DML partitions the keyspace and runs the DML statement on each partition in separate, internal transactions. These transactions commit automatically when complete, and run independently from one another. To reduce lock contention, this execution strategy only acquires read locks on rows that match the WHERE clause of the statement. Additionally, the smaller per-partition transactions hold locks for less time. That said, Partitioned DML is not a drop-in replacement for standard DML used in ReadWrite transactions. - The DML statement must be fully-partitionable. Specifically, the statement must be expressible as the union of many statements which each access only a single row of the table. - The statement is not applied atomically to all rows of the table. Rather, the statement is applied atomically to partitions of the table, in independent transactions. Secondary index rows are updated atomically with the base table rows. - Partitioned DML does not guarantee exactly-once execution semantics against a partition. The statement will be applied at least once to each partition. It is strongly recommended that the DML statement should be idempotent to avoid unexpected results. For instance, it is potentially dangerous to run a statement such as `UPDATE table SET column = column + 1` as it could be run multiple times against some rows. - The partitions are committed automatically - there is no support for Commit or Rollback. If the call returns an error, or if the client issuing the ExecuteSql call dies, it is possible that some rows had the statement executed on them successfully. It is also possible that statement was never executed against other rows. - Partitioned DML transactions may only contain the execution of a single DML statement via ExecuteSql or ExecuteStreamingSql. - If any error is encountered during the execution of the partitioned DML operation (for instance, a UNIQUE INDEX violation, division by zero, or a value that cannot be stored due to schema constraints), then the operation is stopped at that point and an error is returned. It is possible that at this point, some partitions have been committed (or even committed multiple times), and other partitions have not been run at all. Given the above, Partitioned DML is good fit for large, database-wide, operations that are idempotent, such as deleting old rows from a very large table.
2202
2331
  */
2203
2332
  export interface Schema$TransactionOptions {
2333
+ /**
2334
+ * When `exclude_txn_from_change_streams` is set to `true`: * Mutations from this transaction will not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Mutations from this transaction will be recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, mutations from this transaction will be recorded in all change streams that are tracking columns modified by these transactions. `exclude_txn_from_change_streams` may only be specified for read-write or partitioned-dml transactions, otherwise the API will return an `INVALID_ARGUMENT` error.
2335
+ */
2336
+ excludeTxnFromChangeStreams?: boolean | null;
2204
2337
  /**
2205
2338
  * Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
2206
2339
  */
@@ -2294,7 +2427,7 @@ export declare namespace spanner_v1 {
2294
2427
  */
2295
2428
  operationId?: string | null;
2296
2429
  /**
2297
- * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run """ $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto """ For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
2430
+ * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
2298
2431
  */
2299
2432
  protoDescriptors?: string | null;
2300
2433
  /**
@@ -2378,6 +2511,10 @@ export declare namespace spanner_v1 {
2378
2511
  * The time at which this operation failed or was completed successfully.
2379
2512
  */
2380
2513
  endTime?: string | null;
2514
+ /**
2515
+ * The expected fulfillment period of this update operation.
2516
+ */
2517
+ expectedFulfillmentPeriod?: string | null;
2381
2518
  /**
2382
2519
  * The desired end state of the update.
2383
2520
  */
@@ -2387,6 +2524,40 @@ export declare namespace spanner_v1 {
2387
2524
  */
2388
2525
  startTime?: string | null;
2389
2526
  }
2527
+ /**
2528
+ * Metadata type for the operation returned by UpdateInstancePartition.
2529
+ */
2530
+ export interface Schema$UpdateInstancePartitionMetadata {
2531
+ /**
2532
+ * The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.
2533
+ */
2534
+ cancelTime?: string | null;
2535
+ /**
2536
+ * The time at which this operation failed or was completed successfully.
2537
+ */
2538
+ endTime?: string | null;
2539
+ /**
2540
+ * The desired end state of the update.
2541
+ */
2542
+ instancePartition?: Schema$InstancePartition;
2543
+ /**
2544
+ * The time at which UpdateInstancePartition request was received.
2545
+ */
2546
+ startTime?: string | null;
2547
+ }
2548
+ /**
2549
+ * The request for UpdateInstancePartition.
2550
+ */
2551
+ export interface Schema$UpdateInstancePartitionRequest {
2552
+ /**
2553
+ * Required. A mask specifying which fields in InstancePartition should be updated. The field mask must always be specified; this prevents any future fields in InstancePartition from being erased accidentally by clients that do not know about them.
2554
+ */
2555
+ fieldMask?: string | null;
2556
+ /**
2557
+ * Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.
2558
+ */
2559
+ instancePartition?: Schema$InstancePartition;
2560
+ }
2390
2561
  /**
2391
2562
  * The request for UpdateInstance.
2392
2563
  */
@@ -2835,6 +3006,7 @@ export declare namespace spanner_v1 {
2835
3006
  backups: Resource$Projects$Instances$Backups;
2836
3007
  databaseOperations: Resource$Projects$Instances$Databaseoperations;
2837
3008
  databases: Resource$Projects$Instances$Databases;
3009
+ instancePartitionOperations: Resource$Projects$Instances$Instancepartitionoperations;
2838
3010
  instancePartitions: Resource$Projects$Instances$Instancepartitions;
2839
3011
  operations: Resource$Projects$Instances$Operations;
2840
3012
  constructor(context: APIRequestContext);
@@ -4283,10 +4455,174 @@ export declare namespace spanner_v1 {
4283
4455
  */
4284
4456
  requestBody?: Schema$ReadRequest;
4285
4457
  }
4458
+ export class Resource$Projects$Instances$Instancepartitionoperations {
4459
+ context: APIRequestContext;
4460
+ constructor(context: APIRequestContext);
4461
+ /**
4462
+ * Lists instance partition long-running operations in the given instance. An instance partition operation has a name of the form `projects//instances//instancePartitions//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation. Authorization requires `spanner.instancePartitionOperations.list` permission on the resource parent.
4463
+ *
4464
+ * @param params - Parameters for request
4465
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4466
+ * @param callback - Optional callback that handles the response.
4467
+ * @returns A promise if used with async/await, or void if used with a callback.
4468
+ */
4469
+ list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4470
+ list(params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancePartitionOperationsResponse>;
4471
+ list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4472
+ list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
4473
+ list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
4474
+ list(callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
4475
+ }
4476
+ export interface Params$Resource$Projects$Instances$Instancepartitionoperations$List extends StandardParameters {
4477
+ /**
4478
+ * 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.
4479
+ */
4480
+ filter?: string;
4481
+ /**
4482
+ * Optional. Deadline used while retrieving metadata for instance partition operations. Instance partitions whose operation metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancePartitionOperationsResponse.
4483
+ */
4484
+ instancePartitionDeadline?: string;
4485
+ /**
4486
+ * Optional. Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
4487
+ */
4488
+ pageSize?: number;
4489
+ /**
4490
+ * Optional. If non-empty, `page_token` should contain a next_page_token from a previous ListInstancePartitionOperationsResponse to the same `parent` and with the same `filter`.
4491
+ */
4492
+ pageToken?: string;
4493
+ /**
4494
+ * Required. The parent instance of the instance partition operations. Values are of the form `projects//instances/`.
4495
+ */
4496
+ parent?: string;
4497
+ }
4286
4498
  export class Resource$Projects$Instances$Instancepartitions {
4287
4499
  context: APIRequestContext;
4288
4500
  operations: Resource$Projects$Instances$Instancepartitions$Operations;
4289
4501
  constructor(context: APIRequestContext);
4502
+ /**
4503
+ * Creates an instance partition and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance partition. The instance partition name is assigned by the caller. If the named instance partition already exists, `CreateInstancePartition` returns `ALREADY_EXISTS`. Immediately upon completion of this request: * The instance partition is readable via the API, with all requested attributes but no allocated resources. Its state is `CREATING`. Until completion of the returned operation: * Cancelling the operation renders the instance partition immediately unreadable via the API. * The instance partition can be deleted. * All other attempts to modify the instance partition are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can start using this instance partition. * The instance partition's allocated resource levels are readable via the API. * The instance partition's state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance partition. The metadata field type is CreateInstancePartitionMetadata. The response field type is InstancePartition, if successful.
4504
+ *
4505
+ * @param params - Parameters for request
4506
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4507
+ * @param callback - Optional callback that handles the response.
4508
+ * @returns A promise if used with async/await, or void if used with a callback.
4509
+ */
4510
+ create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
4511
+ create(params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4512
+ create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4513
+ create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4514
+ create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
4515
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
4516
+ /**
4517
+ * Deletes an existing instance partition. Requires that the instance partition is not used by any database or backup and is not the default instance partition of an instance. Authorization requires `spanner.instancePartitions.delete` permission on the resource name.
4518
+ *
4519
+ * @param params - Parameters for request
4520
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4521
+ * @param callback - Optional callback that handles the response.
4522
+ * @returns A promise if used with async/await, or void if used with a callback.
4523
+ */
4524
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4525
+ delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4526
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4527
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4528
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
4529
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
4530
+ /**
4531
+ * Gets information about a particular instance partition.
4532
+ *
4533
+ * @param params - Parameters for request
4534
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4535
+ * @param callback - Optional callback that handles the response.
4536
+ * @returns A promise if used with async/await, or void if used with a callback.
4537
+ */
4538
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4539
+ get(params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions): GaxiosPromise<Schema$InstancePartition>;
4540
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4541
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: MethodOptions | BodyResponseCallback<Schema$InstancePartition>, callback: BodyResponseCallback<Schema$InstancePartition>): void;
4542
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, callback: BodyResponseCallback<Schema$InstancePartition>): void;
4543
+ get(callback: BodyResponseCallback<Schema$InstancePartition>): void;
4544
+ /**
4545
+ * Lists all instance partitions for the given instance.
4546
+ *
4547
+ * @param params - Parameters for request
4548
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4549
+ * @param callback - Optional callback that handles the response.
4550
+ * @returns A promise if used with async/await, or void if used with a callback.
4551
+ */
4552
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4553
+ list(params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancePartitionsResponse>;
4554
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4555
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
4556
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$List, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
4557
+ list(callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
4558
+ /**
4559
+ * Updates an instance partition, and begins allocating or releasing resources as requested. The returned long-running operation can be used to track the progress of updating the instance partition. If the named instance partition does not exist, returns `NOT_FOUND`. Immediately upon completion of this request: * For resource types for which a decrease in the instance partition's allocation has been requested, billing is based on the newly-requested level. Until completion of the returned operation: * Cancelling the operation sets its metadata's cancel_time, and begins restoring resources to their pre-request values. The operation is guaranteed to succeed at undoing all resource changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance partition are rejected. * Reading the instance partition via the API continues to give the pre-request resource levels. Upon completion of the returned operation: * Billing begins for all successfully-allocated resources (some types may have lower than the requested levels). * All newly-reserved resources are available for serving the instance partition's tables. * The instance partition's new resource levels are readable via the API. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance partition modification. The metadata field type is UpdateInstancePartitionMetadata. The response field type is InstancePartition, if successful. Authorization requires `spanner.instancePartitions.update` permission on the resource name.
4560
+ *
4561
+ * @param params - Parameters for request
4562
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4563
+ * @param callback - Optional callback that handles the response.
4564
+ * @returns A promise if used with async/await, or void if used with a callback.
4565
+ */
4566
+ patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
4567
+ patch(params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4568
+ patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4569
+ patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4570
+ patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
4571
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
4572
+ }
4573
+ export interface Params$Resource$Projects$Instances$Instancepartitions$Create extends StandardParameters {
4574
+ /**
4575
+ * Required. The name of the instance in which to create the instance partition. Values are of the form `projects//instances/`.
4576
+ */
4577
+ parent?: string;
4578
+ /**
4579
+ * Request body metadata
4580
+ */
4581
+ requestBody?: Schema$CreateInstancePartitionRequest;
4582
+ }
4583
+ export interface Params$Resource$Projects$Instances$Instancepartitions$Delete extends StandardParameters {
4584
+ /**
4585
+ * 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.
4586
+ */
4587
+ etag?: string;
4588
+ /**
4589
+ * Required. The name of the instance partition to be deleted. Values are of the form `projects/{project\}/instances/{instance\}/instancePartitions/{instance_partition\}`
4590
+ */
4591
+ name?: string;
4592
+ }
4593
+ export interface Params$Resource$Projects$Instances$Instancepartitions$Get extends StandardParameters {
4594
+ /**
4595
+ * Required. The name of the requested instance partition. Values are of the form `projects/{project\}/instances/{instance\}/instancePartitions/{instance_partition\}`.
4596
+ */
4597
+ name?: string;
4598
+ }
4599
+ export interface Params$Resource$Projects$Instances$Instancepartitions$List extends StandardParameters {
4600
+ /**
4601
+ * 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.
4602
+ */
4603
+ instancePartitionDeadline?: string;
4604
+ /**
4605
+ * Number of instance partitions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
4606
+ */
4607
+ pageSize?: number;
4608
+ /**
4609
+ * If non-empty, `page_token` should contain a next_page_token from a previous ListInstancePartitionsResponse.
4610
+ */
4611
+ pageToken?: string;
4612
+ /**
4613
+ * Required. The instance whose instance partitions should be listed. Values are of the form `projects//instances/`.
4614
+ */
4615
+ parent?: string;
4616
+ }
4617
+ export interface Params$Resource$Projects$Instances$Instancepartitions$Patch extends StandardParameters {
4618
+ /**
4619
+ * 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.
4620
+ */
4621
+ name?: string;
4622
+ /**
4623
+ * Request body metadata
4624
+ */
4625
+ requestBody?: Schema$UpdateInstancePartitionRequest;
4290
4626
  }
4291
4627
  export class Resource$Projects$Instances$Instancepartitions$Operations {
4292
4628
  context: APIRequestContext;