@googleapis/sqladmin 35.1.0 → 36.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 +21 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +53 -12
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +47 -12
- package/build/v1beta4.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +53 -12
- package/v1beta4.ts +47 -12
package/v1beta4.ts
CHANGED
|
@@ -553,6 +553,14 @@ export namespace sqladmin_v1beta4 {
|
|
|
553
553
|
* Name of the Cloud SQL instance to be created as a clone.
|
|
554
554
|
*/
|
|
555
555
|
destinationInstanceName?: string | null;
|
|
556
|
+
/**
|
|
557
|
+
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via Private Services Access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.
|
|
558
|
+
*/
|
|
559
|
+
destinationNetwork?: string | null;
|
|
560
|
+
/**
|
|
561
|
+
* Optional. The project ID of the destination project where the cloned instance will be created. To perform a cross-project clone, this field is required. If not specified, the clone is created in the same project as the source instance.
|
|
562
|
+
*/
|
|
563
|
+
destinationProject?: string | null;
|
|
556
564
|
/**
|
|
557
565
|
* This is always `sql#cloneContext`.
|
|
558
566
|
*/
|
|
@@ -2208,31 +2216,31 @@ export namespace sqladmin_v1beta4 {
|
|
|
2208
2216
|
reuseInterval?: number | null;
|
|
2209
2217
|
}
|
|
2210
2218
|
/**
|
|
2211
|
-
* Performance
|
|
2219
|
+
* Performance capture configuration.
|
|
2212
2220
|
*/
|
|
2213
2221
|
export interface Schema$PerformanceCaptureConfig {
|
|
2214
2222
|
/**
|
|
2215
|
-
* Optional.
|
|
2223
|
+
* Optional. Enables or disables the performance capture feature.
|
|
2216
2224
|
*/
|
|
2217
2225
|
enabled?: boolean | null;
|
|
2218
2226
|
/**
|
|
2219
|
-
* Optional.
|
|
2227
|
+
* Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
|
|
2220
2228
|
*/
|
|
2221
2229
|
probeThreshold?: number | null;
|
|
2222
2230
|
/**
|
|
2223
|
-
* Optional.
|
|
2231
|
+
* Optional. Specifies the interval in seconds between consecutive probes that check if any trigger condition thresholds have been reached.
|
|
2224
2232
|
*/
|
|
2225
2233
|
probingIntervalSeconds?: number | null;
|
|
2226
2234
|
/**
|
|
2227
|
-
* Optional.
|
|
2235
|
+
* Optional. Specifies the minimum number of MySQL `Threads_running` to trigger the performance capture on the primary instance.
|
|
2228
2236
|
*/
|
|
2229
2237
|
runningThreadsThreshold?: number | null;
|
|
2230
2238
|
/**
|
|
2231
|
-
* Optional.
|
|
2239
|
+
* Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
|
|
2232
2240
|
*/
|
|
2233
2241
|
secondsBehindSourceThreshold?: number | null;
|
|
2234
2242
|
/**
|
|
2235
|
-
* Optional.
|
|
2243
|
+
* Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
|
|
2236
2244
|
*/
|
|
2237
2245
|
transactionDurationThreshold?: number | null;
|
|
2238
2246
|
}
|
|
@@ -2273,10 +2281,22 @@ export namespace sqladmin_v1beta4 {
|
|
|
2273
2281
|
* Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`.
|
|
2274
2282
|
*/
|
|
2275
2283
|
privateNetwork?: string | null;
|
|
2284
|
+
/**
|
|
2285
|
+
* Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".
|
|
2286
|
+
*/
|
|
2287
|
+
region?: string | null;
|
|
2276
2288
|
/**
|
|
2277
2289
|
* Target instance name.
|
|
2278
2290
|
*/
|
|
2279
2291
|
targetInstance?: string | null;
|
|
2292
|
+
/**
|
|
2293
|
+
* Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.
|
|
2294
|
+
*/
|
|
2295
|
+
targetInstanceClearSettingsFieldNames?: string[] | null;
|
|
2296
|
+
/**
|
|
2297
|
+
* Optional. Specifies the instance settings that will be overridden from the source instance. This field is only applicable for cross project PITRs.
|
|
2298
|
+
*/
|
|
2299
|
+
targetInstanceSettings?: Schema$DatabaseInstance;
|
|
2280
2300
|
}
|
|
2281
2301
|
/**
|
|
2282
2302
|
* Details of a single read pool node of a read pool.
|
|
@@ -2390,10 +2410,18 @@ export namespace sqladmin_v1beta4 {
|
|
|
2390
2410
|
* Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
|
|
2391
2411
|
*/
|
|
2392
2412
|
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
2413
|
+
/**
|
|
2414
|
+
* Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.
|
|
2415
|
+
*/
|
|
2416
|
+
pscAutoDnsEnabled?: boolean | null;
|
|
2393
2417
|
/**
|
|
2394
2418
|
* Whether PSC connectivity is enabled for this instance.
|
|
2395
2419
|
*/
|
|
2396
2420
|
pscEnabled?: boolean | null;
|
|
2421
|
+
/**
|
|
2422
|
+
* Optional. Indicates whether PSC write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect (PSC) auto-connections that always points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new enterprise plus instances when `psc_auto_dns_enabled` is enabled.
|
|
2423
|
+
*/
|
|
2424
|
+
pscWriteEndpointDnsEnabled?: boolean | null;
|
|
2397
2425
|
}
|
|
2398
2426
|
/**
|
|
2399
2427
|
* QueryResult contains the result of executing a single SQL statement.
|
|
@@ -2583,6 +2611,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2583
2611
|
* Database instance settings.
|
|
2584
2612
|
*/
|
|
2585
2613
|
export interface Schema$Settings {
|
|
2614
|
+
/**
|
|
2615
|
+
* Optional. Configures whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
|
|
2616
|
+
*/
|
|
2617
|
+
acceleratedReplicaMode?: boolean | null;
|
|
2586
2618
|
/**
|
|
2587
2619
|
* The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
|
|
2588
2620
|
*/
|
|
@@ -7321,7 +7353,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7321
7353
|
* const res = await sql.instances.clone({
|
|
7322
7354
|
* // The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
|
|
7323
7355
|
* instance: 'placeholder-value',
|
|
7324
|
-
* // Project ID of the source
|
|
7356
|
+
* // Project ID of the source Cloud SQL instance.
|
|
7325
7357
|
* project: 'placeholder-value',
|
|
7326
7358
|
*
|
|
7327
7359
|
* // Request body metadata
|
|
@@ -9898,7 +9930,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
9898
9930
|
* // "preferredSecondaryZone": "my_preferredSecondaryZone",
|
|
9899
9931
|
* // "preferredZone": "my_preferredZone",
|
|
9900
9932
|
* // "privateNetwork": "my_privateNetwork",
|
|
9901
|
-
* // "
|
|
9933
|
+
* // "region": "my_region",
|
|
9934
|
+
* // "targetInstance": "my_targetInstance",
|
|
9935
|
+
* // "targetInstanceClearSettingsFieldNames": [],
|
|
9936
|
+
* // "targetInstanceSettings": {}
|
|
9902
9937
|
* // }
|
|
9903
9938
|
* },
|
|
9904
9939
|
* });
|
|
@@ -12609,7 +12644,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
12609
12644
|
*/
|
|
12610
12645
|
instance?: string;
|
|
12611
12646
|
/**
|
|
12612
|
-
* Project ID of the source
|
|
12647
|
+
* Project ID of the source Cloud SQL instance.
|
|
12613
12648
|
*/
|
|
12614
12649
|
project?: string;
|
|
12615
12650
|
|
|
@@ -16497,7 +16532,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
16497
16532
|
* name: 'placeholder-value',
|
|
16498
16533
|
* // Project ID of the project that contains the instance.
|
|
16499
16534
|
* project: 'placeholder-value',
|
|
16500
|
-
* // Optional. revoke the
|
|
16535
|
+
* // Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
|
|
16501
16536
|
* revokeExistingRoles: 'placeholder-value',
|
|
16502
16537
|
*
|
|
16503
16538
|
* // Request body metadata
|
|
@@ -16726,7 +16761,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
16726
16761
|
*/
|
|
16727
16762
|
project?: string;
|
|
16728
16763
|
/**
|
|
16729
|
-
* Optional. revoke the
|
|
16764
|
+
* Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
|
|
16730
16765
|
*/
|
|
16731
16766
|
revokeExistingRoles?: boolean;
|
|
16732
16767
|
|