@maxim_mazurok/gapi.client.spanner-v1 0.0.20240607 → 0.0.20240628
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/index.d.ts +12 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://spanner.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240628
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -299,7 +299,7 @@ declare namespace gapi.client {
|
|
|
299
299
|
defaultLeader?: string;
|
|
300
300
|
/** Output only. Earliest timestamp at which older versions of the data can be read. This value is continuously updated by Cloud Spanner and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery. */
|
|
301
301
|
earliestVersionTime?: string;
|
|
302
|
-
/** Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion). */
|
|
302
|
+
/** Optional. Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion). */
|
|
303
303
|
enableDropProtection?: boolean;
|
|
304
304
|
/** Output only. For databases that are using customer managed encryption, this field contains the encryption configuration for the database. For databases that are using Google default or other types of encryption, this field is empty. */
|
|
305
305
|
encryptionConfig?: EncryptionConfig;
|
|
@@ -523,7 +523,7 @@ declare namespace gapi.client {
|
|
|
523
523
|
labels?: {[P in string]: string};
|
|
524
524
|
/** Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration. */
|
|
525
525
|
leaderOptions?: string[];
|
|
526
|
-
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. */
|
|
526
|
+
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`. */
|
|
527
527
|
name?: string;
|
|
528
528
|
/** Output only. The available optional replicas to choose from for user managed configurations. Populated for Google managed configurations. */
|
|
529
529
|
optionalReplicas?: ReplicaInfo[];
|
|
@@ -531,7 +531,7 @@ declare namespace gapi.client {
|
|
|
531
531
|
quorumType?: string;
|
|
532
532
|
/** Output only. If true, the instance config is being created or updated. If false, there are no ongoing operations for the instance config. */
|
|
533
533
|
reconciling?: boolean;
|
|
534
|
-
/** The geographic placement of nodes in this instance configuration and their replication properties. */
|
|
534
|
+
/** The geographic placement of nodes in this instance configuration and their replication properties. To create user managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`. */
|
|
535
535
|
replicas?: ReplicaInfo[];
|
|
536
536
|
/** Output only. The current instance config state. Applicable only for USER_MANAGED configs. */
|
|
537
537
|
state?: string;
|
|
@@ -936,6 +936,10 @@ declare namespace gapi.client {
|
|
|
936
936
|
keySet?: KeySet;
|
|
937
937
|
/** If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit cannot be specified if `partition_token` is set. */
|
|
938
938
|
limit?: string;
|
|
939
|
+
/** Optional. Lock Hint for the request, it can only be used with read-write transactions. */
|
|
940
|
+
lockHint?: string;
|
|
941
|
+
/** Optional. Order for the returned rows. By default, Spanner will return result rows in primary key order except for PartitionRead requests. For applications that do not require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (e.g. bulk point lookups). */
|
|
942
|
+
orderBy?: string;
|
|
939
943
|
/** If present, results will be restricted to the specified partition previously created using PartitionRead(). There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token. */
|
|
940
944
|
partitionToken?: string;
|
|
941
945
|
/** Common options for this request. */
|
|
@@ -1068,7 +1072,7 @@ declare namespace gapi.client {
|
|
|
1068
1072
|
creatorRole?: string;
|
|
1069
1073
|
/** The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels. */
|
|
1070
1074
|
labels?: {[P in string]: string};
|
|
1071
|
-
/** Optional. If true, specifies a multiplexed session.
|
|
1075
|
+
/** Optional. If true, specifies a multiplexed session. Use a multiplexed session for multiple, concurrent read-only operations. Don't use them for read-write transactions, partitioned reads, or partitioned queries. Use CreateSession to create multiplexed sessions. Don't use BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed sessions. */
|
|
1072
1076
|
multiplexed?: boolean;
|
|
1073
1077
|
/** Output only. The name of the session. This is always system-assigned. */
|
|
1074
1078
|
name?: string;
|
|
@@ -1654,7 +1658,7 @@ declare namespace gapi.client {
|
|
|
1654
1658
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1655
1659
|
uploadType?: string;
|
|
1656
1660
|
}): Request<InstanceConfig>;
|
|
1657
|
-
/** Lists the supported instance configurations for a given project. */
|
|
1661
|
+
/** Lists the supported instance configurations for a given project. Returns both Google managed configs and user managed configs. */
|
|
1658
1662
|
list(request?: {
|
|
1659
1663
|
/** V1 error format. */
|
|
1660
1664
|
'$.xgafv'?: string;
|
|
@@ -1699,7 +1703,7 @@ declare namespace gapi.client {
|
|
|
1699
1703
|
fields?: string;
|
|
1700
1704
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1701
1705
|
key?: string;
|
|
1702
|
-
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. */
|
|
1706
|
+
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`. */
|
|
1703
1707
|
name: string;
|
|
1704
1708
|
/** OAuth 2.0 token for the current user. */
|
|
1705
1709
|
oauth_token?: string;
|
|
@@ -1728,7 +1732,7 @@ declare namespace gapi.client {
|
|
|
1728
1732
|
fields?: string;
|
|
1729
1733
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1730
1734
|
key?: string;
|
|
1731
|
-
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. */
|
|
1735
|
+
/** A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`. */
|
|
1732
1736
|
name: string;
|
|
1733
1737
|
/** OAuth 2.0 token for the current user. */
|
|
1734
1738
|
oauth_token?: string;
|