@maxim_mazurok/gapi.client.spanner-v1 0.37.20260122 → 0.37.20260123
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 +4 -20
- 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: 20260123
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -78,12 +78,6 @@ 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;
|
|
87
81
|
}
|
|
88
82
|
interface AutoscalingLimits {
|
|
89
83
|
/** Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes. */
|
|
@@ -96,12 +90,10 @@ declare namespace gapi.client {
|
|
|
96
90
|
minProcessingUnits?: number;
|
|
97
91
|
}
|
|
98
92
|
interface AutoscalingTargets {
|
|
99
|
-
/**
|
|
93
|
+
/** Required. 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. */
|
|
100
94
|
highPriorityCpuUtilizationPercent?: number;
|
|
101
95
|
/** 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. */
|
|
102
96
|
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;
|
|
105
97
|
}
|
|
106
98
|
interface Backup {
|
|
107
99
|
/** 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. */
|
|
@@ -128,8 +120,6 @@ declare namespace gapi.client {
|
|
|
128
120
|
instancePartitions?: BackupInstancePartition[];
|
|
129
121
|
/** 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`. */
|
|
130
122
|
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;
|
|
133
123
|
/** 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/`. */
|
|
134
124
|
name?: string;
|
|
135
125
|
/** 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. */
|
|
@@ -257,10 +247,6 @@ declare namespace gapi.client {
|
|
|
257
247
|
/** 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. */
|
|
258
248
|
variable?: string;
|
|
259
249
|
}
|
|
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
|
-
}
|
|
264
250
|
interface ColumnMetadata {
|
|
265
251
|
/** Indicates whether the column is a primary key column. */
|
|
266
252
|
isPrimaryKey?: boolean;
|
|
@@ -1097,9 +1083,9 @@ declare namespace gapi.client {
|
|
|
1097
1083
|
partitionSizeBytes?: string;
|
|
1098
1084
|
}
|
|
1099
1085
|
interface PartitionQueryRequest {
|
|
1100
|
-
/**
|
|
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. */
|
|
1101
1087
|
params?: {[P in string]: any};
|
|
1102
|
-
/**
|
|
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. */
|
|
1103
1089
|
paramTypes?: {[P in string]: Type};
|
|
1104
1090
|
/** Additional options that affect how many partitions are created. */
|
|
1105
1091
|
partitionOptions?: PartitionOptions;
|
|
@@ -1275,8 +1261,6 @@ declare namespace gapi.client {
|
|
|
1275
1261
|
type?: string;
|
|
1276
1262
|
}
|
|
1277
1263
|
interface RequestOptions {
|
|
1278
|
-
/** Optional. Optional context that may be needed for some requests. */
|
|
1279
|
-
clientContext?: ClientContext;
|
|
1280
1264
|
/** Priority for the request. */
|
|
1281
1265
|
priority?: string;
|
|
1282
1266
|
/** 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. */
|