@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.1.20251107 → 0.1.20251201

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.
Files changed (2) hide show
  1. package/index.d.ts +23 -37
  2. 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://sqladmin.googleapis.com/$discovery/rest?version=v1beta4
12
- // Revision: 20251107
12
+ // Revision: 20251201
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1095,7 +1095,7 @@ declare namespace gapi.client {
1095
1095
  disallowCompromisedCredentials?: boolean;
1096
1096
  /** Disallow username as a part of the password. */
1097
1097
  disallowUsernameSubstring?: boolean;
1098
- /** Whether the password policy is enabled or not. */
1098
+ /** 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. */
1099
1099
  enablePasswordPolicy?: boolean;
1100
1100
  /** Minimum number of characters allowed. */
1101
1101
  minLength?: number;
@@ -1104,6 +1104,20 @@ declare namespace gapi.client {
1104
1104
  /** Number of previous passwords that cannot be reused. */
1105
1105
  reuseInterval?: number;
1106
1106
  }
1107
+ interface PerformanceCaptureConfig {
1108
+ /** Optional. Enable or disable the Performance Capture. */
1109
+ enabled?: boolean;
1110
+ /** Optional. The minimum number of consecutive readings above threshold that triggers instance state capture. */
1111
+ probeThreshold?: number;
1112
+ /** Optional. The time interval in seconds between any two probes. */
1113
+ probingIntervalSeconds?: number;
1114
+ /** Optional. The minimum number of server threads running to trigger the capture on primary. */
1115
+ runningThreadsThreshold?: number;
1116
+ /** Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica. */
1117
+ secondsBehindSourceThreshold?: number;
1118
+ /** Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it. */
1119
+ transactionDurationThreshold?: number;
1120
+ }
1107
1121
  interface PerformDiskShrinkContext {
1108
1122
  /** The target disk shrink size in GigaBytes. */
1109
1123
  targetSizeGb?: string;
@@ -1135,6 +1149,10 @@ declare namespace gapi.client {
1135
1149
  ipAddresses?: IpMapping[];
1136
1150
  /** Output only. The name of the read pool node, to be used for retrieving metrics and logs. */
1137
1151
  name?: string;
1152
+ /** 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. */
1153
+ pscAutoConnections?: PscAutoConnectionConfig[];
1154
+ /** Output only. The Private Service Connect (PSC) service attachment of the read pool node. */
1155
+ pscServiceAttachmentLink?: string;
1138
1156
  /** Output only. The current state of the read pool node. */
1139
1157
  state?: string;
1140
1158
  }
@@ -1329,6 +1347,8 @@ declare namespace gapi.client {
1329
1347
  maintenanceWindow?: MaintenanceWindow;
1330
1348
  /** The local user password validation policy of the instance. */
1331
1349
  passwordValidationPolicy?: PasswordValidationPolicy;
1350
+ /** Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations. */
1351
+ performanceCaptureConfig?: PerformanceCaptureConfig;
1332
1352
  /** The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. */
1333
1353
  pricingPlan?: string;
1334
1354
  /** Optional. The read pool auto-scale configuration for the instance. */
@@ -1380,7 +1400,6 @@ declare namespace gapi.client {
1380
1400
  /** The unique identifier for this operation. */
1381
1401
  operationId?: string;
1382
1402
  }
1383
- interface SqlInstancesAddEntraIdCertificateRequest {}
1384
1403
  interface SqlInstancesExecuteSqlResponse {
1385
1404
  /** A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement. */
1386
1405
  messages?: Message[];
@@ -2499,7 +2518,7 @@ declare namespace gapi.client {
2499
2518
  body: InstancesAcquireSsrsLeaseRequest,
2500
2519
  ): Request<SqlInstancesAcquireSsrsLeaseResponse>;
2501
2520
  /** 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. */
2502
- addEntraIdCertificate(request: {
2521
+ addEntraIdCertificate(request?: {
2503
2522
  /** V1 error format. */
2504
2523
  '$.xgafv'?: string;
2505
2524
  /** OAuth access token. */
@@ -2526,40 +2545,7 @@ declare namespace gapi.client {
2526
2545
  upload_protocol?: string;
2527
2546
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2528
2547
  uploadType?: string;
2529
- /** Request body */
2530
- resource: SqlInstancesAddEntraIdCertificateRequest;
2531
2548
  }): Request<Operation>;
2532
- addEntraIdCertificate(
2533
- request: {
2534
- /** V1 error format. */
2535
- '$.xgafv'?: string;
2536
- /** OAuth access token. */
2537
- access_token?: string;
2538
- /** Data format for response. */
2539
- alt?: string;
2540
- /** JSONP */
2541
- callback?: string;
2542
- /** Selector specifying which fields to include in a partial response. */
2543
- fields?: string;
2544
- /** Required. Cloud SQL instance ID. This does not include the project ID. */
2545
- instance: string;
2546
- /** 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. */
2547
- key?: string;
2548
- /** OAuth 2.0 token for the current user. */
2549
- oauth_token?: string;
2550
- /** Returns response with indentations and line breaks. */
2551
- prettyPrint?: boolean;
2552
- /** Required. Project ID of the project that contains the instance. */
2553
- project: string;
2554
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2555
- quotaUser?: string;
2556
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2557
- upload_protocol?: string;
2558
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2559
- uploadType?: string;
2560
- },
2561
- body: SqlInstancesAddEntraIdCertificateRequest,
2562
- ): Request<Operation>;
2563
2549
  /** Add 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. */
2564
2550
  addServerCa(request?: {
2565
2551
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.1.20251107",
3
+ "version": "0.1.20251201",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",