@googleapis/alloydb 11.3.0 → 13.0.1
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 +36 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +494 -86
- package/build/v1.js +65 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +456 -101
- package/build/v1alpha.js +32 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +467 -99
- package/build/v1beta.js +32 -0
- package/build/v1beta.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +792 -132
- package/v1alpha.ts +680 -148
- package/v1beta.ts +691 -146
package/v1.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -146,7 +146,7 @@ export namespace alloydb_v1 {
|
|
|
146
146
|
*/
|
|
147
147
|
enabled?: boolean | null;
|
|
148
148
|
/**
|
|
149
|
-
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will
|
|
149
|
+
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
150
150
|
*/
|
|
151
151
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
152
152
|
/**
|
|
@@ -186,6 +186,10 @@ export namespace alloydb_v1 {
|
|
|
186
186
|
* Output only. The system-generated UID of the cluster which was used to create this resource.
|
|
187
187
|
*/
|
|
188
188
|
clusterUid?: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* Output only. Timestamp when the resource finished being created.
|
|
191
|
+
*/
|
|
192
|
+
createCompletionTime?: string | null;
|
|
189
193
|
/**
|
|
190
194
|
* Output only. Create time stamp
|
|
191
195
|
*/
|
|
@@ -263,7 +267,7 @@ export namespace alloydb_v1 {
|
|
|
263
267
|
*/
|
|
264
268
|
uid?: string | null;
|
|
265
269
|
/**
|
|
266
|
-
* Output only. Update time stamp
|
|
270
|
+
* Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.
|
|
267
271
|
*/
|
|
268
272
|
updateTime?: string | null;
|
|
269
273
|
}
|
|
@@ -310,6 +314,23 @@ export namespace alloydb_v1 {
|
|
|
310
314
|
*/
|
|
311
315
|
exclusiveAction?: string | null;
|
|
312
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* The source CloudSQL backup resource.
|
|
319
|
+
*/
|
|
320
|
+
export interface Schema$CloudSQLBackupRunSource {
|
|
321
|
+
/**
|
|
322
|
+
* Required. The CloudSQL backup run ID.
|
|
323
|
+
*/
|
|
324
|
+
backupRunId?: string | null;
|
|
325
|
+
/**
|
|
326
|
+
* Required. The CloudSQL instance ID.
|
|
327
|
+
*/
|
|
328
|
+
instanceId?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
|
|
331
|
+
*/
|
|
332
|
+
project?: string | null;
|
|
333
|
+
}
|
|
313
334
|
/**
|
|
314
335
|
* A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.
|
|
315
336
|
*/
|
|
@@ -326,6 +347,10 @@ export namespace alloydb_v1 {
|
|
|
326
347
|
* Output only. Cluster created from backup.
|
|
327
348
|
*/
|
|
328
349
|
backupSource?: Schema$BackupSource;
|
|
350
|
+
/**
|
|
351
|
+
* Output only. Cluster created from CloudSQL snapshot.
|
|
352
|
+
*/
|
|
353
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
329
354
|
/**
|
|
330
355
|
* Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
|
|
331
356
|
*/
|
|
@@ -503,7 +528,7 @@ export namespace alloydb_v1 {
|
|
|
503
528
|
*/
|
|
504
529
|
enabled?: boolean | null;
|
|
505
530
|
/**
|
|
506
|
-
* The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will
|
|
531
|
+
* The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
|
|
507
532
|
*/
|
|
508
533
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
509
534
|
/**
|
|
@@ -566,6 +591,48 @@ export namespace alloydb_v1 {
|
|
|
566
591
|
*/
|
|
567
592
|
selectQuery?: string | null;
|
|
568
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* Options for importing data in CSV format.
|
|
596
|
+
*/
|
|
597
|
+
export interface Schema$CsvImportOptions {
|
|
598
|
+
/**
|
|
599
|
+
* Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
|
|
600
|
+
*/
|
|
601
|
+
columns?: string[] | null;
|
|
602
|
+
/**
|
|
603
|
+
* Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
|
|
604
|
+
*/
|
|
605
|
+
escapeCharacter?: string | null;
|
|
606
|
+
/**
|
|
607
|
+
* Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
|
|
608
|
+
*/
|
|
609
|
+
fieldDelimiter?: string | null;
|
|
610
|
+
/**
|
|
611
|
+
* Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
|
|
612
|
+
*/
|
|
613
|
+
quoteCharacter?: string | null;
|
|
614
|
+
/**
|
|
615
|
+
* Required. The database table to import CSV file into.
|
|
616
|
+
*/
|
|
617
|
+
table?: string | null;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
|
|
621
|
+
*/
|
|
622
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
623
|
+
/**
|
|
624
|
+
* Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
625
|
+
*/
|
|
626
|
+
endDate?: Schema$GoogleTypeDate;
|
|
627
|
+
/**
|
|
628
|
+
* Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring
|
|
629
|
+
*/
|
|
630
|
+
startDate?: Schema$GoogleTypeDate;
|
|
631
|
+
/**
|
|
632
|
+
* Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC
|
|
633
|
+
*/
|
|
634
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
635
|
+
}
|
|
569
636
|
/**
|
|
570
637
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
571
638
|
*/
|
|
@@ -682,6 +749,23 @@ export namespace alloydb_v1 {
|
|
|
682
749
|
*/
|
|
683
750
|
name?: string | null;
|
|
684
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
754
|
+
*/
|
|
755
|
+
export interface Schema$GoogleTypeDate {
|
|
756
|
+
/**
|
|
757
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
758
|
+
*/
|
|
759
|
+
day?: number | null;
|
|
760
|
+
/**
|
|
761
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
762
|
+
*/
|
|
763
|
+
month?: number | null;
|
|
764
|
+
/**
|
|
765
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
766
|
+
*/
|
|
767
|
+
year?: number | null;
|
|
768
|
+
}
|
|
685
769
|
/**
|
|
686
770
|
* Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
|
|
687
771
|
*/
|
|
@@ -703,6 +787,40 @@ export namespace alloydb_v1 {
|
|
|
703
787
|
*/
|
|
704
788
|
seconds?: number | null;
|
|
705
789
|
}
|
|
790
|
+
/**
|
|
791
|
+
* Import cluster request.
|
|
792
|
+
*/
|
|
793
|
+
export interface Schema$ImportClusterRequest {
|
|
794
|
+
/**
|
|
795
|
+
* Options for importing data in CSV format.
|
|
796
|
+
*/
|
|
797
|
+
csvImportOptions?: Schema$CsvImportOptions;
|
|
798
|
+
/**
|
|
799
|
+
* Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
|
|
800
|
+
*/
|
|
801
|
+
database?: string | null;
|
|
802
|
+
/**
|
|
803
|
+
* Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
|
804
|
+
*/
|
|
805
|
+
gcsUri?: string | null;
|
|
806
|
+
/**
|
|
807
|
+
* Options for importing data in SQL format.
|
|
808
|
+
*/
|
|
809
|
+
sqlImportOptions?: Schema$SqlImportOptions;
|
|
810
|
+
/**
|
|
811
|
+
* Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
|
|
812
|
+
*/
|
|
813
|
+
user?: string | null;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Response of import rpc.
|
|
817
|
+
*/
|
|
818
|
+
export interface Schema$ImportClusterResponse {
|
|
819
|
+
/**
|
|
820
|
+
* Required. Size of the object downloaded from Google Cloud Storage in bytes.
|
|
821
|
+
*/
|
|
822
|
+
bytesDownloaded?: string | null;
|
|
823
|
+
}
|
|
706
824
|
/**
|
|
707
825
|
* Message for triggering fault injection on an instance
|
|
708
826
|
*/
|
|
@@ -724,6 +842,10 @@ export namespace alloydb_v1 {
|
|
|
724
842
|
* An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.
|
|
725
843
|
*/
|
|
726
844
|
export interface Schema$Instance {
|
|
845
|
+
/**
|
|
846
|
+
* Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
|
|
847
|
+
*/
|
|
848
|
+
activationPolicy?: string | null;
|
|
727
849
|
/**
|
|
728
850
|
* Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
|
|
729
851
|
*/
|
|
@@ -788,6 +910,10 @@ export namespace alloydb_v1 {
|
|
|
788
910
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
789
911
|
*/
|
|
790
912
|
nodes?: Schema$Node[];
|
|
913
|
+
/**
|
|
914
|
+
* Configuration for observability.
|
|
915
|
+
*/
|
|
916
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
791
917
|
/**
|
|
792
918
|
* Output only. All outbound public IP addresses configured for the instance.
|
|
793
919
|
*/
|
|
@@ -849,6 +975,10 @@ export namespace alloydb_v1 {
|
|
|
849
975
|
* Optional. Enabling public ip for the instance.
|
|
850
976
|
*/
|
|
851
977
|
enablePublicIp?: boolean | null;
|
|
978
|
+
/**
|
|
979
|
+
* Output only. The resource link for the VPC network in which instance resources are created and from which they are accessible via Private IP. This will be the same value as the parent cluster's network. It is specified in the form: // `projects/{project_number\}/global/networks/{network_id\}`.
|
|
980
|
+
*/
|
|
981
|
+
network?: string | null;
|
|
852
982
|
}
|
|
853
983
|
/**
|
|
854
984
|
* Details regarding the upgrade of instaces associated with a cluster.
|
|
@@ -982,6 +1112,10 @@ export namespace alloydb_v1 {
|
|
|
982
1112
|
* The number of CPU's in the VM instance.
|
|
983
1113
|
*/
|
|
984
1114
|
cpuCount?: number | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
|
|
1117
|
+
*/
|
|
1118
|
+
machineType?: string | null;
|
|
985
1119
|
}
|
|
986
1120
|
/**
|
|
987
1121
|
* 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.
|
|
@@ -996,6 +1130,10 @@ export namespace alloydb_v1 {
|
|
|
996
1130
|
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
997
1131
|
*/
|
|
998
1132
|
export interface Schema$MaintenanceUpdatePolicy {
|
|
1133
|
+
/**
|
|
1134
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
1135
|
+
*/
|
|
1136
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
999
1137
|
/**
|
|
1000
1138
|
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
1001
1139
|
*/
|
|
@@ -1045,7 +1183,7 @@ export namespace alloydb_v1 {
|
|
|
1045
1183
|
network?: string | null;
|
|
1046
1184
|
}
|
|
1047
1185
|
/**
|
|
1048
|
-
* Details of a single node in the instance. Nodes in an AlloyDB instance are
|
|
1186
|
+
* Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.
|
|
1049
1187
|
*/
|
|
1050
1188
|
export interface Schema$Node {
|
|
1051
1189
|
/**
|
|
@@ -1065,6 +1203,43 @@ export namespace alloydb_v1 {
|
|
|
1065
1203
|
*/
|
|
1066
1204
|
zoneId?: string | null;
|
|
1067
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Observability Instance specific configuration.
|
|
1208
|
+
*/
|
|
1209
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
1210
|
+
/**
|
|
1211
|
+
* Observability feature status for an instance. This flag is turned "off" by default.
|
|
1212
|
+
*/
|
|
1213
|
+
enabled?: boolean | null;
|
|
1214
|
+
/**
|
|
1215
|
+
* Query string length. The default value is 10k.
|
|
1216
|
+
*/
|
|
1217
|
+
maxQueryStringLength?: number | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
1220
|
+
*/
|
|
1221
|
+
preserveComments?: boolean | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
|
|
1224
|
+
*/
|
|
1225
|
+
queryPlansPerMinute?: number | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
1228
|
+
*/
|
|
1229
|
+
recordApplicationTags?: boolean | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1232
|
+
*/
|
|
1233
|
+
trackActiveQueries?: boolean | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* 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.
|
|
1236
|
+
*/
|
|
1237
|
+
trackWaitEvents?: boolean | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* 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 internal API.
|
|
1240
|
+
*/
|
|
1241
|
+
trackWaitEventTypes?: boolean | null;
|
|
1242
|
+
}
|
|
1068
1243
|
/**
|
|
1069
1244
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
1070
1245
|
*/
|
|
@@ -1118,6 +1293,10 @@ export namespace alloydb_v1 {
|
|
|
1118
1293
|
* Output only. Server-defined resource path for the target of the operation.
|
|
1119
1294
|
*/
|
|
1120
1295
|
target?: string | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* Output only. UpgradeClusterStatus related metadata.
|
|
1298
|
+
*/
|
|
1299
|
+
upgradeClusterStatus?: Schema$UpgradeClusterStatus;
|
|
1121
1300
|
/**
|
|
1122
1301
|
* Output only. Name of the verb executed by the operation.
|
|
1123
1302
|
*/
|
|
@@ -1149,6 +1328,31 @@ export namespace alloydb_v1 {
|
|
|
1149
1328
|
*/
|
|
1150
1329
|
validateOnly?: boolean | null;
|
|
1151
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
|
|
1333
|
+
*/
|
|
1334
|
+
export interface Schema$PscAutoConnectionConfig {
|
|
1335
|
+
/**
|
|
1336
|
+
* The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default". The consumer network might be hosted a different project than the consumer project.
|
|
1337
|
+
*/
|
|
1338
|
+
consumerNetwork?: string | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* Output only. The status of the service connection policy. Possible values: "STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "VALID" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection Policy found for this network and Service Class "POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for this network and Service Class "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.
|
|
1341
|
+
*/
|
|
1342
|
+
consumerNetworkStatus?: string | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* The consumer project to which the PSC service automation endpoint will be created.
|
|
1345
|
+
*/
|
|
1346
|
+
consumerProject?: string | null;
|
|
1347
|
+
/**
|
|
1348
|
+
* Output only. The IP address of the PSC service automation endpoint.
|
|
1349
|
+
*/
|
|
1350
|
+
ipAddress?: string | null;
|
|
1351
|
+
/**
|
|
1352
|
+
* Output only. The status of the PSC service automation connection. Possible values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" - The connection has been created successfully. "FAILED" - The connection is not functional since some resources on the connection fail to be created. "CREATING" - The connection is being created. "DELETING" - The connection is being deleted. "CREATE_REPAIRING" - The connection is being repaired to complete creation. "DELETE_REPAIRING" - The connection is being repaired to complete deletion.
|
|
1353
|
+
*/
|
|
1354
|
+
status?: string | null;
|
|
1355
|
+
}
|
|
1152
1356
|
/**
|
|
1153
1357
|
* PscConfig contains PSC related configuration at a cluster level.
|
|
1154
1358
|
*/
|
|
@@ -1157,6 +1361,10 @@ export namespace alloydb_v1 {
|
|
|
1157
1361
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1158
1362
|
*/
|
|
1159
1363
|
pscEnabled?: boolean | null;
|
|
1364
|
+
/**
|
|
1365
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1366
|
+
*/
|
|
1367
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1160
1368
|
}
|
|
1161
1369
|
/**
|
|
1162
1370
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1166,15 +1374,32 @@ export namespace alloydb_v1 {
|
|
|
1166
1374
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1167
1375
|
*/
|
|
1168
1376
|
allowedConsumerProjects?: string[] | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Optional. Configurations for setting up PSC service automation.
|
|
1379
|
+
*/
|
|
1380
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
1169
1381
|
/**
|
|
1170
1382
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1171
1383
|
*/
|
|
1172
1384
|
pscDnsName?: string | null;
|
|
1385
|
+
/**
|
|
1386
|
+
* 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. Currently we only support 0 or 1 PSC interface.
|
|
1387
|
+
*/
|
|
1388
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1173
1389
|
/**
|
|
1174
1390
|
* 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/`
|
|
1175
1391
|
*/
|
|
1176
1392
|
serviceAttachmentLink?: string | null;
|
|
1177
1393
|
}
|
|
1394
|
+
/**
|
|
1395
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1396
|
+
*/
|
|
1397
|
+
export interface Schema$PscInterfaceConfig {
|
|
1398
|
+
/**
|
|
1399
|
+
* The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT\}/regions/${REGION\}/networkAttachments/${NETWORK_ATTACHMENT_NAME\}". The network attachment must be in the same region as the instance.
|
|
1400
|
+
*/
|
|
1401
|
+
networkAttachmentResource?: string | null;
|
|
1402
|
+
}
|
|
1178
1403
|
/**
|
|
1179
1404
|
* 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)
|
|
1180
1405
|
*/
|
|
@@ -1227,6 +1452,15 @@ export namespace alloydb_v1 {
|
|
|
1227
1452
|
*/
|
|
1228
1453
|
nodeCount?: number | null;
|
|
1229
1454
|
}
|
|
1455
|
+
/**
|
|
1456
|
+
* Read pool instances upgrade specific status.
|
|
1457
|
+
*/
|
|
1458
|
+
export interface Schema$ReadPoolInstancesUpgradeStageStatus {
|
|
1459
|
+
/**
|
|
1460
|
+
* Read pool instances upgrade statistics.
|
|
1461
|
+
*/
|
|
1462
|
+
upgradeStats?: Schema$Stats;
|
|
1463
|
+
}
|
|
1230
1464
|
export interface Schema$RestartInstanceRequest {
|
|
1231
1465
|
/**
|
|
1232
1466
|
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
@@ -1242,7 +1476,7 @@ export namespace alloydb_v1 {
|
|
|
1242
1476
|
validateOnly?: boolean | null;
|
|
1243
1477
|
}
|
|
1244
1478
|
/**
|
|
1245
|
-
* Message for restoring a Cluster from a backup or another cluster at a given point in time.
|
|
1479
|
+
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1246
1480
|
*/
|
|
1247
1481
|
export interface Schema$RestoreClusterRequest {
|
|
1248
1482
|
/**
|
|
@@ -1270,6 +1504,23 @@ export namespace alloydb_v1 {
|
|
|
1270
1504
|
*/
|
|
1271
1505
|
validateOnly?: boolean | null;
|
|
1272
1506
|
}
|
|
1507
|
+
/**
|
|
1508
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1509
|
+
*/
|
|
1510
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1511
|
+
/**
|
|
1512
|
+
* Cluster created from CloudSQL backup run.
|
|
1513
|
+
*/
|
|
1514
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1515
|
+
/**
|
|
1516
|
+
* Required. The resource being created
|
|
1517
|
+
*/
|
|
1518
|
+
cluster?: Schema$Cluster;
|
|
1519
|
+
/**
|
|
1520
|
+
* Required. ID of the requesting object.
|
|
1521
|
+
*/
|
|
1522
|
+
clusterId?: string | null;
|
|
1523
|
+
}
|
|
1273
1524
|
/**
|
|
1274
1525
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1275
1526
|
*/
|
|
@@ -1300,6 +1551,10 @@ export namespace alloydb_v1 {
|
|
|
1300
1551
|
*/
|
|
1301
1552
|
tables?: string[] | null;
|
|
1302
1553
|
}
|
|
1554
|
+
/**
|
|
1555
|
+
* Options for importing data in SQL format.
|
|
1556
|
+
*/
|
|
1557
|
+
export interface Schema$SqlImportOptions {}
|
|
1303
1558
|
/**
|
|
1304
1559
|
* SSL configuration.
|
|
1305
1560
|
*/
|
|
@@ -1330,6 +1585,44 @@ export namespace alloydb_v1 {
|
|
|
1330
1585
|
*/
|
|
1331
1586
|
status?: string | null;
|
|
1332
1587
|
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Status of an upgrade stage.
|
|
1590
|
+
*/
|
|
1591
|
+
export interface Schema$StageStatus {
|
|
1592
|
+
/**
|
|
1593
|
+
* Read pool instances upgrade metadata.
|
|
1594
|
+
*/
|
|
1595
|
+
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1596
|
+
/**
|
|
1597
|
+
* Upgrade stage.
|
|
1598
|
+
*/
|
|
1599
|
+
stage?: string | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* State of this stage.
|
|
1602
|
+
*/
|
|
1603
|
+
state?: string | null;
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
* Upgrade stats for read pool instances.
|
|
1607
|
+
*/
|
|
1608
|
+
export interface Schema$Stats {
|
|
1609
|
+
/**
|
|
1610
|
+
* Number of read pool instances which failed to upgrade.
|
|
1611
|
+
*/
|
|
1612
|
+
failed?: number | null;
|
|
1613
|
+
/**
|
|
1614
|
+
* Number of read pool instances for which upgrade has not started.
|
|
1615
|
+
*/
|
|
1616
|
+
notStarted?: number | null;
|
|
1617
|
+
/**
|
|
1618
|
+
* Number of read pool instances undergoing upgrade.
|
|
1619
|
+
*/
|
|
1620
|
+
ongoing?: number | null;
|
|
1621
|
+
/**
|
|
1622
|
+
* Number of read pool instances successfully upgraded.
|
|
1623
|
+
*/
|
|
1624
|
+
success?: number | null;
|
|
1625
|
+
}
|
|
1333
1626
|
/**
|
|
1334
1627
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1335
1628
|
*/
|
|
@@ -1527,7 +1820,7 @@ export namespace alloydb_v1 {
|
|
|
1527
1820
|
uniqueId?: string | null;
|
|
1528
1821
|
}
|
|
1529
1822
|
/**
|
|
1530
|
-
* Common model for database resource instance metadata. Next ID:
|
|
1823
|
+
* Common model for database resource instance metadata. Next ID: 25
|
|
1531
1824
|
*/
|
|
1532
1825
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1533
1826
|
/**
|
|
@@ -1566,6 +1859,10 @@ export namespace alloydb_v1 {
|
|
|
1566
1859
|
* The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
|
|
1567
1860
|
*/
|
|
1568
1861
|
expectedState?: string | null;
|
|
1862
|
+
/**
|
|
1863
|
+
* GCBDR configuration for the resource.
|
|
1864
|
+
*/
|
|
1865
|
+
gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
|
|
1569
1866
|
/**
|
|
1570
1867
|
* Required. Unique identifier for a Database resource
|
|
1571
1868
|
*/
|
|
@@ -1602,6 +1899,10 @@ export namespace alloydb_v1 {
|
|
|
1602
1899
|
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1603
1900
|
*/
|
|
1604
1901
|
resourceName?: string | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* Optional. Suspension reason for the resource.
|
|
1904
|
+
*/
|
|
1905
|
+
suspensionReason?: string | null;
|
|
1605
1906
|
/**
|
|
1606
1907
|
* Optional. Tags associated with this resources.
|
|
1607
1908
|
*/
|
|
@@ -1665,6 +1966,15 @@ export namespace alloydb_v1 {
|
|
|
1665
1966
|
*/
|
|
1666
1967
|
type?: string | null;
|
|
1667
1968
|
}
|
|
1969
|
+
/**
|
|
1970
|
+
* GCBDR Configuration for the resource.
|
|
1971
|
+
*/
|
|
1972
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
|
|
1973
|
+
/**
|
|
1974
|
+
* Whether the resource is managed by GCBDR.
|
|
1975
|
+
*/
|
|
1976
|
+
gcbdrManaged?: boolean | null;
|
|
1977
|
+
}
|
|
1668
1978
|
/**
|
|
1669
1979
|
* Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.
|
|
1670
1980
|
*/
|
|
@@ -1677,6 +1987,10 @@ export namespace alloydb_v1 {
|
|
|
1677
1987
|
* Information about the last backup attempt for this database
|
|
1678
1988
|
*/
|
|
1679
1989
|
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1990
|
+
/**
|
|
1991
|
+
* Whether deletion protection is enabled for this internal resource.
|
|
1992
|
+
*/
|
|
1993
|
+
isDeletionProtectionEnabled?: boolean | null;
|
|
1680
1994
|
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1681
1995
|
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1682
1996
|
/**
|
|
@@ -1689,11 +2003,11 @@ export namespace alloydb_v1 {
|
|
|
1689
2003
|
*/
|
|
1690
2004
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1691
2005
|
/**
|
|
1692
|
-
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482
|
|
2006
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
|
|
1693
2007
|
*/
|
|
1694
2008
|
cpuCount?: number | null;
|
|
1695
2009
|
/**
|
|
1696
|
-
* Memory size in bytes. TODO(b/342344482
|
|
2010
|
+
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
|
|
1697
2011
|
*/
|
|
1698
2012
|
memorySizeInBytes?: string | null;
|
|
1699
2013
|
/**
|
|
@@ -1701,7 +2015,7 @@ export namespace alloydb_v1 {
|
|
|
1701
2015
|
*/
|
|
1702
2016
|
shardCount?: number | null;
|
|
1703
2017
|
/**
|
|
1704
|
-
* Optional. The number of vCPUs. TODO(b/342344482
|
|
2018
|
+
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
|
|
1705
2019
|
*/
|
|
1706
2020
|
vcpuCount?: number | null;
|
|
1707
2021
|
}
|
|
@@ -1839,10 +2153,22 @@ export namespace alloydb_v1 {
|
|
|
1839
2153
|
* The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project\}/locations/{location\}/flags/{flag\} This field currently has no semantic meaning.
|
|
1840
2154
|
*/
|
|
1841
2155
|
name?: string | null;
|
|
2156
|
+
/**
|
|
2157
|
+
* The recommended value for an INTEGER flag.
|
|
2158
|
+
*/
|
|
2159
|
+
recommendedIntegerValue?: string | null;
|
|
2160
|
+
/**
|
|
2161
|
+
* The recommended value for a STRING flag.
|
|
2162
|
+
*/
|
|
2163
|
+
recommendedStringValue?: string | null;
|
|
1842
2164
|
/**
|
|
1843
2165
|
* Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
|
|
1844
2166
|
*/
|
|
1845
2167
|
requiresDbRestart?: boolean | null;
|
|
2168
|
+
/**
|
|
2169
|
+
* The scope of the flag.
|
|
2170
|
+
*/
|
|
2171
|
+
scope?: string | null;
|
|
1846
2172
|
/**
|
|
1847
2173
|
* Restriction on STRING type value.
|
|
1848
2174
|
*/
|
|
@@ -1934,6 +2260,31 @@ export namespace alloydb_v1 {
|
|
|
1934
2260
|
*/
|
|
1935
2261
|
status?: string | null;
|
|
1936
2262
|
}
|
|
2263
|
+
/**
|
|
2264
|
+
* Message for current status of the Major Version Upgrade operation.
|
|
2265
|
+
*/
|
|
2266
|
+
export interface Schema$UpgradeClusterStatus {
|
|
2267
|
+
/**
|
|
2268
|
+
* Whether the operation is cancellable.
|
|
2269
|
+
*/
|
|
2270
|
+
cancellable?: boolean | null;
|
|
2271
|
+
/**
|
|
2272
|
+
* Source database major version.
|
|
2273
|
+
*/
|
|
2274
|
+
sourceVersion?: string | null;
|
|
2275
|
+
/**
|
|
2276
|
+
* Status of all upgrade stages.
|
|
2277
|
+
*/
|
|
2278
|
+
stages?: Schema$StageStatus[];
|
|
2279
|
+
/**
|
|
2280
|
+
* Cluster Major Version Upgrade state.
|
|
2281
|
+
*/
|
|
2282
|
+
state?: string | null;
|
|
2283
|
+
/**
|
|
2284
|
+
* Target database major version.
|
|
2285
|
+
*/
|
|
2286
|
+
targetVersion?: string | null;
|
|
2287
|
+
}
|
|
1937
2288
|
/**
|
|
1938
2289
|
* Message describing User object.
|
|
1939
2290
|
*/
|
|
@@ -2023,11 +2374,11 @@ export namespace alloydb_v1 {
|
|
|
2023
2374
|
get(
|
|
2024
2375
|
params: Params$Resource$Projects$Locations$Get,
|
|
2025
2376
|
options: StreamMethodOptions
|
|
2026
|
-
):
|
|
2377
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2027
2378
|
get(
|
|
2028
2379
|
params?: Params$Resource$Projects$Locations$Get,
|
|
2029
2380
|
options?: MethodOptions
|
|
2030
|
-
):
|
|
2381
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>;
|
|
2031
2382
|
get(
|
|
2032
2383
|
params: Params$Resource$Projects$Locations$Get,
|
|
2033
2384
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2062,8 +2413,8 @@ export namespace alloydb_v1 {
|
|
|
2062
2413
|
| BodyResponseCallback<Readable>
|
|
2063
2414
|
):
|
|
2064
2415
|
| void
|
|
2065
|
-
|
|
|
2066
|
-
|
|
|
2416
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>
|
|
2417
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2067
2418
|
let params = (paramsOrCallback ||
|
|
2068
2419
|
{}) as Params$Resource$Projects$Locations$Get;
|
|
2069
2420
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2115,11 +2466,13 @@ export namespace alloydb_v1 {
|
|
|
2115
2466
|
list(
|
|
2116
2467
|
params: Params$Resource$Projects$Locations$List,
|
|
2117
2468
|
options: StreamMethodOptions
|
|
2118
|
-
):
|
|
2469
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2119
2470
|
list(
|
|
2120
2471
|
params?: Params$Resource$Projects$Locations$List,
|
|
2121
2472
|
options?: MethodOptions
|
|
2122
|
-
):
|
|
2473
|
+
): Promise<
|
|
2474
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
|
|
2475
|
+
>;
|
|
2123
2476
|
list(
|
|
2124
2477
|
params: Params$Resource$Projects$Locations$List,
|
|
2125
2478
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2154,8 +2507,10 @@ export namespace alloydb_v1 {
|
|
|
2154
2507
|
| BodyResponseCallback<Readable>
|
|
2155
2508
|
):
|
|
2156
2509
|
| void
|
|
2157
|
-
|
|
|
2158
|
-
|
|
2510
|
+
| Promise<
|
|
2511
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>
|
|
2512
|
+
>
|
|
2513
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2159
2514
|
let params = (paramsOrCallback ||
|
|
2160
2515
|
{}) as Params$Resource$Projects$Locations$List;
|
|
2161
2516
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2211,6 +2566,10 @@ export namespace alloydb_v1 {
|
|
|
2211
2566
|
}
|
|
2212
2567
|
export interface Params$Resource$Projects$Locations$List
|
|
2213
2568
|
extends StandardParameters {
|
|
2569
|
+
/**
|
|
2570
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2571
|
+
*/
|
|
2572
|
+
extraLocationTypes?: string[];
|
|
2214
2573
|
/**
|
|
2215
2574
|
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2216
2575
|
*/
|
|
@@ -2246,11 +2605,11 @@ export namespace alloydb_v1 {
|
|
|
2246
2605
|
create(
|
|
2247
2606
|
params: Params$Resource$Projects$Locations$Backups$Create,
|
|
2248
2607
|
options: StreamMethodOptions
|
|
2249
|
-
):
|
|
2608
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2250
2609
|
create(
|
|
2251
2610
|
params?: Params$Resource$Projects$Locations$Backups$Create,
|
|
2252
2611
|
options?: MethodOptions
|
|
2253
|
-
):
|
|
2612
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2254
2613
|
create(
|
|
2255
2614
|
params: Params$Resource$Projects$Locations$Backups$Create,
|
|
2256
2615
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2279,7 +2638,10 @@ export namespace alloydb_v1 {
|
|
|
2279
2638
|
callback?:
|
|
2280
2639
|
| BodyResponseCallback<Schema$Operation>
|
|
2281
2640
|
| BodyResponseCallback<Readable>
|
|
2282
|
-
):
|
|
2641
|
+
):
|
|
2642
|
+
| void
|
|
2643
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
2644
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2283
2645
|
let params = (paramsOrCallback ||
|
|
2284
2646
|
{}) as Params$Resource$Projects$Locations$Backups$Create;
|
|
2285
2647
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2334,11 +2696,11 @@ export namespace alloydb_v1 {
|
|
|
2334
2696
|
delete(
|
|
2335
2697
|
params: Params$Resource$Projects$Locations$Backups$Delete,
|
|
2336
2698
|
options: StreamMethodOptions
|
|
2337
|
-
):
|
|
2699
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2338
2700
|
delete(
|
|
2339
2701
|
params?: Params$Resource$Projects$Locations$Backups$Delete,
|
|
2340
2702
|
options?: MethodOptions
|
|
2341
|
-
):
|
|
2703
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2342
2704
|
delete(
|
|
2343
2705
|
params: Params$Resource$Projects$Locations$Backups$Delete,
|
|
2344
2706
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2367,7 +2729,10 @@ export namespace alloydb_v1 {
|
|
|
2367
2729
|
callback?:
|
|
2368
2730
|
| BodyResponseCallback<Schema$Operation>
|
|
2369
2731
|
| BodyResponseCallback<Readable>
|
|
2370
|
-
):
|
|
2732
|
+
):
|
|
2733
|
+
| void
|
|
2734
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
2735
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2371
2736
|
let params = (paramsOrCallback ||
|
|
2372
2737
|
{}) as Params$Resource$Projects$Locations$Backups$Delete;
|
|
2373
2738
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2419,11 +2784,11 @@ export namespace alloydb_v1 {
|
|
|
2419
2784
|
get(
|
|
2420
2785
|
params: Params$Resource$Projects$Locations$Backups$Get,
|
|
2421
2786
|
options: StreamMethodOptions
|
|
2422
|
-
):
|
|
2787
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2423
2788
|
get(
|
|
2424
2789
|
params?: Params$Resource$Projects$Locations$Backups$Get,
|
|
2425
2790
|
options?: MethodOptions
|
|
2426
|
-
):
|
|
2791
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
2427
2792
|
get(
|
|
2428
2793
|
params: Params$Resource$Projects$Locations$Backups$Get,
|
|
2429
2794
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2452,7 +2817,10 @@ export namespace alloydb_v1 {
|
|
|
2452
2817
|
callback?:
|
|
2453
2818
|
| BodyResponseCallback<Schema$Backup>
|
|
2454
2819
|
| BodyResponseCallback<Readable>
|
|
2455
|
-
):
|
|
2820
|
+
):
|
|
2821
|
+
| void
|
|
2822
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
|
|
2823
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2456
2824
|
let params = (paramsOrCallback ||
|
|
2457
2825
|
{}) as Params$Resource$Projects$Locations$Backups$Get;
|
|
2458
2826
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2504,11 +2872,11 @@ export namespace alloydb_v1 {
|
|
|
2504
2872
|
list(
|
|
2505
2873
|
params: Params$Resource$Projects$Locations$Backups$List,
|
|
2506
2874
|
options: StreamMethodOptions
|
|
2507
|
-
):
|
|
2875
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2508
2876
|
list(
|
|
2509
2877
|
params?: Params$Resource$Projects$Locations$Backups$List,
|
|
2510
2878
|
options?: MethodOptions
|
|
2511
|
-
):
|
|
2879
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
|
|
2512
2880
|
list(
|
|
2513
2881
|
params: Params$Resource$Projects$Locations$Backups$List,
|
|
2514
2882
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2539,8 +2907,8 @@ export namespace alloydb_v1 {
|
|
|
2539
2907
|
| BodyResponseCallback<Readable>
|
|
2540
2908
|
):
|
|
2541
2909
|
| void
|
|
2542
|
-
|
|
|
2543
|
-
|
|
|
2910
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>
|
|
2911
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2544
2912
|
let params = (paramsOrCallback ||
|
|
2545
2913
|
{}) as Params$Resource$Projects$Locations$Backups$List;
|
|
2546
2914
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2595,11 +2963,11 @@ export namespace alloydb_v1 {
|
|
|
2595
2963
|
patch(
|
|
2596
2964
|
params: Params$Resource$Projects$Locations$Backups$Patch,
|
|
2597
2965
|
options: StreamMethodOptions
|
|
2598
|
-
):
|
|
2966
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2599
2967
|
patch(
|
|
2600
2968
|
params?: Params$Resource$Projects$Locations$Backups$Patch,
|
|
2601
2969
|
options?: MethodOptions
|
|
2602
|
-
):
|
|
2970
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2603
2971
|
patch(
|
|
2604
2972
|
params: Params$Resource$Projects$Locations$Backups$Patch,
|
|
2605
2973
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2628,7 +2996,10 @@ export namespace alloydb_v1 {
|
|
|
2628
2996
|
callback?:
|
|
2629
2997
|
| BodyResponseCallback<Schema$Operation>
|
|
2630
2998
|
| BodyResponseCallback<Readable>
|
|
2631
|
-
):
|
|
2999
|
+
):
|
|
3000
|
+
| void
|
|
3001
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3002
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2632
3003
|
let params = (paramsOrCallback ||
|
|
2633
3004
|
{}) as Params$Resource$Projects$Locations$Backups$Patch;
|
|
2634
3005
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2795,11 +3166,11 @@ export namespace alloydb_v1 {
|
|
|
2795
3166
|
create(
|
|
2796
3167
|
params: Params$Resource$Projects$Locations$Clusters$Create,
|
|
2797
3168
|
options: StreamMethodOptions
|
|
2798
|
-
):
|
|
3169
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2799
3170
|
create(
|
|
2800
3171
|
params?: Params$Resource$Projects$Locations$Clusters$Create,
|
|
2801
3172
|
options?: MethodOptions
|
|
2802
|
-
):
|
|
3173
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2803
3174
|
create(
|
|
2804
3175
|
params: Params$Resource$Projects$Locations$Clusters$Create,
|
|
2805
3176
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2828,7 +3199,10 @@ export namespace alloydb_v1 {
|
|
|
2828
3199
|
callback?:
|
|
2829
3200
|
| BodyResponseCallback<Schema$Operation>
|
|
2830
3201
|
| BodyResponseCallback<Readable>
|
|
2831
|
-
):
|
|
3202
|
+
):
|
|
3203
|
+
| void
|
|
3204
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3205
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2832
3206
|
let params = (paramsOrCallback ||
|
|
2833
3207
|
{}) as Params$Resource$Projects$Locations$Clusters$Create;
|
|
2834
3208
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2883,11 +3257,11 @@ export namespace alloydb_v1 {
|
|
|
2883
3257
|
createsecondary(
|
|
2884
3258
|
params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
|
|
2885
3259
|
options: StreamMethodOptions
|
|
2886
|
-
):
|
|
3260
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2887
3261
|
createsecondary(
|
|
2888
3262
|
params?: Params$Resource$Projects$Locations$Clusters$Createsecondary,
|
|
2889
3263
|
options?: MethodOptions
|
|
2890
|
-
):
|
|
3264
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2891
3265
|
createsecondary(
|
|
2892
3266
|
params: Params$Resource$Projects$Locations$Clusters$Createsecondary,
|
|
2893
3267
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -2916,7 +3290,10 @@ export namespace alloydb_v1 {
|
|
|
2916
3290
|
callback?:
|
|
2917
3291
|
| BodyResponseCallback<Schema$Operation>
|
|
2918
3292
|
| BodyResponseCallback<Readable>
|
|
2919
|
-
):
|
|
3293
|
+
):
|
|
3294
|
+
| void
|
|
3295
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3296
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
2920
3297
|
let params = (paramsOrCallback ||
|
|
2921
3298
|
{}) as Params$Resource$Projects$Locations$Clusters$Createsecondary;
|
|
2922
3299
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -2972,11 +3349,11 @@ export namespace alloydb_v1 {
|
|
|
2972
3349
|
delete(
|
|
2973
3350
|
params: Params$Resource$Projects$Locations$Clusters$Delete,
|
|
2974
3351
|
options: StreamMethodOptions
|
|
2975
|
-
):
|
|
3352
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2976
3353
|
delete(
|
|
2977
3354
|
params?: Params$Resource$Projects$Locations$Clusters$Delete,
|
|
2978
3355
|
options?: MethodOptions
|
|
2979
|
-
):
|
|
3356
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2980
3357
|
delete(
|
|
2981
3358
|
params: Params$Resource$Projects$Locations$Clusters$Delete,
|
|
2982
3359
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3005,7 +3382,10 @@ export namespace alloydb_v1 {
|
|
|
3005
3382
|
callback?:
|
|
3006
3383
|
| BodyResponseCallback<Schema$Operation>
|
|
3007
3384
|
| BodyResponseCallback<Readable>
|
|
3008
|
-
):
|
|
3385
|
+
):
|
|
3386
|
+
| void
|
|
3387
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3388
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3009
3389
|
let params = (paramsOrCallback ||
|
|
3010
3390
|
{}) as Params$Resource$Projects$Locations$Clusters$Delete;
|
|
3011
3391
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3057,11 +3437,11 @@ export namespace alloydb_v1 {
|
|
|
3057
3437
|
export(
|
|
3058
3438
|
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3059
3439
|
options: StreamMethodOptions
|
|
3060
|
-
):
|
|
3440
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3061
3441
|
export(
|
|
3062
3442
|
params?: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3063
3443
|
options?: MethodOptions
|
|
3064
|
-
):
|
|
3444
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3065
3445
|
export(
|
|
3066
3446
|
params: Params$Resource$Projects$Locations$Clusters$Export,
|
|
3067
3447
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3090,7 +3470,10 @@ export namespace alloydb_v1 {
|
|
|
3090
3470
|
callback?:
|
|
3091
3471
|
| BodyResponseCallback<Schema$Operation>
|
|
3092
3472
|
| BodyResponseCallback<Readable>
|
|
3093
|
-
):
|
|
3473
|
+
):
|
|
3474
|
+
| void
|
|
3475
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3476
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3094
3477
|
let params = (paramsOrCallback ||
|
|
3095
3478
|
{}) as Params$Resource$Projects$Locations$Clusters$Export;
|
|
3096
3479
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3142,11 +3525,11 @@ export namespace alloydb_v1 {
|
|
|
3142
3525
|
get(
|
|
3143
3526
|
params: Params$Resource$Projects$Locations$Clusters$Get,
|
|
3144
3527
|
options: StreamMethodOptions
|
|
3145
|
-
):
|
|
3528
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3146
3529
|
get(
|
|
3147
3530
|
params?: Params$Resource$Projects$Locations$Clusters$Get,
|
|
3148
3531
|
options?: MethodOptions
|
|
3149
|
-
):
|
|
3532
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>;
|
|
3150
3533
|
get(
|
|
3151
3534
|
params: Params$Resource$Projects$Locations$Clusters$Get,
|
|
3152
3535
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3175,7 +3558,10 @@ export namespace alloydb_v1 {
|
|
|
3175
3558
|
callback?:
|
|
3176
3559
|
| BodyResponseCallback<Schema$Cluster>
|
|
3177
3560
|
| BodyResponseCallback<Readable>
|
|
3178
|
-
):
|
|
3561
|
+
):
|
|
3562
|
+
| void
|
|
3563
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>
|
|
3564
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3179
3565
|
let params = (paramsOrCallback ||
|
|
3180
3566
|
{}) as Params$Resource$Projects$Locations$Clusters$Get;
|
|
3181
3567
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3216,6 +3602,94 @@ export namespace alloydb_v1 {
|
|
|
3216
3602
|
}
|
|
3217
3603
|
}
|
|
3218
3604
|
|
|
3605
|
+
/**
|
|
3606
|
+
* Imports data to the cluster. Imperative only.
|
|
3607
|
+
*
|
|
3608
|
+
* @param params - Parameters for request
|
|
3609
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3610
|
+
* @param callback - Optional callback that handles the response.
|
|
3611
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3612
|
+
*/
|
|
3613
|
+
import(
|
|
3614
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3615
|
+
options: StreamMethodOptions
|
|
3616
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3617
|
+
import(
|
|
3618
|
+
params?: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3619
|
+
options?: MethodOptions
|
|
3620
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3621
|
+
import(
|
|
3622
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3623
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3624
|
+
callback: BodyResponseCallback<Readable>
|
|
3625
|
+
): void;
|
|
3626
|
+
import(
|
|
3627
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3628
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
3629
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3630
|
+
): void;
|
|
3631
|
+
import(
|
|
3632
|
+
params: Params$Resource$Projects$Locations$Clusters$Import,
|
|
3633
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
3634
|
+
): void;
|
|
3635
|
+
import(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3636
|
+
import(
|
|
3637
|
+
paramsOrCallback?:
|
|
3638
|
+
| Params$Resource$Projects$Locations$Clusters$Import
|
|
3639
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3640
|
+
| BodyResponseCallback<Readable>,
|
|
3641
|
+
optionsOrCallback?:
|
|
3642
|
+
| MethodOptions
|
|
3643
|
+
| StreamMethodOptions
|
|
3644
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3645
|
+
| BodyResponseCallback<Readable>,
|
|
3646
|
+
callback?:
|
|
3647
|
+
| BodyResponseCallback<Schema$Operation>
|
|
3648
|
+
| BodyResponseCallback<Readable>
|
|
3649
|
+
):
|
|
3650
|
+
| void
|
|
3651
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3652
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3653
|
+
let params = (paramsOrCallback ||
|
|
3654
|
+
{}) as Params$Resource$Projects$Locations$Clusters$Import;
|
|
3655
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3656
|
+
|
|
3657
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3658
|
+
callback = paramsOrCallback;
|
|
3659
|
+
params = {} as Params$Resource$Projects$Locations$Clusters$Import;
|
|
3660
|
+
options = {};
|
|
3661
|
+
}
|
|
3662
|
+
|
|
3663
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3664
|
+
callback = optionsOrCallback;
|
|
3665
|
+
options = {};
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
3669
|
+
const parameters = {
|
|
3670
|
+
options: Object.assign(
|
|
3671
|
+
{
|
|
3672
|
+
url: (rootUrl + '/v1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'),
|
|
3673
|
+
method: 'POST',
|
|
3674
|
+
apiVersion: '',
|
|
3675
|
+
},
|
|
3676
|
+
options
|
|
3677
|
+
),
|
|
3678
|
+
params,
|
|
3679
|
+
requiredParams: ['name'],
|
|
3680
|
+
pathParams: ['name'],
|
|
3681
|
+
context: this.context,
|
|
3682
|
+
};
|
|
3683
|
+
if (callback) {
|
|
3684
|
+
createAPIRequest<Schema$Operation>(
|
|
3685
|
+
parameters,
|
|
3686
|
+
callback as BodyResponseCallback<unknown>
|
|
3687
|
+
);
|
|
3688
|
+
} else {
|
|
3689
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3219
3693
|
/**
|
|
3220
3694
|
* Lists Clusters in a given project and location.
|
|
3221
3695
|
*
|
|
@@ -3227,11 +3701,11 @@ export namespace alloydb_v1 {
|
|
|
3227
3701
|
list(
|
|
3228
3702
|
params: Params$Resource$Projects$Locations$Clusters$List,
|
|
3229
3703
|
options: StreamMethodOptions
|
|
3230
|
-
):
|
|
3704
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3231
3705
|
list(
|
|
3232
3706
|
params?: Params$Resource$Projects$Locations$Clusters$List,
|
|
3233
3707
|
options?: MethodOptions
|
|
3234
|
-
):
|
|
3708
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>;
|
|
3235
3709
|
list(
|
|
3236
3710
|
params: Params$Resource$Projects$Locations$Clusters$List,
|
|
3237
3711
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3264,8 +3738,8 @@ export namespace alloydb_v1 {
|
|
|
3264
3738
|
| BodyResponseCallback<Readable>
|
|
3265
3739
|
):
|
|
3266
3740
|
| void
|
|
3267
|
-
|
|
|
3268
|
-
|
|
|
3741
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>
|
|
3742
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3269
3743
|
let params = (paramsOrCallback ||
|
|
3270
3744
|
{}) as Params$Resource$Projects$Locations$Clusters$List;
|
|
3271
3745
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3320,11 +3794,11 @@ export namespace alloydb_v1 {
|
|
|
3320
3794
|
patch(
|
|
3321
3795
|
params: Params$Resource$Projects$Locations$Clusters$Patch,
|
|
3322
3796
|
options: StreamMethodOptions
|
|
3323
|
-
):
|
|
3797
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3324
3798
|
patch(
|
|
3325
3799
|
params?: Params$Resource$Projects$Locations$Clusters$Patch,
|
|
3326
3800
|
options?: MethodOptions
|
|
3327
|
-
):
|
|
3801
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3328
3802
|
patch(
|
|
3329
3803
|
params: Params$Resource$Projects$Locations$Clusters$Patch,
|
|
3330
3804
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3353,7 +3827,10 @@ export namespace alloydb_v1 {
|
|
|
3353
3827
|
callback?:
|
|
3354
3828
|
| BodyResponseCallback<Schema$Operation>
|
|
3355
3829
|
| BodyResponseCallback<Readable>
|
|
3356
|
-
):
|
|
3830
|
+
):
|
|
3831
|
+
| void
|
|
3832
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3833
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3357
3834
|
let params = (paramsOrCallback ||
|
|
3358
3835
|
{}) as Params$Resource$Projects$Locations$Clusters$Patch;
|
|
3359
3836
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3405,11 +3882,11 @@ export namespace alloydb_v1 {
|
|
|
3405
3882
|
promote(
|
|
3406
3883
|
params: Params$Resource$Projects$Locations$Clusters$Promote,
|
|
3407
3884
|
options: StreamMethodOptions
|
|
3408
|
-
):
|
|
3885
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3409
3886
|
promote(
|
|
3410
3887
|
params?: Params$Resource$Projects$Locations$Clusters$Promote,
|
|
3411
3888
|
options?: MethodOptions
|
|
3412
|
-
):
|
|
3889
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3413
3890
|
promote(
|
|
3414
3891
|
params: Params$Resource$Projects$Locations$Clusters$Promote,
|
|
3415
3892
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3438,7 +3915,10 @@ export namespace alloydb_v1 {
|
|
|
3438
3915
|
callback?:
|
|
3439
3916
|
| BodyResponseCallback<Schema$Operation>
|
|
3440
3917
|
| BodyResponseCallback<Readable>
|
|
3441
|
-
):
|
|
3918
|
+
):
|
|
3919
|
+
| void
|
|
3920
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3921
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3442
3922
|
let params = (paramsOrCallback ||
|
|
3443
3923
|
{}) as Params$Resource$Projects$Locations$Clusters$Promote;
|
|
3444
3924
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3493,11 +3973,11 @@ export namespace alloydb_v1 {
|
|
|
3493
3973
|
restore(
|
|
3494
3974
|
params: Params$Resource$Projects$Locations$Clusters$Restore,
|
|
3495
3975
|
options: StreamMethodOptions
|
|
3496
|
-
):
|
|
3976
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3497
3977
|
restore(
|
|
3498
3978
|
params?: Params$Resource$Projects$Locations$Clusters$Restore,
|
|
3499
3979
|
options?: MethodOptions
|
|
3500
|
-
):
|
|
3980
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3501
3981
|
restore(
|
|
3502
3982
|
params: Params$Resource$Projects$Locations$Clusters$Restore,
|
|
3503
3983
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3526,7 +4006,10 @@ export namespace alloydb_v1 {
|
|
|
3526
4006
|
callback?:
|
|
3527
4007
|
| BodyResponseCallback<Schema$Operation>
|
|
3528
4008
|
| BodyResponseCallback<Readable>
|
|
3529
|
-
):
|
|
4009
|
+
):
|
|
4010
|
+
| void
|
|
4011
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4012
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3530
4013
|
let params = (paramsOrCallback ||
|
|
3531
4014
|
{}) as Params$Resource$Projects$Locations$Clusters$Restore;
|
|
3532
4015
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3570,6 +4053,97 @@ export namespace alloydb_v1 {
|
|
|
3570
4053
|
}
|
|
3571
4054
|
}
|
|
3572
4055
|
|
|
4056
|
+
/**
|
|
4057
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
4058
|
+
*
|
|
4059
|
+
* @param params - Parameters for request
|
|
4060
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4061
|
+
* @param callback - Optional callback that handles the response.
|
|
4062
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4063
|
+
*/
|
|
4064
|
+
restoreFromCloudSQL(
|
|
4065
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4066
|
+
options: StreamMethodOptions
|
|
4067
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4068
|
+
restoreFromCloudSQL(
|
|
4069
|
+
params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4070
|
+
options?: MethodOptions
|
|
4071
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4072
|
+
restoreFromCloudSQL(
|
|
4073
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4074
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
4075
|
+
callback: BodyResponseCallback<Readable>
|
|
4076
|
+
): void;
|
|
4077
|
+
restoreFromCloudSQL(
|
|
4078
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4079
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
4080
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
4081
|
+
): void;
|
|
4082
|
+
restoreFromCloudSQL(
|
|
4083
|
+
params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql,
|
|
4084
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
4085
|
+
): void;
|
|
4086
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4087
|
+
restoreFromCloudSQL(
|
|
4088
|
+
paramsOrCallback?:
|
|
4089
|
+
| Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
|
|
4090
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4091
|
+
| BodyResponseCallback<Readable>,
|
|
4092
|
+
optionsOrCallback?:
|
|
4093
|
+
| MethodOptions
|
|
4094
|
+
| StreamMethodOptions
|
|
4095
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4096
|
+
| BodyResponseCallback<Readable>,
|
|
4097
|
+
callback?:
|
|
4098
|
+
| BodyResponseCallback<Schema$Operation>
|
|
4099
|
+
| BodyResponseCallback<Readable>
|
|
4100
|
+
):
|
|
4101
|
+
| void
|
|
4102
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4103
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4104
|
+
let params = (paramsOrCallback ||
|
|
4105
|
+
{}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
|
|
4106
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4107
|
+
|
|
4108
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4109
|
+
callback = paramsOrCallback;
|
|
4110
|
+
params =
|
|
4111
|
+
{} as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql;
|
|
4112
|
+
options = {};
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4116
|
+
callback = optionsOrCallback;
|
|
4117
|
+
options = {};
|
|
4118
|
+
}
|
|
4119
|
+
|
|
4120
|
+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
4121
|
+
const parameters = {
|
|
4122
|
+
options: Object.assign(
|
|
4123
|
+
{
|
|
4124
|
+
url: (
|
|
4125
|
+
rootUrl + '/v1/{+parent}/clusters:restoreFromCloudSQL'
|
|
4126
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4127
|
+
method: 'POST',
|
|
4128
|
+
apiVersion: '',
|
|
4129
|
+
},
|
|
4130
|
+
options
|
|
4131
|
+
),
|
|
4132
|
+
params,
|
|
4133
|
+
requiredParams: ['parent'],
|
|
4134
|
+
pathParams: ['parent'],
|
|
4135
|
+
context: this.context,
|
|
4136
|
+
};
|
|
4137
|
+
if (callback) {
|
|
4138
|
+
createAPIRequest<Schema$Operation>(
|
|
4139
|
+
parameters,
|
|
4140
|
+
callback as BodyResponseCallback<unknown>
|
|
4141
|
+
);
|
|
4142
|
+
} else {
|
|
4143
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
4144
|
+
}
|
|
4145
|
+
}
|
|
4146
|
+
|
|
3573
4147
|
/**
|
|
3574
4148
|
* Switches the roles of PRIMARY and SECONDARY clusters without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up the original PRIMARY cluster to replicate from this newly promoted cluster.
|
|
3575
4149
|
*
|
|
@@ -3581,11 +4155,11 @@ export namespace alloydb_v1 {
|
|
|
3581
4155
|
switchover(
|
|
3582
4156
|
params: Params$Resource$Projects$Locations$Clusters$Switchover,
|
|
3583
4157
|
options: StreamMethodOptions
|
|
3584
|
-
):
|
|
4158
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3585
4159
|
switchover(
|
|
3586
4160
|
params?: Params$Resource$Projects$Locations$Clusters$Switchover,
|
|
3587
4161
|
options?: MethodOptions
|
|
3588
|
-
):
|
|
4162
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3589
4163
|
switchover(
|
|
3590
4164
|
params: Params$Resource$Projects$Locations$Clusters$Switchover,
|
|
3591
4165
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3614,7 +4188,10 @@ export namespace alloydb_v1 {
|
|
|
3614
4188
|
callback?:
|
|
3615
4189
|
| BodyResponseCallback<Schema$Operation>
|
|
3616
4190
|
| BodyResponseCallback<Readable>
|
|
3617
|
-
):
|
|
4191
|
+
):
|
|
4192
|
+
| void
|
|
4193
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4194
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3618
4195
|
let params = (paramsOrCallback ||
|
|
3619
4196
|
{}) as Params$Resource$Projects$Locations$Clusters$Switchover;
|
|
3620
4197
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3669,11 +4246,11 @@ export namespace alloydb_v1 {
|
|
|
3669
4246
|
upgrade(
|
|
3670
4247
|
params: Params$Resource$Projects$Locations$Clusters$Upgrade,
|
|
3671
4248
|
options: StreamMethodOptions
|
|
3672
|
-
):
|
|
4249
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3673
4250
|
upgrade(
|
|
3674
4251
|
params?: Params$Resource$Projects$Locations$Clusters$Upgrade,
|
|
3675
4252
|
options?: MethodOptions
|
|
3676
|
-
):
|
|
4253
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3677
4254
|
upgrade(
|
|
3678
4255
|
params: Params$Resource$Projects$Locations$Clusters$Upgrade,
|
|
3679
4256
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3702,7 +4279,10 @@ export namespace alloydb_v1 {
|
|
|
3702
4279
|
callback?:
|
|
3703
4280
|
| BodyResponseCallback<Schema$Operation>
|
|
3704
4281
|
| BodyResponseCallback<Readable>
|
|
3705
|
-
):
|
|
4282
|
+
):
|
|
4283
|
+
| void
|
|
4284
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4285
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3706
4286
|
let params = (paramsOrCallback ||
|
|
3707
4287
|
{}) as Params$Resource$Projects$Locations$Clusters$Upgrade;
|
|
3708
4288
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3841,6 +4421,18 @@ export namespace alloydb_v1 {
|
|
|
3841
4421
|
*/
|
|
3842
4422
|
view?: string;
|
|
3843
4423
|
}
|
|
4424
|
+
export interface Params$Resource$Projects$Locations$Clusters$Import
|
|
4425
|
+
extends StandardParameters {
|
|
4426
|
+
/**
|
|
4427
|
+
* Required. The resource name of the cluster.
|
|
4428
|
+
*/
|
|
4429
|
+
name?: string;
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* Request body metadata
|
|
4433
|
+
*/
|
|
4434
|
+
requestBody?: Schema$ImportClusterRequest;
|
|
4435
|
+
}
|
|
3844
4436
|
export interface Params$Resource$Projects$Locations$Clusters$List
|
|
3845
4437
|
extends StandardParameters {
|
|
3846
4438
|
/**
|
|
@@ -3916,6 +4508,18 @@ export namespace alloydb_v1 {
|
|
|
3916
4508
|
*/
|
|
3917
4509
|
requestBody?: Schema$RestoreClusterRequest;
|
|
3918
4510
|
}
|
|
4511
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql
|
|
4512
|
+
extends StandardParameters {
|
|
4513
|
+
/**
|
|
4514
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
4515
|
+
*/
|
|
4516
|
+
parent?: string;
|
|
4517
|
+
|
|
4518
|
+
/**
|
|
4519
|
+
* Request body metadata
|
|
4520
|
+
*/
|
|
4521
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
4522
|
+
}
|
|
3919
4523
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover
|
|
3920
4524
|
extends StandardParameters {
|
|
3921
4525
|
/**
|
|
@@ -3958,11 +4562,11 @@ export namespace alloydb_v1 {
|
|
|
3958
4562
|
create(
|
|
3959
4563
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
|
|
3960
4564
|
options: StreamMethodOptions
|
|
3961
|
-
):
|
|
4565
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3962
4566
|
create(
|
|
3963
4567
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Create,
|
|
3964
4568
|
options?: MethodOptions
|
|
3965
|
-
):
|
|
4569
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3966
4570
|
create(
|
|
3967
4571
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Create,
|
|
3968
4572
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3991,7 +4595,10 @@ export namespace alloydb_v1 {
|
|
|
3991
4595
|
callback?:
|
|
3992
4596
|
| BodyResponseCallback<Schema$Operation>
|
|
3993
4597
|
| BodyResponseCallback<Readable>
|
|
3994
|
-
):
|
|
4598
|
+
):
|
|
4599
|
+
| void
|
|
4600
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4601
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3995
4602
|
let params = (paramsOrCallback ||
|
|
3996
4603
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Create;
|
|
3997
4604
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4047,11 +4654,11 @@ export namespace alloydb_v1 {
|
|
|
4047
4654
|
createsecondary(
|
|
4048
4655
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
|
|
4049
4656
|
options: StreamMethodOptions
|
|
4050
|
-
):
|
|
4657
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4051
4658
|
createsecondary(
|
|
4052
4659
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
|
|
4053
4660
|
options?: MethodOptions
|
|
4054
|
-
):
|
|
4661
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4055
4662
|
createsecondary(
|
|
4056
4663
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary,
|
|
4057
4664
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4080,7 +4687,10 @@ export namespace alloydb_v1 {
|
|
|
4080
4687
|
callback?:
|
|
4081
4688
|
| BodyResponseCallback<Schema$Operation>
|
|
4082
4689
|
| BodyResponseCallback<Readable>
|
|
4083
|
-
):
|
|
4690
|
+
):
|
|
4691
|
+
| void
|
|
4692
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4693
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4084
4694
|
let params = (paramsOrCallback ||
|
|
4085
4695
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary;
|
|
4086
4696
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4136,11 +4746,11 @@ export namespace alloydb_v1 {
|
|
|
4136
4746
|
delete(
|
|
4137
4747
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
|
|
4138
4748
|
options: StreamMethodOptions
|
|
4139
|
-
):
|
|
4749
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4140
4750
|
delete(
|
|
4141
4751
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
|
|
4142
4752
|
options?: MethodOptions
|
|
4143
|
-
):
|
|
4753
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4144
4754
|
delete(
|
|
4145
4755
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Delete,
|
|
4146
4756
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4169,7 +4779,10 @@ export namespace alloydb_v1 {
|
|
|
4169
4779
|
callback?:
|
|
4170
4780
|
| BodyResponseCallback<Schema$Operation>
|
|
4171
4781
|
| BodyResponseCallback<Readable>
|
|
4172
|
-
):
|
|
4782
|
+
):
|
|
4783
|
+
| void
|
|
4784
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4785
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4173
4786
|
let params = (paramsOrCallback ||
|
|
4174
4787
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete;
|
|
4175
4788
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4222,11 +4835,11 @@ export namespace alloydb_v1 {
|
|
|
4222
4835
|
failover(
|
|
4223
4836
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
|
|
4224
4837
|
options: StreamMethodOptions
|
|
4225
|
-
):
|
|
4838
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4226
4839
|
failover(
|
|
4227
4840
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
|
|
4228
4841
|
options?: MethodOptions
|
|
4229
|
-
):
|
|
4842
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4230
4843
|
failover(
|
|
4231
4844
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Failover,
|
|
4232
4845
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4255,7 +4868,10 @@ export namespace alloydb_v1 {
|
|
|
4255
4868
|
callback?:
|
|
4256
4869
|
| BodyResponseCallback<Schema$Operation>
|
|
4257
4870
|
| BodyResponseCallback<Readable>
|
|
4258
|
-
):
|
|
4871
|
+
):
|
|
4872
|
+
| void
|
|
4873
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4874
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4259
4875
|
let params = (paramsOrCallback ||
|
|
4260
4876
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover;
|
|
4261
4877
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4311,11 +4927,11 @@ export namespace alloydb_v1 {
|
|
|
4311
4927
|
get(
|
|
4312
4928
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
|
|
4313
4929
|
options: StreamMethodOptions
|
|
4314
|
-
):
|
|
4930
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4315
4931
|
get(
|
|
4316
4932
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Get,
|
|
4317
4933
|
options?: MethodOptions
|
|
4318
|
-
):
|
|
4934
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
|
|
4319
4935
|
get(
|
|
4320
4936
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Get,
|
|
4321
4937
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4344,7 +4960,10 @@ export namespace alloydb_v1 {
|
|
|
4344
4960
|
callback?:
|
|
4345
4961
|
| BodyResponseCallback<Schema$Instance>
|
|
4346
4962
|
| BodyResponseCallback<Readable>
|
|
4347
|
-
):
|
|
4963
|
+
):
|
|
4964
|
+
| void
|
|
4965
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Instance>>
|
|
4966
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4348
4967
|
let params = (paramsOrCallback ||
|
|
4349
4968
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Get;
|
|
4350
4969
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4397,11 +5016,11 @@ export namespace alloydb_v1 {
|
|
|
4397
5016
|
getConnectionInfo(
|
|
4398
5017
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
|
|
4399
5018
|
options: StreamMethodOptions
|
|
4400
|
-
):
|
|
5019
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4401
5020
|
getConnectionInfo(
|
|
4402
5021
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
|
|
4403
5022
|
options?: MethodOptions
|
|
4404
|
-
):
|
|
5023
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>;
|
|
4405
5024
|
getConnectionInfo(
|
|
4406
5025
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo,
|
|
4407
5026
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4432,7 +5051,10 @@ export namespace alloydb_v1 {
|
|
|
4432
5051
|
callback?:
|
|
4433
5052
|
| BodyResponseCallback<Schema$ConnectionInfo>
|
|
4434
5053
|
| BodyResponseCallback<Readable>
|
|
4435
|
-
):
|
|
5054
|
+
):
|
|
5055
|
+
| void
|
|
5056
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>
|
|
5057
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4436
5058
|
let params = (paramsOrCallback ||
|
|
4437
5059
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo;
|
|
4438
5060
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4488,11 +5110,11 @@ export namespace alloydb_v1 {
|
|
|
4488
5110
|
injectFault(
|
|
4489
5111
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
|
|
4490
5112
|
options: StreamMethodOptions
|
|
4491
|
-
):
|
|
5113
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4492
5114
|
injectFault(
|
|
4493
5115
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
|
|
4494
5116
|
options?: MethodOptions
|
|
4495
|
-
):
|
|
5117
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4496
5118
|
injectFault(
|
|
4497
5119
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault,
|
|
4498
5120
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4521,7 +5143,10 @@ export namespace alloydb_v1 {
|
|
|
4521
5143
|
callback?:
|
|
4522
5144
|
| BodyResponseCallback<Schema$Operation>
|
|
4523
5145
|
| BodyResponseCallback<Readable>
|
|
4524
|
-
):
|
|
5146
|
+
):
|
|
5147
|
+
| void
|
|
5148
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5149
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4525
5150
|
let params = (paramsOrCallback ||
|
|
4526
5151
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault;
|
|
4527
5152
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4577,11 +5202,11 @@ export namespace alloydb_v1 {
|
|
|
4577
5202
|
list(
|
|
4578
5203
|
params: Params$Resource$Projects$Locations$Clusters$Instances$List,
|
|
4579
5204
|
options: StreamMethodOptions
|
|
4580
|
-
):
|
|
5205
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4581
5206
|
list(
|
|
4582
5207
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$List,
|
|
4583
5208
|
options?: MethodOptions
|
|
4584
|
-
):
|
|
5209
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
|
|
4585
5210
|
list(
|
|
4586
5211
|
params: Params$Resource$Projects$Locations$Clusters$Instances$List,
|
|
4587
5212
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4614,8 +5239,8 @@ export namespace alloydb_v1 {
|
|
|
4614
5239
|
| BodyResponseCallback<Readable>
|
|
4615
5240
|
):
|
|
4616
5241
|
| void
|
|
4617
|
-
|
|
|
4618
|
-
|
|
|
5242
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>
|
|
5243
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4619
5244
|
let params = (paramsOrCallback ||
|
|
4620
5245
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$List;
|
|
4621
5246
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4671,11 +5296,11 @@ export namespace alloydb_v1 {
|
|
|
4671
5296
|
patch(
|
|
4672
5297
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
|
|
4673
5298
|
options: StreamMethodOptions
|
|
4674
|
-
):
|
|
5299
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4675
5300
|
patch(
|
|
4676
5301
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
|
|
4677
5302
|
options?: MethodOptions
|
|
4678
|
-
):
|
|
5303
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4679
5304
|
patch(
|
|
4680
5305
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Patch,
|
|
4681
5306
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4704,7 +5329,10 @@ export namespace alloydb_v1 {
|
|
|
4704
5329
|
callback?:
|
|
4705
5330
|
| BodyResponseCallback<Schema$Operation>
|
|
4706
5331
|
| BodyResponseCallback<Readable>
|
|
4707
|
-
):
|
|
5332
|
+
):
|
|
5333
|
+
| void
|
|
5334
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5335
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4708
5336
|
let params = (paramsOrCallback ||
|
|
4709
5337
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch;
|
|
4710
5338
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4757,11 +5385,11 @@ export namespace alloydb_v1 {
|
|
|
4757
5385
|
restart(
|
|
4758
5386
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
|
|
4759
5387
|
options: StreamMethodOptions
|
|
4760
|
-
):
|
|
5388
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4761
5389
|
restart(
|
|
4762
5390
|
params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
|
|
4763
5391
|
options?: MethodOptions
|
|
4764
|
-
):
|
|
5392
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4765
5393
|
restart(
|
|
4766
5394
|
params: Params$Resource$Projects$Locations$Clusters$Instances$Restart,
|
|
4767
5395
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4790,7 +5418,10 @@ export namespace alloydb_v1 {
|
|
|
4790
5418
|
callback?:
|
|
4791
5419
|
| BodyResponseCallback<Schema$Operation>
|
|
4792
5420
|
| BodyResponseCallback<Readable>
|
|
4793
|
-
):
|
|
5421
|
+
):
|
|
5422
|
+
| void
|
|
5423
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5424
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4794
5425
|
let params = (paramsOrCallback ||
|
|
4795
5426
|
{}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart;
|
|
4796
5427
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5030,11 +5661,11 @@ export namespace alloydb_v1 {
|
|
|
5030
5661
|
create(
|
|
5031
5662
|
params: Params$Resource$Projects$Locations$Clusters$Users$Create,
|
|
5032
5663
|
options: StreamMethodOptions
|
|
5033
|
-
):
|
|
5664
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5034
5665
|
create(
|
|
5035
5666
|
params?: Params$Resource$Projects$Locations$Clusters$Users$Create,
|
|
5036
5667
|
options?: MethodOptions
|
|
5037
|
-
):
|
|
5668
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
5038
5669
|
create(
|
|
5039
5670
|
params: Params$Resource$Projects$Locations$Clusters$Users$Create,
|
|
5040
5671
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5063,7 +5694,10 @@ export namespace alloydb_v1 {
|
|
|
5063
5694
|
callback?:
|
|
5064
5695
|
| BodyResponseCallback<Schema$User>
|
|
5065
5696
|
| BodyResponseCallback<Readable>
|
|
5066
|
-
):
|
|
5697
|
+
):
|
|
5698
|
+
| void
|
|
5699
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
5700
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5067
5701
|
let params = (paramsOrCallback ||
|
|
5068
5702
|
{}) as Params$Resource$Projects$Locations$Clusters$Users$Create;
|
|
5069
5703
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5118,11 +5752,11 @@ export namespace alloydb_v1 {
|
|
|
5118
5752
|
delete(
|
|
5119
5753
|
params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
|
|
5120
5754
|
options: StreamMethodOptions
|
|
5121
|
-
):
|
|
5755
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5122
5756
|
delete(
|
|
5123
5757
|
params?: Params$Resource$Projects$Locations$Clusters$Users$Delete,
|
|
5124
5758
|
options?: MethodOptions
|
|
5125
|
-
):
|
|
5759
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5126
5760
|
delete(
|
|
5127
5761
|
params: Params$Resource$Projects$Locations$Clusters$Users$Delete,
|
|
5128
5762
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5151,7 +5785,10 @@ export namespace alloydb_v1 {
|
|
|
5151
5785
|
callback?:
|
|
5152
5786
|
| BodyResponseCallback<Schema$Empty>
|
|
5153
5787
|
| BodyResponseCallback<Readable>
|
|
5154
|
-
):
|
|
5788
|
+
):
|
|
5789
|
+
| void
|
|
5790
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
5791
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5155
5792
|
let params = (paramsOrCallback ||
|
|
5156
5793
|
{}) as Params$Resource$Projects$Locations$Clusters$Users$Delete;
|
|
5157
5794
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5203,11 +5840,11 @@ export namespace alloydb_v1 {
|
|
|
5203
5840
|
get(
|
|
5204
5841
|
params: Params$Resource$Projects$Locations$Clusters$Users$Get,
|
|
5205
5842
|
options: StreamMethodOptions
|
|
5206
|
-
):
|
|
5843
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5207
5844
|
get(
|
|
5208
5845
|
params?: Params$Resource$Projects$Locations$Clusters$Users$Get,
|
|
5209
5846
|
options?: MethodOptions
|
|
5210
|
-
):
|
|
5847
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
5211
5848
|
get(
|
|
5212
5849
|
params: Params$Resource$Projects$Locations$Clusters$Users$Get,
|
|
5213
5850
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5236,7 +5873,10 @@ export namespace alloydb_v1 {
|
|
|
5236
5873
|
callback?:
|
|
5237
5874
|
| BodyResponseCallback<Schema$User>
|
|
5238
5875
|
| BodyResponseCallback<Readable>
|
|
5239
|
-
):
|
|
5876
|
+
):
|
|
5877
|
+
| void
|
|
5878
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
5879
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5240
5880
|
let params = (paramsOrCallback ||
|
|
5241
5881
|
{}) as Params$Resource$Projects$Locations$Clusters$Users$Get;
|
|
5242
5882
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5288,11 +5928,11 @@ export namespace alloydb_v1 {
|
|
|
5288
5928
|
list(
|
|
5289
5929
|
params: Params$Resource$Projects$Locations$Clusters$Users$List,
|
|
5290
5930
|
options: StreamMethodOptions
|
|
5291
|
-
):
|
|
5931
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5292
5932
|
list(
|
|
5293
5933
|
params?: Params$Resource$Projects$Locations$Clusters$Users$List,
|
|
5294
5934
|
options?: MethodOptions
|
|
5295
|
-
):
|
|
5935
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
|
|
5296
5936
|
list(
|
|
5297
5937
|
params: Params$Resource$Projects$Locations$Clusters$Users$List,
|
|
5298
5938
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5323,8 +5963,8 @@ export namespace alloydb_v1 {
|
|
|
5323
5963
|
| BodyResponseCallback<Readable>
|
|
5324
5964
|
):
|
|
5325
5965
|
| void
|
|
5326
|
-
|
|
|
5327
|
-
|
|
|
5966
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>
|
|
5967
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5328
5968
|
let params = (paramsOrCallback ||
|
|
5329
5969
|
{}) as Params$Resource$Projects$Locations$Clusters$Users$List;
|
|
5330
5970
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5379,11 +6019,11 @@ export namespace alloydb_v1 {
|
|
|
5379
6019
|
patch(
|
|
5380
6020
|
params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
|
|
5381
6021
|
options: StreamMethodOptions
|
|
5382
|
-
):
|
|
6022
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5383
6023
|
patch(
|
|
5384
6024
|
params?: Params$Resource$Projects$Locations$Clusters$Users$Patch,
|
|
5385
6025
|
options?: MethodOptions
|
|
5386
|
-
):
|
|
6026
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
5387
6027
|
patch(
|
|
5388
6028
|
params: Params$Resource$Projects$Locations$Clusters$Users$Patch,
|
|
5389
6029
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5412,7 +6052,10 @@ export namespace alloydb_v1 {
|
|
|
5412
6052
|
callback?:
|
|
5413
6053
|
| BodyResponseCallback<Schema$User>
|
|
5414
6054
|
| BodyResponseCallback<Readable>
|
|
5415
|
-
):
|
|
6055
|
+
):
|
|
6056
|
+
| void
|
|
6057
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$User>>
|
|
6058
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5416
6059
|
let params = (paramsOrCallback ||
|
|
5417
6060
|
{}) as Params$Resource$Projects$Locations$Clusters$Users$Patch;
|
|
5418
6061
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5569,11 +6212,11 @@ export namespace alloydb_v1 {
|
|
|
5569
6212
|
cancel(
|
|
5570
6213
|
params: Params$Resource$Projects$Locations$Operations$Cancel,
|
|
5571
6214
|
options: StreamMethodOptions
|
|
5572
|
-
):
|
|
6215
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5573
6216
|
cancel(
|
|
5574
6217
|
params?: Params$Resource$Projects$Locations$Operations$Cancel,
|
|
5575
6218
|
options?: MethodOptions
|
|
5576
|
-
):
|
|
6219
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5577
6220
|
cancel(
|
|
5578
6221
|
params: Params$Resource$Projects$Locations$Operations$Cancel,
|
|
5579
6222
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5602,7 +6245,10 @@ export namespace alloydb_v1 {
|
|
|
5602
6245
|
callback?:
|
|
5603
6246
|
| BodyResponseCallback<Schema$Empty>
|
|
5604
6247
|
| BodyResponseCallback<Readable>
|
|
5605
|
-
):
|
|
6248
|
+
):
|
|
6249
|
+
| void
|
|
6250
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6251
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5606
6252
|
let params = (paramsOrCallback ||
|
|
5607
6253
|
{}) as Params$Resource$Projects$Locations$Operations$Cancel;
|
|
5608
6254
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5654,11 +6300,11 @@ export namespace alloydb_v1 {
|
|
|
5654
6300
|
delete(
|
|
5655
6301
|
params: Params$Resource$Projects$Locations$Operations$Delete,
|
|
5656
6302
|
options: StreamMethodOptions
|
|
5657
|
-
):
|
|
6303
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5658
6304
|
delete(
|
|
5659
6305
|
params?: Params$Resource$Projects$Locations$Operations$Delete,
|
|
5660
6306
|
options?: MethodOptions
|
|
5661
|
-
):
|
|
6307
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5662
6308
|
delete(
|
|
5663
6309
|
params: Params$Resource$Projects$Locations$Operations$Delete,
|
|
5664
6310
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5687,7 +6333,10 @@ export namespace alloydb_v1 {
|
|
|
5687
6333
|
callback?:
|
|
5688
6334
|
| BodyResponseCallback<Schema$Empty>
|
|
5689
6335
|
| BodyResponseCallback<Readable>
|
|
5690
|
-
):
|
|
6336
|
+
):
|
|
6337
|
+
| void
|
|
6338
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6339
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5691
6340
|
let params = (paramsOrCallback ||
|
|
5692
6341
|
{}) as Params$Resource$Projects$Locations$Operations$Delete;
|
|
5693
6342
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5739,11 +6388,11 @@ export namespace alloydb_v1 {
|
|
|
5739
6388
|
get(
|
|
5740
6389
|
params: Params$Resource$Projects$Locations$Operations$Get,
|
|
5741
6390
|
options: StreamMethodOptions
|
|
5742
|
-
):
|
|
6391
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5743
6392
|
get(
|
|
5744
6393
|
params?: Params$Resource$Projects$Locations$Operations$Get,
|
|
5745
6394
|
options?: MethodOptions
|
|
5746
|
-
):
|
|
6395
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5747
6396
|
get(
|
|
5748
6397
|
params: Params$Resource$Projects$Locations$Operations$Get,
|
|
5749
6398
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5772,7 +6421,10 @@ export namespace alloydb_v1 {
|
|
|
5772
6421
|
callback?:
|
|
5773
6422
|
| BodyResponseCallback<Schema$Operation>
|
|
5774
6423
|
| BodyResponseCallback<Readable>
|
|
5775
|
-
):
|
|
6424
|
+
):
|
|
6425
|
+
| void
|
|
6426
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6427
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5776
6428
|
let params = (paramsOrCallback ||
|
|
5777
6429
|
{}) as Params$Resource$Projects$Locations$Operations$Get;
|
|
5778
6430
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5824,11 +6476,11 @@ export namespace alloydb_v1 {
|
|
|
5824
6476
|
list(
|
|
5825
6477
|
params: Params$Resource$Projects$Locations$Operations$List,
|
|
5826
6478
|
options: StreamMethodOptions
|
|
5827
|
-
):
|
|
6479
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5828
6480
|
list(
|
|
5829
6481
|
params?: Params$Resource$Projects$Locations$Operations$List,
|
|
5830
6482
|
options?: MethodOptions
|
|
5831
|
-
):
|
|
6483
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
5832
6484
|
list(
|
|
5833
6485
|
params: Params$Resource$Projects$Locations$Operations$List,
|
|
5834
6486
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5861,8 +6513,8 @@ export namespace alloydb_v1 {
|
|
|
5861
6513
|
| BodyResponseCallback<Readable>
|
|
5862
6514
|
):
|
|
5863
6515
|
| void
|
|
5864
|
-
|
|
|
5865
|
-
|
|
|
6516
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
6517
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5866
6518
|
let params = (paramsOrCallback ||
|
|
5867
6519
|
{}) as Params$Resource$Projects$Locations$Operations$List;
|
|
5868
6520
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5970,11 +6622,13 @@ export namespace alloydb_v1 {
|
|
|
5970
6622
|
list(
|
|
5971
6623
|
params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
|
|
5972
6624
|
options: StreamMethodOptions
|
|
5973
|
-
):
|
|
6625
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5974
6626
|
list(
|
|
5975
6627
|
params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
|
|
5976
6628
|
options?: MethodOptions
|
|
5977
|
-
):
|
|
6629
|
+
): Promise<
|
|
6630
|
+
GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
|
|
6631
|
+
>;
|
|
5978
6632
|
list(
|
|
5979
6633
|
params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List,
|
|
5980
6634
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6009,8 +6663,10 @@ export namespace alloydb_v1 {
|
|
|
6009
6663
|
| BodyResponseCallback<Readable>
|
|
6010
6664
|
):
|
|
6011
6665
|
| void
|
|
6012
|
-
|
|
|
6013
|
-
|
|
6666
|
+
| Promise<
|
|
6667
|
+
GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>
|
|
6668
|
+
>
|
|
6669
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6014
6670
|
let params = (paramsOrCallback ||
|
|
6015
6671
|
{}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List;
|
|
6016
6672
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6072,5 +6728,9 @@ export namespace alloydb_v1 {
|
|
|
6072
6728
|
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
|
|
6073
6729
|
*/
|
|
6074
6730
|
parent?: string;
|
|
6731
|
+
/**
|
|
6732
|
+
* Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
|
|
6733
|
+
*/
|
|
6734
|
+
scope?: string;
|
|
6075
6735
|
}
|
|
6076
6736
|
}
|