@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/alloydb-v6.0.0...alloydb-v7.0.0) (2024-05-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **alloydb:** This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **alloydb:** update the API ([51ad37e](https://github.com/googleapis/google-api-nodejs-client/commit/51ad37ee97ac19ca26c26c645f39f8d9d3fde0cd))
|
|
13
|
+
|
|
14
|
+
## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/alloydb-v5.0.0...alloydb-v6.0.0) (2024-04-04)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* This release has breaking changes.
|
|
20
|
+
* This release has breaking changes.
|
|
21
|
+
* **alloydb:** This release has breaking changes.
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **alloydb:** update the API ([811596d](https://github.com/googleapis/google-api-nodejs-client/commit/811596da7a26579904df0d865d0c79e8bf789fdb))
|
|
26
|
+
* **alloydb:** update the API ([46e2226](https://github.com/googleapis/google-api-nodejs-client/commit/46e222624198f842f2a4cad22479c881f84a6db5))
|
|
27
|
+
* **alloydb:** update the API ([590f835](https://github.com/googleapis/google-api-nodejs-client/commit/590f835773fe627a43a2f76aaa929260fd69955a))
|
|
28
|
+
* run the generator ([#3441](https://github.com/googleapis/google-api-nodejs-client/issues/3441)) ([f832463](https://github.com/googleapis/google-api-nodejs-client/commit/f832463312572dc58fe89f9254282982a520d1df))
|
|
29
|
+
* run the generator ([#3456](https://github.com/googleapis/google-api-nodejs-client/issues/3456)) ([a865e81](https://github.com/googleapis/google-api-nodejs-client/commit/a865e81539b315d3b321650663ba0b2555b1e5a1))
|
|
30
|
+
|
|
3
31
|
## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/alloydb-v4.0.0...alloydb-v5.0.0) (2024-03-12)
|
|
4
32
|
|
|
5
33
|
|
package/build/v1.d.ts
CHANGED
|
@@ -71,6 +71,15 @@ export declare namespace alloydb_v1 {
|
|
|
71
71
|
projects: Resource$Projects;
|
|
72
72
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* AuthorizedNetwork contains metadata for an authorized network.
|
|
76
|
+
*/
|
|
77
|
+
export interface Schema$AuthorizedNetwork {
|
|
78
|
+
/**
|
|
79
|
+
* CIDR range for one authorzied network of the instance.
|
|
80
|
+
*/
|
|
81
|
+
cidrRange?: string | null;
|
|
82
|
+
}
|
|
74
83
|
/**
|
|
75
84
|
* Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.
|
|
76
85
|
*/
|
|
@@ -319,6 +328,14 @@ export declare namespace alloydb_v1 {
|
|
|
319
328
|
labels?: {
|
|
320
329
|
[key: string]: string;
|
|
321
330
|
} | null;
|
|
331
|
+
/**
|
|
332
|
+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
|
|
333
|
+
*/
|
|
334
|
+
maintenanceSchedule?: Schema$MaintenanceSchedule;
|
|
335
|
+
/**
|
|
336
|
+
* Optional. The maintenance update policy determines when to allow or deny updates.
|
|
337
|
+
*/
|
|
338
|
+
maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
|
|
322
339
|
/**
|
|
323
340
|
* Output only. Cluster created via DMS migration.
|
|
324
341
|
*/
|
|
@@ -328,7 +345,7 @@ export declare namespace alloydb_v1 {
|
|
|
328
345
|
*/
|
|
329
346
|
name?: string | null;
|
|
330
347
|
/**
|
|
331
|
-
* 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:
|
|
348
|
+
* 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.
|
|
332
349
|
*/
|
|
333
350
|
network?: string | null;
|
|
334
351
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -336,6 +353,10 @@ export declare namespace alloydb_v1 {
|
|
|
336
353
|
* Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
337
354
|
*/
|
|
338
355
|
primaryConfig?: Schema$PrimaryConfig;
|
|
356
|
+
/**
|
|
357
|
+
* Optional. The configuration for Private Service Connect (PSC) for the cluster.
|
|
358
|
+
*/
|
|
359
|
+
pscConfig?: Schema$PscConfig;
|
|
339
360
|
/**
|
|
340
361
|
* 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.
|
|
341
362
|
*/
|
|
@@ -381,6 +402,10 @@ export declare namespace alloydb_v1 {
|
|
|
381
402
|
* The name of the ConnectionInfo singleton resource, e.g.: projects/{project\}/locations/{location\}/clusters/x/instances/x/connectionInfo This field currently has no semantic meaning.
|
|
382
403
|
*/
|
|
383
404
|
name?: string | null;
|
|
405
|
+
/**
|
|
406
|
+
* 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.
|
|
407
|
+
*/
|
|
408
|
+
publicIpAddress?: string | null;
|
|
384
409
|
}
|
|
385
410
|
/**
|
|
386
411
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
@@ -473,40 +498,6 @@ export declare namespace alloydb_v1 {
|
|
|
473
498
|
*/
|
|
474
499
|
validateOnly?: boolean | null;
|
|
475
500
|
}
|
|
476
|
-
/**
|
|
477
|
-
* Message for requests to generate a client certificate signed by the Cluster CA.
|
|
478
|
-
*/
|
|
479
|
-
export interface Schema$GenerateClientCertificateRequest {
|
|
480
|
-
/**
|
|
481
|
-
* 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.
|
|
482
|
-
*/
|
|
483
|
-
certDuration?: string | null;
|
|
484
|
-
/**
|
|
485
|
-
* Optional. The public key from the client.
|
|
486
|
-
*/
|
|
487
|
-
publicKey?: string | null;
|
|
488
|
-
/**
|
|
489
|
-
* 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).
|
|
490
|
-
*/
|
|
491
|
-
requestId?: string | null;
|
|
492
|
-
/**
|
|
493
|
-
* 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.
|
|
494
|
-
*/
|
|
495
|
-
useMetadataExchange?: boolean | null;
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Message returned by a GenerateClientCertificate operation.
|
|
499
|
-
*/
|
|
500
|
-
export interface Schema$GenerateClientCertificateResponse {
|
|
501
|
-
/**
|
|
502
|
-
* Optional. The pem-encoded cluster ca X.509 certificate.
|
|
503
|
-
*/
|
|
504
|
-
caCert?: string | null;
|
|
505
|
-
/**
|
|
506
|
-
* 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.
|
|
507
|
-
*/
|
|
508
|
-
pemCertificateChain?: string[] | null;
|
|
509
|
-
}
|
|
510
501
|
/**
|
|
511
502
|
* The response message for Locations.ListLocations.
|
|
512
503
|
*/
|
|
@@ -653,10 +644,22 @@ export declare namespace alloydb_v1 {
|
|
|
653
644
|
* Output only. The name of the instance resource with the format: * projects/{project\}/locations/{region\}/clusters/{cluster_id\}/instances/{instance_id\} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61\}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project\}/locations/{region\}/clusters/{cluster_id\}
|
|
654
645
|
*/
|
|
655
646
|
name?: string | null;
|
|
647
|
+
/**
|
|
648
|
+
* Optional. Instance level network configuration.
|
|
649
|
+
*/
|
|
650
|
+
networkConfig?: Schema$InstanceNetworkConfig;
|
|
656
651
|
/**
|
|
657
652
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
658
653
|
*/
|
|
659
654
|
nodes?: Schema$Node[];
|
|
655
|
+
/**
|
|
656
|
+
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
657
|
+
*/
|
|
658
|
+
pscInstanceConfig?: Schema$PscInstanceConfig;
|
|
659
|
+
/**
|
|
660
|
+
* 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.
|
|
661
|
+
*/
|
|
662
|
+
publicIpAddress?: string | null;
|
|
660
663
|
/**
|
|
661
664
|
* Configuration for query insights.
|
|
662
665
|
*/
|
|
@@ -690,6 +693,19 @@ export declare namespace alloydb_v1 {
|
|
|
690
693
|
*/
|
|
691
694
|
writableNode?: Schema$Node;
|
|
692
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* Metadata related to instance level network configuration.
|
|
698
|
+
*/
|
|
699
|
+
export interface Schema$InstanceNetworkConfig {
|
|
700
|
+
/**
|
|
701
|
+
* Optional. A list of external network authorized to access this instance.
|
|
702
|
+
*/
|
|
703
|
+
authorizedExternalNetworks?: Schema$AuthorizedNetwork[];
|
|
704
|
+
/**
|
|
705
|
+
* Optional. Enabling public ip for the instance.
|
|
706
|
+
*/
|
|
707
|
+
enablePublicIp?: boolean | null;
|
|
708
|
+
}
|
|
693
709
|
/**
|
|
694
710
|
* Restrictions on INTEGER type values.
|
|
695
711
|
*/
|
|
@@ -806,6 +822,37 @@ export declare namespace alloydb_v1 {
|
|
|
806
822
|
*/
|
|
807
823
|
cpuCount?: number | null;
|
|
808
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* 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.
|
|
827
|
+
*/
|
|
828
|
+
export interface Schema$MaintenanceSchedule {
|
|
829
|
+
/**
|
|
830
|
+
* Output only. The scheduled start time for the maintenance.
|
|
831
|
+
*/
|
|
832
|
+
startTime?: string | null;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
836
|
+
*/
|
|
837
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
838
|
+
/**
|
|
839
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
840
|
+
*/
|
|
841
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
845
|
+
*/
|
|
846
|
+
export interface Schema$MaintenanceWindow {
|
|
847
|
+
/**
|
|
848
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
849
|
+
*/
|
|
850
|
+
day?: string | null;
|
|
851
|
+
/**
|
|
852
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
853
|
+
*/
|
|
854
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
855
|
+
}
|
|
809
856
|
/**
|
|
810
857
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
811
858
|
*/
|
|
@@ -832,7 +879,7 @@ export declare namespace alloydb_v1 {
|
|
|
832
879
|
*/
|
|
833
880
|
allocatedIpRange?: string | null;
|
|
834
881
|
/**
|
|
835
|
-
* 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:
|
|
882
|
+
* 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.
|
|
836
883
|
*/
|
|
837
884
|
network?: string | null;
|
|
838
885
|
}
|
|
@@ -945,6 +992,32 @@ export declare namespace alloydb_v1 {
|
|
|
945
992
|
*/
|
|
946
993
|
validateOnly?: boolean | null;
|
|
947
994
|
}
|
|
995
|
+
/**
|
|
996
|
+
* PscConfig contains PSC related configuration at a cluster level.
|
|
997
|
+
*/
|
|
998
|
+
export interface Schema$PscConfig {
|
|
999
|
+
/**
|
|
1000
|
+
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1001
|
+
*/
|
|
1002
|
+
pscEnabled?: boolean | null;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1006
|
+
*/
|
|
1007
|
+
export interface Schema$PscInstanceConfig {
|
|
1008
|
+
/**
|
|
1009
|
+
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1010
|
+
*/
|
|
1011
|
+
allowedConsumerProjects?: string[] | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1014
|
+
*/
|
|
1015
|
+
pscDnsName?: string | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* 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/`
|
|
1018
|
+
*/
|
|
1019
|
+
serviceAttachmentLink?: string | null;
|
|
1020
|
+
}
|
|
948
1021
|
/**
|
|
949
1022
|
* 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)
|
|
950
1023
|
*/
|
|
@@ -1085,6 +1158,10 @@ export declare namespace alloydb_v1 {
|
|
|
1085
1158
|
* 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).
|
|
1086
1159
|
*/
|
|
1087
1160
|
availabilityType?: string | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Checks for resources that are configured to have redundancy, and ongoing replication across regions
|
|
1163
|
+
*/
|
|
1164
|
+
crossRegionReplicaConfigured?: boolean | null;
|
|
1088
1165
|
externalReplicaConfigured?: boolean | null;
|
|
1089
1166
|
promotableReplicaConfigured?: boolean | null;
|
|
1090
1167
|
}
|
|
@@ -1313,7 +1390,7 @@ export declare namespace alloydb_v1 {
|
|
|
1313
1390
|
*/
|
|
1314
1391
|
location?: string | null;
|
|
1315
1392
|
/**
|
|
1316
|
-
* 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
|
|
1393
|
+
* 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.
|
|
1317
1394
|
*/
|
|
1318
1395
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1319
1396
|
/**
|
|
@@ -1338,13 +1415,17 @@ export declare namespace alloydb_v1 {
|
|
|
1338
1415
|
userLabels?: {
|
|
1339
1416
|
[key: string]: string;
|
|
1340
1417
|
} | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* User-provided labels associated with the resource
|
|
1420
|
+
*/
|
|
1421
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1341
1422
|
}
|
|
1342
1423
|
/**
|
|
1343
1424
|
* Common model for database resource recommendation signal data.
|
|
1344
1425
|
*/
|
|
1345
1426
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1346
1427
|
/**
|
|
1347
|
-
*
|
|
1428
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1348
1429
|
*/
|
|
1349
1430
|
additionalMetadata?: {
|
|
1350
1431
|
[key: string]: any;
|
|
@@ -1399,6 +1480,7 @@ export declare namespace alloydb_v1 {
|
|
|
1399
1480
|
* Identifies the specific error that occurred. REQUIRED
|
|
1400
1481
|
*/
|
|
1401
1482
|
code?: string | null;
|
|
1483
|
+
errorType?: string | null;
|
|
1402
1484
|
/**
|
|
1403
1485
|
* Additional information about the error encountered. REQUIRED
|
|
1404
1486
|
*/
|
|
@@ -1412,6 +1494,14 @@ export declare namespace alloydb_v1 {
|
|
|
1412
1494
|
retentionUnit?: string | null;
|
|
1413
1495
|
timeBasedRetention?: string | null;
|
|
1414
1496
|
}
|
|
1497
|
+
/**
|
|
1498
|
+
* 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.
|
|
1499
|
+
*/
|
|
1500
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1501
|
+
labels?: {
|
|
1502
|
+
[key: string]: string;
|
|
1503
|
+
} | null;
|
|
1504
|
+
}
|
|
1415
1505
|
/**
|
|
1416
1506
|
* Product specification for Condor resources.
|
|
1417
1507
|
*/
|
|
@@ -1808,20 +1898,6 @@ export declare namespace alloydb_v1 {
|
|
|
1808
1898
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1809
1899
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1810
1900
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
1811
|
-
/**
|
|
1812
|
-
* 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.
|
|
1813
|
-
*
|
|
1814
|
-
* @param params - Parameters for request
|
|
1815
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1816
|
-
* @param callback - Optional callback that handles the response.
|
|
1817
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1818
|
-
*/
|
|
1819
|
-
generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1820
|
-
generateClientCertificate(params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options?: MethodOptions): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
1821
|
-
generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1822
|
-
generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, options: MethodOptions | BodyResponseCallback<Schema$GenerateClientCertificateResponse>, callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
|
|
1823
|
-
generateClientCertificate(params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate, callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
|
|
1824
|
-
generateClientCertificate(callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>): void;
|
|
1825
1901
|
/**
|
|
1826
1902
|
* Gets details of a single Cluster.
|
|
1827
1903
|
*
|
|
@@ -1959,16 +2035,6 @@ export declare namespace alloydb_v1 {
|
|
|
1959
2035
|
*/
|
|
1960
2036
|
validateOnly?: boolean;
|
|
1961
2037
|
}
|
|
1962
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate extends StandardParameters {
|
|
1963
|
-
/**
|
|
1964
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
1965
|
-
*/
|
|
1966
|
-
parent?: string;
|
|
1967
|
-
/**
|
|
1968
|
-
* Request body metadata
|
|
1969
|
-
*/
|
|
1970
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
1971
|
-
}
|
|
1972
2038
|
export interface Params$Resource$Projects$Locations$Clusters$Get extends StandardParameters {
|
|
1973
2039
|
/**
|
|
1974
2040
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
|
package/build/v1.js
CHANGED
|
@@ -76,6 +76,7 @@ var alloydb_v1;
|
|
|
76
76
|
options: Object.assign({
|
|
77
77
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
78
78
|
method: 'GET',
|
|
79
|
+
apiVersion: '',
|
|
79
80
|
}, options),
|
|
80
81
|
params,
|
|
81
82
|
requiredParams: ['name'],
|
|
@@ -107,6 +108,7 @@ var alloydb_v1;
|
|
|
107
108
|
options: Object.assign({
|
|
108
109
|
url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'),
|
|
109
110
|
method: 'GET',
|
|
111
|
+
apiVersion: '',
|
|
110
112
|
}, options),
|
|
111
113
|
params,
|
|
112
114
|
requiredParams: ['name'],
|
|
@@ -144,6 +146,7 @@ var alloydb_v1;
|
|
|
144
146
|
options: Object.assign({
|
|
145
147
|
url: (rootUrl + '/v1/{+parent}/backups').replace(/([^:]\/)\/+/g, '$1'),
|
|
146
148
|
method: 'POST',
|
|
149
|
+
apiVersion: '',
|
|
147
150
|
}, options),
|
|
148
151
|
params,
|
|
149
152
|
requiredParams: ['parent'],
|
|
@@ -175,6 +178,7 @@ var alloydb_v1;
|
|
|
175
178
|
options: Object.assign({
|
|
176
179
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
177
180
|
method: 'DELETE',
|
|
181
|
+
apiVersion: '',
|
|
178
182
|
}, options),
|
|
179
183
|
params,
|
|
180
184
|
requiredParams: ['name'],
|
|
@@ -206,6 +210,7 @@ var alloydb_v1;
|
|
|
206
210
|
options: Object.assign({
|
|
207
211
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
208
212
|
method: 'GET',
|
|
213
|
+
apiVersion: '',
|
|
209
214
|
}, options),
|
|
210
215
|
params,
|
|
211
216
|
requiredParams: ['name'],
|
|
@@ -237,6 +242,7 @@ var alloydb_v1;
|
|
|
237
242
|
options: Object.assign({
|
|
238
243
|
url: (rootUrl + '/v1/{+parent}/backups').replace(/([^:]\/)\/+/g, '$1'),
|
|
239
244
|
method: 'GET',
|
|
245
|
+
apiVersion: '',
|
|
240
246
|
}, options),
|
|
241
247
|
params,
|
|
242
248
|
requiredParams: ['parent'],
|
|
@@ -268,6 +274,7 @@ var alloydb_v1;
|
|
|
268
274
|
options: Object.assign({
|
|
269
275
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
270
276
|
method: 'PATCH',
|
|
277
|
+
apiVersion: '',
|
|
271
278
|
}, options),
|
|
272
279
|
params,
|
|
273
280
|
requiredParams: ['name'],
|
|
@@ -307,6 +314,7 @@ var alloydb_v1;
|
|
|
307
314
|
options: Object.assign({
|
|
308
315
|
url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'),
|
|
309
316
|
method: 'POST',
|
|
317
|
+
apiVersion: '',
|
|
310
318
|
}, options),
|
|
311
319
|
params,
|
|
312
320
|
requiredParams: ['parent'],
|
|
@@ -339,6 +347,7 @@ var alloydb_v1;
|
|
|
339
347
|
options: Object.assign({
|
|
340
348
|
url: (rootUrl + '/v1/{+parent}/clusters:createsecondary').replace(/([^:]\/)\/+/g, '$1'),
|
|
341
349
|
method: 'POST',
|
|
350
|
+
apiVersion: '',
|
|
342
351
|
}, options),
|
|
343
352
|
params,
|
|
344
353
|
requiredParams: ['parent'],
|
|
@@ -370,6 +379,7 @@ var alloydb_v1;
|
|
|
370
379
|
options: Object.assign({
|
|
371
380
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
372
381
|
method: 'DELETE',
|
|
382
|
+
apiVersion: '',
|
|
373
383
|
}, options),
|
|
374
384
|
params,
|
|
375
385
|
requiredParams: ['name'],
|
|
@@ -383,38 +393,6 @@ var alloydb_v1;
|
|
|
383
393
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
384
394
|
}
|
|
385
395
|
}
|
|
386
|
-
generateClientCertificate(paramsOrCallback, optionsOrCallback, callback) {
|
|
387
|
-
let params = (paramsOrCallback ||
|
|
388
|
-
{});
|
|
389
|
-
let options = (optionsOrCallback || {});
|
|
390
|
-
if (typeof paramsOrCallback === 'function') {
|
|
391
|
-
callback = paramsOrCallback;
|
|
392
|
-
params =
|
|
393
|
-
{};
|
|
394
|
-
options = {};
|
|
395
|
-
}
|
|
396
|
-
if (typeof optionsOrCallback === 'function') {
|
|
397
|
-
callback = optionsOrCallback;
|
|
398
|
-
options = {};
|
|
399
|
-
}
|
|
400
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
401
|
-
const parameters = {
|
|
402
|
-
options: Object.assign({
|
|
403
|
-
url: (rootUrl + '/v1/{+parent}:generateClientCertificate').replace(/([^:]\/)\/+/g, '$1'),
|
|
404
|
-
method: 'POST',
|
|
405
|
-
}, options),
|
|
406
|
-
params,
|
|
407
|
-
requiredParams: ['parent'],
|
|
408
|
-
pathParams: ['parent'],
|
|
409
|
-
context: this.context,
|
|
410
|
-
};
|
|
411
|
-
if (callback) {
|
|
412
|
-
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
396
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
419
397
|
let params = (paramsOrCallback ||
|
|
420
398
|
{});
|
|
@@ -433,6 +411,7 @@ var alloydb_v1;
|
|
|
433
411
|
options: Object.assign({
|
|
434
412
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
435
413
|
method: 'GET',
|
|
414
|
+
apiVersion: '',
|
|
436
415
|
}, options),
|
|
437
416
|
params,
|
|
438
417
|
requiredParams: ['name'],
|
|
@@ -464,6 +443,7 @@ var alloydb_v1;
|
|
|
464
443
|
options: Object.assign({
|
|
465
444
|
url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'),
|
|
466
445
|
method: 'GET',
|
|
446
|
+
apiVersion: '',
|
|
467
447
|
}, options),
|
|
468
448
|
params,
|
|
469
449
|
requiredParams: ['parent'],
|
|
@@ -495,6 +475,7 @@ var alloydb_v1;
|
|
|
495
475
|
options: Object.assign({
|
|
496
476
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
497
477
|
method: 'PATCH',
|
|
478
|
+
apiVersion: '',
|
|
498
479
|
}, options),
|
|
499
480
|
params,
|
|
500
481
|
requiredParams: ['name'],
|
|
@@ -526,6 +507,7 @@ var alloydb_v1;
|
|
|
526
507
|
options: Object.assign({
|
|
527
508
|
url: (rootUrl + '/v1/{+name}:promote').replace(/([^:]\/)\/+/g, '$1'),
|
|
528
509
|
method: 'POST',
|
|
510
|
+
apiVersion: '',
|
|
529
511
|
}, options),
|
|
530
512
|
params,
|
|
531
513
|
requiredParams: ['name'],
|
|
@@ -557,6 +539,7 @@ var alloydb_v1;
|
|
|
557
539
|
options: Object.assign({
|
|
558
540
|
url: (rootUrl + '/v1/{+parent}/clusters:restore').replace(/([^:]\/)\/+/g, '$1'),
|
|
559
541
|
method: 'POST',
|
|
542
|
+
apiVersion: '',
|
|
560
543
|
}, options),
|
|
561
544
|
params,
|
|
562
545
|
requiredParams: ['parent'],
|
|
@@ -595,6 +578,7 @@ var alloydb_v1;
|
|
|
595
578
|
options: Object.assign({
|
|
596
579
|
url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'),
|
|
597
580
|
method: 'POST',
|
|
581
|
+
apiVersion: '',
|
|
598
582
|
}, options),
|
|
599
583
|
params,
|
|
600
584
|
requiredParams: ['parent'],
|
|
@@ -627,6 +611,7 @@ var alloydb_v1;
|
|
|
627
611
|
options: Object.assign({
|
|
628
612
|
url: (rootUrl + '/v1/{+parent}/instances:createsecondary').replace(/([^:]\/)\/+/g, '$1'),
|
|
629
613
|
method: 'POST',
|
|
614
|
+
apiVersion: '',
|
|
630
615
|
}, options),
|
|
631
616
|
params,
|
|
632
617
|
requiredParams: ['parent'],
|
|
@@ -659,6 +644,7 @@ var alloydb_v1;
|
|
|
659
644
|
options: Object.assign({
|
|
660
645
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
661
646
|
method: 'DELETE',
|
|
647
|
+
apiVersion: '',
|
|
662
648
|
}, options),
|
|
663
649
|
params,
|
|
664
650
|
requiredParams: ['name'],
|
|
@@ -691,6 +677,7 @@ var alloydb_v1;
|
|
|
691
677
|
options: Object.assign({
|
|
692
678
|
url: (rootUrl + '/v1/{+name}:failover').replace(/([^:]\/)\/+/g, '$1'),
|
|
693
679
|
method: 'POST',
|
|
680
|
+
apiVersion: '',
|
|
694
681
|
}, options),
|
|
695
682
|
params,
|
|
696
683
|
requiredParams: ['name'],
|
|
@@ -723,6 +710,7 @@ var alloydb_v1;
|
|
|
723
710
|
options: Object.assign({
|
|
724
711
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
725
712
|
method: 'GET',
|
|
713
|
+
apiVersion: '',
|
|
726
714
|
}, options),
|
|
727
715
|
params,
|
|
728
716
|
requiredParams: ['name'],
|
|
@@ -755,6 +743,7 @@ var alloydb_v1;
|
|
|
755
743
|
options: Object.assign({
|
|
756
744
|
url: (rootUrl + '/v1/{+parent}/connectionInfo').replace(/([^:]\/)\/+/g, '$1'),
|
|
757
745
|
method: 'GET',
|
|
746
|
+
apiVersion: '',
|
|
758
747
|
}, options),
|
|
759
748
|
params,
|
|
760
749
|
requiredParams: ['parent'],
|
|
@@ -787,6 +776,7 @@ var alloydb_v1;
|
|
|
787
776
|
options: Object.assign({
|
|
788
777
|
url: (rootUrl + '/v1/{+name}:injectFault').replace(/([^:]\/)\/+/g, '$1'),
|
|
789
778
|
method: 'POST',
|
|
779
|
+
apiVersion: '',
|
|
790
780
|
}, options),
|
|
791
781
|
params,
|
|
792
782
|
requiredParams: ['name'],
|
|
@@ -819,6 +809,7 @@ var alloydb_v1;
|
|
|
819
809
|
options: Object.assign({
|
|
820
810
|
url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'),
|
|
821
811
|
method: 'GET',
|
|
812
|
+
apiVersion: '',
|
|
822
813
|
}, options),
|
|
823
814
|
params,
|
|
824
815
|
requiredParams: ['parent'],
|
|
@@ -851,6 +842,7 @@ var alloydb_v1;
|
|
|
851
842
|
options: Object.assign({
|
|
852
843
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
853
844
|
method: 'PATCH',
|
|
845
|
+
apiVersion: '',
|
|
854
846
|
}, options),
|
|
855
847
|
params,
|
|
856
848
|
requiredParams: ['name'],
|
|
@@ -883,6 +875,7 @@ var alloydb_v1;
|
|
|
883
875
|
options: Object.assign({
|
|
884
876
|
url: (rootUrl + '/v1/{+name}:restart').replace(/([^:]\/)\/+/g, '$1'),
|
|
885
877
|
method: 'POST',
|
|
878
|
+
apiVersion: '',
|
|
886
879
|
}, options),
|
|
887
880
|
params,
|
|
888
881
|
requiredParams: ['name'],
|
|
@@ -920,6 +913,7 @@ var alloydb_v1;
|
|
|
920
913
|
options: Object.assign({
|
|
921
914
|
url: (rootUrl + '/v1/{+parent}/users').replace(/([^:]\/)\/+/g, '$1'),
|
|
922
915
|
method: 'POST',
|
|
916
|
+
apiVersion: '',
|
|
923
917
|
}, options),
|
|
924
918
|
params,
|
|
925
919
|
requiredParams: ['parent'],
|
|
@@ -951,6 +945,7 @@ var alloydb_v1;
|
|
|
951
945
|
options: Object.assign({
|
|
952
946
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
953
947
|
method: 'DELETE',
|
|
948
|
+
apiVersion: '',
|
|
954
949
|
}, options),
|
|
955
950
|
params,
|
|
956
951
|
requiredParams: ['name'],
|
|
@@ -982,6 +977,7 @@ var alloydb_v1;
|
|
|
982
977
|
options: Object.assign({
|
|
983
978
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
984
979
|
method: 'GET',
|
|
980
|
+
apiVersion: '',
|
|
985
981
|
}, options),
|
|
986
982
|
params,
|
|
987
983
|
requiredParams: ['name'],
|
|
@@ -1013,6 +1009,7 @@ var alloydb_v1;
|
|
|
1013
1009
|
options: Object.assign({
|
|
1014
1010
|
url: (rootUrl + '/v1/{+parent}/users').replace(/([^:]\/)\/+/g, '$1'),
|
|
1015
1011
|
method: 'GET',
|
|
1012
|
+
apiVersion: '',
|
|
1016
1013
|
}, options),
|
|
1017
1014
|
params,
|
|
1018
1015
|
requiredParams: ['parent'],
|
|
@@ -1044,6 +1041,7 @@ var alloydb_v1;
|
|
|
1044
1041
|
options: Object.assign({
|
|
1045
1042
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1046
1043
|
method: 'PATCH',
|
|
1044
|
+
apiVersion: '',
|
|
1047
1045
|
}, options),
|
|
1048
1046
|
params,
|
|
1049
1047
|
requiredParams: ['name'],
|
|
@@ -1081,6 +1079,7 @@ var alloydb_v1;
|
|
|
1081
1079
|
options: Object.assign({
|
|
1082
1080
|
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
|
|
1083
1081
|
method: 'POST',
|
|
1082
|
+
apiVersion: '',
|
|
1084
1083
|
}, options),
|
|
1085
1084
|
params,
|
|
1086
1085
|
requiredParams: ['name'],
|
|
@@ -1112,6 +1111,7 @@ var alloydb_v1;
|
|
|
1112
1111
|
options: Object.assign({
|
|
1113
1112
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1114
1113
|
method: 'DELETE',
|
|
1114
|
+
apiVersion: '',
|
|
1115
1115
|
}, options),
|
|
1116
1116
|
params,
|
|
1117
1117
|
requiredParams: ['name'],
|
|
@@ -1143,6 +1143,7 @@ var alloydb_v1;
|
|
|
1143
1143
|
options: Object.assign({
|
|
1144
1144
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1145
1145
|
method: 'GET',
|
|
1146
|
+
apiVersion: '',
|
|
1146
1147
|
}, options),
|
|
1147
1148
|
params,
|
|
1148
1149
|
requiredParams: ['name'],
|
|
@@ -1174,6 +1175,7 @@ var alloydb_v1;
|
|
|
1174
1175
|
options: Object.assign({
|
|
1175
1176
|
url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'),
|
|
1176
1177
|
method: 'GET',
|
|
1178
|
+
apiVersion: '',
|
|
1177
1179
|
}, options),
|
|
1178
1180
|
params,
|
|
1179
1181
|
requiredParams: ['name'],
|
|
@@ -1212,6 +1214,7 @@ var alloydb_v1;
|
|
|
1212
1214
|
options: Object.assign({
|
|
1213
1215
|
url: (rootUrl + '/v1/{+parent}/supportedDatabaseFlags').replace(/([^:]\/)\/+/g, '$1'),
|
|
1214
1216
|
method: 'GET',
|
|
1217
|
+
apiVersion: '',
|
|
1215
1218
|
}, options),
|
|
1216
1219
|
params,
|
|
1217
1220
|
requiredParams: ['parent'],
|