@maxim_mazurok/gapi.client.spanner-v1 0.37.20260109 → 0.37.20260122
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 +20 -4
- 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: 20260122
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -78,6 +78,12 @@ declare namespace gapi.client {
|
|
|
78
78
|
autoscalingLimits?: AutoscalingLimits;
|
|
79
79
|
/** Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas. */
|
|
80
80
|
autoscalingTargetHighPriorityCpuUtilizationPercent?: number;
|
|
81
|
+
/** Optional. If specified, overrides the autoscaling target `total_cpu_utilization_percent` in the top-level autoscaling configuration for the selected replicas. */
|
|
82
|
+
autoscalingTargetTotalCpuUtilizationPercent?: number;
|
|
83
|
+
/** Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported. */
|
|
84
|
+
disableHighPriorityCpuAutoscaling?: boolean;
|
|
85
|
+
/** Optional. If true, disables total CPU autoscaling for the selected replicas and ignores total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported. */
|
|
86
|
+
disableTotalCpuAutoscaling?: boolean;
|
|
81
87
|
}
|
|
82
88
|
interface AutoscalingLimits {
|
|
83
89
|
/** Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes. */
|
|
@@ -90,10 +96,12 @@ declare namespace gapi.client {
|
|
|
90
96
|
minProcessingUnits?: number;
|
|
91
97
|
}
|
|
92
98
|
interface AutoscalingTargets {
|
|
93
|
-
/**
|
|
99
|
+
/** Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization. */
|
|
94
100
|
highPriorityCpuUtilizationPercent?: number;
|
|
95
101
|
/** Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive. */
|
|
96
102
|
storageUtilizationPercent?: number;
|
|
103
|
+
/** Optional. The target total CPU utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on total CPU utilization. If both `high_priority_cpu_utilization_percent` and `total_cpu_utilization_percent` are specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets. */
|
|
104
|
+
totalCpuUtilizationPercent?: number;
|
|
97
105
|
}
|
|
98
106
|
interface Backup {
|
|
99
107
|
/** Output only. List of backup schedule URIs that are associated with creating this backup. This is only applicable for scheduled backups, and is empty for on-demand backups. To optimize for storage, whenever possible, multiple schedules are collapsed together to create one backup. In such cases, this field captures the list of all backup schedule URIs that are associated with creating this backup. If collapsing is not done, then this field captures the single backup schedule URI associated with creating this backup. */
|
|
@@ -120,6 +128,8 @@ declare namespace gapi.client {
|
|
|
120
128
|
instancePartitions?: BackupInstancePartition[];
|
|
121
129
|
/** Output only. The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than `Backup.max_expire_time`. */
|
|
122
130
|
maxExpireTime?: string;
|
|
131
|
+
/** Output only. The minimum edition required to successfully restore the backup. Populated only if the edition is Enterprise or Enterprise Plus. */
|
|
132
|
+
minimumRestorableEdition?: string;
|
|
123
133
|
/** 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/`. */
|
|
124
134
|
name?: string;
|
|
125
135
|
/** Output only. Data deleted at a time older than this is guaranteed not to be retained in order to support this backup. For a backup in an incremental backup chain, this is the version time of the oldest backup that exists or ever existed in the chain. For all other backups, this is the version time of the backup. This field can be used to understand what data is being retained by the backup system. */
|
|
@@ -247,6 +257,10 @@ declare namespace gapi.client {
|
|
|
247
257
|
/** Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a `TableScan` operator that reads rows from a table will have child links to the `SCALAR` nodes representing the output variables created for each column that is read by the operator. The corresponding `variable` fields will be set to the variable names assigned to the columns. */
|
|
248
258
|
variable?: string;
|
|
249
259
|
}
|
|
260
|
+
interface ClientContext {
|
|
261
|
+
/** Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views). */
|
|
262
|
+
secureContext?: {[P in string]: any};
|
|
263
|
+
}
|
|
250
264
|
interface ColumnMetadata {
|
|
251
265
|
/** Indicates whether the column is a primary key column. */
|
|
252
266
|
isPrimaryKey?: boolean;
|
|
@@ -1083,9 +1097,9 @@ declare namespace gapi.client {
|
|
|
1083
1097
|
partitionSizeBytes?: string;
|
|
1084
1098
|
}
|
|
1085
1099
|
interface PartitionQueryRequest {
|
|
1086
|
-
/** Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters. */
|
|
1100
|
+
/** Optional. Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters. */
|
|
1087
1101
|
params?: {[P in string]: any};
|
|
1088
|
-
/** It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types. */
|
|
1102
|
+
/** Optional. It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types. */
|
|
1089
1103
|
paramTypes?: {[P in string]: Type};
|
|
1090
1104
|
/** Additional options that affect how many partitions are created. */
|
|
1091
1105
|
partitionOptions?: PartitionOptions;
|
|
@@ -1261,6 +1275,8 @@ declare namespace gapi.client {
|
|
|
1261
1275
|
type?: string;
|
|
1262
1276
|
}
|
|
1263
1277
|
interface RequestOptions {
|
|
1278
|
+
/** Optional. Optional context that may be needed for some requests. */
|
|
1279
|
+
clientContext?: ClientContext;
|
|
1264
1280
|
/** Priority for the request. */
|
|
1265
1281
|
priority?: string;
|
|
1266
1282
|
/** A per-request tag which can be applied to queries or reads, used for statistics collection. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. This field is ignored for requests where it's not applicable (for example, `CommitRequest`). Legal characters for `request_tag` values are all printable characters (ASCII 32 - 126) and the length of a request_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string. */
|