@googleapis/alloydb 3.1.0 → 5.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 +22 -0
- package/build/v1.d.ts +85 -5
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +95 -7
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +139 -5
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +83 -3
- package/v1alpha.ts +93 -5
- package/v1beta.ts +137 -3
package/v1beta.ts
CHANGED
|
@@ -432,6 +432,10 @@ export namespace alloydb_v1beta {
|
|
|
432
432
|
* 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.
|
|
433
433
|
*/
|
|
434
434
|
pemCertificateChain?: string[] | null;
|
|
435
|
+
/**
|
|
436
|
+
* Output only. The DNS name to use with PSC for the Instance.
|
|
437
|
+
*/
|
|
438
|
+
pscDnsName?: string | null;
|
|
435
439
|
/**
|
|
436
440
|
* Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
|
|
437
441
|
*/
|
|
@@ -713,6 +717,14 @@ export namespace alloydb_v1beta {
|
|
|
713
717
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
714
718
|
*/
|
|
715
719
|
nodes?: Schema$Node[];
|
|
720
|
+
/**
|
|
721
|
+
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
722
|
+
*/
|
|
723
|
+
pscInstanceConfig?: Schema$PscInstanceConfig;
|
|
724
|
+
/**
|
|
725
|
+
* Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
|
|
726
|
+
*/
|
|
727
|
+
publicIpAddress?: string | null;
|
|
716
728
|
/**
|
|
717
729
|
* Configuration for query insights.
|
|
718
730
|
*/
|
|
@@ -1014,6 +1026,48 @@ export namespace alloydb_v1beta {
|
|
|
1014
1026
|
*/
|
|
1015
1027
|
validateOnly?: boolean | null;
|
|
1016
1028
|
}
|
|
1029
|
+
/**
|
|
1030
|
+
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1031
|
+
*/
|
|
1032
|
+
export interface Schema$PscInstanceConfig {
|
|
1033
|
+
/**
|
|
1034
|
+
* Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1035
|
+
*/
|
|
1036
|
+
allowedConsumerNetworks?: string[] | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1039
|
+
*/
|
|
1040
|
+
allowedConsumerProjects?: string[] | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* 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.
|
|
1043
|
+
*/
|
|
1044
|
+
outgoingServiceAttachmentLinks?: string[] | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
|
|
1047
|
+
*/
|
|
1048
|
+
pscEnabled?: boolean | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* 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.
|
|
1051
|
+
*/
|
|
1052
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1053
|
+
/**
|
|
1054
|
+
* 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/
|
|
1055
|
+
*/
|
|
1056
|
+
serviceAttachmentLink?: string | null;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* 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.
|
|
1060
|
+
*/
|
|
1061
|
+
export interface Schema$PscInterfaceConfig {
|
|
1062
|
+
/**
|
|
1063
|
+
* 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.
|
|
1064
|
+
*/
|
|
1065
|
+
consumerEndpointIps?: string[] | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* 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.
|
|
1068
|
+
*/
|
|
1069
|
+
networkAttachment?: string | null;
|
|
1070
|
+
}
|
|
1017
1071
|
/**
|
|
1018
1072
|
* 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)
|
|
1019
1073
|
*/
|
|
@@ -1206,6 +1260,31 @@ export namespace alloydb_v1beta {
|
|
|
1206
1260
|
*/
|
|
1207
1261
|
version?: string | null;
|
|
1208
1262
|
}
|
|
1263
|
+
/**
|
|
1264
|
+
* Any custom metadata associated with the resource. i.e. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data
|
|
1265
|
+
*/
|
|
1266
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData {
|
|
1267
|
+
databaseMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata[];
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Metadata for individual databases created in an instance. i.e. spanner instance can have multiple databases with unique configuration settings.
|
|
1271
|
+
*/
|
|
1272
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseMetadata {
|
|
1273
|
+
/**
|
|
1274
|
+
* Backup configuration for this database
|
|
1275
|
+
*/
|
|
1276
|
+
backupConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainBackupConfiguration;
|
|
1277
|
+
/**
|
|
1278
|
+
* Information about the last backup attempt for this database
|
|
1279
|
+
*/
|
|
1280
|
+
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1281
|
+
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1282
|
+
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1283
|
+
/**
|
|
1284
|
+
* Required. Database name. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1285
|
+
*/
|
|
1286
|
+
resourceName?: string | null;
|
|
1287
|
+
}
|
|
1209
1288
|
/**
|
|
1210
1289
|
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.
|
|
1211
1290
|
*/
|
|
@@ -1221,6 +1300,7 @@ export namespace alloydb_v1beta {
|
|
|
1221
1300
|
/**
|
|
1222
1301
|
* More feed data would be added in subsequent CLs
|
|
1223
1302
|
*/
|
|
1303
|
+
recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
|
|
1224
1304
|
resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
|
|
1225
1305
|
/**
|
|
1226
1306
|
* Primary key associated with the Resource. resource_id is available in individual feed level as well.
|
|
@@ -1295,7 +1375,7 @@ export namespace alloydb_v1beta {
|
|
|
1295
1375
|
*/
|
|
1296
1376
|
providerDescription?: string | null;
|
|
1297
1377
|
/**
|
|
1298
|
-
* Required. The type of resource this ID is identifying. Ex alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1378
|
+
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1299
1379
|
*/
|
|
1300
1380
|
resourceType?: string | null;
|
|
1301
1381
|
/**
|
|
@@ -1328,9 +1408,13 @@ export namespace alloydb_v1beta {
|
|
|
1328
1408
|
*/
|
|
1329
1409
|
currentState?: string | null;
|
|
1330
1410
|
/**
|
|
1331
|
-
* Any custom metadata associated with the resource
|
|
1411
|
+
* Any custom metadata associated with the resource
|
|
1332
1412
|
*/
|
|
1333
|
-
customMetadata?:
|
|
1413
|
+
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1414
|
+
/**
|
|
1415
|
+
* Entitlements associated with the resource
|
|
1416
|
+
*/
|
|
1417
|
+
entitlements?: Schema$StorageDatabasecenterPartnerapiV1mainEntitlement[];
|
|
1334
1418
|
/**
|
|
1335
1419
|
* The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
|
|
1336
1420
|
*/
|
|
@@ -1372,6 +1456,56 @@ export namespace alloydb_v1beta {
|
|
|
1372
1456
|
*/
|
|
1373
1457
|
userLabels?: {[key: string]: string} | null;
|
|
1374
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* Common model for database resource recommendation signal data.
|
|
1461
|
+
*/
|
|
1462
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1463
|
+
/**
|
|
1464
|
+
* Required. Any other additional metadata specific to recommendation
|
|
1465
|
+
*/
|
|
1466
|
+
additionalMetadata?: {[key: string]: any} | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Required. last time recommendationw as refreshed
|
|
1469
|
+
*/
|
|
1470
|
+
lastRefreshTime?: string | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* Required. Recommendation state
|
|
1473
|
+
*/
|
|
1474
|
+
recommendationState?: string | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876
|
|
1477
|
+
*/
|
|
1478
|
+
recommender?: string | null;
|
|
1479
|
+
/**
|
|
1480
|
+
* Required. ID of recommender. Examples: "google.cloudsql.instance.PerformanceRecommender"
|
|
1481
|
+
*/
|
|
1482
|
+
recommenderId?: string | null;
|
|
1483
|
+
/**
|
|
1484
|
+
* Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.cloudsql.instance.PerformanceRecommender", recommender_subtype can be "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
|
|
1485
|
+
*/
|
|
1486
|
+
recommenderSubtype?: string | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1489
|
+
*/
|
|
1490
|
+
resourceName?: string | null;
|
|
1491
|
+
/**
|
|
1492
|
+
* Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
|
|
1493
|
+
*/
|
|
1494
|
+
signalType?: string | null;
|
|
1495
|
+
}
|
|
1496
|
+
/**
|
|
1497
|
+
* Proto representing the access that a user has to a specific feature/service. NextId: 3.
|
|
1498
|
+
*/
|
|
1499
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainEntitlement {
|
|
1500
|
+
/**
|
|
1501
|
+
* The current state of user's accessibility to a feature/benefit.
|
|
1502
|
+
*/
|
|
1503
|
+
entitlementState?: string | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* An enum that represents the type of this entitlement.
|
|
1506
|
+
*/
|
|
1507
|
+
type?: string | null;
|
|
1508
|
+
}
|
|
1375
1509
|
/**
|
|
1376
1510
|
* An error that occurred during a backup creation operation.
|
|
1377
1511
|
*/
|