@googleapis/alloydb 5.0.0 → 7.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/build/v1beta.d.ts CHANGED
@@ -313,6 +313,10 @@ export declare namespace alloydb_v1beta {
313
313
  * For Resource freshness validation (https://google.aip.dev/154)
314
314
  */
315
315
  etag?: string | null;
316
+ /**
317
+ * Optional. Configuration parameters related to the Gemini in Databases add-on.
318
+ */
319
+ geminiConfig?: Schema$GeminiClusterConfig;
316
320
  /**
317
321
  * Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
318
322
  */
@@ -323,6 +327,14 @@ export declare namespace alloydb_v1beta {
323
327
  labels?: {
324
328
  [key: string]: string;
325
329
  } | null;
330
+ /**
331
+ * Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
332
+ */
333
+ maintenanceSchedule?: Schema$MaintenanceSchedule;
334
+ /**
335
+ * Optional. The maintenance update policy determines when to allow or deny updates.
336
+ */
337
+ maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
326
338
  /**
327
339
  * Output only. Cluster created via DMS migration.
328
340
  */
@@ -332,7 +344,7 @@ export declare namespace alloydb_v1beta {
332
344
  */
333
345
  name?: string | null;
334
346
  /**
335
- * Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project\}/global/networks/{network_id\}". This is required to create a cluster. Deprecated, use network_config.network instead.
347
+ * Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project\}/global/networks/{network_id\}`. This is required to create a cluster. Deprecated, use network_config.network instead.
336
348
  */
337
349
  network?: string | null;
338
350
  networkConfig?: Schema$NetworkConfig;
@@ -340,6 +352,10 @@ export declare namespace alloydb_v1beta {
340
352
  * Output only. Cross Region replication config specific to PRIMARY cluster.
341
353
  */
342
354
  primaryConfig?: Schema$PrimaryConfig;
355
+ /**
356
+ * Optional. The configuration for Private Service Connect (PSC) for the cluster.
357
+ */
358
+ pscConfig?: Schema$PscConfig;
343
359
  /**
344
360
  * Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
345
361
  */
@@ -490,46 +506,22 @@ export declare namespace alloydb_v1beta {
490
506
  validateOnly?: boolean | null;
491
507
  }
492
508
  /**
493
- * Message for requests to generate a client certificate signed by the Cluster CA.
509
+ * Cluster level configuration parameters related to the Gemini in Databases add-on.
494
510
  */
495
- export interface Schema$GenerateClientCertificateRequest {
511
+ export interface Schema$GeminiClusterConfig {
496
512
  /**
497
- * Optional. An optional hint to the endpoint to generate the client certificate with the requested duration. The duration can be from 1 hour to 24 hours. The endpoint may or may not honor the hint. If the hint is left unspecified or is not honored, then the endpoint will pick an appropriate default duration.
498
- */
499
- certDuration?: string | null;
500
- /**
501
- * Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.
502
- */
503
- pemCsr?: string | null;
504
- /**
505
- * Optional. The public key from the client.
506
- */
507
- publicKey?: string | null;
508
- /**
509
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
513
+ * Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
510
514
  */
511
- requestId?: string | null;
512
- /**
513
- * Optional. An optional hint to the endpoint to generate a client ceritificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.
514
- */
515
- useMetadataExchange?: boolean | null;
515
+ entitled?: boolean | null;
516
516
  }
517
517
  /**
518
- * Message returned by a GenerateClientCertificate operation.
518
+ * Instance level configuration parameters related to the Gemini in Databases add-on.
519
519
  */
520
- export interface Schema$GenerateClientCertificateResponse {
521
- /**
522
- * Optional. The pem-encoded cluster ca X.509 certificate.
523
- */
524
- caCert?: string | null;
525
- /**
526
- * Output only. The pem-encoded, signed X.509 certificate.
527
- */
528
- pemCertificate?: string | null;
520
+ export interface Schema$GeminiInstanceConfig {
529
521
  /**
530
- * Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
522
+ * Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
531
523
  */
532
- pemCertificateChain?: string[] | null;
524
+ entitled?: boolean | null;
533
525
  }
534
526
  /**
535
527
  * The response message for Locations.ListLocations.
@@ -655,6 +647,10 @@ export declare namespace alloydb_v1beta {
655
647
  * The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
656
648
  */
657
649
  gceZone?: string | null;
650
+ /**
651
+ * Optional. Configuration parameters related to the Gemini in Databases add-on.
652
+ */
653
+ geminiConfig?: Schema$GeminiInstanceConfig;
658
654
  /**
659
655
  * Required. The type of the instance. Specified at creation time.
660
656
  */
@@ -685,6 +681,10 @@ export declare namespace alloydb_v1beta {
685
681
  * Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
686
682
  */
687
683
  nodes?: Schema$Node[];
684
+ /**
685
+ * Configuration for observability.
686
+ */
687
+ observabilityConfig?: Schema$ObservabilityInstanceConfig;
688
688
  /**
689
689
  * Optional. The configuration for Private Service Connect (PSC) for the instance.
690
690
  */
@@ -859,6 +859,37 @@ export declare namespace alloydb_v1beta {
859
859
  */
860
860
  cpuCount?: number | null;
861
861
  }
862
+ /**
863
+ * MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.
864
+ */
865
+ export interface Schema$MaintenanceSchedule {
866
+ /**
867
+ * Output only. The scheduled start time for the maintenance.
868
+ */
869
+ startTime?: string | null;
870
+ }
871
+ /**
872
+ * MaintenanceUpdatePolicy defines the policy for system updates.
873
+ */
874
+ export interface Schema$MaintenanceUpdatePolicy {
875
+ /**
876
+ * Preferred windows to perform maintenance. Currently limited to 1.
877
+ */
878
+ maintenanceWindows?: Schema$MaintenanceWindow[];
879
+ }
880
+ /**
881
+ * MaintenanceWindow specifies a preferred day and time for maintenance.
882
+ */
883
+ export interface Schema$MaintenanceWindow {
884
+ /**
885
+ * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
886
+ */
887
+ day?: string | null;
888
+ /**
889
+ * Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
890
+ */
891
+ startTime?: Schema$GoogleTypeTimeOfDay;
892
+ }
862
893
  /**
863
894
  * Subset of the source instance configuration that is available when reading the cluster resource.
864
895
  */
@@ -885,7 +916,7 @@ export declare namespace alloydb_v1beta {
885
916
  */
886
917
  allocatedIpRange?: string | null;
887
918
  /**
888
- * Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number\}/global/networks/{network_id\}". This is required to create a cluster.
919
+ * Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project_number\}/global/networks/{network_id\}`. This is required to create a cluster.
889
920
  */
890
921
  network?: string | null;
891
922
  }
@@ -910,6 +941,43 @@ export declare namespace alloydb_v1beta {
910
941
  */
911
942
  zoneId?: string | null;
912
943
  }
944
+ /**
945
+ * Observability Instance specific configuration.
946
+ */
947
+ export interface Schema$ObservabilityInstanceConfig {
948
+ /**
949
+ * Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned "off" by default.
950
+ */
951
+ enabled?: boolean | null;
952
+ /**
953
+ * Query string length. The default value is 10k.
954
+ */
955
+ maxQueryStringLength?: number | null;
956
+ /**
957
+ * Preserve comments in query string for an instance. This flag is turned "off" by default.
958
+ */
959
+ preserveComments?: boolean | null;
960
+ /**
961
+ * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid.
962
+ */
963
+ queryPlansPerMinute?: number | null;
964
+ /**
965
+ * Record application tags for an instance. This flag is turned "off" by default.
966
+ */
967
+ recordApplicationTags?: boolean | null;
968
+ /**
969
+ * Track actively running queries on the instance. If not set, this flag is "off" by default.
970
+ */
971
+ trackActiveQueries?: boolean | null;
972
+ /**
973
+ * Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
974
+ */
975
+ trackWaitEvents?: boolean | null;
976
+ /**
977
+ * Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by producer API.
978
+ */
979
+ trackWaitEventTypes?: boolean | null;
980
+ }
913
981
  /**
914
982
  * This resource represents a long-running operation that is the result of a network API call.
915
983
  */
@@ -999,47 +1067,31 @@ export declare namespace alloydb_v1beta {
999
1067
  validateOnly?: boolean | null;
1000
1068
  }
1001
1069
  /**
1002
- * PscInstanceConfig contains PSC related configuration at an instance level.
1070
+ * PscConfig contains PSC related configuration at a cluster level.
1003
1071
  */
1004
- export interface Schema$PscInstanceConfig {
1072
+ export interface Schema$PscConfig {
1005
1073
  /**
1006
- * Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
1074
+ * Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
1007
1075
  */
1008
- allowedConsumerNetworks?: string[] | null;
1076
+ pscEnabled?: boolean | null;
1077
+ }
1078
+ /**
1079
+ * PscInstanceConfig contains PSC related configuration at an instance level.
1080
+ */
1081
+ export interface Schema$PscInstanceConfig {
1009
1082
  /**
1010
1083
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1011
1084
  */
1012
1085
  allowedConsumerProjects?: string[] | null;
1013
1086
  /**
1014
- * Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
1015
- */
1016
- outgoingServiceAttachmentLinks?: string[] | null;
1017
- /**
1018
- * Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
1087
+ * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1019
1088
  */
1020
- pscEnabled?: boolean | null;
1021
- /**
1022
- * Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
1023
- */
1024
- pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
1089
+ pscDnsName?: string | null;
1025
1090
  /**
1026
- * Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects//regions//serviceAttachments/
1091
+ * Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`
1027
1092
  */
1028
1093
  serviceAttachmentLink?: string | null;
1029
1094
  }
1030
- /**
1031
- * Configuration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.
1032
- */
1033
- export interface Schema$PscInterfaceConfig {
1034
- /**
1035
- * A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
1036
- */
1037
- consumerEndpointIps?: string[] | null;
1038
- /**
1039
- * The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: "projects/${CONSUMER_PROJECT\}/regions/${REGION\}/networkAttachments/${NETWORK_ATTACHMENT_NAME\}". NetworkAttachment has to be provided when the PSC interface is created.
1040
- */
1041
- networkAttachment?: string | null;
1042
- }
1043
1095
  /**
1044
1096
  * A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
1045
1097
  */
@@ -1180,6 +1232,10 @@ export declare namespace alloydb_v1beta {
1180
1232
  * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
1181
1233
  */
1182
1234
  availabilityType?: string | null;
1235
+ /**
1236
+ * Checks for resources that are configured to have redundancy, and ongoing replication across regions
1237
+ */
1238
+ crossRegionReplicaConfigured?: boolean | null;
1183
1239
  externalReplicaConfigured?: boolean | null;
1184
1240
  promotableReplicaConfigured?: boolean | null;
1185
1241
  }
@@ -1408,7 +1464,7 @@ export declare namespace alloydb_v1beta {
1408
1464
  */
1409
1465
  location?: string | null;
1410
1466
  /**
1411
- * Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested
1467
+ * Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
1412
1468
  */
1413
1469
  primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
1414
1470
  /**
@@ -1433,13 +1489,17 @@ export declare namespace alloydb_v1beta {
1433
1489
  userLabels?: {
1434
1490
  [key: string]: string;
1435
1491
  } | null;
1492
+ /**
1493
+ * User-provided labels associated with the resource
1494
+ */
1495
+ userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
1436
1496
  }
1437
1497
  /**
1438
1498
  * Common model for database resource recommendation signal data.
1439
1499
  */
1440
1500
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
1441
1501
  /**
1442
- * Required. Any other additional metadata specific to recommendation
1502
+ * Optional. Any other additional metadata specific to recommendation
1443
1503
  */
1444
1504
  additionalMetadata?: {
1445
1505
  [key: string]: any;
@@ -1494,6 +1554,7 @@ export declare namespace alloydb_v1beta {
1494
1554
  * Identifies the specific error that occurred. REQUIRED
1495
1555
  */
1496
1556
  code?: string | null;
1557
+ errorType?: string | null;
1497
1558
  /**
1498
1559
  * Additional information about the error encountered. REQUIRED
1499
1560
  */
@@ -1507,6 +1568,14 @@ export declare namespace alloydb_v1beta {
1507
1568
  retentionUnit?: string | null;
1508
1569
  timeBasedRetention?: string | null;
1509
1570
  }
1571
+ /**
1572
+ * Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.
1573
+ */
1574
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
1575
+ labels?: {
1576
+ [key: string]: string;
1577
+ } | null;
1578
+ }
1510
1579
  /**
1511
1580
  * Product specification for Condor resources.
1512
1581
  */
@@ -1912,20 +1981,6 @@ export declare namespace alloydb_v1beta {
1912
1981
  delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1913
1982
  delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
1914
1983
  delete(callback: BodyResponseCallback<Schema$Operation>): void;
1915
- /**
1916
- * Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.
1917
- *
1918
- * @param params - Parameters for request
1919
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1920
- * @param callback - Optional callback that handles the response.
1921
- * @returns A promise if used with async/await, or void if used with a callback.
1922
- */
1923
- generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: StreamMethodOptions): GaxiosPromise<Readable>;
1924
- generateClientCertificate(params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options?: MethodOptions): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
1925
- generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1926
- generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: MethodOptions | BodyResponseCallback<Schema$GenerateClientCertificateResponse>, callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
1927
- generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
1928
- generateClientCertificate(callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
1929
1984
  /**
1930
1985
  * Gets details of a single Cluster.
1931
1986
  *
@@ -2063,16 +2118,6 @@ export declare namespace alloydb_v1beta {
2063
2118
  */
2064
2119
  validateOnly?: boolean;
2065
2120
  }
2066
- export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate extends StandardParameters {
2067
- /**
2068
- * Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
2069
- */
2070
- parent?: string;
2071
- /**
2072
- * Request body metadata
2073
- */
2074
- requestBody?: Schema$GenerateClientCertificateRequest;
2075
- }
2076
2121
  export interface Params$Resource$Projects$Locations$Clusters$Get extends StandardParameters {
2077
2122
  /**
2078
2123
  * Required. The name of the resource. For the required format, see the comment on the Cluster.name field.