@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/v1.ts
CHANGED
|
@@ -124,6 +124,15 @@ export namespace alloydb_v1 {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/**
|
|
128
|
+
* AuthorizedNetwork contains metadata for an authorized network.
|
|
129
|
+
*/
|
|
130
|
+
export interface Schema$AuthorizedNetwork {
|
|
131
|
+
/**
|
|
132
|
+
* CIDR range for one authorzied network of the instance.
|
|
133
|
+
*/
|
|
134
|
+
cidrRange?: string | null;
|
|
135
|
+
}
|
|
127
136
|
/**
|
|
128
137
|
* 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.
|
|
129
138
|
*/
|
|
@@ -361,6 +370,14 @@ export namespace alloydb_v1 {
|
|
|
361
370
|
* Labels as key value pairs
|
|
362
371
|
*/
|
|
363
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;
|
|
364
381
|
/**
|
|
365
382
|
* Output only. Cluster created via DMS migration.
|
|
366
383
|
*/
|
|
@@ -370,7 +387,7 @@ export namespace alloydb_v1 {
|
|
|
370
387
|
*/
|
|
371
388
|
name?: string | null;
|
|
372
389
|
/**
|
|
373
|
-
* 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.
|
|
374
391
|
*/
|
|
375
392
|
network?: string | null;
|
|
376
393
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -378,6 +395,10 @@ export namespace alloydb_v1 {
|
|
|
378
395
|
* Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
379
396
|
*/
|
|
380
397
|
primaryConfig?: Schema$PrimaryConfig;
|
|
398
|
+
/**
|
|
399
|
+
* Optional. The configuration for Private Service Connect (PSC) for the cluster.
|
|
400
|
+
*/
|
|
401
|
+
pscConfig?: Schema$PscConfig;
|
|
381
402
|
/**
|
|
382
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.
|
|
383
404
|
*/
|
|
@@ -423,6 +444,10 @@ export namespace alloydb_v1 {
|
|
|
423
444
|
* 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.
|
|
424
445
|
*/
|
|
425
446
|
name?: string | null;
|
|
447
|
+
/**
|
|
448
|
+
* 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.
|
|
449
|
+
*/
|
|
450
|
+
publicIpAddress?: string | null;
|
|
426
451
|
}
|
|
427
452
|
/**
|
|
428
453
|
* ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
|
|
@@ -514,40 +539,6 @@ export namespace alloydb_v1 {
|
|
|
514
539
|
*/
|
|
515
540
|
validateOnly?: boolean | null;
|
|
516
541
|
}
|
|
517
|
-
/**
|
|
518
|
-
* Message for requests to generate a client certificate signed by the Cluster CA.
|
|
519
|
-
*/
|
|
520
|
-
export interface Schema$GenerateClientCertificateRequest {
|
|
521
|
-
/**
|
|
522
|
-
* 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.
|
|
523
|
-
*/
|
|
524
|
-
certDuration?: string | null;
|
|
525
|
-
/**
|
|
526
|
-
* Optional. The public key from the client.
|
|
527
|
-
*/
|
|
528
|
-
publicKey?: string | null;
|
|
529
|
-
/**
|
|
530
|
-
* 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).
|
|
531
|
-
*/
|
|
532
|
-
requestId?: string | null;
|
|
533
|
-
/**
|
|
534
|
-
* 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.
|
|
535
|
-
*/
|
|
536
|
-
useMetadataExchange?: boolean | null;
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
* Message returned by a GenerateClientCertificate operation.
|
|
540
|
-
*/
|
|
541
|
-
export interface Schema$GenerateClientCertificateResponse {
|
|
542
|
-
/**
|
|
543
|
-
* Optional. The pem-encoded cluster ca X.509 certificate.
|
|
544
|
-
*/
|
|
545
|
-
caCert?: string | null;
|
|
546
|
-
/**
|
|
547
|
-
* 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.
|
|
548
|
-
*/
|
|
549
|
-
pemCertificateChain?: string[] | null;
|
|
550
|
-
}
|
|
551
542
|
/**
|
|
552
543
|
* The response message for Locations.ListLocations.
|
|
553
544
|
*/
|
|
@@ -684,10 +675,22 @@ export namespace alloydb_v1 {
|
|
|
684
675
|
* 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\}
|
|
685
676
|
*/
|
|
686
677
|
name?: string | null;
|
|
678
|
+
/**
|
|
679
|
+
* Optional. Instance level network configuration.
|
|
680
|
+
*/
|
|
681
|
+
networkConfig?: Schema$InstanceNetworkConfig;
|
|
687
682
|
/**
|
|
688
683
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
689
684
|
*/
|
|
690
685
|
nodes?: Schema$Node[];
|
|
686
|
+
/**
|
|
687
|
+
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
688
|
+
*/
|
|
689
|
+
pscInstanceConfig?: Schema$PscInstanceConfig;
|
|
690
|
+
/**
|
|
691
|
+
* 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.
|
|
692
|
+
*/
|
|
693
|
+
publicIpAddress?: string | null;
|
|
691
694
|
/**
|
|
692
695
|
* Configuration for query insights.
|
|
693
696
|
*/
|
|
@@ -721,6 +724,19 @@ export namespace alloydb_v1 {
|
|
|
721
724
|
*/
|
|
722
725
|
writableNode?: Schema$Node;
|
|
723
726
|
}
|
|
727
|
+
/**
|
|
728
|
+
* Metadata related to instance level network configuration.
|
|
729
|
+
*/
|
|
730
|
+
export interface Schema$InstanceNetworkConfig {
|
|
731
|
+
/**
|
|
732
|
+
* Optional. A list of external network authorized to access this instance.
|
|
733
|
+
*/
|
|
734
|
+
authorizedExternalNetworks?: Schema$AuthorizedNetwork[];
|
|
735
|
+
/**
|
|
736
|
+
* Optional. Enabling public ip for the instance.
|
|
737
|
+
*/
|
|
738
|
+
enablePublicIp?: boolean | null;
|
|
739
|
+
}
|
|
724
740
|
/**
|
|
725
741
|
* Restrictions on INTEGER type values.
|
|
726
742
|
*/
|
|
@@ -837,6 +853,37 @@ export namespace alloydb_v1 {
|
|
|
837
853
|
*/
|
|
838
854
|
cpuCount?: number | null;
|
|
839
855
|
}
|
|
856
|
+
/**
|
|
857
|
+
* 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.
|
|
858
|
+
*/
|
|
859
|
+
export interface Schema$MaintenanceSchedule {
|
|
860
|
+
/**
|
|
861
|
+
* Output only. The scheduled start time for the maintenance.
|
|
862
|
+
*/
|
|
863
|
+
startTime?: string | null;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
867
|
+
*/
|
|
868
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
869
|
+
/**
|
|
870
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
871
|
+
*/
|
|
872
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
876
|
+
*/
|
|
877
|
+
export interface Schema$MaintenanceWindow {
|
|
878
|
+
/**
|
|
879
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
880
|
+
*/
|
|
881
|
+
day?: string | null;
|
|
882
|
+
/**
|
|
883
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
884
|
+
*/
|
|
885
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
886
|
+
}
|
|
840
887
|
/**
|
|
841
888
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
842
889
|
*/
|
|
@@ -863,7 +910,7 @@ export namespace alloydb_v1 {
|
|
|
863
910
|
*/
|
|
864
911
|
allocatedIpRange?: string | null;
|
|
865
912
|
/**
|
|
866
|
-
* 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:
|
|
913
|
+
* 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.
|
|
867
914
|
*/
|
|
868
915
|
network?: string | null;
|
|
869
916
|
}
|
|
@@ -972,6 +1019,32 @@ export namespace alloydb_v1 {
|
|
|
972
1019
|
*/
|
|
973
1020
|
validateOnly?: boolean | null;
|
|
974
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* PscConfig contains PSC related configuration at a cluster level.
|
|
1024
|
+
*/
|
|
1025
|
+
export interface Schema$PscConfig {
|
|
1026
|
+
/**
|
|
1027
|
+
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1028
|
+
*/
|
|
1029
|
+
pscEnabled?: boolean | null;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1033
|
+
*/
|
|
1034
|
+
export interface Schema$PscInstanceConfig {
|
|
1035
|
+
/**
|
|
1036
|
+
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1037
|
+
*/
|
|
1038
|
+
allowedConsumerProjects?: string[] | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1041
|
+
*/
|
|
1042
|
+
pscDnsName?: string | null;
|
|
1043
|
+
/**
|
|
1044
|
+
* 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/`
|
|
1045
|
+
*/
|
|
1046
|
+
serviceAttachmentLink?: string | null;
|
|
1047
|
+
}
|
|
975
1048
|
/**
|
|
976
1049
|
* 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)
|
|
977
1050
|
*/
|
|
@@ -1110,6 +1183,10 @@ export namespace alloydb_v1 {
|
|
|
1110
1183
|
* 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).
|
|
1111
1184
|
*/
|
|
1112
1185
|
availabilityType?: string | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* Checks for resources that are configured to have redundancy, and ongoing replication across regions
|
|
1188
|
+
*/
|
|
1189
|
+
crossRegionReplicaConfigured?: boolean | null;
|
|
1113
1190
|
externalReplicaConfigured?: boolean | null;
|
|
1114
1191
|
promotableReplicaConfigured?: boolean | null;
|
|
1115
1192
|
}
|
|
@@ -1336,7 +1413,7 @@ export namespace alloydb_v1 {
|
|
|
1336
1413
|
*/
|
|
1337
1414
|
location?: string | null;
|
|
1338
1415
|
/**
|
|
1339
|
-
* 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
|
|
1416
|
+
* 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.
|
|
1340
1417
|
*/
|
|
1341
1418
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1342
1419
|
/**
|
|
@@ -1359,13 +1436,17 @@ export namespace alloydb_v1 {
|
|
|
1359
1436
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1360
1437
|
*/
|
|
1361
1438
|
userLabels?: {[key: string]: string} | null;
|
|
1439
|
+
/**
|
|
1440
|
+
* User-provided labels associated with the resource
|
|
1441
|
+
*/
|
|
1442
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1362
1443
|
}
|
|
1363
1444
|
/**
|
|
1364
1445
|
* Common model for database resource recommendation signal data.
|
|
1365
1446
|
*/
|
|
1366
1447
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1367
1448
|
/**
|
|
1368
|
-
*
|
|
1449
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1369
1450
|
*/
|
|
1370
1451
|
additionalMetadata?: {[key: string]: any} | null;
|
|
1371
1452
|
/**
|
|
@@ -1418,6 +1499,7 @@ export namespace alloydb_v1 {
|
|
|
1418
1499
|
* Identifies the specific error that occurred. REQUIRED
|
|
1419
1500
|
*/
|
|
1420
1501
|
code?: string | null;
|
|
1502
|
+
errorType?: string | null;
|
|
1421
1503
|
/**
|
|
1422
1504
|
* Additional information about the error encountered. REQUIRED
|
|
1423
1505
|
*/
|
|
@@ -1431,6 +1513,12 @@ export namespace alloydb_v1 {
|
|
|
1431
1513
|
retentionUnit?: string | null;
|
|
1432
1514
|
timeBasedRetention?: string | null;
|
|
1433
1515
|
}
|
|
1516
|
+
/**
|
|
1517
|
+
* 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.
|
|
1518
|
+
*/
|
|
1519
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1520
|
+
labels?: {[key: string]: string} | null;
|
|
1521
|
+
}
|
|
1434
1522
|
/**
|
|
1435
1523
|
* Product specification for Condor resources.
|
|
1436
1524
|
*/
|
|
@@ -1647,6 +1735,7 @@ export namespace alloydb_v1 {
|
|
|
1647
1735
|
{
|
|
1648
1736
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1649
1737
|
method: 'GET',
|
|
1738
|
+
apiVersion: '',
|
|
1650
1739
|
},
|
|
1651
1740
|
options
|
|
1652
1741
|
),
|
|
@@ -1741,6 +1830,7 @@ export namespace alloydb_v1 {
|
|
|
1741
1830
|
'$1'
|
|
1742
1831
|
),
|
|
1743
1832
|
method: 'GET',
|
|
1833
|
+
apiVersion: '',
|
|
1744
1834
|
},
|
|
1745
1835
|
options
|
|
1746
1836
|
),
|
|
@@ -1864,6 +1954,7 @@ export namespace alloydb_v1 {
|
|
|
1864
1954
|
'$1'
|
|
1865
1955
|
),
|
|
1866
1956
|
method: 'POST',
|
|
1957
|
+
apiVersion: '',
|
|
1867
1958
|
},
|
|
1868
1959
|
options
|
|
1869
1960
|
),
|
|
@@ -1948,6 +2039,7 @@ export namespace alloydb_v1 {
|
|
|
1948
2039
|
{
|
|
1949
2040
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1950
2041
|
method: 'DELETE',
|
|
2042
|
+
apiVersion: '',
|
|
1951
2043
|
},
|
|
1952
2044
|
options
|
|
1953
2045
|
),
|
|
@@ -2032,6 +2124,7 @@ export namespace alloydb_v1 {
|
|
|
2032
2124
|
{
|
|
2033
2125
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2034
2126
|
method: 'GET',
|
|
2127
|
+
apiVersion: '',
|
|
2035
2128
|
},
|
|
2036
2129
|
options
|
|
2037
2130
|
),
|
|
@@ -2122,6 +2215,7 @@ export namespace alloydb_v1 {
|
|
|
2122
2215
|
'$1'
|
|
2123
2216
|
),
|
|
2124
2217
|
method: 'GET',
|
|
2218
|
+
apiVersion: '',
|
|
2125
2219
|
},
|
|
2126
2220
|
options
|
|
2127
2221
|
),
|
|
@@ -2206,6 +2300,7 @@ export namespace alloydb_v1 {
|
|
|
2206
2300
|
{
|
|
2207
2301
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2208
2302
|
method: 'PATCH',
|
|
2303
|
+
apiVersion: '',
|
|
2209
2304
|
},
|
|
2210
2305
|
options
|
|
2211
2306
|
),
|
|
@@ -2408,6 +2503,7 @@ export namespace alloydb_v1 {
|
|
|
2408
2503
|
'$1'
|
|
2409
2504
|
),
|
|
2410
2505
|
method: 'POST',
|
|
2506
|
+
apiVersion: '',
|
|
2411
2507
|
},
|
|
2412
2508
|
options
|
|
2413
2509
|
),
|
|
@@ -2496,6 +2592,7 @@ export namespace alloydb_v1 {
|
|
|
2496
2592
|
'$1'
|
|
2497
2593
|
),
|
|
2498
2594
|
method: 'POST',
|
|
2595
|
+
apiVersion: '',
|
|
2499
2596
|
},
|
|
2500
2597
|
options
|
|
2501
2598
|
),
|
|
@@ -2580,6 +2677,7 @@ export namespace alloydb_v1 {
|
|
|
2580
2677
|
{
|
|
2581
2678
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2582
2679
|
method: 'DELETE',
|
|
2680
|
+
apiVersion: '',
|
|
2583
2681
|
},
|
|
2584
2682
|
options
|
|
2585
2683
|
),
|
|
@@ -2598,103 +2696,6 @@ export namespace alloydb_v1 {
|
|
|
2598
2696
|
}
|
|
2599
2697
|
}
|
|
2600
2698
|
|
|
2601
|
-
/**
|
|
2602
|
-
* 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.
|
|
2603
|
-
*
|
|
2604
|
-
* @param params - Parameters for request
|
|
2605
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2606
|
-
* @param callback - Optional callback that handles the response.
|
|
2607
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2608
|
-
*/
|
|
2609
|
-
generateClientCertificate(
|
|
2610
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2611
|
-
options: StreamMethodOptions
|
|
2612
|
-
): GaxiosPromise<Readable>;
|
|
2613
|
-
generateClientCertificate(
|
|
2614
|
-
params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2615
|
-
options?: MethodOptions
|
|
2616
|
-
): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
2617
|
-
generateClientCertificate(
|
|
2618
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2619
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2620
|
-
callback: BodyResponseCallback<Readable>
|
|
2621
|
-
): void;
|
|
2622
|
-
generateClientCertificate(
|
|
2623
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2624
|
-
options:
|
|
2625
|
-
| MethodOptions
|
|
2626
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>,
|
|
2627
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2628
|
-
): void;
|
|
2629
|
-
generateClientCertificate(
|
|
2630
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2631
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2632
|
-
): void;
|
|
2633
|
-
generateClientCertificate(
|
|
2634
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2635
|
-
): void;
|
|
2636
|
-
generateClientCertificate(
|
|
2637
|
-
paramsOrCallback?:
|
|
2638
|
-
| Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
2639
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2640
|
-
| BodyResponseCallback<Readable>,
|
|
2641
|
-
optionsOrCallback?:
|
|
2642
|
-
| MethodOptions
|
|
2643
|
-
| StreamMethodOptions
|
|
2644
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2645
|
-
| BodyResponseCallback<Readable>,
|
|
2646
|
-
callback?:
|
|
2647
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2648
|
-
| BodyResponseCallback<Readable>
|
|
2649
|
-
):
|
|
2650
|
-
| void
|
|
2651
|
-
| GaxiosPromise<Schema$GenerateClientCertificateResponse>
|
|
2652
|
-
| GaxiosPromise<Readable> {
|
|
2653
|
-
let params = (paramsOrCallback ||
|
|
2654
|
-
{}) as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2655
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2656
|
-
|
|
2657
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2658
|
-
callback = paramsOrCallback;
|
|
2659
|
-
params =
|
|
2660
|
-
{} as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2661
|
-
options = {};
|
|
2662
|
-
}
|
|
2663
|
-
|
|
2664
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2665
|
-
callback = optionsOrCallback;
|
|
2666
|
-
options = {};
|
|
2667
|
-
}
|
|
2668
|
-
|
|
2669
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
2670
|
-
const parameters = {
|
|
2671
|
-
options: Object.assign(
|
|
2672
|
-
{
|
|
2673
|
-
url: (rootUrl + '/v1/{+parent}:generateClientCertificate').replace(
|
|
2674
|
-
/([^:]\/)\/+/g,
|
|
2675
|
-
'$1'
|
|
2676
|
-
),
|
|
2677
|
-
method: 'POST',
|
|
2678
|
-
},
|
|
2679
|
-
options
|
|
2680
|
-
),
|
|
2681
|
-
params,
|
|
2682
|
-
requiredParams: ['parent'],
|
|
2683
|
-
pathParams: ['parent'],
|
|
2684
|
-
context: this.context,
|
|
2685
|
-
};
|
|
2686
|
-
if (callback) {
|
|
2687
|
-
createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2688
|
-
parameters,
|
|
2689
|
-
callback as BodyResponseCallback<unknown>
|
|
2690
|
-
);
|
|
2691
|
-
} else {
|
|
2692
|
-
return createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2693
|
-
parameters
|
|
2694
|
-
);
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
2699
|
/**
|
|
2699
2700
|
* Gets details of a single Cluster.
|
|
2700
2701
|
*
|
|
@@ -2761,6 +2762,7 @@ export namespace alloydb_v1 {
|
|
|
2761
2762
|
{
|
|
2762
2763
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2763
2764
|
method: 'GET',
|
|
2765
|
+
apiVersion: '',
|
|
2764
2766
|
},
|
|
2765
2767
|
options
|
|
2766
2768
|
),
|
|
@@ -2853,6 +2855,7 @@ export namespace alloydb_v1 {
|
|
|
2853
2855
|
'$1'
|
|
2854
2856
|
),
|
|
2855
2857
|
method: 'GET',
|
|
2858
|
+
apiVersion: '',
|
|
2856
2859
|
},
|
|
2857
2860
|
options
|
|
2858
2861
|
),
|
|
@@ -2937,6 +2940,7 @@ export namespace alloydb_v1 {
|
|
|
2937
2940
|
{
|
|
2938
2941
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2939
2942
|
method: 'PATCH',
|
|
2943
|
+
apiVersion: '',
|
|
2940
2944
|
},
|
|
2941
2945
|
options
|
|
2942
2946
|
),
|
|
@@ -3024,6 +3028,7 @@ export namespace alloydb_v1 {
|
|
|
3024
3028
|
'$1'
|
|
3025
3029
|
),
|
|
3026
3030
|
method: 'POST',
|
|
3031
|
+
apiVersion: '',
|
|
3027
3032
|
},
|
|
3028
3033
|
options
|
|
3029
3034
|
),
|
|
@@ -3111,6 +3116,7 @@ export namespace alloydb_v1 {
|
|
|
3111
3116
|
'$1'
|
|
3112
3117
|
),
|
|
3113
3118
|
method: 'POST',
|
|
3119
|
+
apiVersion: '',
|
|
3114
3120
|
},
|
|
3115
3121
|
options
|
|
3116
3122
|
),
|
|
@@ -3201,18 +3207,6 @@ export namespace alloydb_v1 {
|
|
|
3201
3207
|
*/
|
|
3202
3208
|
validateOnly?: boolean;
|
|
3203
3209
|
}
|
|
3204
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
3205
|
-
extends StandardParameters {
|
|
3206
|
-
/**
|
|
3207
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
3208
|
-
*/
|
|
3209
|
-
parent?: string;
|
|
3210
|
-
|
|
3211
|
-
/**
|
|
3212
|
-
* Request body metadata
|
|
3213
|
-
*/
|
|
3214
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
3215
|
-
}
|
|
3216
3210
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3217
3211
|
extends StandardParameters {
|
|
3218
3212
|
/**
|
|
@@ -3376,6 +3370,7 @@ export namespace alloydb_v1 {
|
|
|
3376
3370
|
'$1'
|
|
3377
3371
|
),
|
|
3378
3372
|
method: 'POST',
|
|
3373
|
+
apiVersion: '',
|
|
3379
3374
|
},
|
|
3380
3375
|
options
|
|
3381
3376
|
),
|
|
@@ -3464,6 +3459,7 @@ export namespace alloydb_v1 {
|
|
|
3464
3459
|
'$1'
|
|
3465
3460
|
),
|
|
3466
3461
|
method: 'POST',
|
|
3462
|
+
apiVersion: '',
|
|
3467
3463
|
},
|
|
3468
3464
|
options
|
|
3469
3465
|
),
|
|
@@ -3549,6 +3545,7 @@ export namespace alloydb_v1 {
|
|
|
3549
3545
|
{
|
|
3550
3546
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3551
3547
|
method: 'DELETE',
|
|
3548
|
+
apiVersion: '',
|
|
3552
3549
|
},
|
|
3553
3550
|
options
|
|
3554
3551
|
),
|
|
@@ -3637,6 +3634,7 @@ export namespace alloydb_v1 {
|
|
|
3637
3634
|
'$1'
|
|
3638
3635
|
),
|
|
3639
3636
|
method: 'POST',
|
|
3637
|
+
apiVersion: '',
|
|
3640
3638
|
},
|
|
3641
3639
|
options
|
|
3642
3640
|
),
|
|
@@ -3722,6 +3720,7 @@ export namespace alloydb_v1 {
|
|
|
3722
3720
|
{
|
|
3723
3721
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3724
3722
|
method: 'GET',
|
|
3723
|
+
apiVersion: '',
|
|
3725
3724
|
},
|
|
3726
3725
|
options
|
|
3727
3726
|
),
|
|
@@ -3812,6 +3811,7 @@ export namespace alloydb_v1 {
|
|
|
3812
3811
|
'$1'
|
|
3813
3812
|
),
|
|
3814
3813
|
method: 'GET',
|
|
3814
|
+
apiVersion: '',
|
|
3815
3815
|
},
|
|
3816
3816
|
options
|
|
3817
3817
|
),
|
|
@@ -3900,6 +3900,7 @@ export namespace alloydb_v1 {
|
|
|
3900
3900
|
'$1'
|
|
3901
3901
|
),
|
|
3902
3902
|
method: 'POST',
|
|
3903
|
+
apiVersion: '',
|
|
3903
3904
|
},
|
|
3904
3905
|
options
|
|
3905
3906
|
),
|
|
@@ -3993,6 +3994,7 @@ export namespace alloydb_v1 {
|
|
|
3993
3994
|
'$1'
|
|
3994
3995
|
),
|
|
3995
3996
|
method: 'GET',
|
|
3997
|
+
apiVersion: '',
|
|
3996
3998
|
},
|
|
3997
3999
|
options
|
|
3998
4000
|
),
|
|
@@ -4078,6 +4080,7 @@ export namespace alloydb_v1 {
|
|
|
4078
4080
|
{
|
|
4079
4081
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4080
4082
|
method: 'PATCH',
|
|
4083
|
+
apiVersion: '',
|
|
4081
4084
|
},
|
|
4082
4085
|
options
|
|
4083
4086
|
),
|
|
@@ -4166,6 +4169,7 @@ export namespace alloydb_v1 {
|
|
|
4166
4169
|
'$1'
|
|
4167
4170
|
),
|
|
4168
4171
|
method: 'POST',
|
|
4172
|
+
apiVersion: '',
|
|
4169
4173
|
},
|
|
4170
4174
|
options
|
|
4171
4175
|
),
|
|
@@ -4437,6 +4441,7 @@ export namespace alloydb_v1 {
|
|
|
4437
4441
|
'$1'
|
|
4438
4442
|
),
|
|
4439
4443
|
method: 'POST',
|
|
4444
|
+
apiVersion: '',
|
|
4440
4445
|
},
|
|
4441
4446
|
options
|
|
4442
4447
|
),
|
|
@@ -4521,6 +4526,7 @@ export namespace alloydb_v1 {
|
|
|
4521
4526
|
{
|
|
4522
4527
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4523
4528
|
method: 'DELETE',
|
|
4529
|
+
apiVersion: '',
|
|
4524
4530
|
},
|
|
4525
4531
|
options
|
|
4526
4532
|
),
|
|
@@ -4605,6 +4611,7 @@ export namespace alloydb_v1 {
|
|
|
4605
4611
|
{
|
|
4606
4612
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4607
4613
|
method: 'GET',
|
|
4614
|
+
apiVersion: '',
|
|
4608
4615
|
},
|
|
4609
4616
|
options
|
|
4610
4617
|
),
|
|
@@ -4695,6 +4702,7 @@ export namespace alloydb_v1 {
|
|
|
4695
4702
|
'$1'
|
|
4696
4703
|
),
|
|
4697
4704
|
method: 'GET',
|
|
4705
|
+
apiVersion: '',
|
|
4698
4706
|
},
|
|
4699
4707
|
options
|
|
4700
4708
|
),
|
|
@@ -4779,6 +4787,7 @@ export namespace alloydb_v1 {
|
|
|
4779
4787
|
{
|
|
4780
4788
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4781
4789
|
method: 'PATCH',
|
|
4790
|
+
apiVersion: '',
|
|
4782
4791
|
},
|
|
4783
4792
|
options
|
|
4784
4793
|
),
|
|
@@ -4968,6 +4977,7 @@ export namespace alloydb_v1 {
|
|
|
4968
4977
|
{
|
|
4969
4978
|
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
|
|
4970
4979
|
method: 'POST',
|
|
4980
|
+
apiVersion: '',
|
|
4971
4981
|
},
|
|
4972
4982
|
options
|
|
4973
4983
|
),
|
|
@@ -5052,6 +5062,7 @@ export namespace alloydb_v1 {
|
|
|
5052
5062
|
{
|
|
5053
5063
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5054
5064
|
method: 'DELETE',
|
|
5065
|
+
apiVersion: '',
|
|
5055
5066
|
},
|
|
5056
5067
|
options
|
|
5057
5068
|
),
|
|
@@ -5136,6 +5147,7 @@ export namespace alloydb_v1 {
|
|
|
5136
5147
|
{
|
|
5137
5148
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
5138
5149
|
method: 'GET',
|
|
5150
|
+
apiVersion: '',
|
|
5139
5151
|
},
|
|
5140
5152
|
options
|
|
5141
5153
|
),
|
|
@@ -5228,6 +5240,7 @@ export namespace alloydb_v1 {
|
|
|
5228
5240
|
'$1'
|
|
5229
5241
|
),
|
|
5230
5242
|
method: 'GET',
|
|
5243
|
+
apiVersion: '',
|
|
5231
5244
|
},
|
|
5232
5245
|
options
|
|
5233
5246
|
),
|
|
@@ -5376,6 +5389,7 @@ export namespace alloydb_v1 {
|
|
|
5376
5389
|
'$1'
|
|
5377
5390
|
),
|
|
5378
5391
|
method: 'GET',
|
|
5392
|
+
apiVersion: '',
|
|
5379
5393
|
},
|
|
5380
5394
|
options
|
|
5381
5395
|
),
|