@googleapis/sqladmin 34.2.1 → 35.1.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 +18 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +151 -3
- package/build/v1.js +33 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +57 -18
- package/build/v1beta4.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +230 -3
- package/v1beta4.ts +57 -18
package/v1.ts
CHANGED
|
@@ -1118,9 +1118,13 @@ export namespace sqladmin_v1 {
|
|
|
1118
1118
|
*/
|
|
1119
1119
|
dnsScope?: string | null;
|
|
1120
1120
|
/**
|
|
1121
|
-
* The DNS name.
|
|
1121
|
+
* Output only. The DNS name.
|
|
1122
1122
|
*/
|
|
1123
1123
|
name?: string | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Output only. The manager for this DNS record.
|
|
1126
|
+
*/
|
|
1127
|
+
recordManager?: string | null;
|
|
1124
1128
|
}
|
|
1125
1129
|
/**
|
|
1126
1130
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
@@ -1130,6 +1134,10 @@ export namespace sqladmin_v1 {
|
|
|
1130
1134
|
* The request payload used to execute SQL statements.
|
|
1131
1135
|
*/
|
|
1132
1136
|
export interface Schema$ExecuteSqlPayload {
|
|
1137
|
+
/**
|
|
1138
|
+
* Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.
|
|
1139
|
+
*/
|
|
1140
|
+
application?: string | null;
|
|
1133
1141
|
/**
|
|
1134
1142
|
* Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.
|
|
1135
1143
|
*/
|
|
@@ -1460,6 +1468,10 @@ export namespace sqladmin_v1 {
|
|
|
1460
1468
|
* Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
|
|
1461
1469
|
*/
|
|
1462
1470
|
export interface Schema$InsightsConfig {
|
|
1471
|
+
/**
|
|
1472
|
+
* Optional. Whether enhanced query insights feature is enabled.
|
|
1473
|
+
*/
|
|
1474
|
+
enhancedQueryInsightsEnabled?: boolean | null;
|
|
1463
1475
|
/**
|
|
1464
1476
|
* Whether Query Insights feature is enabled.
|
|
1465
1477
|
*/
|
|
@@ -2160,7 +2172,7 @@ export namespace sqladmin_v1 {
|
|
|
2160
2172
|
passwordExpirationTime?: string | null;
|
|
2161
2173
|
}
|
|
2162
2174
|
/**
|
|
2163
|
-
* Database instance local user password validation policy
|
|
2175
|
+
* Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.
|
|
2164
2176
|
*/
|
|
2165
2177
|
export interface Schema$PasswordValidationPolicy {
|
|
2166
2178
|
/**
|
|
@@ -2176,7 +2188,7 @@ export namespace sqladmin_v1 {
|
|
|
2176
2188
|
*/
|
|
2177
2189
|
disallowUsernameSubstring?: boolean | null;
|
|
2178
2190
|
/**
|
|
2179
|
-
* Whether the password policy
|
|
2191
|
+
* Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.
|
|
2180
2192
|
*/
|
|
2181
2193
|
enablePasswordPolicy?: boolean | null;
|
|
2182
2194
|
/**
|
|
@@ -2192,6 +2204,35 @@ export namespace sqladmin_v1 {
|
|
|
2192
2204
|
*/
|
|
2193
2205
|
reuseInterval?: number | null;
|
|
2194
2206
|
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Performance Capture configuration.
|
|
2209
|
+
*/
|
|
2210
|
+
export interface Schema$PerformanceCaptureConfig {
|
|
2211
|
+
/**
|
|
2212
|
+
* Optional. Enable or disable the Performance Capture feature.
|
|
2213
|
+
*/
|
|
2214
|
+
enabled?: boolean | null;
|
|
2215
|
+
/**
|
|
2216
|
+
* Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
|
|
2217
|
+
*/
|
|
2218
|
+
probeThreshold?: number | null;
|
|
2219
|
+
/**
|
|
2220
|
+
* Optional. The time interval in seconds between any two probes.
|
|
2221
|
+
*/
|
|
2222
|
+
probingIntervalSeconds?: number | null;
|
|
2223
|
+
/**
|
|
2224
|
+
* Optional. The minimum number of server threads running to trigger the capture on primary.
|
|
2225
|
+
*/
|
|
2226
|
+
runningThreadsThreshold?: number | null;
|
|
2227
|
+
/**
|
|
2228
|
+
* Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
|
|
2229
|
+
*/
|
|
2230
|
+
secondsBehindSourceThreshold?: number | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
|
|
2233
|
+
*/
|
|
2234
|
+
transactionDurationThreshold?: number | null;
|
|
2235
|
+
}
|
|
2195
2236
|
/**
|
|
2196
2237
|
* Perform disk shrink context.
|
|
2197
2238
|
*/
|
|
@@ -2258,6 +2299,14 @@ export namespace sqladmin_v1 {
|
|
|
2258
2299
|
* Output only. The name of the read pool node, to be used for retrieving metrics and logs.
|
|
2259
2300
|
*/
|
|
2260
2301
|
name?: string | null;
|
|
2302
|
+
/**
|
|
2303
|
+
* Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
|
|
2304
|
+
*/
|
|
2305
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
2306
|
+
/**
|
|
2307
|
+
* Output only. The Private Service Connect (PSC) service attachment of the read pool node.
|
|
2308
|
+
*/
|
|
2309
|
+
pscServiceAttachmentLink?: string | null;
|
|
2261
2310
|
/**
|
|
2262
2311
|
* Output only. The current state of the read pool node.
|
|
2263
2312
|
*/
|
|
@@ -2659,6 +2708,10 @@ export namespace sqladmin_v1 {
|
|
|
2659
2708
|
* The local user password validation policy of the instance.
|
|
2660
2709
|
*/
|
|
2661
2710
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
2711
|
+
/**
|
|
2712
|
+
* Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
|
|
2713
|
+
*/
|
|
2714
|
+
performanceCaptureConfig?: Schema$PerformanceCaptureConfig;
|
|
2662
2715
|
/**
|
|
2663
2716
|
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
2664
2717
|
*/
|
|
@@ -6735,6 +6788,169 @@ export namespace sqladmin_v1 {
|
|
|
6735
6788
|
}
|
|
6736
6789
|
}
|
|
6737
6790
|
|
|
6791
|
+
/**
|
|
6792
|
+
* Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added but never used in a certificate rotation, this operation replaces that version.
|
|
6793
|
+
* @example
|
|
6794
|
+
* ```js
|
|
6795
|
+
* // Before running the sample:
|
|
6796
|
+
* // - Enable the API at:
|
|
6797
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
6798
|
+
* // - Login into gcloud by running:
|
|
6799
|
+
* // ```sh
|
|
6800
|
+
* // $ gcloud auth application-default login
|
|
6801
|
+
* // ```
|
|
6802
|
+
* // - Install the npm module by running:
|
|
6803
|
+
* // ```sh
|
|
6804
|
+
* // $ npm install googleapis
|
|
6805
|
+
* // ```
|
|
6806
|
+
*
|
|
6807
|
+
* const {google} = require('googleapis');
|
|
6808
|
+
* const sqladmin = google.sqladmin('v1');
|
|
6809
|
+
*
|
|
6810
|
+
* async function main() {
|
|
6811
|
+
* const auth = new google.auth.GoogleAuth({
|
|
6812
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6813
|
+
* scopes: [
|
|
6814
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
6815
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
6816
|
+
* ],
|
|
6817
|
+
* });
|
|
6818
|
+
*
|
|
6819
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
6820
|
+
* const authClient = await auth.getClient();
|
|
6821
|
+
* google.options({auth: authClient});
|
|
6822
|
+
*
|
|
6823
|
+
* // Do the magic
|
|
6824
|
+
* const res = await sql.instances.addEntraIdCertificate({
|
|
6825
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
6826
|
+
* instance: 'placeholder-value',
|
|
6827
|
+
* // Required. Project ID of the project that contains the instance.
|
|
6828
|
+
* project: 'placeholder-value',
|
|
6829
|
+
* });
|
|
6830
|
+
* console.log(res.data);
|
|
6831
|
+
*
|
|
6832
|
+
* // Example response
|
|
6833
|
+
* // {
|
|
6834
|
+
* // "acquireSsrsLeaseContext": {},
|
|
6835
|
+
* // "apiWarning": {},
|
|
6836
|
+
* // "backupContext": {},
|
|
6837
|
+
* // "endTime": "my_endTime",
|
|
6838
|
+
* // "error": {},
|
|
6839
|
+
* // "exportContext": {},
|
|
6840
|
+
* // "importContext": {},
|
|
6841
|
+
* // "insertTime": "my_insertTime",
|
|
6842
|
+
* // "kind": "my_kind",
|
|
6843
|
+
* // "name": "my_name",
|
|
6844
|
+
* // "operationType": "my_operationType",
|
|
6845
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6846
|
+
* // "selfLink": "my_selfLink",
|
|
6847
|
+
* // "startTime": "my_startTime",
|
|
6848
|
+
* // "status": "my_status",
|
|
6849
|
+
* // "subOperationType": {},
|
|
6850
|
+
* // "targetId": "my_targetId",
|
|
6851
|
+
* // "targetLink": "my_targetLink",
|
|
6852
|
+
* // "targetProject": "my_targetProject",
|
|
6853
|
+
* // "user": "my_user"
|
|
6854
|
+
* // }
|
|
6855
|
+
* }
|
|
6856
|
+
*
|
|
6857
|
+
* main().catch(e => {
|
|
6858
|
+
* console.error(e);
|
|
6859
|
+
* throw e;
|
|
6860
|
+
* });
|
|
6861
|
+
*
|
|
6862
|
+
* ```
|
|
6863
|
+
*
|
|
6864
|
+
* @param params - Parameters for request
|
|
6865
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6866
|
+
* @param callback - Optional callback that handles the response.
|
|
6867
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6868
|
+
*/
|
|
6869
|
+
addEntraIdCertificate(
|
|
6870
|
+
params: Params$Resource$Instances$Addentraidcertificate,
|
|
6871
|
+
options: StreamMethodOptions
|
|
6872
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6873
|
+
addEntraIdCertificate(
|
|
6874
|
+
params?: Params$Resource$Instances$Addentraidcertificate,
|
|
6875
|
+
options?: MethodOptions
|
|
6876
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6877
|
+
addEntraIdCertificate(
|
|
6878
|
+
params: Params$Resource$Instances$Addentraidcertificate,
|
|
6879
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6880
|
+
callback: BodyResponseCallback<Readable>
|
|
6881
|
+
): void;
|
|
6882
|
+
addEntraIdCertificate(
|
|
6883
|
+
params: Params$Resource$Instances$Addentraidcertificate,
|
|
6884
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6885
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6886
|
+
): void;
|
|
6887
|
+
addEntraIdCertificate(
|
|
6888
|
+
params: Params$Resource$Instances$Addentraidcertificate,
|
|
6889
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6890
|
+
): void;
|
|
6891
|
+
addEntraIdCertificate(
|
|
6892
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6893
|
+
): void;
|
|
6894
|
+
addEntraIdCertificate(
|
|
6895
|
+
paramsOrCallback?:
|
|
6896
|
+
| Params$Resource$Instances$Addentraidcertificate
|
|
6897
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6898
|
+
| BodyResponseCallback<Readable>,
|
|
6899
|
+
optionsOrCallback?:
|
|
6900
|
+
| MethodOptions
|
|
6901
|
+
| StreamMethodOptions
|
|
6902
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6903
|
+
| BodyResponseCallback<Readable>,
|
|
6904
|
+
callback?:
|
|
6905
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6906
|
+
| BodyResponseCallback<Readable>
|
|
6907
|
+
):
|
|
6908
|
+
| void
|
|
6909
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6910
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6911
|
+
let params = (paramsOrCallback ||
|
|
6912
|
+
{}) as Params$Resource$Instances$Addentraidcertificate;
|
|
6913
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6914
|
+
|
|
6915
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6916
|
+
callback = paramsOrCallback;
|
|
6917
|
+
params = {} as Params$Resource$Instances$Addentraidcertificate;
|
|
6918
|
+
options = {};
|
|
6919
|
+
}
|
|
6920
|
+
|
|
6921
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6922
|
+
callback = optionsOrCallback;
|
|
6923
|
+
options = {};
|
|
6924
|
+
}
|
|
6925
|
+
|
|
6926
|
+
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
6927
|
+
const parameters = {
|
|
6928
|
+
options: Object.assign(
|
|
6929
|
+
{
|
|
6930
|
+
url: (
|
|
6931
|
+
rootUrl +
|
|
6932
|
+
'/v1/projects/{project}/instances/{instance}/addEntraIdCertificate'
|
|
6933
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
6934
|
+
method: 'POST',
|
|
6935
|
+
apiVersion: '',
|
|
6936
|
+
},
|
|
6937
|
+
options
|
|
6938
|
+
),
|
|
6939
|
+
params,
|
|
6940
|
+
requiredParams: ['project', 'instance'],
|
|
6941
|
+
pathParams: ['instance', 'project'],
|
|
6942
|
+
context: this.context,
|
|
6943
|
+
};
|
|
6944
|
+
if (callback) {
|
|
6945
|
+
createAPIRequest<Schema$Operation>(
|
|
6946
|
+
parameters,
|
|
6947
|
+
callback as BodyResponseCallback<unknown>
|
|
6948
|
+
);
|
|
6949
|
+
} else {
|
|
6950
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
6951
|
+
}
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6738
6954
|
/**
|
|
6739
6955
|
* Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.
|
|
6740
6956
|
* @example
|
|
@@ -7772,6 +7988,7 @@ export namespace sqladmin_v1 {
|
|
|
7772
7988
|
* requestBody: {
|
|
7773
7989
|
* // request body parameters
|
|
7774
7990
|
* // {
|
|
7991
|
+
* // "application": "my_application",
|
|
7775
7992
|
* // "autoIamAuthn": false,
|
|
7776
7993
|
* // "database": "my_database",
|
|
7777
7994
|
* // "partialResultMode": "my_partialResultMode",
|
|
@@ -12340,6 +12557,16 @@ export namespace sqladmin_v1 {
|
|
|
12340
12557
|
*/
|
|
12341
12558
|
requestBody?: Schema$InstancesAcquireSsrsLeaseRequest;
|
|
12342
12559
|
}
|
|
12560
|
+
export interface Params$Resource$Instances$Addentraidcertificate extends StandardParameters {
|
|
12561
|
+
/**
|
|
12562
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12563
|
+
*/
|
|
12564
|
+
instance?: string;
|
|
12565
|
+
/**
|
|
12566
|
+
* Required. Project ID of the project that contains the instance.
|
|
12567
|
+
*/
|
|
12568
|
+
project?: string;
|
|
12569
|
+
}
|
|
12343
12570
|
export interface Params$Resource$Instances$Addserverca extends StandardParameters {
|
|
12344
12571
|
/**
|
|
12345
12572
|
* Cloud SQL instance ID. This does not include the project ID.
|
package/v1beta4.ts
CHANGED
|
@@ -1121,9 +1121,13 @@ export namespace sqladmin_v1beta4 {
|
|
|
1121
1121
|
*/
|
|
1122
1122
|
dnsScope?: string | null;
|
|
1123
1123
|
/**
|
|
1124
|
-
* The DNS name.
|
|
1124
|
+
* Output only. The DNS name.
|
|
1125
1125
|
*/
|
|
1126
1126
|
name?: string | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Output only. The manager for this DNS record.
|
|
1129
|
+
*/
|
|
1130
|
+
recordManager?: string | null;
|
|
1127
1131
|
}
|
|
1128
1132
|
/**
|
|
1129
1133
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
@@ -1133,6 +1137,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1133
1137
|
* The request payload used to execute SQL statements.
|
|
1134
1138
|
*/
|
|
1135
1139
|
export interface Schema$ExecuteSqlPayload {
|
|
1140
|
+
/**
|
|
1141
|
+
* Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.
|
|
1142
|
+
*/
|
|
1143
|
+
application?: string | null;
|
|
1136
1144
|
/**
|
|
1137
1145
|
* Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.
|
|
1138
1146
|
*/
|
|
@@ -1463,6 +1471,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1463
1471
|
* Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
|
|
1464
1472
|
*/
|
|
1465
1473
|
export interface Schema$InsightsConfig {
|
|
1474
|
+
/**
|
|
1475
|
+
* Optional. Whether enhanced query insights feature is enabled.
|
|
1476
|
+
*/
|
|
1477
|
+
enhancedQueryInsightsEnabled?: boolean | null;
|
|
1466
1478
|
/**
|
|
1467
1479
|
* Whether Query Insights feature is enabled.
|
|
1468
1480
|
*/
|
|
@@ -2163,7 +2175,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2163
2175
|
passwordExpirationTime?: string | null;
|
|
2164
2176
|
}
|
|
2165
2177
|
/**
|
|
2166
|
-
* Database instance local user password validation policy
|
|
2178
|
+
* Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.
|
|
2167
2179
|
*/
|
|
2168
2180
|
export interface Schema$PasswordValidationPolicy {
|
|
2169
2181
|
/**
|
|
@@ -2179,7 +2191,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2179
2191
|
*/
|
|
2180
2192
|
disallowUsernameSubstring?: boolean | null;
|
|
2181
2193
|
/**
|
|
2182
|
-
* Whether the password policy
|
|
2194
|
+
* Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.
|
|
2183
2195
|
*/
|
|
2184
2196
|
enablePasswordPolicy?: boolean | null;
|
|
2185
2197
|
/**
|
|
@@ -2195,6 +2207,35 @@ export namespace sqladmin_v1beta4 {
|
|
|
2195
2207
|
*/
|
|
2196
2208
|
reuseInterval?: number | null;
|
|
2197
2209
|
}
|
|
2210
|
+
/**
|
|
2211
|
+
* Performance Capture configuration.
|
|
2212
|
+
*/
|
|
2213
|
+
export interface Schema$PerformanceCaptureConfig {
|
|
2214
|
+
/**
|
|
2215
|
+
* Optional. Enable or disable the Performance Capture.
|
|
2216
|
+
*/
|
|
2217
|
+
enabled?: boolean | null;
|
|
2218
|
+
/**
|
|
2219
|
+
* Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.
|
|
2220
|
+
*/
|
|
2221
|
+
probeThreshold?: number | null;
|
|
2222
|
+
/**
|
|
2223
|
+
* Optional. The time interval in seconds between any two probes.
|
|
2224
|
+
*/
|
|
2225
|
+
probingIntervalSeconds?: number | null;
|
|
2226
|
+
/**
|
|
2227
|
+
* Optional. The minimum number of server threads running to trigger the capture on primary.
|
|
2228
|
+
*/
|
|
2229
|
+
runningThreadsThreshold?: number | null;
|
|
2230
|
+
/**
|
|
2231
|
+
* Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.
|
|
2232
|
+
*/
|
|
2233
|
+
secondsBehindSourceThreshold?: number | null;
|
|
2234
|
+
/**
|
|
2235
|
+
* Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
|
|
2236
|
+
*/
|
|
2237
|
+
transactionDurationThreshold?: number | null;
|
|
2238
|
+
}
|
|
2198
2239
|
/**
|
|
2199
2240
|
* Perform disk shrink context.
|
|
2200
2241
|
*/
|
|
@@ -2261,6 +2302,14 @@ export namespace sqladmin_v1beta4 {
|
|
|
2261
2302
|
* Output only. The name of the read pool node, to be used for retrieving metrics and logs.
|
|
2262
2303
|
*/
|
|
2263
2304
|
name?: string | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
|
|
2307
|
+
*/
|
|
2308
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
2309
|
+
/**
|
|
2310
|
+
* Output only. The Private Service Connect (PSC) service attachment of the read pool node.
|
|
2311
|
+
*/
|
|
2312
|
+
pscServiceAttachmentLink?: string | null;
|
|
2264
2313
|
/**
|
|
2265
2314
|
* Output only. The current state of the read pool node.
|
|
2266
2315
|
*/
|
|
@@ -2662,6 +2711,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2662
2711
|
* The local user password validation policy of the instance.
|
|
2663
2712
|
*/
|
|
2664
2713
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
2714
|
+
/**
|
|
2715
|
+
* Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
|
|
2716
|
+
*/
|
|
2717
|
+
performanceCaptureConfig?: Schema$PerformanceCaptureConfig;
|
|
2665
2718
|
/**
|
|
2666
2719
|
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
2667
2720
|
*/
|
|
@@ -2766,10 +2819,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
2766
2819
|
*/
|
|
2767
2820
|
operationId?: string | null;
|
|
2768
2821
|
}
|
|
2769
|
-
/**
|
|
2770
|
-
* Request for AddEntraIdCertificate RPC.
|
|
2771
|
-
*/
|
|
2772
|
-
export interface Schema$SqlInstancesAddEntraIdCertificateRequest {}
|
|
2773
2822
|
/**
|
|
2774
2823
|
* Execute SQL statements response.
|
|
2775
2824
|
*/
|
|
@@ -6787,12 +6836,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
6787
6836
|
* instance: 'placeholder-value',
|
|
6788
6837
|
* // Required. Project ID of the project that contains the instance.
|
|
6789
6838
|
* project: 'placeholder-value',
|
|
6790
|
-
*
|
|
6791
|
-
* // Request body metadata
|
|
6792
|
-
* requestBody: {
|
|
6793
|
-
* // request body parameters
|
|
6794
|
-
* // {}
|
|
6795
|
-
* },
|
|
6796
6839
|
* });
|
|
6797
6840
|
* console.log(res.data);
|
|
6798
6841
|
*
|
|
@@ -7957,6 +8000,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7957
8000
|
* requestBody: {
|
|
7958
8001
|
* // request body parameters
|
|
7959
8002
|
* // {
|
|
8003
|
+
* // "application": "my_application",
|
|
7960
8004
|
* // "autoIamAuthn": false,
|
|
7961
8005
|
* // "database": "my_database",
|
|
7962
8006
|
* // "partialResultMode": "my_partialResultMode",
|
|
@@ -12538,11 +12582,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12538
12582
|
* Required. Project ID of the project that contains the instance.
|
|
12539
12583
|
*/
|
|
12540
12584
|
project?: string;
|
|
12541
|
-
|
|
12542
|
-
/**
|
|
12543
|
-
* Request body metadata
|
|
12544
|
-
*/
|
|
12545
|
-
requestBody?: Schema$SqlInstancesAddEntraIdCertificateRequest;
|
|
12546
12585
|
}
|
|
12547
12586
|
export interface Params$Resource$Instances$Addserverca extends StandardParameters {
|
|
12548
12587
|
/**
|