@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/CHANGELOG.md +28 -0
- package/build/v1.d.ts +128 -62
- package/build/v1.js +35 -32
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +120 -88
- package/build/v1alpha.js +35 -32
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +133 -88
- package/build/v1beta.js +35 -32
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +161 -147
- package/v1alpha.ts +153 -172
- package/v1beta.ts +166 -172
package/v1beta.ts
CHANGED
|
@@ -358,6 +358,10 @@ export namespace alloydb_v1beta {
|
|
|
358
358
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
359
359
|
*/
|
|
360
360
|
etag?: string | null;
|
|
361
|
+
/**
|
|
362
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on.
|
|
363
|
+
*/
|
|
364
|
+
geminiConfig?: Schema$GeminiClusterConfig;
|
|
361
365
|
/**
|
|
362
366
|
* Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
|
|
363
367
|
*/
|
|
@@ -366,6 +370,14 @@ export namespace alloydb_v1beta {
|
|
|
366
370
|
* Labels as key value pairs
|
|
367
371
|
*/
|
|
368
372
|
labels?: {[key: string]: string} | null;
|
|
373
|
+
/**
|
|
374
|
+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
|
|
375
|
+
*/
|
|
376
|
+
maintenanceSchedule?: Schema$MaintenanceSchedule;
|
|
377
|
+
/**
|
|
378
|
+
* Optional. The maintenance update policy determines when to allow or deny updates.
|
|
379
|
+
*/
|
|
380
|
+
maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
|
|
369
381
|
/**
|
|
370
382
|
* Output only. Cluster created via DMS migration.
|
|
371
383
|
*/
|
|
@@ -375,7 +387,7 @@ export namespace alloydb_v1beta {
|
|
|
375
387
|
*/
|
|
376
388
|
name?: string | null;
|
|
377
389
|
/**
|
|
378
|
-
* 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:
|
|
390
|
+
* 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.
|
|
379
391
|
*/
|
|
380
392
|
network?: string | null;
|
|
381
393
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -383,6 +395,10 @@ export namespace alloydb_v1beta {
|
|
|
383
395
|
* Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
384
396
|
*/
|
|
385
397
|
primaryConfig?: Schema$PrimaryConfig;
|
|
398
|
+
/**
|
|
399
|
+
* Optional. The configuration for Private Service Connect (PSC) for the cluster.
|
|
400
|
+
*/
|
|
401
|
+
pscConfig?: Schema$PscConfig;
|
|
386
402
|
/**
|
|
387
403
|
* 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.
|
|
388
404
|
*/
|
|
@@ -532,46 +548,22 @@ export namespace alloydb_v1beta {
|
|
|
532
548
|
validateOnly?: boolean | null;
|
|
533
549
|
}
|
|
534
550
|
/**
|
|
535
|
-
*
|
|
551
|
+
* Cluster level configuration parameters related to the Gemini in Databases add-on.
|
|
536
552
|
*/
|
|
537
|
-
export interface Schema$
|
|
538
|
-
/**
|
|
539
|
-
* 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.
|
|
540
|
-
*/
|
|
541
|
-
certDuration?: string | null;
|
|
542
|
-
/**
|
|
543
|
-
* Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.
|
|
544
|
-
*/
|
|
545
|
-
pemCsr?: string | null;
|
|
546
|
-
/**
|
|
547
|
-
* Optional. The public key from the client.
|
|
548
|
-
*/
|
|
549
|
-
publicKey?: string | null;
|
|
553
|
+
export interface Schema$GeminiClusterConfig {
|
|
550
554
|
/**
|
|
551
|
-
*
|
|
555
|
+
* 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.
|
|
552
556
|
*/
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* 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.
|
|
556
|
-
*/
|
|
557
|
-
useMetadataExchange?: boolean | null;
|
|
557
|
+
entitled?: boolean | null;
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
560
|
-
*
|
|
560
|
+
* Instance level configuration parameters related to the Gemini in Databases add-on.
|
|
561
561
|
*/
|
|
562
|
-
export interface Schema$
|
|
563
|
-
/**
|
|
564
|
-
* Optional. The pem-encoded cluster ca X.509 certificate.
|
|
565
|
-
*/
|
|
566
|
-
caCert?: string | null;
|
|
567
|
-
/**
|
|
568
|
-
* Output only. The pem-encoded, signed X.509 certificate.
|
|
569
|
-
*/
|
|
570
|
-
pemCertificate?: string | null;
|
|
562
|
+
export interface Schema$GeminiInstanceConfig {
|
|
571
563
|
/**
|
|
572
|
-
* Output only.
|
|
564
|
+
* 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.
|
|
573
565
|
*/
|
|
574
|
-
|
|
566
|
+
entitled?: boolean | null;
|
|
575
567
|
}
|
|
576
568
|
/**
|
|
577
569
|
* The response message for Locations.ListLocations.
|
|
@@ -689,6 +681,10 @@ export namespace alloydb_v1beta {
|
|
|
689
681
|
* 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.
|
|
690
682
|
*/
|
|
691
683
|
gceZone?: string | null;
|
|
684
|
+
/**
|
|
685
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on.
|
|
686
|
+
*/
|
|
687
|
+
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
692
688
|
/**
|
|
693
689
|
* Required. The type of the instance. Specified at creation time.
|
|
694
690
|
*/
|
|
@@ -717,6 +713,10 @@ export namespace alloydb_v1beta {
|
|
|
717
713
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
718
714
|
*/
|
|
719
715
|
nodes?: Schema$Node[];
|
|
716
|
+
/**
|
|
717
|
+
* Configuration for observability.
|
|
718
|
+
*/
|
|
719
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
720
720
|
/**
|
|
721
721
|
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
722
722
|
*/
|
|
@@ -891,6 +891,37 @@ export namespace alloydb_v1beta {
|
|
|
891
891
|
*/
|
|
892
892
|
cpuCount?: number | null;
|
|
893
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* 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.
|
|
896
|
+
*/
|
|
897
|
+
export interface Schema$MaintenanceSchedule {
|
|
898
|
+
/**
|
|
899
|
+
* Output only. The scheduled start time for the maintenance.
|
|
900
|
+
*/
|
|
901
|
+
startTime?: string | null;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
905
|
+
*/
|
|
906
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
907
|
+
/**
|
|
908
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
909
|
+
*/
|
|
910
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
914
|
+
*/
|
|
915
|
+
export interface Schema$MaintenanceWindow {
|
|
916
|
+
/**
|
|
917
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
918
|
+
*/
|
|
919
|
+
day?: string | null;
|
|
920
|
+
/**
|
|
921
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
922
|
+
*/
|
|
923
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
924
|
+
}
|
|
894
925
|
/**
|
|
895
926
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
896
927
|
*/
|
|
@@ -917,7 +948,7 @@ export namespace alloydb_v1beta {
|
|
|
917
948
|
*/
|
|
918
949
|
allocatedIpRange?: string | null;
|
|
919
950
|
/**
|
|
920
|
-
* 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:
|
|
951
|
+
* 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.
|
|
921
952
|
*/
|
|
922
953
|
network?: string | null;
|
|
923
954
|
}
|
|
@@ -942,6 +973,43 @@ export namespace alloydb_v1beta {
|
|
|
942
973
|
*/
|
|
943
974
|
zoneId?: string | null;
|
|
944
975
|
}
|
|
976
|
+
/**
|
|
977
|
+
* Observability Instance specific configuration.
|
|
978
|
+
*/
|
|
979
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
980
|
+
/**
|
|
981
|
+
* 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.
|
|
982
|
+
*/
|
|
983
|
+
enabled?: boolean | null;
|
|
984
|
+
/**
|
|
985
|
+
* Query string length. The default value is 10k.
|
|
986
|
+
*/
|
|
987
|
+
maxQueryStringLength?: number | null;
|
|
988
|
+
/**
|
|
989
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
990
|
+
*/
|
|
991
|
+
preserveComments?: boolean | null;
|
|
992
|
+
/**
|
|
993
|
+
* 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.
|
|
994
|
+
*/
|
|
995
|
+
queryPlansPerMinute?: number | null;
|
|
996
|
+
/**
|
|
997
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
998
|
+
*/
|
|
999
|
+
recordApplicationTags?: boolean | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1002
|
+
*/
|
|
1003
|
+
trackActiveQueries?: boolean | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* 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.
|
|
1006
|
+
*/
|
|
1007
|
+
trackWaitEvents?: boolean | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* 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.
|
|
1010
|
+
*/
|
|
1011
|
+
trackWaitEventTypes?: boolean | null;
|
|
1012
|
+
}
|
|
945
1013
|
/**
|
|
946
1014
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
947
1015
|
*/
|
|
@@ -1027,47 +1095,31 @@ export namespace alloydb_v1beta {
|
|
|
1027
1095
|
validateOnly?: boolean | null;
|
|
1028
1096
|
}
|
|
1029
1097
|
/**
|
|
1030
|
-
*
|
|
1098
|
+
* PscConfig contains PSC related configuration at a cluster level.
|
|
1031
1099
|
*/
|
|
1032
|
-
export interface Schema$
|
|
1100
|
+
export interface Schema$PscConfig {
|
|
1033
1101
|
/**
|
|
1034
|
-
* Optional.
|
|
1102
|
+
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1035
1103
|
*/
|
|
1036
|
-
|
|
1104
|
+
pscEnabled?: boolean | null;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface Schema$PscInstanceConfig {
|
|
1037
1110
|
/**
|
|
1038
1111
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1039
1112
|
*/
|
|
1040
1113
|
allowedConsumerProjects?: string[] | null;
|
|
1041
1114
|
/**
|
|
1042
|
-
*
|
|
1115
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1043
1116
|
*/
|
|
1044
|
-
|
|
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[];
|
|
1117
|
+
pscDnsName?: string | null;
|
|
1053
1118
|
/**
|
|
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
|
|
1119
|
+
* 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
1120
|
*/
|
|
1056
1121
|
serviceAttachmentLink?: string | null;
|
|
1057
1122
|
}
|
|
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
|
-
}
|
|
1071
1123
|
/**
|
|
1072
1124
|
* 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)
|
|
1073
1125
|
*/
|
|
@@ -1206,6 +1258,10 @@ export namespace alloydb_v1beta {
|
|
|
1206
1258
|
* 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).
|
|
1207
1259
|
*/
|
|
1208
1260
|
availabilityType?: string | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Checks for resources that are configured to have redundancy, and ongoing replication across regions
|
|
1263
|
+
*/
|
|
1264
|
+
crossRegionReplicaConfigured?: boolean | null;
|
|
1209
1265
|
externalReplicaConfigured?: boolean | null;
|
|
1210
1266
|
promotableReplicaConfigured?: boolean | null;
|
|
1211
1267
|
}
|
|
@@ -1432,7 +1488,7 @@ export namespace alloydb_v1beta {
|
|
|
1432
1488
|
*/
|
|
1433
1489
|
location?: string | null;
|
|
1434
1490
|
/**
|
|
1435
|
-
* 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
|
|
1491
|
+
* 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.
|
|
1436
1492
|
*/
|
|
1437
1493
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1438
1494
|
/**
|
|
@@ -1455,13 +1511,17 @@ export namespace alloydb_v1beta {
|
|
|
1455
1511
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1456
1512
|
*/
|
|
1457
1513
|
userLabels?: {[key: string]: string} | null;
|
|
1514
|
+
/**
|
|
1515
|
+
* User-provided labels associated with the resource
|
|
1516
|
+
*/
|
|
1517
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1458
1518
|
}
|
|
1459
1519
|
/**
|
|
1460
1520
|
* Common model for database resource recommendation signal data.
|
|
1461
1521
|
*/
|
|
1462
1522
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1463
1523
|
/**
|
|
1464
|
-
*
|
|
1524
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1465
1525
|
*/
|
|
1466
1526
|
additionalMetadata?: {[key: string]: any} | null;
|
|
1467
1527
|
/**
|
|
@@ -1514,6 +1574,7 @@ export namespace alloydb_v1beta {
|
|
|
1514
1574
|
* Identifies the specific error that occurred. REQUIRED
|
|
1515
1575
|
*/
|
|
1516
1576
|
code?: string | null;
|
|
1577
|
+
errorType?: string | null;
|
|
1517
1578
|
/**
|
|
1518
1579
|
* Additional information about the error encountered. REQUIRED
|
|
1519
1580
|
*/
|
|
@@ -1527,6 +1588,12 @@ export namespace alloydb_v1beta {
|
|
|
1527
1588
|
retentionUnit?: string | null;
|
|
1528
1589
|
timeBasedRetention?: string | null;
|
|
1529
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* 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.
|
|
1593
|
+
*/
|
|
1594
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1595
|
+
labels?: {[key: string]: string} | null;
|
|
1596
|
+
}
|
|
1530
1597
|
/**
|
|
1531
1598
|
* Product specification for Condor resources.
|
|
1532
1599
|
*/
|
|
@@ -1752,6 +1819,7 @@ export namespace alloydb_v1beta {
|
|
|
1752
1819
|
{
|
|
1753
1820
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1754
1821
|
method: 'GET',
|
|
1822
|
+
apiVersion: '',
|
|
1755
1823
|
},
|
|
1756
1824
|
options
|
|
1757
1825
|
),
|
|
@@ -1846,6 +1914,7 @@ export namespace alloydb_v1beta {
|
|
|
1846
1914
|
'$1'
|
|
1847
1915
|
),
|
|
1848
1916
|
method: 'GET',
|
|
1917
|
+
apiVersion: '',
|
|
1849
1918
|
},
|
|
1850
1919
|
options
|
|
1851
1920
|
),
|
|
@@ -1969,6 +2038,7 @@ export namespace alloydb_v1beta {
|
|
|
1969
2038
|
'$1'
|
|
1970
2039
|
),
|
|
1971
2040
|
method: 'POST',
|
|
2041
|
+
apiVersion: '',
|
|
1972
2042
|
},
|
|
1973
2043
|
options
|
|
1974
2044
|
),
|
|
@@ -2053,6 +2123,7 @@ export namespace alloydb_v1beta {
|
|
|
2053
2123
|
{
|
|
2054
2124
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2055
2125
|
method: 'DELETE',
|
|
2126
|
+
apiVersion: '',
|
|
2056
2127
|
},
|
|
2057
2128
|
options
|
|
2058
2129
|
),
|
|
@@ -2137,6 +2208,7 @@ export namespace alloydb_v1beta {
|
|
|
2137
2208
|
{
|
|
2138
2209
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2139
2210
|
method: 'GET',
|
|
2211
|
+
apiVersion: '',
|
|
2140
2212
|
},
|
|
2141
2213
|
options
|
|
2142
2214
|
),
|
|
@@ -2227,6 +2299,7 @@ export namespace alloydb_v1beta {
|
|
|
2227
2299
|
'$1'
|
|
2228
2300
|
),
|
|
2229
2301
|
method: 'GET',
|
|
2302
|
+
apiVersion: '',
|
|
2230
2303
|
},
|
|
2231
2304
|
options
|
|
2232
2305
|
),
|
|
@@ -2311,6 +2384,7 @@ export namespace alloydb_v1beta {
|
|
|
2311
2384
|
{
|
|
2312
2385
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2313
2386
|
method: 'PATCH',
|
|
2387
|
+
apiVersion: '',
|
|
2314
2388
|
},
|
|
2315
2389
|
options
|
|
2316
2390
|
),
|
|
@@ -2513,6 +2587,7 @@ export namespace alloydb_v1beta {
|
|
|
2513
2587
|
'$1'
|
|
2514
2588
|
),
|
|
2515
2589
|
method: 'POST',
|
|
2590
|
+
apiVersion: '',
|
|
2516
2591
|
},
|
|
2517
2592
|
options
|
|
2518
2593
|
),
|
|
@@ -2600,6 +2675,7 @@ export namespace alloydb_v1beta {
|
|
|
2600
2675
|
rootUrl + '/v1beta/{+parent}/clusters:createsecondary'
|
|
2601
2676
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2602
2677
|
method: 'POST',
|
|
2678
|
+
apiVersion: '',
|
|
2603
2679
|
},
|
|
2604
2680
|
options
|
|
2605
2681
|
),
|
|
@@ -2684,6 +2760,7 @@ export namespace alloydb_v1beta {
|
|
|
2684
2760
|
{
|
|
2685
2761
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2686
2762
|
method: 'DELETE',
|
|
2763
|
+
apiVersion: '',
|
|
2687
2764
|
},
|
|
2688
2765
|
options
|
|
2689
2766
|
),
|
|
@@ -2702,102 +2779,6 @@ export namespace alloydb_v1beta {
|
|
|
2702
2779
|
}
|
|
2703
2780
|
}
|
|
2704
2781
|
|
|
2705
|
-
/**
|
|
2706
|
-
* 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.
|
|
2707
|
-
*
|
|
2708
|
-
* @param params - Parameters for request
|
|
2709
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2710
|
-
* @param callback - Optional callback that handles the response.
|
|
2711
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2712
|
-
*/
|
|
2713
|
-
generateClientCertificate(
|
|
2714
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2715
|
-
options: StreamMethodOptions
|
|
2716
|
-
): GaxiosPromise<Readable>;
|
|
2717
|
-
generateClientCertificate(
|
|
2718
|
-
params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2719
|
-
options?: MethodOptions
|
|
2720
|
-
): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
2721
|
-
generateClientCertificate(
|
|
2722
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2723
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2724
|
-
callback: BodyResponseCallback<Readable>
|
|
2725
|
-
): void;
|
|
2726
|
-
generateClientCertificate(
|
|
2727
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2728
|
-
options:
|
|
2729
|
-
| MethodOptions
|
|
2730
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>,
|
|
2731
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2732
|
-
): void;
|
|
2733
|
-
generateClientCertificate(
|
|
2734
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2735
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2736
|
-
): void;
|
|
2737
|
-
generateClientCertificate(
|
|
2738
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2739
|
-
): void;
|
|
2740
|
-
generateClientCertificate(
|
|
2741
|
-
paramsOrCallback?:
|
|
2742
|
-
| Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
2743
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2744
|
-
| BodyResponseCallback<Readable>,
|
|
2745
|
-
optionsOrCallback?:
|
|
2746
|
-
| MethodOptions
|
|
2747
|
-
| StreamMethodOptions
|
|
2748
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2749
|
-
| BodyResponseCallback<Readable>,
|
|
2750
|
-
callback?:
|
|
2751
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2752
|
-
| BodyResponseCallback<Readable>
|
|
2753
|
-
):
|
|
2754
|
-
| void
|
|
2755
|
-
| GaxiosPromise<Schema$GenerateClientCertificateResponse>
|
|
2756
|
-
| GaxiosPromise<Readable> {
|
|
2757
|
-
let params = (paramsOrCallback ||
|
|
2758
|
-
{}) as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2759
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2760
|
-
|
|
2761
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2762
|
-
callback = paramsOrCallback;
|
|
2763
|
-
params =
|
|
2764
|
-
{} as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2765
|
-
options = {};
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2769
|
-
callback = optionsOrCallback;
|
|
2770
|
-
options = {};
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
2774
|
-
const parameters = {
|
|
2775
|
-
options: Object.assign(
|
|
2776
|
-
{
|
|
2777
|
-
url: (
|
|
2778
|
-
rootUrl + '/v1beta/{+parent}:generateClientCertificate'
|
|
2779
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2780
|
-
method: 'POST',
|
|
2781
|
-
},
|
|
2782
|
-
options
|
|
2783
|
-
),
|
|
2784
|
-
params,
|
|
2785
|
-
requiredParams: ['parent'],
|
|
2786
|
-
pathParams: ['parent'],
|
|
2787
|
-
context: this.context,
|
|
2788
|
-
};
|
|
2789
|
-
if (callback) {
|
|
2790
|
-
createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2791
|
-
parameters,
|
|
2792
|
-
callback as BodyResponseCallback<unknown>
|
|
2793
|
-
);
|
|
2794
|
-
} else {
|
|
2795
|
-
return createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2796
|
-
parameters
|
|
2797
|
-
);
|
|
2798
|
-
}
|
|
2799
|
-
}
|
|
2800
|
-
|
|
2801
2782
|
/**
|
|
2802
2783
|
* Gets details of a single Cluster.
|
|
2803
2784
|
*
|
|
@@ -2864,6 +2845,7 @@ export namespace alloydb_v1beta {
|
|
|
2864
2845
|
{
|
|
2865
2846
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2866
2847
|
method: 'GET',
|
|
2848
|
+
apiVersion: '',
|
|
2867
2849
|
},
|
|
2868
2850
|
options
|
|
2869
2851
|
),
|
|
@@ -2956,6 +2938,7 @@ export namespace alloydb_v1beta {
|
|
|
2956
2938
|
'$1'
|
|
2957
2939
|
),
|
|
2958
2940
|
method: 'GET',
|
|
2941
|
+
apiVersion: '',
|
|
2959
2942
|
},
|
|
2960
2943
|
options
|
|
2961
2944
|
),
|
|
@@ -3040,6 +3023,7 @@ export namespace alloydb_v1beta {
|
|
|
3040
3023
|
{
|
|
3041
3024
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3042
3025
|
method: 'PATCH',
|
|
3026
|
+
apiVersion: '',
|
|
3043
3027
|
},
|
|
3044
3028
|
options
|
|
3045
3029
|
),
|
|
@@ -3127,6 +3111,7 @@ export namespace alloydb_v1beta {
|
|
|
3127
3111
|
'$1'
|
|
3128
3112
|
),
|
|
3129
3113
|
method: 'POST',
|
|
3114
|
+
apiVersion: '',
|
|
3130
3115
|
},
|
|
3131
3116
|
options
|
|
3132
3117
|
),
|
|
@@ -3214,6 +3199,7 @@ export namespace alloydb_v1beta {
|
|
|
3214
3199
|
'$1'
|
|
3215
3200
|
),
|
|
3216
3201
|
method: 'POST',
|
|
3202
|
+
apiVersion: '',
|
|
3217
3203
|
},
|
|
3218
3204
|
options
|
|
3219
3205
|
),
|
|
@@ -3304,18 +3290,6 @@ export namespace alloydb_v1beta {
|
|
|
3304
3290
|
*/
|
|
3305
3291
|
validateOnly?: boolean;
|
|
3306
3292
|
}
|
|
3307
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
3308
|
-
extends StandardParameters {
|
|
3309
|
-
/**
|
|
3310
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
3311
|
-
*/
|
|
3312
|
-
parent?: string;
|
|
3313
|
-
|
|
3314
|
-
/**
|
|
3315
|
-
* Request body metadata
|
|
3316
|
-
*/
|
|
3317
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
3318
|
-
}
|
|
3319
3293
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3320
3294
|
extends StandardParameters {
|
|
3321
3295
|
/**
|
|
@@ -3479,6 +3453,7 @@ export namespace alloydb_v1beta {
|
|
|
3479
3453
|
'$1'
|
|
3480
3454
|
),
|
|
3481
3455
|
method: 'POST',
|
|
3456
|
+
apiVersion: '',
|
|
3482
3457
|
},
|
|
3483
3458
|
options
|
|
3484
3459
|
),
|
|
@@ -3566,6 +3541,7 @@ export namespace alloydb_v1beta {
|
|
|
3566
3541
|
rootUrl + '/v1beta/{+parent}/instances:createsecondary'
|
|
3567
3542
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3568
3543
|
method: 'POST',
|
|
3544
|
+
apiVersion: '',
|
|
3569
3545
|
},
|
|
3570
3546
|
options
|
|
3571
3547
|
),
|
|
@@ -3651,6 +3627,7 @@ export namespace alloydb_v1beta {
|
|
|
3651
3627
|
{
|
|
3652
3628
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3653
3629
|
method: 'DELETE',
|
|
3630
|
+
apiVersion: '',
|
|
3654
3631
|
},
|
|
3655
3632
|
options
|
|
3656
3633
|
),
|
|
@@ -3739,6 +3716,7 @@ export namespace alloydb_v1beta {
|
|
|
3739
3716
|
'$1'
|
|
3740
3717
|
),
|
|
3741
3718
|
method: 'POST',
|
|
3719
|
+
apiVersion: '',
|
|
3742
3720
|
},
|
|
3743
3721
|
options
|
|
3744
3722
|
),
|
|
@@ -3824,6 +3802,7 @@ export namespace alloydb_v1beta {
|
|
|
3824
3802
|
{
|
|
3825
3803
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3826
3804
|
method: 'GET',
|
|
3805
|
+
apiVersion: '',
|
|
3827
3806
|
},
|
|
3828
3807
|
options
|
|
3829
3808
|
),
|
|
@@ -3914,6 +3893,7 @@ export namespace alloydb_v1beta {
|
|
|
3914
3893
|
'$1'
|
|
3915
3894
|
),
|
|
3916
3895
|
method: 'GET',
|
|
3896
|
+
apiVersion: '',
|
|
3917
3897
|
},
|
|
3918
3898
|
options
|
|
3919
3899
|
),
|
|
@@ -4002,6 +3982,7 @@ export namespace alloydb_v1beta {
|
|
|
4002
3982
|
'$1'
|
|
4003
3983
|
),
|
|
4004
3984
|
method: 'POST',
|
|
3985
|
+
apiVersion: '',
|
|
4005
3986
|
},
|
|
4006
3987
|
options
|
|
4007
3988
|
),
|
|
@@ -4095,6 +4076,7 @@ export namespace alloydb_v1beta {
|
|
|
4095
4076
|
'$1'
|
|
4096
4077
|
),
|
|
4097
4078
|
method: 'GET',
|
|
4079
|
+
apiVersion: '',
|
|
4098
4080
|
},
|
|
4099
4081
|
options
|
|
4100
4082
|
),
|
|
@@ -4180,6 +4162,7 @@ export namespace alloydb_v1beta {
|
|
|
4180
4162
|
{
|
|
4181
4163
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4182
4164
|
method: 'PATCH',
|
|
4165
|
+
apiVersion: '',
|
|
4183
4166
|
},
|
|
4184
4167
|
options
|
|
4185
4168
|
),
|
|
@@ -4268,6 +4251,7 @@ export namespace alloydb_v1beta {
|
|
|
4268
4251
|
'$1'
|
|
4269
4252
|
),
|
|
4270
4253
|
method: 'POST',
|
|
4254
|
+
apiVersion: '',
|
|
4271
4255
|
},
|
|
4272
4256
|
options
|
|
4273
4257
|
),
|
|
@@ -4539,6 +4523,7 @@ export namespace alloydb_v1beta {
|
|
|
4539
4523
|
'$1'
|
|
4540
4524
|
),
|
|
4541
4525
|
method: 'POST',
|
|
4526
|
+
apiVersion: '',
|
|
4542
4527
|
},
|
|
4543
4528
|
options
|
|
4544
4529
|
),
|
|
@@ -4623,6 +4608,7 @@ export namespace alloydb_v1beta {
|
|
|
4623
4608
|
{
|
|
4624
4609
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4625
4610
|
method: 'DELETE',
|
|
4611
|
+
apiVersion: '',
|
|
4626
4612
|
},
|
|
4627
4613
|
options
|
|
4628
4614
|
),
|
|
@@ -4707,6 +4693,7 @@ export namespace alloydb_v1beta {
|
|
|
4707
4693
|
{
|
|
4708
4694
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4709
4695
|
method: 'GET',
|
|
4696
|
+
apiVersion: '',
|
|
4710
4697
|
},
|
|
4711
4698
|
options
|
|
4712
4699
|
),
|
|
@@ -4797,6 +4784,7 @@ export namespace alloydb_v1beta {
|
|
|
4797
4784
|
'$1'
|
|
4798
4785
|
),
|
|
4799
4786
|
method: 'GET',
|
|
4787
|
+
apiVersion: '',
|
|
4800
4788
|
},
|
|
4801
4789
|
options
|
|
4802
4790
|
),
|
|
@@ -4881,6 +4869,7 @@ export namespace alloydb_v1beta {
|
|
|
4881
4869
|
{
|
|
4882
4870
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4883
4871
|
method: 'PATCH',
|
|
4872
|
+
apiVersion: '',
|
|
4884
4873
|
},
|
|
4885
4874
|
options
|
|
4886
4875
|
),
|
|
@@ -5073,6 +5062,7 @@ export namespace alloydb_v1beta {
|
|
|
5073
5062
|
'$1'
|
|
5074
5063
|
),
|
|
5075
5064
|
method: 'POST',
|
|
5065
|
+
apiVersion: '',
|
|
5076
5066
|
},
|
|
5077
5067
|
options
|
|
5078
5068
|
),
|
|
@@ -5157,6 +5147,7 @@ export namespace alloydb_v1beta {
|
|
|
5157
5147
|
{
|
|
5158
5148
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5159
5149
|
method: 'DELETE',
|
|
5150
|
+
apiVersion: '',
|
|
5160
5151
|
},
|
|
5161
5152
|
options
|
|
5162
5153
|
),
|
|
@@ -5241,6 +5232,7 @@ export namespace alloydb_v1beta {
|
|
|
5241
5232
|
{
|
|
5242
5233
|
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5243
5234
|
method: 'GET',
|
|
5235
|
+
apiVersion: '',
|
|
5244
5236
|
},
|
|
5245
5237
|
options
|
|
5246
5238
|
),
|
|
@@ -5333,6 +5325,7 @@ export namespace alloydb_v1beta {
|
|
|
5333
5325
|
'$1'
|
|
5334
5326
|
),
|
|
5335
5327
|
method: 'GET',
|
|
5328
|
+
apiVersion: '',
|
|
5336
5329
|
},
|
|
5337
5330
|
options
|
|
5338
5331
|
),
|
|
@@ -5476,6 +5469,7 @@ export namespace alloydb_v1beta {
|
|
|
5476
5469
|
'$1'
|
|
5477
5470
|
),
|
|
5478
5471
|
method: 'GET',
|
|
5472
|
+
apiVersion: '',
|
|
5479
5473
|
},
|
|
5480
5474
|
options
|
|
5481
5475
|
),
|