@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/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.
|
|
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,14 @@ export namespace alloydb_v1alpha {
|
|
|
374
378
|
* Labels as key value pairs
|
|
375
379
|
*/
|
|
376
380
|
labels?: {[key: string]: string} | null;
|
|
381
|
+
/**
|
|
382
|
+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
|
|
383
|
+
*/
|
|
384
|
+
maintenanceSchedule?: Schema$MaintenanceSchedule;
|
|
385
|
+
/**
|
|
386
|
+
* Optional. The maintenance update policy determines when to allow or deny updates.
|
|
387
|
+
*/
|
|
388
|
+
maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
|
|
377
389
|
/**
|
|
378
390
|
* Output only. Cluster created via DMS migration.
|
|
379
391
|
*/
|
|
@@ -383,7 +395,7 @@ export namespace alloydb_v1alpha {
|
|
|
383
395
|
*/
|
|
384
396
|
name?: string | null;
|
|
385
397
|
/**
|
|
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:
|
|
398
|
+
* 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
399
|
*/
|
|
388
400
|
network?: string | null;
|
|
389
401
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -548,46 +560,22 @@ export namespace alloydb_v1alpha {
|
|
|
548
560
|
validateOnly?: boolean | null;
|
|
549
561
|
}
|
|
550
562
|
/**
|
|
551
|
-
*
|
|
563
|
+
* Cluster level configuration parameters related to the Gemini in Databases add-on.
|
|
552
564
|
*/
|
|
553
|
-
export interface Schema$
|
|
565
|
+
export interface Schema$GeminiClusterConfig {
|
|
554
566
|
/**
|
|
555
|
-
*
|
|
567
|
+
* 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.
|
|
556
568
|
*/
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.
|
|
560
|
-
*/
|
|
561
|
-
pemCsr?: string | null;
|
|
562
|
-
/**
|
|
563
|
-
* Optional. The public key from the client.
|
|
564
|
-
*/
|
|
565
|
-
publicKey?: string | null;
|
|
566
|
-
/**
|
|
567
|
-
* 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).
|
|
568
|
-
*/
|
|
569
|
-
requestId?: string | null;
|
|
570
|
-
/**
|
|
571
|
-
* 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.
|
|
572
|
-
*/
|
|
573
|
-
useMetadataExchange?: boolean | null;
|
|
569
|
+
entitled?: boolean | null;
|
|
574
570
|
}
|
|
575
571
|
/**
|
|
576
|
-
*
|
|
572
|
+
* Instance level configuration parameters related to the Gemini in Databases add-on.
|
|
577
573
|
*/
|
|
578
|
-
export interface Schema$
|
|
574
|
+
export interface Schema$GeminiInstanceConfig {
|
|
579
575
|
/**
|
|
580
|
-
*
|
|
581
|
-
*/
|
|
582
|
-
caCert?: string | null;
|
|
583
|
-
/**
|
|
584
|
-
* Output only. The pem-encoded, signed X.509 certificate.
|
|
585
|
-
*/
|
|
586
|
-
pemCertificate?: string | null;
|
|
587
|
-
/**
|
|
588
|
-
* 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.
|
|
576
|
+
* 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.
|
|
589
577
|
*/
|
|
590
|
-
|
|
578
|
+
entitled?: boolean | null;
|
|
591
579
|
}
|
|
592
580
|
/**
|
|
593
581
|
* The response message for Locations.ListLocations.
|
|
@@ -705,6 +693,10 @@ export namespace alloydb_v1alpha {
|
|
|
705
693
|
* 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.
|
|
706
694
|
*/
|
|
707
695
|
gceZone?: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on.
|
|
698
|
+
*/
|
|
699
|
+
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
708
700
|
/**
|
|
709
701
|
* Required. The type of the instance. Specified at creation time.
|
|
710
702
|
*/
|
|
@@ -733,6 +725,10 @@ export namespace alloydb_v1alpha {
|
|
|
733
725
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
734
726
|
*/
|
|
735
727
|
nodes?: Schema$Node[];
|
|
728
|
+
/**
|
|
729
|
+
* Configuration for observability.
|
|
730
|
+
*/
|
|
731
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
736
732
|
/**
|
|
737
733
|
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
738
734
|
*/
|
|
@@ -911,6 +907,37 @@ export namespace alloydb_v1alpha {
|
|
|
911
907
|
*/
|
|
912
908
|
cpuCount?: number | null;
|
|
913
909
|
}
|
|
910
|
+
/**
|
|
911
|
+
* 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.
|
|
912
|
+
*/
|
|
913
|
+
export interface Schema$MaintenanceSchedule {
|
|
914
|
+
/**
|
|
915
|
+
* Output only. The scheduled start time for the maintenance.
|
|
916
|
+
*/
|
|
917
|
+
startTime?: string | null;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
921
|
+
*/
|
|
922
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
923
|
+
/**
|
|
924
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
925
|
+
*/
|
|
926
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
930
|
+
*/
|
|
931
|
+
export interface Schema$MaintenanceWindow {
|
|
932
|
+
/**
|
|
933
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
934
|
+
*/
|
|
935
|
+
day?: string | null;
|
|
936
|
+
/**
|
|
937
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
938
|
+
*/
|
|
939
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
940
|
+
}
|
|
914
941
|
/**
|
|
915
942
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
916
943
|
*/
|
|
@@ -937,7 +964,7 @@ export namespace alloydb_v1alpha {
|
|
|
937
964
|
*/
|
|
938
965
|
allocatedIpRange?: string | null;
|
|
939
966
|
/**
|
|
940
|
-
* 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:
|
|
967
|
+
* 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.
|
|
941
968
|
*/
|
|
942
969
|
network?: string | null;
|
|
943
970
|
}
|
|
@@ -962,6 +989,43 @@ export namespace alloydb_v1alpha {
|
|
|
962
989
|
*/
|
|
963
990
|
zoneId?: string | null;
|
|
964
991
|
}
|
|
992
|
+
/**
|
|
993
|
+
* Observability Instance specific configuration.
|
|
994
|
+
*/
|
|
995
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
996
|
+
/**
|
|
997
|
+
* 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.
|
|
998
|
+
*/
|
|
999
|
+
enabled?: boolean | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* Query string length. The default value is 10k.
|
|
1002
|
+
*/
|
|
1003
|
+
maxQueryStringLength?: number | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
1006
|
+
*/
|
|
1007
|
+
preserveComments?: boolean | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* 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.
|
|
1010
|
+
*/
|
|
1011
|
+
queryPlansPerMinute?: number | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
1014
|
+
*/
|
|
1015
|
+
recordApplicationTags?: boolean | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1018
|
+
*/
|
|
1019
|
+
trackActiveQueries?: boolean | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* 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.
|
|
1022
|
+
*/
|
|
1023
|
+
trackWaitEvents?: boolean | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* 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.
|
|
1026
|
+
*/
|
|
1027
|
+
trackWaitEventTypes?: boolean | null;
|
|
1028
|
+
}
|
|
965
1029
|
/**
|
|
966
1030
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
967
1031
|
*/
|
|
@@ -1059,44 +1123,19 @@ export namespace alloydb_v1alpha {
|
|
|
1059
1123
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1060
1124
|
*/
|
|
1061
1125
|
export interface Schema$PscInstanceConfig {
|
|
1062
|
-
/**
|
|
1063
|
-
* Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1064
|
-
*/
|
|
1065
|
-
allowedConsumerNetworks?: string[] | null;
|
|
1066
1126
|
/**
|
|
1067
1127
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1068
1128
|
*/
|
|
1069
1129
|
allowedConsumerProjects?: string[] | null;
|
|
1070
1130
|
/**
|
|
1071
|
-
*
|
|
1072
|
-
*/
|
|
1073
|
-
outgoingServiceAttachmentLinks?: string[] | null;
|
|
1074
|
-
/**
|
|
1075
|
-
* Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
|
|
1076
|
-
*/
|
|
1077
|
-
pscEnabled?: boolean | null;
|
|
1078
|
-
/**
|
|
1079
|
-
* 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.
|
|
1131
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1080
1132
|
*/
|
|
1081
|
-
|
|
1133
|
+
pscDnsName?: string | null;
|
|
1082
1134
|
/**
|
|
1083
|
-
* 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
|
|
1135
|
+
* 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/`
|
|
1084
1136
|
*/
|
|
1085
1137
|
serviceAttachmentLink?: string | null;
|
|
1086
1138
|
}
|
|
1087
|
-
/**
|
|
1088
|
-
* 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.
|
|
1089
|
-
*/
|
|
1090
|
-
export interface Schema$PscInterfaceConfig {
|
|
1091
|
-
/**
|
|
1092
|
-
* 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.
|
|
1093
|
-
*/
|
|
1094
|
-
consumerEndpointIps?: string[] | null;
|
|
1095
|
-
/**
|
|
1096
|
-
* 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.
|
|
1097
|
-
*/
|
|
1098
|
-
networkAttachment?: string | null;
|
|
1099
|
-
}
|
|
1100
1139
|
/**
|
|
1101
1140
|
* 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)
|
|
1102
1141
|
*/
|
|
@@ -1235,6 +1274,10 @@ export namespace alloydb_v1alpha {
|
|
|
1235
1274
|
* 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).
|
|
1236
1275
|
*/
|
|
1237
1276
|
availabilityType?: string | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Checks for resources that are configured to have redundancy, and ongoing replication across regions
|
|
1279
|
+
*/
|
|
1280
|
+
crossRegionReplicaConfigured?: boolean | null;
|
|
1238
1281
|
externalReplicaConfigured?: boolean | null;
|
|
1239
1282
|
promotableReplicaConfigured?: boolean | null;
|
|
1240
1283
|
}
|
|
@@ -1461,7 +1504,7 @@ export namespace alloydb_v1alpha {
|
|
|
1461
1504
|
*/
|
|
1462
1505
|
location?: string | null;
|
|
1463
1506
|
/**
|
|
1464
|
-
* 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
|
|
1507
|
+
* 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.
|
|
1465
1508
|
*/
|
|
1466
1509
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1467
1510
|
/**
|
|
@@ -1484,13 +1527,17 @@ export namespace alloydb_v1alpha {
|
|
|
1484
1527
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1485
1528
|
*/
|
|
1486
1529
|
userLabels?: {[key: string]: string} | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* User-provided labels associated with the resource
|
|
1532
|
+
*/
|
|
1533
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1487
1534
|
}
|
|
1488
1535
|
/**
|
|
1489
1536
|
* Common model for database resource recommendation signal data.
|
|
1490
1537
|
*/
|
|
1491
1538
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1492
1539
|
/**
|
|
1493
|
-
*
|
|
1540
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1494
1541
|
*/
|
|
1495
1542
|
additionalMetadata?: {[key: string]: any} | null;
|
|
1496
1543
|
/**
|
|
@@ -1543,6 +1590,7 @@ export namespace alloydb_v1alpha {
|
|
|
1543
1590
|
* Identifies the specific error that occurred. REQUIRED
|
|
1544
1591
|
*/
|
|
1545
1592
|
code?: string | null;
|
|
1593
|
+
errorType?: string | null;
|
|
1546
1594
|
/**
|
|
1547
1595
|
* Additional information about the error encountered. REQUIRED
|
|
1548
1596
|
*/
|
|
@@ -1556,6 +1604,12 @@ export namespace alloydb_v1alpha {
|
|
|
1556
1604
|
retentionUnit?: string | null;
|
|
1557
1605
|
timeBasedRetention?: string | null;
|
|
1558
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
* 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.
|
|
1609
|
+
*/
|
|
1610
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1611
|
+
labels?: {[key: string]: string} | null;
|
|
1612
|
+
}
|
|
1559
1613
|
/**
|
|
1560
1614
|
* Product specification for Condor resources.
|
|
1561
1615
|
*/
|
|
@@ -1781,6 +1835,7 @@ export namespace alloydb_v1alpha {
|
|
|
1781
1835
|
{
|
|
1782
1836
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1783
1837
|
method: 'GET',
|
|
1838
|
+
apiVersion: '',
|
|
1784
1839
|
},
|
|
1785
1840
|
options
|
|
1786
1841
|
),
|
|
@@ -1875,6 +1930,7 @@ export namespace alloydb_v1alpha {
|
|
|
1875
1930
|
'$1'
|
|
1876
1931
|
),
|
|
1877
1932
|
method: 'GET',
|
|
1933
|
+
apiVersion: '',
|
|
1878
1934
|
},
|
|
1879
1935
|
options
|
|
1880
1936
|
),
|
|
@@ -1998,6 +2054,7 @@ export namespace alloydb_v1alpha {
|
|
|
1998
2054
|
'$1'
|
|
1999
2055
|
),
|
|
2000
2056
|
method: 'POST',
|
|
2057
|
+
apiVersion: '',
|
|
2001
2058
|
},
|
|
2002
2059
|
options
|
|
2003
2060
|
),
|
|
@@ -2082,6 +2139,7 @@ export namespace alloydb_v1alpha {
|
|
|
2082
2139
|
{
|
|
2083
2140
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2084
2141
|
method: 'DELETE',
|
|
2142
|
+
apiVersion: '',
|
|
2085
2143
|
},
|
|
2086
2144
|
options
|
|
2087
2145
|
),
|
|
@@ -2166,6 +2224,7 @@ export namespace alloydb_v1alpha {
|
|
|
2166
2224
|
{
|
|
2167
2225
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2168
2226
|
method: 'GET',
|
|
2227
|
+
apiVersion: '',
|
|
2169
2228
|
},
|
|
2170
2229
|
options
|
|
2171
2230
|
),
|
|
@@ -2256,6 +2315,7 @@ export namespace alloydb_v1alpha {
|
|
|
2256
2315
|
'$1'
|
|
2257
2316
|
),
|
|
2258
2317
|
method: 'GET',
|
|
2318
|
+
apiVersion: '',
|
|
2259
2319
|
},
|
|
2260
2320
|
options
|
|
2261
2321
|
),
|
|
@@ -2340,6 +2400,7 @@ export namespace alloydb_v1alpha {
|
|
|
2340
2400
|
{
|
|
2341
2401
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2342
2402
|
method: 'PATCH',
|
|
2403
|
+
apiVersion: '',
|
|
2343
2404
|
},
|
|
2344
2405
|
options
|
|
2345
2406
|
),
|
|
@@ -2542,6 +2603,7 @@ export namespace alloydb_v1alpha {
|
|
|
2542
2603
|
'$1'
|
|
2543
2604
|
),
|
|
2544
2605
|
method: 'POST',
|
|
2606
|
+
apiVersion: '',
|
|
2545
2607
|
},
|
|
2546
2608
|
options
|
|
2547
2609
|
),
|
|
@@ -2629,6 +2691,7 @@ export namespace alloydb_v1alpha {
|
|
|
2629
2691
|
rootUrl + '/v1alpha/{+parent}/clusters:createsecondary'
|
|
2630
2692
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2631
2693
|
method: 'POST',
|
|
2694
|
+
apiVersion: '',
|
|
2632
2695
|
},
|
|
2633
2696
|
options
|
|
2634
2697
|
),
|
|
@@ -2713,6 +2776,7 @@ export namespace alloydb_v1alpha {
|
|
|
2713
2776
|
{
|
|
2714
2777
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2715
2778
|
method: 'DELETE',
|
|
2779
|
+
apiVersion: '',
|
|
2716
2780
|
},
|
|
2717
2781
|
options
|
|
2718
2782
|
),
|
|
@@ -2731,102 +2795,6 @@ export namespace alloydb_v1alpha {
|
|
|
2731
2795
|
}
|
|
2732
2796
|
}
|
|
2733
2797
|
|
|
2734
|
-
/**
|
|
2735
|
-
* 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.
|
|
2736
|
-
*
|
|
2737
|
-
* @param params - Parameters for request
|
|
2738
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2739
|
-
* @param callback - Optional callback that handles the response.
|
|
2740
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2741
|
-
*/
|
|
2742
|
-
generateClientCertificate(
|
|
2743
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2744
|
-
options: StreamMethodOptions
|
|
2745
|
-
): GaxiosPromise<Readable>;
|
|
2746
|
-
generateClientCertificate(
|
|
2747
|
-
params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2748
|
-
options?: MethodOptions
|
|
2749
|
-
): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
2750
|
-
generateClientCertificate(
|
|
2751
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2752
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2753
|
-
callback: BodyResponseCallback<Readable>
|
|
2754
|
-
): void;
|
|
2755
|
-
generateClientCertificate(
|
|
2756
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2757
|
-
options:
|
|
2758
|
-
| MethodOptions
|
|
2759
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>,
|
|
2760
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2761
|
-
): void;
|
|
2762
|
-
generateClientCertificate(
|
|
2763
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2764
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2765
|
-
): void;
|
|
2766
|
-
generateClientCertificate(
|
|
2767
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2768
|
-
): void;
|
|
2769
|
-
generateClientCertificate(
|
|
2770
|
-
paramsOrCallback?:
|
|
2771
|
-
| Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
2772
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2773
|
-
| BodyResponseCallback<Readable>,
|
|
2774
|
-
optionsOrCallback?:
|
|
2775
|
-
| MethodOptions
|
|
2776
|
-
| StreamMethodOptions
|
|
2777
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2778
|
-
| BodyResponseCallback<Readable>,
|
|
2779
|
-
callback?:
|
|
2780
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2781
|
-
| BodyResponseCallback<Readable>
|
|
2782
|
-
):
|
|
2783
|
-
| void
|
|
2784
|
-
| GaxiosPromise<Schema$GenerateClientCertificateResponse>
|
|
2785
|
-
| GaxiosPromise<Readable> {
|
|
2786
|
-
let params = (paramsOrCallback ||
|
|
2787
|
-
{}) as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2788
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2789
|
-
|
|
2790
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2791
|
-
callback = paramsOrCallback;
|
|
2792
|
-
params =
|
|
2793
|
-
{} as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2794
|
-
options = {};
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2797
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2798
|
-
callback = optionsOrCallback;
|
|
2799
|
-
options = {};
|
|
2800
|
-
}
|
|
2801
|
-
|
|
2802
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
2803
|
-
const parameters = {
|
|
2804
|
-
options: Object.assign(
|
|
2805
|
-
{
|
|
2806
|
-
url: (
|
|
2807
|
-
rootUrl + '/v1alpha/{+parent}:generateClientCertificate'
|
|
2808
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2809
|
-
method: 'POST',
|
|
2810
|
-
},
|
|
2811
|
-
options
|
|
2812
|
-
),
|
|
2813
|
-
params,
|
|
2814
|
-
requiredParams: ['parent'],
|
|
2815
|
-
pathParams: ['parent'],
|
|
2816
|
-
context: this.context,
|
|
2817
|
-
};
|
|
2818
|
-
if (callback) {
|
|
2819
|
-
createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2820
|
-
parameters,
|
|
2821
|
-
callback as BodyResponseCallback<unknown>
|
|
2822
|
-
);
|
|
2823
|
-
} else {
|
|
2824
|
-
return createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2825
|
-
parameters
|
|
2826
|
-
);
|
|
2827
|
-
}
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
2798
|
/**
|
|
2831
2799
|
* Gets details of a single Cluster.
|
|
2832
2800
|
*
|
|
@@ -2893,6 +2861,7 @@ export namespace alloydb_v1alpha {
|
|
|
2893
2861
|
{
|
|
2894
2862
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2895
2863
|
method: 'GET',
|
|
2864
|
+
apiVersion: '',
|
|
2896
2865
|
},
|
|
2897
2866
|
options
|
|
2898
2867
|
),
|
|
@@ -2985,6 +2954,7 @@ export namespace alloydb_v1alpha {
|
|
|
2985
2954
|
'$1'
|
|
2986
2955
|
),
|
|
2987
2956
|
method: 'GET',
|
|
2957
|
+
apiVersion: '',
|
|
2988
2958
|
},
|
|
2989
2959
|
options
|
|
2990
2960
|
),
|
|
@@ -3069,6 +3039,7 @@ export namespace alloydb_v1alpha {
|
|
|
3069
3039
|
{
|
|
3070
3040
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3071
3041
|
method: 'PATCH',
|
|
3042
|
+
apiVersion: '',
|
|
3072
3043
|
},
|
|
3073
3044
|
options
|
|
3074
3045
|
),
|
|
@@ -3156,6 +3127,7 @@ export namespace alloydb_v1alpha {
|
|
|
3156
3127
|
'$1'
|
|
3157
3128
|
),
|
|
3158
3129
|
method: 'POST',
|
|
3130
|
+
apiVersion: '',
|
|
3159
3131
|
},
|
|
3160
3132
|
options
|
|
3161
3133
|
),
|
|
@@ -3243,6 +3215,7 @@ export namespace alloydb_v1alpha {
|
|
|
3243
3215
|
'$1'
|
|
3244
3216
|
),
|
|
3245
3217
|
method: 'POST',
|
|
3218
|
+
apiVersion: '',
|
|
3246
3219
|
},
|
|
3247
3220
|
options
|
|
3248
3221
|
),
|
|
@@ -3333,18 +3306,6 @@ export namespace alloydb_v1alpha {
|
|
|
3333
3306
|
*/
|
|
3334
3307
|
validateOnly?: boolean;
|
|
3335
3308
|
}
|
|
3336
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
3337
|
-
extends StandardParameters {
|
|
3338
|
-
/**
|
|
3339
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
3340
|
-
*/
|
|
3341
|
-
parent?: string;
|
|
3342
|
-
|
|
3343
|
-
/**
|
|
3344
|
-
* Request body metadata
|
|
3345
|
-
*/
|
|
3346
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
3347
|
-
}
|
|
3348
3309
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3349
3310
|
extends StandardParameters {
|
|
3350
3311
|
/**
|
|
@@ -3508,6 +3469,7 @@ export namespace alloydb_v1alpha {
|
|
|
3508
3469
|
'$1'
|
|
3509
3470
|
),
|
|
3510
3471
|
method: 'POST',
|
|
3472
|
+
apiVersion: '',
|
|
3511
3473
|
},
|
|
3512
3474
|
options
|
|
3513
3475
|
),
|
|
@@ -3595,6 +3557,7 @@ export namespace alloydb_v1alpha {
|
|
|
3595
3557
|
rootUrl + '/v1alpha/{+parent}/instances:createsecondary'
|
|
3596
3558
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3597
3559
|
method: 'POST',
|
|
3560
|
+
apiVersion: '',
|
|
3598
3561
|
},
|
|
3599
3562
|
options
|
|
3600
3563
|
),
|
|
@@ -3680,6 +3643,7 @@ export namespace alloydb_v1alpha {
|
|
|
3680
3643
|
{
|
|
3681
3644
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3682
3645
|
method: 'DELETE',
|
|
3646
|
+
apiVersion: '',
|
|
3683
3647
|
},
|
|
3684
3648
|
options
|
|
3685
3649
|
),
|
|
@@ -3768,6 +3732,7 @@ export namespace alloydb_v1alpha {
|
|
|
3768
3732
|
'$1'
|
|
3769
3733
|
),
|
|
3770
3734
|
method: 'POST',
|
|
3735
|
+
apiVersion: '',
|
|
3771
3736
|
},
|
|
3772
3737
|
options
|
|
3773
3738
|
),
|
|
@@ -3853,6 +3818,7 @@ export namespace alloydb_v1alpha {
|
|
|
3853
3818
|
{
|
|
3854
3819
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3855
3820
|
method: 'GET',
|
|
3821
|
+
apiVersion: '',
|
|
3856
3822
|
},
|
|
3857
3823
|
options
|
|
3858
3824
|
),
|
|
@@ -3943,6 +3909,7 @@ export namespace alloydb_v1alpha {
|
|
|
3943
3909
|
'$1'
|
|
3944
3910
|
),
|
|
3945
3911
|
method: 'GET',
|
|
3912
|
+
apiVersion: '',
|
|
3946
3913
|
},
|
|
3947
3914
|
options
|
|
3948
3915
|
),
|
|
@@ -4031,6 +3998,7 @@ export namespace alloydb_v1alpha {
|
|
|
4031
3998
|
'$1'
|
|
4032
3999
|
),
|
|
4033
4000
|
method: 'POST',
|
|
4001
|
+
apiVersion: '',
|
|
4034
4002
|
},
|
|
4035
4003
|
options
|
|
4036
4004
|
),
|
|
@@ -4124,6 +4092,7 @@ export namespace alloydb_v1alpha {
|
|
|
4124
4092
|
'$1'
|
|
4125
4093
|
),
|
|
4126
4094
|
method: 'GET',
|
|
4095
|
+
apiVersion: '',
|
|
4127
4096
|
},
|
|
4128
4097
|
options
|
|
4129
4098
|
),
|
|
@@ -4209,6 +4178,7 @@ export namespace alloydb_v1alpha {
|
|
|
4209
4178
|
{
|
|
4210
4179
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4211
4180
|
method: 'PATCH',
|
|
4181
|
+
apiVersion: '',
|
|
4212
4182
|
},
|
|
4213
4183
|
options
|
|
4214
4184
|
),
|
|
@@ -4297,6 +4267,7 @@ export namespace alloydb_v1alpha {
|
|
|
4297
4267
|
'$1'
|
|
4298
4268
|
),
|
|
4299
4269
|
method: 'POST',
|
|
4270
|
+
apiVersion: '',
|
|
4300
4271
|
},
|
|
4301
4272
|
options
|
|
4302
4273
|
),
|
|
@@ -4568,6 +4539,7 @@ export namespace alloydb_v1alpha {
|
|
|
4568
4539
|
'$1'
|
|
4569
4540
|
),
|
|
4570
4541
|
method: 'POST',
|
|
4542
|
+
apiVersion: '',
|
|
4571
4543
|
},
|
|
4572
4544
|
options
|
|
4573
4545
|
),
|
|
@@ -4652,6 +4624,7 @@ export namespace alloydb_v1alpha {
|
|
|
4652
4624
|
{
|
|
4653
4625
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4654
4626
|
method: 'DELETE',
|
|
4627
|
+
apiVersion: '',
|
|
4655
4628
|
},
|
|
4656
4629
|
options
|
|
4657
4630
|
),
|
|
@@ -4736,6 +4709,7 @@ export namespace alloydb_v1alpha {
|
|
|
4736
4709
|
{
|
|
4737
4710
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4738
4711
|
method: 'GET',
|
|
4712
|
+
apiVersion: '',
|
|
4739
4713
|
},
|
|
4740
4714
|
options
|
|
4741
4715
|
),
|
|
@@ -4826,6 +4800,7 @@ export namespace alloydb_v1alpha {
|
|
|
4826
4800
|
'$1'
|
|
4827
4801
|
),
|
|
4828
4802
|
method: 'GET',
|
|
4803
|
+
apiVersion: '',
|
|
4829
4804
|
},
|
|
4830
4805
|
options
|
|
4831
4806
|
),
|
|
@@ -4910,6 +4885,7 @@ export namespace alloydb_v1alpha {
|
|
|
4910
4885
|
{
|
|
4911
4886
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4912
4887
|
method: 'PATCH',
|
|
4888
|
+
apiVersion: '',
|
|
4913
4889
|
},
|
|
4914
4890
|
options
|
|
4915
4891
|
),
|
|
@@ -5102,6 +5078,7 @@ export namespace alloydb_v1alpha {
|
|
|
5102
5078
|
'$1'
|
|
5103
5079
|
),
|
|
5104
5080
|
method: 'POST',
|
|
5081
|
+
apiVersion: '',
|
|
5105
5082
|
},
|
|
5106
5083
|
options
|
|
5107
5084
|
),
|
|
@@ -5186,6 +5163,7 @@ export namespace alloydb_v1alpha {
|
|
|
5186
5163
|
{
|
|
5187
5164
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5188
5165
|
method: 'DELETE',
|
|
5166
|
+
apiVersion: '',
|
|
5189
5167
|
},
|
|
5190
5168
|
options
|
|
5191
5169
|
),
|
|
@@ -5270,6 +5248,7 @@ export namespace alloydb_v1alpha {
|
|
|
5270
5248
|
{
|
|
5271
5249
|
url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5272
5250
|
method: 'GET',
|
|
5251
|
+
apiVersion: '',
|
|
5273
5252
|
},
|
|
5274
5253
|
options
|
|
5275
5254
|
),
|
|
@@ -5362,6 +5341,7 @@ export namespace alloydb_v1alpha {
|
|
|
5362
5341
|
'$1'
|
|
5363
5342
|
),
|
|
5364
5343
|
method: 'GET',
|
|
5344
|
+
apiVersion: '',
|
|
5365
5345
|
},
|
|
5366
5346
|
options
|
|
5367
5347
|
),
|
|
@@ -5509,6 +5489,7 @@ export namespace alloydb_v1alpha {
|
|
|
5509
5489
|
rootUrl + '/v1alpha/{+parent}/supportedDatabaseFlags'
|
|
5510
5490
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
5511
5491
|
method: 'GET',
|
|
5492
|
+
apiVersion: '',
|
|
5512
5493
|
},
|
|
5513
5494
|
options
|
|
5514
5495
|
),
|