@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/build/v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace alloydb_v1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -93,7 +93,7 @@ export declare namespace alloydb_v1 {
|
|
|
93
93
|
*/
|
|
94
94
|
enabled?: boolean | null;
|
|
95
95
|
/**
|
|
96
|
-
* 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
|
|
96
|
+
* 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.
|
|
97
97
|
*/
|
|
98
98
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
99
99
|
/**
|
|
@@ -137,6 +137,10 @@ export declare namespace alloydb_v1 {
|
|
|
137
137
|
* Output only. The system-generated UID of the cluster which was used to create this resource.
|
|
138
138
|
*/
|
|
139
139
|
clusterUid?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Output only. Timestamp when the resource finished being created.
|
|
142
|
+
*/
|
|
143
|
+
createCompletionTime?: string | null;
|
|
140
144
|
/**
|
|
141
145
|
* Output only. Create time stamp
|
|
142
146
|
*/
|
|
@@ -218,7 +222,7 @@ export declare namespace alloydb_v1 {
|
|
|
218
222
|
*/
|
|
219
223
|
uid?: string | null;
|
|
220
224
|
/**
|
|
221
|
-
* Output only. Update time stamp
|
|
225
|
+
* 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.
|
|
222
226
|
*/
|
|
223
227
|
updateTime?: string | null;
|
|
224
228
|
}
|
|
@@ -266,6 +270,23 @@ export declare namespace alloydb_v1 {
|
|
|
266
270
|
*/
|
|
267
271
|
exclusiveAction?: string | null;
|
|
268
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* The source CloudSQL backup resource.
|
|
275
|
+
*/
|
|
276
|
+
export interface Schema$CloudSQLBackupRunSource {
|
|
277
|
+
/**
|
|
278
|
+
* Required. The CloudSQL backup run ID.
|
|
279
|
+
*/
|
|
280
|
+
backupRunId?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* Required. The CloudSQL instance ID.
|
|
283
|
+
*/
|
|
284
|
+
instanceId?: string | null;
|
|
285
|
+
/**
|
|
286
|
+
* The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
|
|
287
|
+
*/
|
|
288
|
+
project?: string | null;
|
|
289
|
+
}
|
|
269
290
|
/**
|
|
270
291
|
* 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.
|
|
271
292
|
*/
|
|
@@ -284,6 +305,10 @@ export declare namespace alloydb_v1 {
|
|
|
284
305
|
* Output only. Cluster created from backup.
|
|
285
306
|
*/
|
|
286
307
|
backupSource?: Schema$BackupSource;
|
|
308
|
+
/**
|
|
309
|
+
* Output only. Cluster created from CloudSQL snapshot.
|
|
310
|
+
*/
|
|
311
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
287
312
|
/**
|
|
288
313
|
* 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`
|
|
289
314
|
*/
|
|
@@ -465,7 +490,7 @@ export declare namespace alloydb_v1 {
|
|
|
465
490
|
*/
|
|
466
491
|
enabled?: boolean | null;
|
|
467
492
|
/**
|
|
468
|
-
* 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
|
|
493
|
+
* 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.
|
|
469
494
|
*/
|
|
470
495
|
encryptionConfig?: Schema$EncryptionConfig;
|
|
471
496
|
/**
|
|
@@ -528,6 +553,48 @@ export declare namespace alloydb_v1 {
|
|
|
528
553
|
*/
|
|
529
554
|
selectQuery?: string | null;
|
|
530
555
|
}
|
|
556
|
+
/**
|
|
557
|
+
* Options for importing data in CSV format.
|
|
558
|
+
*/
|
|
559
|
+
export interface Schema$CsvImportOptions {
|
|
560
|
+
/**
|
|
561
|
+
* Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
|
|
562
|
+
*/
|
|
563
|
+
columns?: string[] | null;
|
|
564
|
+
/**
|
|
565
|
+
* 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.
|
|
566
|
+
*/
|
|
567
|
+
escapeCharacter?: string | null;
|
|
568
|
+
/**
|
|
569
|
+
* 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.
|
|
570
|
+
*/
|
|
571
|
+
fieldDelimiter?: string | null;
|
|
572
|
+
/**
|
|
573
|
+
* 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.
|
|
574
|
+
*/
|
|
575
|
+
quoteCharacter?: string | null;
|
|
576
|
+
/**
|
|
577
|
+
* Required. The database table to import CSV file into.
|
|
578
|
+
*/
|
|
579
|
+
table?: string | null;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* 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.
|
|
583
|
+
*/
|
|
584
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
585
|
+
/**
|
|
586
|
+
* 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
|
|
587
|
+
*/
|
|
588
|
+
endDate?: Schema$GoogleTypeDate;
|
|
589
|
+
/**
|
|
590
|
+
* 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
|
|
591
|
+
*/
|
|
592
|
+
startDate?: Schema$GoogleTypeDate;
|
|
593
|
+
/**
|
|
594
|
+
* 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
|
|
595
|
+
*/
|
|
596
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
597
|
+
}
|
|
531
598
|
/**
|
|
532
599
|
* 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); \}
|
|
533
600
|
*/
|
|
@@ -649,6 +716,23 @@ export declare namespace alloydb_v1 {
|
|
|
649
716
|
*/
|
|
650
717
|
name?: string | null;
|
|
651
718
|
}
|
|
719
|
+
/**
|
|
720
|
+
* 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
|
|
721
|
+
*/
|
|
722
|
+
export interface Schema$GoogleTypeDate {
|
|
723
|
+
/**
|
|
724
|
+
* 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.
|
|
725
|
+
*/
|
|
726
|
+
day?: number | null;
|
|
727
|
+
/**
|
|
728
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
729
|
+
*/
|
|
730
|
+
month?: number | null;
|
|
731
|
+
/**
|
|
732
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
733
|
+
*/
|
|
734
|
+
year?: number | null;
|
|
735
|
+
}
|
|
652
736
|
/**
|
|
653
737
|
* 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`.
|
|
654
738
|
*/
|
|
@@ -670,6 +754,40 @@ export declare namespace alloydb_v1 {
|
|
|
670
754
|
*/
|
|
671
755
|
seconds?: number | null;
|
|
672
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* Import cluster request.
|
|
759
|
+
*/
|
|
760
|
+
export interface Schema$ImportClusterRequest {
|
|
761
|
+
/**
|
|
762
|
+
* Options for importing data in CSV format.
|
|
763
|
+
*/
|
|
764
|
+
csvImportOptions?: Schema$CsvImportOptions;
|
|
765
|
+
/**
|
|
766
|
+
* 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.
|
|
767
|
+
*/
|
|
768
|
+
database?: string | null;
|
|
769
|
+
/**
|
|
770
|
+
* 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`.
|
|
771
|
+
*/
|
|
772
|
+
gcsUri?: string | null;
|
|
773
|
+
/**
|
|
774
|
+
* Options for importing data in SQL format.
|
|
775
|
+
*/
|
|
776
|
+
sqlImportOptions?: Schema$SqlImportOptions;
|
|
777
|
+
/**
|
|
778
|
+
* 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.
|
|
779
|
+
*/
|
|
780
|
+
user?: string | null;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* Response of import rpc.
|
|
784
|
+
*/
|
|
785
|
+
export interface Schema$ImportClusterResponse {
|
|
786
|
+
/**
|
|
787
|
+
* Required. Size of the object downloaded from Google Cloud Storage in bytes.
|
|
788
|
+
*/
|
|
789
|
+
bytesDownloaded?: string | null;
|
|
790
|
+
}
|
|
673
791
|
/**
|
|
674
792
|
* Message for triggering fault injection on an instance
|
|
675
793
|
*/
|
|
@@ -691,6 +809,10 @@ export declare namespace alloydb_v1 {
|
|
|
691
809
|
* An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.
|
|
692
810
|
*/
|
|
693
811
|
export interface Schema$Instance {
|
|
812
|
+
/**
|
|
813
|
+
* 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.
|
|
814
|
+
*/
|
|
815
|
+
activationPolicy?: string | null;
|
|
694
816
|
/**
|
|
695
817
|
* Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
|
|
696
818
|
*/
|
|
@@ -761,6 +883,10 @@ export declare namespace alloydb_v1 {
|
|
|
761
883
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
762
884
|
*/
|
|
763
885
|
nodes?: Schema$Node[];
|
|
886
|
+
/**
|
|
887
|
+
* Configuration for observability.
|
|
888
|
+
*/
|
|
889
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
764
890
|
/**
|
|
765
891
|
* Output only. All outbound public IP addresses configured for the instance.
|
|
766
892
|
*/
|
|
@@ -822,6 +948,10 @@ export declare namespace alloydb_v1 {
|
|
|
822
948
|
* Optional. Enabling public ip for the instance.
|
|
823
949
|
*/
|
|
824
950
|
enablePublicIp?: boolean | null;
|
|
951
|
+
/**
|
|
952
|
+
* 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\}`.
|
|
953
|
+
*/
|
|
954
|
+
network?: string | null;
|
|
825
955
|
}
|
|
826
956
|
/**
|
|
827
957
|
* Details regarding the upgrade of instaces associated with a cluster.
|
|
@@ -955,6 +1085,10 @@ export declare namespace alloydb_v1 {
|
|
|
955
1085
|
* The number of CPU's in the VM instance.
|
|
956
1086
|
*/
|
|
957
1087
|
cpuCount?: number | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* 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.
|
|
1090
|
+
*/
|
|
1091
|
+
machineType?: string | null;
|
|
958
1092
|
}
|
|
959
1093
|
/**
|
|
960
1094
|
* 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.
|
|
@@ -969,6 +1103,10 @@ export declare namespace alloydb_v1 {
|
|
|
969
1103
|
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
970
1104
|
*/
|
|
971
1105
|
export interface Schema$MaintenanceUpdatePolicy {
|
|
1106
|
+
/**
|
|
1107
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
1108
|
+
*/
|
|
1109
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
972
1110
|
/**
|
|
973
1111
|
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
974
1112
|
*/
|
|
@@ -1018,7 +1156,7 @@ export declare namespace alloydb_v1 {
|
|
|
1018
1156
|
network?: string | null;
|
|
1019
1157
|
}
|
|
1020
1158
|
/**
|
|
1021
|
-
* Details of a single node in the instance. Nodes in an AlloyDB instance are
|
|
1159
|
+
* 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.
|
|
1022
1160
|
*/
|
|
1023
1161
|
export interface Schema$Node {
|
|
1024
1162
|
/**
|
|
@@ -1038,6 +1176,43 @@ export declare namespace alloydb_v1 {
|
|
|
1038
1176
|
*/
|
|
1039
1177
|
zoneId?: string | null;
|
|
1040
1178
|
}
|
|
1179
|
+
/**
|
|
1180
|
+
* Observability Instance specific configuration.
|
|
1181
|
+
*/
|
|
1182
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
1183
|
+
/**
|
|
1184
|
+
* Observability feature status for an instance. This flag is turned "off" by default.
|
|
1185
|
+
*/
|
|
1186
|
+
enabled?: boolean | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Query string length. The default value is 10k.
|
|
1189
|
+
*/
|
|
1190
|
+
maxQueryStringLength?: number | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
1193
|
+
*/
|
|
1194
|
+
preserveComments?: boolean | null;
|
|
1195
|
+
/**
|
|
1196
|
+
* 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.
|
|
1197
|
+
*/
|
|
1198
|
+
queryPlansPerMinute?: number | null;
|
|
1199
|
+
/**
|
|
1200
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
1201
|
+
*/
|
|
1202
|
+
recordApplicationTags?: boolean | null;
|
|
1203
|
+
/**
|
|
1204
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1205
|
+
*/
|
|
1206
|
+
trackActiveQueries?: boolean | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* 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.
|
|
1209
|
+
*/
|
|
1210
|
+
trackWaitEvents?: boolean | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* 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.
|
|
1213
|
+
*/
|
|
1214
|
+
trackWaitEventTypes?: boolean | null;
|
|
1215
|
+
}
|
|
1041
1216
|
/**
|
|
1042
1217
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
1043
1218
|
*/
|
|
@@ -1095,6 +1270,10 @@ export declare namespace alloydb_v1 {
|
|
|
1095
1270
|
* Output only. Server-defined resource path for the target of the operation.
|
|
1096
1271
|
*/
|
|
1097
1272
|
target?: string | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Output only. UpgradeClusterStatus related metadata.
|
|
1275
|
+
*/
|
|
1276
|
+
upgradeClusterStatus?: Schema$UpgradeClusterStatus;
|
|
1098
1277
|
/**
|
|
1099
1278
|
* Output only. Name of the verb executed by the operation.
|
|
1100
1279
|
*/
|
|
@@ -1126,6 +1305,31 @@ export declare namespace alloydb_v1 {
|
|
|
1126
1305
|
*/
|
|
1127
1306
|
validateOnly?: boolean | null;
|
|
1128
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
|
|
1310
|
+
*/
|
|
1311
|
+
export interface Schema$PscAutoConnectionConfig {
|
|
1312
|
+
/**
|
|
1313
|
+
* 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.
|
|
1314
|
+
*/
|
|
1315
|
+
consumerNetwork?: string | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* 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.
|
|
1318
|
+
*/
|
|
1319
|
+
consumerNetworkStatus?: string | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* The consumer project to which the PSC service automation endpoint will be created.
|
|
1322
|
+
*/
|
|
1323
|
+
consumerProject?: string | null;
|
|
1324
|
+
/**
|
|
1325
|
+
* Output only. The IP address of the PSC service automation endpoint.
|
|
1326
|
+
*/
|
|
1327
|
+
ipAddress?: string | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* 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.
|
|
1330
|
+
*/
|
|
1331
|
+
status?: string | null;
|
|
1332
|
+
}
|
|
1129
1333
|
/**
|
|
1130
1334
|
* PscConfig contains PSC related configuration at a cluster level.
|
|
1131
1335
|
*/
|
|
@@ -1134,6 +1338,10 @@ export declare namespace alloydb_v1 {
|
|
|
1134
1338
|
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1135
1339
|
*/
|
|
1136
1340
|
pscEnabled?: boolean | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.
|
|
1343
|
+
*/
|
|
1344
|
+
serviceOwnedProjectNumber?: string | null;
|
|
1137
1345
|
}
|
|
1138
1346
|
/**
|
|
1139
1347
|
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
@@ -1143,15 +1351,32 @@ export declare namespace alloydb_v1 {
|
|
|
1143
1351
|
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1144
1352
|
*/
|
|
1145
1353
|
allowedConsumerProjects?: string[] | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* Optional. Configurations for setting up PSC service automation.
|
|
1356
|
+
*/
|
|
1357
|
+
pscAutoConnections?: Schema$PscAutoConnectionConfig[];
|
|
1146
1358
|
/**
|
|
1147
1359
|
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1148
1360
|
*/
|
|
1149
1361
|
pscDnsName?: string | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* 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.
|
|
1364
|
+
*/
|
|
1365
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1150
1366
|
/**
|
|
1151
1367
|
* 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/`
|
|
1152
1368
|
*/
|
|
1153
1369
|
serviceAttachmentLink?: string | null;
|
|
1154
1370
|
}
|
|
1371
|
+
/**
|
|
1372
|
+
* Configuration for setting up a PSC interface to enable outbound connectivity.
|
|
1373
|
+
*/
|
|
1374
|
+
export interface Schema$PscInterfaceConfig {
|
|
1375
|
+
/**
|
|
1376
|
+
* 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.
|
|
1377
|
+
*/
|
|
1378
|
+
networkAttachmentResource?: string | null;
|
|
1379
|
+
}
|
|
1155
1380
|
/**
|
|
1156
1381
|
* 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)
|
|
1157
1382
|
*/
|
|
@@ -1204,6 +1429,15 @@ export declare namespace alloydb_v1 {
|
|
|
1204
1429
|
*/
|
|
1205
1430
|
nodeCount?: number | null;
|
|
1206
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Read pool instances upgrade specific status.
|
|
1434
|
+
*/
|
|
1435
|
+
export interface Schema$ReadPoolInstancesUpgradeStageStatus {
|
|
1436
|
+
/**
|
|
1437
|
+
* Read pool instances upgrade statistics.
|
|
1438
|
+
*/
|
|
1439
|
+
upgradeStats?: Schema$Stats;
|
|
1440
|
+
}
|
|
1207
1441
|
export interface Schema$RestartInstanceRequest {
|
|
1208
1442
|
/**
|
|
1209
1443
|
* Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
|
|
@@ -1219,7 +1453,7 @@ export declare namespace alloydb_v1 {
|
|
|
1219
1453
|
validateOnly?: boolean | null;
|
|
1220
1454
|
}
|
|
1221
1455
|
/**
|
|
1222
|
-
* Message for restoring a Cluster from a backup or another cluster at a given point in time.
|
|
1456
|
+
* Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11
|
|
1223
1457
|
*/
|
|
1224
1458
|
export interface Schema$RestoreClusterRequest {
|
|
1225
1459
|
/**
|
|
@@ -1247,6 +1481,23 @@ export declare namespace alloydb_v1 {
|
|
|
1247
1481
|
*/
|
|
1248
1482
|
validateOnly?: boolean | null;
|
|
1249
1483
|
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Message for registering Restoring from CloudSQL resource.
|
|
1486
|
+
*/
|
|
1487
|
+
export interface Schema$RestoreFromCloudSQLRequest {
|
|
1488
|
+
/**
|
|
1489
|
+
* Cluster created from CloudSQL backup run.
|
|
1490
|
+
*/
|
|
1491
|
+
cloudsqlBackupRunSource?: Schema$CloudSQLBackupRunSource;
|
|
1492
|
+
/**
|
|
1493
|
+
* Required. The resource being created
|
|
1494
|
+
*/
|
|
1495
|
+
cluster?: Schema$Cluster;
|
|
1496
|
+
/**
|
|
1497
|
+
* Required. ID of the requesting object.
|
|
1498
|
+
*/
|
|
1499
|
+
clusterId?: string | null;
|
|
1500
|
+
}
|
|
1250
1501
|
/**
|
|
1251
1502
|
* Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
|
|
1252
1503
|
*/
|
|
@@ -1277,6 +1528,11 @@ export declare namespace alloydb_v1 {
|
|
|
1277
1528
|
*/
|
|
1278
1529
|
tables?: string[] | null;
|
|
1279
1530
|
}
|
|
1531
|
+
/**
|
|
1532
|
+
* Options for importing data in SQL format.
|
|
1533
|
+
*/
|
|
1534
|
+
export interface Schema$SqlImportOptions {
|
|
1535
|
+
}
|
|
1280
1536
|
/**
|
|
1281
1537
|
* SSL configuration.
|
|
1282
1538
|
*/
|
|
@@ -1307,6 +1563,44 @@ export declare namespace alloydb_v1 {
|
|
|
1307
1563
|
*/
|
|
1308
1564
|
status?: string | null;
|
|
1309
1565
|
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Status of an upgrade stage.
|
|
1568
|
+
*/
|
|
1569
|
+
export interface Schema$StageStatus {
|
|
1570
|
+
/**
|
|
1571
|
+
* Read pool instances upgrade metadata.
|
|
1572
|
+
*/
|
|
1573
|
+
readPoolInstancesUpgrade?: Schema$ReadPoolInstancesUpgradeStageStatus;
|
|
1574
|
+
/**
|
|
1575
|
+
* Upgrade stage.
|
|
1576
|
+
*/
|
|
1577
|
+
stage?: string | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* State of this stage.
|
|
1580
|
+
*/
|
|
1581
|
+
state?: string | null;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* Upgrade stats for read pool instances.
|
|
1585
|
+
*/
|
|
1586
|
+
export interface Schema$Stats {
|
|
1587
|
+
/**
|
|
1588
|
+
* Number of read pool instances which failed to upgrade.
|
|
1589
|
+
*/
|
|
1590
|
+
failed?: number | null;
|
|
1591
|
+
/**
|
|
1592
|
+
* Number of read pool instances for which upgrade has not started.
|
|
1593
|
+
*/
|
|
1594
|
+
notStarted?: number | null;
|
|
1595
|
+
/**
|
|
1596
|
+
* Number of read pool instances undergoing upgrade.
|
|
1597
|
+
*/
|
|
1598
|
+
ongoing?: number | null;
|
|
1599
|
+
/**
|
|
1600
|
+
* Number of read pool instances successfully upgraded.
|
|
1601
|
+
*/
|
|
1602
|
+
success?: number | null;
|
|
1603
|
+
}
|
|
1310
1604
|
/**
|
|
1311
1605
|
* 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).
|
|
1312
1606
|
*/
|
|
@@ -1508,7 +1802,7 @@ export declare namespace alloydb_v1 {
|
|
|
1508
1802
|
uniqueId?: string | null;
|
|
1509
1803
|
}
|
|
1510
1804
|
/**
|
|
1511
|
-
* Common model for database resource instance metadata. Next ID:
|
|
1805
|
+
* Common model for database resource instance metadata. Next ID: 25
|
|
1512
1806
|
*/
|
|
1513
1807
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
|
|
1514
1808
|
/**
|
|
@@ -1547,6 +1841,10 @@ export declare namespace alloydb_v1 {
|
|
|
1547
1841
|
* 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.
|
|
1548
1842
|
*/
|
|
1549
1843
|
expectedState?: string | null;
|
|
1844
|
+
/**
|
|
1845
|
+
* GCBDR configuration for the resource.
|
|
1846
|
+
*/
|
|
1847
|
+
gcbdrConfiguration?: Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration;
|
|
1550
1848
|
/**
|
|
1551
1849
|
* Required. Unique identifier for a Database resource
|
|
1552
1850
|
*/
|
|
@@ -1583,6 +1881,10 @@ export declare namespace alloydb_v1 {
|
|
|
1583
1881
|
* 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
|
|
1584
1882
|
*/
|
|
1585
1883
|
resourceName?: string | null;
|
|
1884
|
+
/**
|
|
1885
|
+
* Optional. Suspension reason for the resource.
|
|
1886
|
+
*/
|
|
1887
|
+
suspensionReason?: string | null;
|
|
1586
1888
|
/**
|
|
1587
1889
|
* Optional. Tags associated with this resources.
|
|
1588
1890
|
*/
|
|
@@ -1648,6 +1950,15 @@ export declare namespace alloydb_v1 {
|
|
|
1648
1950
|
*/
|
|
1649
1951
|
type?: string | null;
|
|
1650
1952
|
}
|
|
1953
|
+
/**
|
|
1954
|
+
* GCBDR Configuration for the resource.
|
|
1955
|
+
*/
|
|
1956
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration {
|
|
1957
|
+
/**
|
|
1958
|
+
* Whether the resource is managed by GCBDR.
|
|
1959
|
+
*/
|
|
1960
|
+
gcbdrManaged?: boolean | null;
|
|
1961
|
+
}
|
|
1651
1962
|
/**
|
|
1652
1963
|
* 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.
|
|
1653
1964
|
*/
|
|
@@ -1660,6 +1971,10 @@ export declare namespace alloydb_v1 {
|
|
|
1660
1971
|
* Information about the last backup attempt for this database
|
|
1661
1972
|
*/
|
|
1662
1973
|
backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
|
|
1974
|
+
/**
|
|
1975
|
+
* Whether deletion protection is enabled for this internal resource.
|
|
1976
|
+
*/
|
|
1977
|
+
isDeletionProtectionEnabled?: boolean | null;
|
|
1663
1978
|
product?: Schema$StorageDatabasecenterProtoCommonProduct;
|
|
1664
1979
|
resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1665
1980
|
/**
|
|
@@ -1672,11 +1987,11 @@ export declare namespace alloydb_v1 {
|
|
|
1672
1987
|
*/
|
|
1673
1988
|
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
|
|
1674
1989
|
/**
|
|
1675
|
-
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482
|
|
1990
|
+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
|
|
1676
1991
|
*/
|
|
1677
1992
|
cpuCount?: number | null;
|
|
1678
1993
|
/**
|
|
1679
|
-
* Memory size in bytes. TODO(b/342344482
|
|
1994
|
+
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
|
|
1680
1995
|
*/
|
|
1681
1996
|
memorySizeInBytes?: string | null;
|
|
1682
1997
|
/**
|
|
@@ -1684,7 +1999,7 @@ export declare namespace alloydb_v1 {
|
|
|
1684
1999
|
*/
|
|
1685
2000
|
shardCount?: number | null;
|
|
1686
2001
|
/**
|
|
1687
|
-
* Optional. The number of vCPUs. TODO(b/342344482
|
|
2002
|
+
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
|
|
1688
2003
|
*/
|
|
1689
2004
|
vcpuCount?: number | null;
|
|
1690
2005
|
}
|
|
@@ -1826,10 +2141,22 @@ export declare namespace alloydb_v1 {
|
|
|
1826
2141
|
* 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.
|
|
1827
2142
|
*/
|
|
1828
2143
|
name?: string | null;
|
|
2144
|
+
/**
|
|
2145
|
+
* The recommended value for an INTEGER flag.
|
|
2146
|
+
*/
|
|
2147
|
+
recommendedIntegerValue?: string | null;
|
|
2148
|
+
/**
|
|
2149
|
+
* The recommended value for a STRING flag.
|
|
2150
|
+
*/
|
|
2151
|
+
recommendedStringValue?: string | null;
|
|
1829
2152
|
/**
|
|
1830
2153
|
* 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).
|
|
1831
2154
|
*/
|
|
1832
2155
|
requiresDbRestart?: boolean | null;
|
|
2156
|
+
/**
|
|
2157
|
+
* The scope of the flag.
|
|
2158
|
+
*/
|
|
2159
|
+
scope?: string | null;
|
|
1833
2160
|
/**
|
|
1834
2161
|
* Restriction on STRING type value.
|
|
1835
2162
|
*/
|
|
@@ -1921,6 +2248,31 @@ export declare namespace alloydb_v1 {
|
|
|
1921
2248
|
*/
|
|
1922
2249
|
status?: string | null;
|
|
1923
2250
|
}
|
|
2251
|
+
/**
|
|
2252
|
+
* Message for current status of the Major Version Upgrade operation.
|
|
2253
|
+
*/
|
|
2254
|
+
export interface Schema$UpgradeClusterStatus {
|
|
2255
|
+
/**
|
|
2256
|
+
* Whether the operation is cancellable.
|
|
2257
|
+
*/
|
|
2258
|
+
cancellable?: boolean | null;
|
|
2259
|
+
/**
|
|
2260
|
+
* Source database major version.
|
|
2261
|
+
*/
|
|
2262
|
+
sourceVersion?: string | null;
|
|
2263
|
+
/**
|
|
2264
|
+
* Status of all upgrade stages.
|
|
2265
|
+
*/
|
|
2266
|
+
stages?: Schema$StageStatus[];
|
|
2267
|
+
/**
|
|
2268
|
+
* Cluster Major Version Upgrade state.
|
|
2269
|
+
*/
|
|
2270
|
+
state?: string | null;
|
|
2271
|
+
/**
|
|
2272
|
+
* Target database major version.
|
|
2273
|
+
*/
|
|
2274
|
+
targetVersion?: string | null;
|
|
2275
|
+
}
|
|
1924
2276
|
/**
|
|
1925
2277
|
* Message describing User object.
|
|
1926
2278
|
*/
|
|
@@ -1992,8 +2344,8 @@ export declare namespace alloydb_v1 {
|
|
|
1992
2344
|
* @param callback - Optional callback that handles the response.
|
|
1993
2345
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1994
2346
|
*/
|
|
1995
|
-
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions):
|
|
1996
|
-
get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions):
|
|
2347
|
+
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2348
|
+
get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationLocation>>;
|
|
1997
2349
|
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1998
2350
|
get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudLocationLocation>, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
|
|
1999
2351
|
get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
|
|
@@ -2006,8 +2358,8 @@ export declare namespace alloydb_v1 {
|
|
|
2006
2358
|
* @param callback - Optional callback that handles the response.
|
|
2007
2359
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2008
2360
|
*/
|
|
2009
|
-
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions):
|
|
2010
|
-
list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions):
|
|
2361
|
+
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2362
|
+
list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudLocationListLocationsResponse>>;
|
|
2011
2363
|
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2012
2364
|
list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>, callback: BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>): void;
|
|
2013
2365
|
list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$GoogleCloudLocationListLocationsResponse>): void;
|
|
@@ -2020,6 +2372,10 @@ export declare namespace alloydb_v1 {
|
|
|
2020
2372
|
name?: string;
|
|
2021
2373
|
}
|
|
2022
2374
|
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2375
|
+
/**
|
|
2376
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2377
|
+
*/
|
|
2378
|
+
extraLocationTypes?: string[];
|
|
2023
2379
|
/**
|
|
2024
2380
|
* 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).
|
|
2025
2381
|
*/
|
|
@@ -2048,8 +2404,8 @@ export declare namespace alloydb_v1 {
|
|
|
2048
2404
|
* @param callback - Optional callback that handles the response.
|
|
2049
2405
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2050
2406
|
*/
|
|
2051
|
-
create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions):
|
|
2052
|
-
create(params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions):
|
|
2407
|
+
create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2408
|
+
create(params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2053
2409
|
create(params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2054
2410
|
create(params: Params$Resource$Projects$Locations$Backups$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2055
2411
|
create(params: Params$Resource$Projects$Locations$Backups$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2062,8 +2418,8 @@ export declare namespace alloydb_v1 {
|
|
|
2062
2418
|
* @param callback - Optional callback that handles the response.
|
|
2063
2419
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2064
2420
|
*/
|
|
2065
|
-
delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions):
|
|
2066
|
-
delete(params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions):
|
|
2421
|
+
delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2422
|
+
delete(params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2067
2423
|
delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2068
2424
|
delete(params: Params$Resource$Projects$Locations$Backups$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2069
2425
|
delete(params: Params$Resource$Projects$Locations$Backups$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2076,8 +2432,8 @@ export declare namespace alloydb_v1 {
|
|
|
2076
2432
|
* @param callback - Optional callback that handles the response.
|
|
2077
2433
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2078
2434
|
*/
|
|
2079
|
-
get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions):
|
|
2080
|
-
get(params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions):
|
|
2435
|
+
get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2436
|
+
get(params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
2081
2437
|
get(params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2082
2438
|
get(params: Params$Resource$Projects$Locations$Backups$Get, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
2083
2439
|
get(params: Params$Resource$Projects$Locations$Backups$Get, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
@@ -2090,8 +2446,8 @@ export declare namespace alloydb_v1 {
|
|
|
2090
2446
|
* @param callback - Optional callback that handles the response.
|
|
2091
2447
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2092
2448
|
*/
|
|
2093
|
-
list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions):
|
|
2094
|
-
list(params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions):
|
|
2449
|
+
list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2450
|
+
list(params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
|
|
2095
2451
|
list(params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2096
2452
|
list(params: Params$Resource$Projects$Locations$Backups$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupsResponse>, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
|
|
2097
2453
|
list(params: Params$Resource$Projects$Locations$Backups$List, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
|
|
@@ -2104,8 +2460,8 @@ export declare namespace alloydb_v1 {
|
|
|
2104
2460
|
* @param callback - Optional callback that handles the response.
|
|
2105
2461
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2106
2462
|
*/
|
|
2107
|
-
patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions):
|
|
2108
|
-
patch(params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions):
|
|
2463
|
+
patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2464
|
+
patch(params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2109
2465
|
patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2110
2466
|
patch(params: Params$Resource$Projects$Locations$Backups$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2111
2467
|
patch(params: Params$Resource$Projects$Locations$Backups$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2218,8 +2574,8 @@ export declare namespace alloydb_v1 {
|
|
|
2218
2574
|
* @param callback - Optional callback that handles the response.
|
|
2219
2575
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2220
2576
|
*/
|
|
2221
|
-
create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions):
|
|
2222
|
-
create(params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions):
|
|
2577
|
+
create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2578
|
+
create(params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2223
2579
|
create(params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2224
2580
|
create(params: Params$Resource$Projects$Locations$Clusters$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2225
2581
|
create(params: Params$Resource$Projects$Locations$Clusters$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2232,8 +2588,8 @@ export declare namespace alloydb_v1 {
|
|
|
2232
2588
|
* @param callback - Optional callback that handles the response.
|
|
2233
2589
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2234
2590
|
*/
|
|
2235
|
-
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions):
|
|
2236
|
-
createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions):
|
|
2591
|
+
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2592
|
+
createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2237
2593
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2238
2594
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2239
2595
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Createsecondary, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2246,8 +2602,8 @@ export declare namespace alloydb_v1 {
|
|
|
2246
2602
|
* @param callback - Optional callback that handles the response.
|
|
2247
2603
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2248
2604
|
*/
|
|
2249
|
-
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions):
|
|
2250
|
-
delete(params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions):
|
|
2605
|
+
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2606
|
+
delete(params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2251
2607
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2252
2608
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2253
2609
|
delete(params: Params$Resource$Projects$Locations$Clusters$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2260,8 +2616,8 @@ export declare namespace alloydb_v1 {
|
|
|
2260
2616
|
* @param callback - Optional callback that handles the response.
|
|
2261
2617
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2262
2618
|
*/
|
|
2263
|
-
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions):
|
|
2264
|
-
export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions):
|
|
2619
|
+
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2620
|
+
export(params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2265
2621
|
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2266
2622
|
export(params: Params$Resource$Projects$Locations$Clusters$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2267
2623
|
export(params: Params$Resource$Projects$Locations$Clusters$Export, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2274,12 +2630,26 @@ export declare namespace alloydb_v1 {
|
|
|
2274
2630
|
* @param callback - Optional callback that handles the response.
|
|
2275
2631
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2276
2632
|
*/
|
|
2277
|
-
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions):
|
|
2278
|
-
get(params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions):
|
|
2633
|
+
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2634
|
+
get(params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Cluster>>;
|
|
2279
2635
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2280
2636
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, options: MethodOptions | BodyResponseCallback<Schema$Cluster>, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2281
2637
|
get(params: Params$Resource$Projects$Locations$Clusters$Get, callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2282
2638
|
get(callback: BodyResponseCallback<Schema$Cluster>): void;
|
|
2639
|
+
/**
|
|
2640
|
+
* Imports data to the cluster. Imperative only.
|
|
2641
|
+
*
|
|
2642
|
+
* @param params - Parameters for request
|
|
2643
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2644
|
+
* @param callback - Optional callback that handles the response.
|
|
2645
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2646
|
+
*/
|
|
2647
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2648
|
+
import(params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2649
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2650
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2651
|
+
import(params: Params$Resource$Projects$Locations$Clusters$Import, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2652
|
+
import(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2283
2653
|
/**
|
|
2284
2654
|
* Lists Clusters in a given project and location.
|
|
2285
2655
|
*
|
|
@@ -2288,8 +2658,8 @@ export declare namespace alloydb_v1 {
|
|
|
2288
2658
|
* @param callback - Optional callback that handles the response.
|
|
2289
2659
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2290
2660
|
*/
|
|
2291
|
-
list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions):
|
|
2292
|
-
list(params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions):
|
|
2661
|
+
list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2662
|
+
list(params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListClustersResponse>>;
|
|
2293
2663
|
list(params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2294
2664
|
list(params: Params$Resource$Projects$Locations$Clusters$List, options: MethodOptions | BodyResponseCallback<Schema$ListClustersResponse>, callback: BodyResponseCallback<Schema$ListClustersResponse>): void;
|
|
2295
2665
|
list(params: Params$Resource$Projects$Locations$Clusters$List, callback: BodyResponseCallback<Schema$ListClustersResponse>): void;
|
|
@@ -2302,8 +2672,8 @@ export declare namespace alloydb_v1 {
|
|
|
2302
2672
|
* @param callback - Optional callback that handles the response.
|
|
2303
2673
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2304
2674
|
*/
|
|
2305
|
-
patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions):
|
|
2306
|
-
patch(params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions):
|
|
2675
|
+
patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2676
|
+
patch(params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2307
2677
|
patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2308
2678
|
patch(params: Params$Resource$Projects$Locations$Clusters$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2309
2679
|
patch(params: Params$Resource$Projects$Locations$Clusters$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2316,8 +2686,8 @@ export declare namespace alloydb_v1 {
|
|
|
2316
2686
|
* @param callback - Optional callback that handles the response.
|
|
2317
2687
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2318
2688
|
*/
|
|
2319
|
-
promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions):
|
|
2320
|
-
promote(params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions):
|
|
2689
|
+
promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2690
|
+
promote(params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2321
2691
|
promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2322
2692
|
promote(params: Params$Resource$Projects$Locations$Clusters$Promote, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2323
2693
|
promote(params: Params$Resource$Projects$Locations$Clusters$Promote, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2330,12 +2700,26 @@ export declare namespace alloydb_v1 {
|
|
|
2330
2700
|
* @param callback - Optional callback that handles the response.
|
|
2331
2701
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2332
2702
|
*/
|
|
2333
|
-
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions):
|
|
2334
|
-
restore(params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions):
|
|
2703
|
+
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2704
|
+
restore(params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2335
2705
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2336
2706
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2337
2707
|
restore(params: Params$Resource$Projects$Locations$Clusters$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2338
2708
|
restore(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2709
|
+
/**
|
|
2710
|
+
* Restores an AlloyDB cluster from a CloudSQL resource.
|
|
2711
|
+
*
|
|
2712
|
+
* @param params - Parameters for request
|
|
2713
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2714
|
+
* @param callback - Optional callback that handles the response.
|
|
2715
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2716
|
+
*/
|
|
2717
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2718
|
+
restoreFromCloudSQL(params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2719
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2720
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2721
|
+
restoreFromCloudSQL(params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2722
|
+
restoreFromCloudSQL(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2339
2723
|
/**
|
|
2340
2724
|
* 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.
|
|
2341
2725
|
*
|
|
@@ -2344,8 +2728,8 @@ export declare namespace alloydb_v1 {
|
|
|
2344
2728
|
* @param callback - Optional callback that handles the response.
|
|
2345
2729
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2346
2730
|
*/
|
|
2347
|
-
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions):
|
|
2348
|
-
switchover(params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions):
|
|
2731
|
+
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2732
|
+
switchover(params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2349
2733
|
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2350
2734
|
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2351
2735
|
switchover(params: Params$Resource$Projects$Locations$Clusters$Switchover, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2358,8 +2742,8 @@ export declare namespace alloydb_v1 {
|
|
|
2358
2742
|
* @param callback - Optional callback that handles the response.
|
|
2359
2743
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2360
2744
|
*/
|
|
2361
|
-
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions):
|
|
2362
|
-
upgrade(params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions):
|
|
2745
|
+
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2746
|
+
upgrade(params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2363
2747
|
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2364
2748
|
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2365
2749
|
upgrade(params: Params$Resource$Projects$Locations$Clusters$Upgrade, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2451,6 +2835,16 @@ export declare namespace alloydb_v1 {
|
|
|
2451
2835
|
*/
|
|
2452
2836
|
view?: string;
|
|
2453
2837
|
}
|
|
2838
|
+
export interface Params$Resource$Projects$Locations$Clusters$Import extends StandardParameters {
|
|
2839
|
+
/**
|
|
2840
|
+
* Required. The resource name of the cluster.
|
|
2841
|
+
*/
|
|
2842
|
+
name?: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* Request body metadata
|
|
2845
|
+
*/
|
|
2846
|
+
requestBody?: Schema$ImportClusterRequest;
|
|
2847
|
+
}
|
|
2454
2848
|
export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters {
|
|
2455
2849
|
/**
|
|
2456
2850
|
* Optional. Filtering results
|
|
@@ -2519,6 +2913,16 @@ export declare namespace alloydb_v1 {
|
|
|
2519
2913
|
*/
|
|
2520
2914
|
requestBody?: Schema$RestoreClusterRequest;
|
|
2521
2915
|
}
|
|
2916
|
+
export interface Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql extends StandardParameters {
|
|
2917
|
+
/**
|
|
2918
|
+
* Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
|
|
2919
|
+
*/
|
|
2920
|
+
parent?: string;
|
|
2921
|
+
/**
|
|
2922
|
+
* Request body metadata
|
|
2923
|
+
*/
|
|
2924
|
+
requestBody?: Schema$RestoreFromCloudSQLRequest;
|
|
2925
|
+
}
|
|
2522
2926
|
export interface Params$Resource$Projects$Locations$Clusters$Switchover extends StandardParameters {
|
|
2523
2927
|
/**
|
|
2524
2928
|
* Required. The name of the resource. For the required format, see the comment on the Cluster.name field
|
|
@@ -2550,8 +2954,8 @@ export declare namespace alloydb_v1 {
|
|
|
2550
2954
|
* @param callback - Optional callback that handles the response.
|
|
2551
2955
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2552
2956
|
*/
|
|
2553
|
-
create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions):
|
|
2554
|
-
create(params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions):
|
|
2957
|
+
create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2958
|
+
create(params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2555
2959
|
create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2556
2960
|
create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2557
2961
|
create(params: Params$Resource$Projects$Locations$Clusters$Instances$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2564,8 +2968,8 @@ export declare namespace alloydb_v1 {
|
|
|
2564
2968
|
* @param callback - Optional callback that handles the response.
|
|
2565
2969
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2566
2970
|
*/
|
|
2567
|
-
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions):
|
|
2568
|
-
createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions):
|
|
2971
|
+
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2972
|
+
createsecondary(params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2569
2973
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2570
2974
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2571
2975
|
createsecondary(params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2578,8 +2982,8 @@ export declare namespace alloydb_v1 {
|
|
|
2578
2982
|
* @param callback - Optional callback that handles the response.
|
|
2579
2983
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2580
2984
|
*/
|
|
2581
|
-
delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions):
|
|
2582
|
-
delete(params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions):
|
|
2985
|
+
delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2986
|
+
delete(params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2583
2987
|
delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2584
2988
|
delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2585
2989
|
delete(params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2592,8 +2996,8 @@ export declare namespace alloydb_v1 {
|
|
|
2592
2996
|
* @param callback - Optional callback that handles the response.
|
|
2593
2997
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2594
2998
|
*/
|
|
2595
|
-
failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions):
|
|
2596
|
-
failover(params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions):
|
|
2999
|
+
failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3000
|
+
failover(params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2597
3001
|
failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2598
3002
|
failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2599
3003
|
failover(params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2606,8 +3010,8 @@ export declare namespace alloydb_v1 {
|
|
|
2606
3010
|
* @param callback - Optional callback that handles the response.
|
|
2607
3011
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2608
3012
|
*/
|
|
2609
|
-
get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions):
|
|
2610
|
-
get(params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions):
|
|
3013
|
+
get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3014
|
+
get(params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
|
|
2611
3015
|
get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2612
3016
|
get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: MethodOptions | BodyResponseCallback<Schema$Instance>, callback: BodyResponseCallback<Schema$Instance>): void;
|
|
2613
3017
|
get(params: Params$Resource$Projects$Locations$Clusters$Instances$Get, callback: BodyResponseCallback<Schema$Instance>): void;
|
|
@@ -2620,8 +3024,8 @@ export declare namespace alloydb_v1 {
|
|
|
2620
3024
|
* @param callback - Optional callback that handles the response.
|
|
2621
3025
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2622
3026
|
*/
|
|
2623
|
-
getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions):
|
|
2624
|
-
getConnectionInfo(params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions):
|
|
3027
|
+
getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3028
|
+
getConnectionInfo(params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectionInfo>>;
|
|
2625
3029
|
getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2626
3030
|
getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: MethodOptions | BodyResponseCallback<Schema$ConnectionInfo>, callback: BodyResponseCallback<Schema$ConnectionInfo>): void;
|
|
2627
3031
|
getConnectionInfo(params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, callback: BodyResponseCallback<Schema$ConnectionInfo>): void;
|
|
@@ -2634,8 +3038,8 @@ export declare namespace alloydb_v1 {
|
|
|
2634
3038
|
* @param callback - Optional callback that handles the response.
|
|
2635
3039
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2636
3040
|
*/
|
|
2637
|
-
injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions):
|
|
2638
|
-
injectFault(params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions):
|
|
3041
|
+
injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3042
|
+
injectFault(params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2639
3043
|
injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2640
3044
|
injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2641
3045
|
injectFault(params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2648,8 +3052,8 @@ export declare namespace alloydb_v1 {
|
|
|
2648
3052
|
* @param callback - Optional callback that handles the response.
|
|
2649
3053
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2650
3054
|
*/
|
|
2651
|
-
list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions):
|
|
2652
|
-
list(params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions):
|
|
3055
|
+
list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3056
|
+
list(params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
|
|
2653
3057
|
list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2654
3058
|
list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancesResponse>, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
|
|
2655
3059
|
list(params: Params$Resource$Projects$Locations$Clusters$Instances$List, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
|
|
@@ -2662,8 +3066,8 @@ export declare namespace alloydb_v1 {
|
|
|
2662
3066
|
* @param callback - Optional callback that handles the response.
|
|
2663
3067
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2664
3068
|
*/
|
|
2665
|
-
patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions):
|
|
2666
|
-
patch(params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions):
|
|
3069
|
+
patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3070
|
+
patch(params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2667
3071
|
patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2668
3072
|
patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2669
3073
|
patch(params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2676,8 +3080,8 @@ export declare namespace alloydb_v1 {
|
|
|
2676
3080
|
* @param callback - Optional callback that handles the response.
|
|
2677
3081
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2678
3082
|
*/
|
|
2679
|
-
restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions):
|
|
2680
|
-
restart(params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions):
|
|
3083
|
+
restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3084
|
+
restart(params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
2681
3085
|
restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2682
3086
|
restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2683
3087
|
restart(params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -2854,8 +3258,8 @@ export declare namespace alloydb_v1 {
|
|
|
2854
3258
|
* @param callback - Optional callback that handles the response.
|
|
2855
3259
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2856
3260
|
*/
|
|
2857
|
-
create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions):
|
|
2858
|
-
create(params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions):
|
|
3261
|
+
create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3262
|
+
create(params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
2859
3263
|
create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2860
3264
|
create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
|
|
2861
3265
|
create(params: Params$Resource$Projects$Locations$Clusters$Users$Create, callback: BodyResponseCallback<Schema$User>): void;
|
|
@@ -2868,8 +3272,8 @@ export declare namespace alloydb_v1 {
|
|
|
2868
3272
|
* @param callback - Optional callback that handles the response.
|
|
2869
3273
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2870
3274
|
*/
|
|
2871
|
-
delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions):
|
|
2872
|
-
delete(params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions):
|
|
3275
|
+
delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3276
|
+
delete(params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
2873
3277
|
delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2874
3278
|
delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
2875
3279
|
delete(params: Params$Resource$Projects$Locations$Clusters$Users$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -2882,8 +3286,8 @@ export declare namespace alloydb_v1 {
|
|
|
2882
3286
|
* @param callback - Optional callback that handles the response.
|
|
2883
3287
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2884
3288
|
*/
|
|
2885
|
-
get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions):
|
|
2886
|
-
get(params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions):
|
|
3289
|
+
get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3290
|
+
get(params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
2887
3291
|
get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2888
3292
|
get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
|
|
2889
3293
|
get(params: Params$Resource$Projects$Locations$Clusters$Users$Get, callback: BodyResponseCallback<Schema$User>): void;
|
|
@@ -2896,8 +3300,8 @@ export declare namespace alloydb_v1 {
|
|
|
2896
3300
|
* @param callback - Optional callback that handles the response.
|
|
2897
3301
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2898
3302
|
*/
|
|
2899
|
-
list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions):
|
|
2900
|
-
list(params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions):
|
|
3303
|
+
list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3304
|
+
list(params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListUsersResponse>>;
|
|
2901
3305
|
list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2902
3306
|
list(params: Params$Resource$Projects$Locations$Clusters$Users$List, options: MethodOptions | BodyResponseCallback<Schema$ListUsersResponse>, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
|
|
2903
3307
|
list(params: Params$Resource$Projects$Locations$Clusters$Users$List, callback: BodyResponseCallback<Schema$ListUsersResponse>): void;
|
|
@@ -2910,8 +3314,8 @@ export declare namespace alloydb_v1 {
|
|
|
2910
3314
|
* @param callback - Optional callback that handles the response.
|
|
2911
3315
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2912
3316
|
*/
|
|
2913
|
-
patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions):
|
|
2914
|
-
patch(params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions):
|
|
3317
|
+
patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3318
|
+
patch(params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$User>>;
|
|
2915
3319
|
patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2916
3320
|
patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: MethodOptions | BodyResponseCallback<Schema$User>, callback: BodyResponseCallback<Schema$User>): void;
|
|
2917
3321
|
patch(params: Params$Resource$Projects$Locations$Clusters$Users$Patch, callback: BodyResponseCallback<Schema$User>): void;
|
|
@@ -3018,8 +3422,8 @@ export declare namespace alloydb_v1 {
|
|
|
3018
3422
|
* @param callback - Optional callback that handles the response.
|
|
3019
3423
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3020
3424
|
*/
|
|
3021
|
-
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions):
|
|
3022
|
-
cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions):
|
|
3425
|
+
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3426
|
+
cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3023
3427
|
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3024
3428
|
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3025
3429
|
cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3032,8 +3436,8 @@ export declare namespace alloydb_v1 {
|
|
|
3032
3436
|
* @param callback - Optional callback that handles the response.
|
|
3033
3437
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3034
3438
|
*/
|
|
3035
|
-
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions):
|
|
3036
|
-
delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions):
|
|
3439
|
+
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3440
|
+
delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3037
3441
|
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3038
3442
|
delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3039
3443
|
delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3046,8 +3450,8 @@ export declare namespace alloydb_v1 {
|
|
|
3046
3450
|
* @param callback - Optional callback that handles the response.
|
|
3047
3451
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3048
3452
|
*/
|
|
3049
|
-
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions):
|
|
3050
|
-
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions):
|
|
3453
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3454
|
+
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3051
3455
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3052
3456
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3053
3457
|
get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3060,8 +3464,8 @@ export declare namespace alloydb_v1 {
|
|
|
3060
3464
|
* @param callback - Optional callback that handles the response.
|
|
3061
3465
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3062
3466
|
*/
|
|
3063
|
-
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions):
|
|
3064
|
-
list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions):
|
|
3467
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3468
|
+
list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
3065
3469
|
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3066
3470
|
list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
3067
3471
|
list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -3118,8 +3522,8 @@ export declare namespace alloydb_v1 {
|
|
|
3118
3522
|
* @param callback - Optional callback that handles the response.
|
|
3119
3523
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3120
3524
|
*/
|
|
3121
|
-
list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions):
|
|
3122
|
-
list(params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions):
|
|
3525
|
+
list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3526
|
+
list(params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSupportedDatabaseFlagsResponse>>;
|
|
3123
3527
|
list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3124
3528
|
list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: MethodOptions | BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>, callback: BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>): void;
|
|
3125
3529
|
list(params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, callback: BodyResponseCallback<Schema$ListSupportedDatabaseFlagsResponse>): void;
|
|
@@ -3138,6 +3542,10 @@ export declare namespace alloydb_v1 {
|
|
|
3138
3542
|
* 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.
|
|
3139
3543
|
*/
|
|
3140
3544
|
parent?: string;
|
|
3545
|
+
/**
|
|
3546
|
+
* Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
|
|
3547
|
+
*/
|
|
3548
|
+
scope?: string;
|
|
3141
3549
|
}
|
|
3142
3550
|
export {};
|
|
3143
3551
|
}
|