@googleapis/alloydb 4.0.0 → 6.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 +28 -0
- package/build/v1.d.ts +108 -62
- package/build/v1.js +0 -32
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +205 -62
- package/build/v1alpha.js +0 -32
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +262 -60
- package/build/v1beta.js +0 -32
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +104 -147
- package/v1alpha.ts +201 -146
- package/v1beta.ts +258 -144
package/v1alpha.ts
CHANGED
|
@@ -366,6 +366,10 @@ export namespace alloydb_v1alpha {
|
|
|
366
366
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
367
367
|
*/
|
|
368
368
|
etag?: string | null;
|
|
369
|
+
/**
|
|
370
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
371
|
+
*/
|
|
372
|
+
geminiConfig?: Schema$GeminiClusterConfig;
|
|
369
373
|
/**
|
|
370
374
|
* Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
|
|
371
375
|
*/
|
|
@@ -374,6 +378,10 @@ export namespace alloydb_v1alpha {
|
|
|
374
378
|
* Labels as key value pairs
|
|
375
379
|
*/
|
|
376
380
|
labels?: {[key: string]: string} | null;
|
|
381
|
+
/**
|
|
382
|
+
* Optional. The maintenance update policy determines when to allow or deny updates.
|
|
383
|
+
*/
|
|
384
|
+
maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
|
|
377
385
|
/**
|
|
378
386
|
* Output only. Cluster created via DMS migration.
|
|
379
387
|
*/
|
|
@@ -383,7 +391,7 @@ export namespace alloydb_v1alpha {
|
|
|
383
391
|
*/
|
|
384
392
|
name?: string | null;
|
|
385
393
|
/**
|
|
386
|
-
* 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:
|
|
394
|
+
* 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.
|
|
387
395
|
*/
|
|
388
396
|
network?: string | null;
|
|
389
397
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -448,6 +456,10 @@ export namespace alloydb_v1alpha {
|
|
|
448
456
|
* 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.
|
|
449
457
|
*/
|
|
450
458
|
pemCertificateChain?: string[] | null;
|
|
459
|
+
/**
|
|
460
|
+
* Output only. The DNS name to use with PSC for the Instance.
|
|
461
|
+
*/
|
|
462
|
+
pscDnsName?: string | null;
|
|
451
463
|
/**
|
|
452
464
|
* 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.
|
|
453
465
|
*/
|
|
@@ -504,6 +516,23 @@ export namespace alloydb_v1alpha {
|
|
|
504
516
|
*/
|
|
505
517
|
pointInTime?: string | null;
|
|
506
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
|
|
521
|
+
*/
|
|
522
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
523
|
+
/**
|
|
524
|
+
* Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year for recurring. Date matching this period will have to be before the end.
|
|
525
|
+
*/
|
|
526
|
+
endDate?: Schema$GoogleTypeDate;
|
|
527
|
+
/**
|
|
528
|
+
* Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year for recurring. Date matching this period will have to be the same or after the start.
|
|
529
|
+
*/
|
|
530
|
+
startDate?: Schema$GoogleTypeDate;
|
|
531
|
+
/**
|
|
532
|
+
* Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC
|
|
533
|
+
*/
|
|
534
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
535
|
+
}
|
|
507
536
|
/**
|
|
508
537
|
* 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); \}
|
|
509
538
|
*/
|
|
@@ -544,46 +573,22 @@ export namespace alloydb_v1alpha {
|
|
|
544
573
|
validateOnly?: boolean | null;
|
|
545
574
|
}
|
|
546
575
|
/**
|
|
547
|
-
*
|
|
576
|
+
* Cluster level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
548
577
|
*/
|
|
549
|
-
export interface Schema$
|
|
550
|
-
/**
|
|
551
|
-
* 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.
|
|
552
|
-
*/
|
|
553
|
-
certDuration?: string | null;
|
|
554
|
-
/**
|
|
555
|
-
* Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.
|
|
556
|
-
*/
|
|
557
|
-
pemCsr?: string | null;
|
|
558
|
-
/**
|
|
559
|
-
* Optional. The public key from the client.
|
|
560
|
-
*/
|
|
561
|
-
publicKey?: string | null;
|
|
562
|
-
/**
|
|
563
|
-
* 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).
|
|
564
|
-
*/
|
|
565
|
-
requestId?: string | null;
|
|
578
|
+
export interface Schema$GeminiClusterConfig {
|
|
566
579
|
/**
|
|
567
|
-
*
|
|
580
|
+
* 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.
|
|
568
581
|
*/
|
|
569
|
-
|
|
582
|
+
entitled?: boolean | null;
|
|
570
583
|
}
|
|
571
584
|
/**
|
|
572
|
-
*
|
|
585
|
+
* Instance level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
573
586
|
*/
|
|
574
|
-
export interface Schema$
|
|
587
|
+
export interface Schema$GeminiInstanceConfig {
|
|
575
588
|
/**
|
|
576
|
-
*
|
|
589
|
+
* 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.
|
|
577
590
|
*/
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Output only. The pem-encoded, signed X.509 certificate.
|
|
581
|
-
*/
|
|
582
|
-
pemCertificate?: string | null;
|
|
583
|
-
/**
|
|
584
|
-
* 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.
|
|
585
|
-
*/
|
|
586
|
-
pemCertificateChain?: string[] | null;
|
|
591
|
+
entitled?: boolean | null;
|
|
587
592
|
}
|
|
588
593
|
/**
|
|
589
594
|
* The response message for Locations.ListLocations.
|
|
@@ -623,6 +628,23 @@ export namespace alloydb_v1alpha {
|
|
|
623
628
|
*/
|
|
624
629
|
name?: string | null;
|
|
625
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
633
|
+
*/
|
|
634
|
+
export interface Schema$GoogleTypeDate {
|
|
635
|
+
/**
|
|
636
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
637
|
+
*/
|
|
638
|
+
day?: number | null;
|
|
639
|
+
/**
|
|
640
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
641
|
+
*/
|
|
642
|
+
month?: number | null;
|
|
643
|
+
/**
|
|
644
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
645
|
+
*/
|
|
646
|
+
year?: number | null;
|
|
647
|
+
}
|
|
626
648
|
/**
|
|
627
649
|
* Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
|
|
628
650
|
*/
|
|
@@ -701,6 +723,10 @@ export namespace alloydb_v1alpha {
|
|
|
701
723
|
* 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.
|
|
702
724
|
*/
|
|
703
725
|
gceZone?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
728
|
+
*/
|
|
729
|
+
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
704
730
|
/**
|
|
705
731
|
* Required. The type of the instance. Specified at creation time.
|
|
706
732
|
*/
|
|
@@ -729,6 +755,10 @@ export namespace alloydb_v1alpha {
|
|
|
729
755
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
730
756
|
*/
|
|
731
757
|
nodes?: Schema$Node[];
|
|
758
|
+
/**
|
|
759
|
+
* Configuration for observability.
|
|
760
|
+
*/
|
|
761
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
732
762
|
/**
|
|
733
763
|
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
734
764
|
*/
|
|
@@ -907,6 +937,32 @@ export namespace alloydb_v1alpha {
|
|
|
907
937
|
*/
|
|
908
938
|
cpuCount?: number | null;
|
|
909
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
942
|
+
*/
|
|
943
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
944
|
+
/**
|
|
945
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
946
|
+
*/
|
|
947
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
948
|
+
/**
|
|
949
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
950
|
+
*/
|
|
951
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
955
|
+
*/
|
|
956
|
+
export interface Schema$MaintenanceWindow {
|
|
957
|
+
/**
|
|
958
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
959
|
+
*/
|
|
960
|
+
day?: string | null;
|
|
961
|
+
/**
|
|
962
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
963
|
+
*/
|
|
964
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
965
|
+
}
|
|
910
966
|
/**
|
|
911
967
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
912
968
|
*/
|
|
@@ -933,7 +989,7 @@ export namespace alloydb_v1alpha {
|
|
|
933
989
|
*/
|
|
934
990
|
allocatedIpRange?: string | null;
|
|
935
991
|
/**
|
|
936
|
-
* 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:
|
|
992
|
+
* 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.
|
|
937
993
|
*/
|
|
938
994
|
network?: string | null;
|
|
939
995
|
}
|
|
@@ -958,6 +1014,43 @@ export namespace alloydb_v1alpha {
|
|
|
958
1014
|
*/
|
|
959
1015
|
zoneId?: string | null;
|
|
960
1016
|
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Observability Instance specific configuration.
|
|
1019
|
+
*/
|
|
1020
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
1021
|
+
/**
|
|
1022
|
+
* 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.
|
|
1023
|
+
*/
|
|
1024
|
+
enabled?: boolean | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Query string length. The default value is 10k.
|
|
1027
|
+
*/
|
|
1028
|
+
maxQueryStringLength?: number | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
1031
|
+
*/
|
|
1032
|
+
preserveComments?: boolean | null;
|
|
1033
|
+
/**
|
|
1034
|
+
* 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.
|
|
1035
|
+
*/
|
|
1036
|
+
queryPlansPerMinute?: number | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
1039
|
+
*/
|
|
1040
|
+
recordApplicationTags?: boolean | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1043
|
+
*/
|
|
1044
|
+
trackActiveQueries?: boolean | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* 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.
|
|
1047
|
+
*/
|
|
1048
|
+
trackWaitEvents?: boolean | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* 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.
|
|
1051
|
+
*/
|
|
1052
|
+
trackWaitEventTypes?: boolean | null;
|
|
1053
|
+
}
|
|
961
1054
|
/**
|
|
962
1055
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
963
1056
|
*/
|
|
@@ -1067,6 +1160,10 @@ export namespace alloydb_v1alpha {
|
|
|
1067
1160
|
* 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.
|
|
1068
1161
|
*/
|
|
1069
1162
|
outgoingServiceAttachmentLinks?: string[] | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1165
|
+
*/
|
|
1166
|
+
pscDnsName?: string | null;
|
|
1070
1167
|
/**
|
|
1071
1168
|
* Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
|
|
1072
1169
|
*/
|
|
@@ -1076,7 +1173,7 @@ export namespace alloydb_v1alpha {
|
|
|
1076
1173
|
*/
|
|
1077
1174
|
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1078
1175
|
/**
|
|
1079
|
-
* 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
|
|
1176
|
+
* 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/`
|
|
1080
1177
|
*/
|
|
1081
1178
|
serviceAttachmentLink?: string | null;
|
|
1082
1179
|
}
|
|
@@ -1089,7 +1186,7 @@ export namespace alloydb_v1alpha {
|
|
|
1089
1186
|
*/
|
|
1090
1187
|
consumerEndpointIps?: string[] | null;
|
|
1091
1188
|
/**
|
|
1092
|
-
* The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of:
|
|
1189
|
+
* 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.
|
|
1093
1190
|
*/
|
|
1094
1191
|
networkAttachment?: string | null;
|
|
1095
1192
|
}
|
|
@@ -1325,6 +1422,7 @@ export namespace alloydb_v1alpha {
|
|
|
1325
1422
|
/**
|
|
1326
1423
|
* More feed data would be added in subsequent CLs
|
|
1327
1424
|
*/
|
|
1425
|
+
recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
|
|
1328
1426
|
resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
|
|
1329
1427
|
/**
|
|
1330
1428
|
* Primary key associated with the Resource. resource_id is available in individual feed level as well.
|
|
@@ -1399,7 +1497,7 @@ export namespace alloydb_v1alpha {
|
|
|
1399
1497
|
*/
|
|
1400
1498
|
providerDescription?: string | null;
|
|
1401
1499
|
/**
|
|
1402
|
-
* 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
|
|
1500
|
+
* 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
|
|
1403
1501
|
*/
|
|
1404
1502
|
resourceType?: string | null;
|
|
1405
1503
|
/**
|
|
@@ -1435,6 +1533,10 @@ export namespace alloydb_v1alpha {
|
|
|
1435
1533
|
* Any custom metadata associated with the resource
|
|
1436
1534
|
*/
|
|
1437
1535
|
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1536
|
+
/**
|
|
1537
|
+
* Entitlements associated with the resource
|
|
1538
|
+
*/
|
|
1539
|
+
entitlements?: Schema$StorageDatabasecenterPartnerapiV1mainEntitlement[];
|
|
1438
1540
|
/**
|
|
1439
1541
|
* 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.
|
|
1440
1542
|
*/
|
|
@@ -1452,7 +1554,7 @@ export namespace alloydb_v1alpha {
|
|
|
1452
1554
|
*/
|
|
1453
1555
|
location?: string | null;
|
|
1454
1556
|
/**
|
|
1455
|
-
* 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
|
|
1557
|
+
* 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.
|
|
1456
1558
|
*/
|
|
1457
1559
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1458
1560
|
/**
|
|
@@ -1475,6 +1577,60 @@ export namespace alloydb_v1alpha {
|
|
|
1475
1577
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1476
1578
|
*/
|
|
1477
1579
|
userLabels?: {[key: string]: string} | null;
|
|
1580
|
+
/**
|
|
1581
|
+
* User-provided labels associated with the resource
|
|
1582
|
+
*/
|
|
1583
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Common model for database resource recommendation signal data.
|
|
1587
|
+
*/
|
|
1588
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1589
|
+
/**
|
|
1590
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1591
|
+
*/
|
|
1592
|
+
additionalMetadata?: {[key: string]: any} | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Required. last time recommendationw as refreshed
|
|
1595
|
+
*/
|
|
1596
|
+
lastRefreshTime?: string | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Required. Recommendation state
|
|
1599
|
+
*/
|
|
1600
|
+
recommendationState?: string | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876
|
|
1603
|
+
*/
|
|
1604
|
+
recommender?: string | null;
|
|
1605
|
+
/**
|
|
1606
|
+
* Required. ID of recommender. Examples: "google.cloudsql.instance.PerformanceRecommender"
|
|
1607
|
+
*/
|
|
1608
|
+
recommenderId?: string | null;
|
|
1609
|
+
/**
|
|
1610
|
+
* 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"
|
|
1611
|
+
*/
|
|
1612
|
+
recommenderSubtype?: string | null;
|
|
1613
|
+
/**
|
|
1614
|
+
* Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1615
|
+
*/
|
|
1616
|
+
resourceName?: string | null;
|
|
1617
|
+
/**
|
|
1618
|
+
* Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
|
|
1619
|
+
*/
|
|
1620
|
+
signalType?: string | null;
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* Proto representing the access that a user has to a specific feature/service. NextId: 3.
|
|
1624
|
+
*/
|
|
1625
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainEntitlement {
|
|
1626
|
+
/**
|
|
1627
|
+
* The current state of user's accessibility to a feature/benefit.
|
|
1628
|
+
*/
|
|
1629
|
+
entitlementState?: string | null;
|
|
1630
|
+
/**
|
|
1631
|
+
* An enum that represents the type of this entitlement.
|
|
1632
|
+
*/
|
|
1633
|
+
type?: string | null;
|
|
1478
1634
|
}
|
|
1479
1635
|
/**
|
|
1480
1636
|
* An error that occurred during a backup creation operation.
|
|
@@ -1484,6 +1640,7 @@ export namespace alloydb_v1alpha {
|
|
|
1484
1640
|
* Identifies the specific error that occurred. REQUIRED
|
|
1485
1641
|
*/
|
|
1486
1642
|
code?: string | null;
|
|
1643
|
+
errorType?: string | null;
|
|
1487
1644
|
/**
|
|
1488
1645
|
* Additional information about the error encountered. REQUIRED
|
|
1489
1646
|
*/
|
|
@@ -1497,6 +1654,12 @@ export namespace alloydb_v1alpha {
|
|
|
1497
1654
|
retentionUnit?: string | null;
|
|
1498
1655
|
timeBasedRetention?: string | null;
|
|
1499
1656
|
}
|
|
1657
|
+
/**
|
|
1658
|
+
* 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.
|
|
1659
|
+
*/
|
|
1660
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1661
|
+
labels?: {[key: string]: string} | null;
|
|
1662
|
+
}
|
|
1500
1663
|
/**
|
|
1501
1664
|
* Product specification for Condor resources.
|
|
1502
1665
|
*/
|
|
@@ -2672,102 +2835,6 @@ export namespace alloydb_v1alpha {
|
|
|
2672
2835
|
}
|
|
2673
2836
|
}
|
|
2674
2837
|
|
|
2675
|
-
/**
|
|
2676
|
-
* 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.
|
|
2677
|
-
*
|
|
2678
|
-
* @param params - Parameters for request
|
|
2679
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2680
|
-
* @param callback - Optional callback that handles the response.
|
|
2681
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2682
|
-
*/
|
|
2683
|
-
generateClientCertificate(
|
|
2684
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2685
|
-
options: StreamMethodOptions
|
|
2686
|
-
): GaxiosPromise<Readable>;
|
|
2687
|
-
generateClientCertificate(
|
|
2688
|
-
params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2689
|
-
options?: MethodOptions
|
|
2690
|
-
): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
2691
|
-
generateClientCertificate(
|
|
2692
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2693
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2694
|
-
callback: BodyResponseCallback<Readable>
|
|
2695
|
-
): void;
|
|
2696
|
-
generateClientCertificate(
|
|
2697
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2698
|
-
options:
|
|
2699
|
-
| MethodOptions
|
|
2700
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>,
|
|
2701
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2702
|
-
): void;
|
|
2703
|
-
generateClientCertificate(
|
|
2704
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2705
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2706
|
-
): void;
|
|
2707
|
-
generateClientCertificate(
|
|
2708
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2709
|
-
): void;
|
|
2710
|
-
generateClientCertificate(
|
|
2711
|
-
paramsOrCallback?:
|
|
2712
|
-
| Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
2713
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2714
|
-
| BodyResponseCallback<Readable>,
|
|
2715
|
-
optionsOrCallback?:
|
|
2716
|
-
| MethodOptions
|
|
2717
|
-
| StreamMethodOptions
|
|
2718
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2719
|
-
| BodyResponseCallback<Readable>,
|
|
2720
|
-
callback?:
|
|
2721
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2722
|
-
| BodyResponseCallback<Readable>
|
|
2723
|
-
):
|
|
2724
|
-
| void
|
|
2725
|
-
| GaxiosPromise<Schema$GenerateClientCertificateResponse>
|
|
2726
|
-
| GaxiosPromise<Readable> {
|
|
2727
|
-
let params = (paramsOrCallback ||
|
|
2728
|
-
{}) as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2729
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2730
|
-
|
|
2731
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2732
|
-
callback = paramsOrCallback;
|
|
2733
|
-
params =
|
|
2734
|
-
{} as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2735
|
-
options = {};
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2739
|
-
callback = optionsOrCallback;
|
|
2740
|
-
options = {};
|
|
2741
|
-
}
|
|
2742
|
-
|
|
2743
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
2744
|
-
const parameters = {
|
|
2745
|
-
options: Object.assign(
|
|
2746
|
-
{
|
|
2747
|
-
url: (
|
|
2748
|
-
rootUrl + '/v1alpha/{+parent}:generateClientCertificate'
|
|
2749
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2750
|
-
method: 'POST',
|
|
2751
|
-
},
|
|
2752
|
-
options
|
|
2753
|
-
),
|
|
2754
|
-
params,
|
|
2755
|
-
requiredParams: ['parent'],
|
|
2756
|
-
pathParams: ['parent'],
|
|
2757
|
-
context: this.context,
|
|
2758
|
-
};
|
|
2759
|
-
if (callback) {
|
|
2760
|
-
createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2761
|
-
parameters,
|
|
2762
|
-
callback as BodyResponseCallback<unknown>
|
|
2763
|
-
);
|
|
2764
|
-
} else {
|
|
2765
|
-
return createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2766
|
-
parameters
|
|
2767
|
-
);
|
|
2768
|
-
}
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
2838
|
/**
|
|
2772
2839
|
* Gets details of a single Cluster.
|
|
2773
2840
|
*
|
|
@@ -3274,18 +3341,6 @@ export namespace alloydb_v1alpha {
|
|
|
3274
3341
|
*/
|
|
3275
3342
|
validateOnly?: boolean;
|
|
3276
3343
|
}
|
|
3277
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
3278
|
-
extends StandardParameters {
|
|
3279
|
-
/**
|
|
3280
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
3281
|
-
*/
|
|
3282
|
-
parent?: string;
|
|
3283
|
-
|
|
3284
|
-
/**
|
|
3285
|
-
* Request body metadata
|
|
3286
|
-
*/
|
|
3287
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
3288
|
-
}
|
|
3289
3344
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3290
3345
|
extends StandardParameters {
|
|
3291
3346
|
/**
|