@maxim_mazurok/gapi.client.datastream-v1alpha1 0.0.20220807

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/index.d.ts ADDED
@@ -0,0 +1,1972 @@
1
+ /* Type definitions for non-npm package Datastream API v1alpha1 0.0 */
2
+ // Project: https://cloud.google.com/datastream/
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://datastream.googleapis.com/$discovery/rest?version=v1alpha1
13
+ // Revision: 20220807
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Datastream API v1alpha1 */
19
+ function load(urlOrObject: "https://datastream.googleapis.com/$discovery/rest?version=v1alpha1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "datastream", version: "v1alpha1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "datastream", version: "v1alpha1", callback: () => any): void;
24
+
25
+ namespace datastream {
26
+ // tslint:disable-next-line:no-empty-interface
27
+ interface AvroFileFormat {
28
+ }
29
+ interface BackfillAllStrategy {
30
+ /** MySQL data source objects to avoid backfilling. */
31
+ mysqlExcludedObjects?: MysqlRdbms;
32
+ /** Oracle data source objects to avoid backfilling. */
33
+ oracleExcludedObjects?: OracleRdbms;
34
+ }
35
+ interface BackfillJob {
36
+ /** Output only. Errors which caused the backfill job to fail. */
37
+ errors?: Error[];
38
+ /** Output only. Backfill job's end time. */
39
+ lastEndTime?: string;
40
+ /** Output only. Backfill job's start time. */
41
+ lastStartTime?: string;
42
+ /** Backfill job state. */
43
+ state?: string;
44
+ /** Backfill job's triggering reason. */
45
+ trigger?: string;
46
+ }
47
+ // tslint:disable-next-line:no-empty-interface
48
+ interface BackfillNoneStrategy {
49
+ }
50
+ // tslint:disable-next-line:no-empty-interface
51
+ interface CancelOperationRequest {
52
+ }
53
+ interface ConnectionProfile {
54
+ /** Output only. The create time of the resource. */
55
+ createTime?: string;
56
+ /** Required. Display name. */
57
+ displayName?: string;
58
+ /** Forward SSH tunnel connectivity. */
59
+ forwardSshConnectivity?: ForwardSshTunnelConnectivity;
60
+ /** Cloud Storage ConnectionProfile configuration. */
61
+ gcsProfile?: GcsProfile;
62
+ /** Labels. */
63
+ labels?: { [P in string]: string };
64
+ /** MySQL ConnectionProfile configuration. */
65
+ mysqlProfile?: MysqlProfile;
66
+ /** Output only. The resource's name. */
67
+ name?: string;
68
+ /** No connectivity option chosen. */
69
+ noConnectivity?: any;
70
+ /** Oracle ConnectionProfile configuration. */
71
+ oracleProfile?: OracleProfile;
72
+ /** Private connectivity. */
73
+ privateConnectivity?: PrivateConnectivity;
74
+ /** Static Service IP connectivity. */
75
+ staticServiceIpConnectivity?: any;
76
+ /** Output only. The update time of the resource. */
77
+ updateTime?: string;
78
+ }
79
+ interface DestinationConfig {
80
+ /** Required. Destination connection profile identifier. */
81
+ destinationConnectionProfileName?: string;
82
+ /** GCS destination configuration. */
83
+ gcsDestinationConfig?: GcsDestinationConfig;
84
+ }
85
+ interface DiscoverConnectionProfileRequest {
86
+ /** An ad-hoc ConnectionProfile configuration. */
87
+ connectionProfile?: ConnectionProfile;
88
+ /** A reference to an existing ConnectionProfile. */
89
+ connectionProfileName?: string;
90
+ /** MySQL RDBMS to enrich with child data objects and metadata. */
91
+ mysqlRdbms?: MysqlRdbms;
92
+ /** Oracle RDBMS to enrich with child data objects and metadata. */
93
+ oracleRdbms?: OracleRdbms;
94
+ /** The number of hierarchy levels below the current level to be retrieved. */
95
+ recursionDepth?: number;
96
+ /** Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE). */
97
+ recursive?: boolean;
98
+ }
99
+ interface DiscoverConnectionProfileResponse {
100
+ /** Enriched MySQL RDBMS object. */
101
+ mysqlRdbms?: MysqlRdbms;
102
+ /** Enriched Oracle RDBMS object. */
103
+ oracleRdbms?: OracleRdbms;
104
+ }
105
+ // tslint:disable-next-line:no-empty-interface
106
+ interface DropLargeObjects {
107
+ }
108
+ // tslint:disable-next-line:no-empty-interface
109
+ interface Empty {
110
+ }
111
+ interface Error {
112
+ /** Additional information about the error. */
113
+ details?: { [P in string]: string };
114
+ /** The time when the error occurred. */
115
+ errorTime?: string;
116
+ /** A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. */
117
+ errorUuid?: string;
118
+ /** A message containing more information about the error that occurred. */
119
+ message?: string;
120
+ /** A title that explains the reason for the error. */
121
+ reason?: string;
122
+ }
123
+ // tslint:disable-next-line:no-empty-interface
124
+ interface FetchErrorsRequest {
125
+ }
126
+ interface FetchErrorsResponse {
127
+ /** The list of errors on the Stream. */
128
+ errors?: Error[];
129
+ }
130
+ interface FetchStaticIpsResponse {
131
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
132
+ nextPageToken?: string;
133
+ /** list of static ips by account */
134
+ staticIps?: string[];
135
+ }
136
+ interface ForwardSshTunnelConnectivity {
137
+ /** Required. Hostname for the SSH tunnel. */
138
+ hostname?: string;
139
+ /** Input only. SSH password. */
140
+ password?: string;
141
+ /** Port for the SSH tunnel, default value is 22. */
142
+ port?: number;
143
+ /** Input only. SSH private key. */
144
+ privateKey?: string;
145
+ /** Required. Username for the SSH tunnel. */
146
+ username?: string;
147
+ }
148
+ interface GcsDestinationConfig {
149
+ /** AVRO file format configuration. */
150
+ avroFileFormat?: any;
151
+ /** The maximum duration for which new events are added before a file is closed and a new file is created. */
152
+ fileRotationInterval?: string;
153
+ /** The maximum file size to be saved in the bucket. */
154
+ fileRotationMb?: number;
155
+ /** File format that data should be written in. Deprecated field (b/169501737) - use file_format instead. */
156
+ gcsFileFormat?: string;
157
+ /** JSON file format configuration. */
158
+ jsonFileFormat?: JsonFileFormat;
159
+ /** Path inside the Cloud Storage bucket to write data to. */
160
+ path?: string;
161
+ }
162
+ interface GcsProfile {
163
+ /** Required. The full project and resource path for Cloud Storage bucket including the name. */
164
+ bucketName?: string;
165
+ /** The root path inside the Cloud Storage bucket. */
166
+ rootPath?: string;
167
+ }
168
+ interface JsonFileFormat {
169
+ /** Compression of the loaded JSON file. */
170
+ compression?: string;
171
+ /** The schema file format along JSON data files. */
172
+ schemaFileFormat?: string;
173
+ }
174
+ interface ListConnectionProfilesResponse {
175
+ /** List of connection profiles. */
176
+ connectionProfiles?: ConnectionProfile[];
177
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
178
+ nextPageToken?: string;
179
+ /** Locations that could not be reached. */
180
+ unreachable?: string[];
181
+ }
182
+ interface ListLocationsResponse {
183
+ /** A list of locations that matches the specified filter in the request. */
184
+ locations?: Location[];
185
+ /** The standard List next-page token. */
186
+ nextPageToken?: string;
187
+ }
188
+ interface ListOperationsResponse {
189
+ /** The standard List next-page token. */
190
+ nextPageToken?: string;
191
+ /** A list of operations that matches the specified filter in the request. */
192
+ operations?: Operation[];
193
+ }
194
+ interface ListPrivateConnectionsResponse {
195
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
196
+ nextPageToken?: string;
197
+ /** List of private connectivity configurations. */
198
+ privateConnections?: PrivateConnection[];
199
+ /** Locations that could not be reached. */
200
+ unreachable?: string[];
201
+ }
202
+ interface ListRoutesResponse {
203
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
204
+ nextPageToken?: string;
205
+ /** List of Routes. */
206
+ routes?: Route[];
207
+ /** Locations that could not be reached. */
208
+ unreachable?: string[];
209
+ }
210
+ interface ListStreamObjectsResponse {
211
+ /** A token, which can be sent as `page_token` to retrieve the next page. */
212
+ nextPageToken?: string;
213
+ /** List of stream objects. */
214
+ streamObjects?: StreamObject[];
215
+ }
216
+ interface ListStreamsResponse {
217
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
218
+ nextPageToken?: string;
219
+ /** List of streams */
220
+ streams?: Stream[];
221
+ /** Locations that could not be reached. */
222
+ unreachable?: string[];
223
+ }
224
+ interface Location {
225
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
226
+ displayName?: string;
227
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
228
+ labels?: { [P in string]: string };
229
+ /** The canonical id for this location. For example: `"us-east1"`. */
230
+ locationId?: string;
231
+ /** Service-specific metadata. For example the available capacity at the given location. */
232
+ metadata?: { [P in string]: any };
233
+ /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
234
+ name?: string;
235
+ }
236
+ interface MysqlColumn {
237
+ /** Column collation. */
238
+ collation?: string;
239
+ /** Column name. */
240
+ columnName?: string;
241
+ /** The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html */
242
+ dataType?: string;
243
+ /** Column length. */
244
+ length?: number;
245
+ /** Whether or not the column can accept a null value. */
246
+ nullable?: boolean;
247
+ /** The ordinal position of the column in the table. */
248
+ ordinalPosition?: number;
249
+ /** Whether or not the column represents a primary key. */
250
+ primaryKey?: boolean;
251
+ }
252
+ interface MysqlDatabase {
253
+ /** Database name. */
254
+ databaseName?: string;
255
+ /** Tables in the database. */
256
+ mysqlTables?: MysqlTable[];
257
+ }
258
+ interface MysqlObjectIdentifier {
259
+ /** Required. The database name. */
260
+ database?: string;
261
+ /** Required. The table name. */
262
+ table?: string;
263
+ }
264
+ interface MysqlProfile {
265
+ /** Required. Hostname for the MySQL connection. */
266
+ hostname?: string;
267
+ /** Required. Input only. Password for the MySQL connection. */
268
+ password?: string;
269
+ /** Port for the MySQL connection, default value is 3306. */
270
+ port?: number;
271
+ /** SSL configuration for the MySQL connection. */
272
+ sslConfig?: MysqlSslConfig;
273
+ /** Required. Username for the MySQL connection. */
274
+ username?: string;
275
+ }
276
+ interface MysqlRdbms {
277
+ /** Mysql databases on the server */
278
+ mysqlDatabases?: MysqlDatabase[];
279
+ }
280
+ interface MysqlSourceConfig {
281
+ /** MySQL objects to retrieve from the source. */
282
+ allowlist?: MysqlRdbms;
283
+ /** MySQL objects to exclude from the stream. */
284
+ rejectlist?: MysqlRdbms;
285
+ }
286
+ interface MysqlSslConfig {
287
+ /** Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. */
288
+ caCertificate?: string;
289
+ /** Output only. Indicates whether the ca_certificate field is set. */
290
+ caCertificateSet?: boolean;
291
+ /**
292
+ * Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the
293
+ * 'ca_certificate' fields are mandatory.
294
+ */
295
+ clientCertificate?: string;
296
+ /** Output only. Indicates whether the client_certificate field is set. */
297
+ clientCertificateSet?: boolean;
298
+ /** Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. */
299
+ clientKey?: string;
300
+ /** Output only. Indicates whether the client_key field is set. */
301
+ clientKeySet?: boolean;
302
+ }
303
+ interface MysqlTable {
304
+ /** MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. */
305
+ mysqlColumns?: MysqlColumn[];
306
+ /** Table name. */
307
+ tableName?: string;
308
+ }
309
+ // tslint:disable-next-line:no-empty-interface
310
+ interface NoConnectivitySettings {
311
+ }
312
+ interface Operation {
313
+ /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
314
+ done?: boolean;
315
+ /** The error result of the operation in case of failure or cancellation. */
316
+ error?: Status;
317
+ /**
318
+ * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
319
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
320
+ */
321
+ metadata?: { [P in string]: any };
322
+ /**
323
+ * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
324
+ * with `operations/{unique_id}`.
325
+ */
326
+ name?: string;
327
+ /**
328
+ * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
329
+ * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
330
+ * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
331
+ */
332
+ response?: { [P in string]: any };
333
+ }
334
+ interface OperationMetadata {
335
+ /** Output only. API version used to start the operation. */
336
+ apiVersion?: string;
337
+ /** Output only. The time the operation was created. */
338
+ createTime?: string;
339
+ /** Output only. The time the operation finished running. */
340
+ endTime?: string;
341
+ /**
342
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
343
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
344
+ */
345
+ requestedCancellation?: boolean;
346
+ /** Output only. Human-readable status of the operation, if any. */
347
+ statusMessage?: string;
348
+ /** Output only. Server-defined resource path for the target of the operation. */
349
+ target?: string;
350
+ /** Output only. Results of executed validations if there are any. */
351
+ validationResult?: ValidationResult;
352
+ /** Output only. Name of the verb executed by the operation. */
353
+ verb?: string;
354
+ }
355
+ interface OracleColumn {
356
+ /** Column name. */
357
+ columnName?: string;
358
+ /** The Oracle data type. */
359
+ dataType?: string;
360
+ /** Column encoding. */
361
+ encoding?: string;
362
+ /** Column length. */
363
+ length?: number;
364
+ /** Whether or not the column can accept a null value. */
365
+ nullable?: boolean;
366
+ /** The ordinal position of the column in the table. */
367
+ ordinalPosition?: number;
368
+ /** Column precision. */
369
+ precision?: number;
370
+ /** Whether or not the column represents a primary key. */
371
+ primaryKey?: boolean;
372
+ /** Column scale. */
373
+ scale?: number;
374
+ }
375
+ interface OracleObjectIdentifier {
376
+ /** Required. The schema name. */
377
+ schema?: string;
378
+ /** Required. The table name. */
379
+ table?: string;
380
+ }
381
+ interface OracleProfile {
382
+ /** Connection string attributes */
383
+ connectionAttributes?: { [P in string]: string };
384
+ /** Required. Database for the Oracle connection. */
385
+ databaseService?: string;
386
+ /** Required. Hostname for the Oracle connection. */
387
+ hostname?: string;
388
+ /** Required. Password for the Oracle connection. */
389
+ password?: string;
390
+ /** Port for the Oracle connection, default value is 1521. */
391
+ port?: number;
392
+ /** Required. Username for the Oracle connection. */
393
+ username?: string;
394
+ }
395
+ interface OracleRdbms {
396
+ /** Oracle schemas/databases in the database server. */
397
+ oracleSchemas?: OracleSchema[];
398
+ }
399
+ interface OracleSchema {
400
+ /** Tables in the schema. */
401
+ oracleTables?: OracleTable[];
402
+ /** Schema name. */
403
+ schemaName?: string;
404
+ }
405
+ interface OracleSourceConfig {
406
+ /** Oracle objects to include in the stream. */
407
+ allowlist?: OracleRdbms;
408
+ /** Drop large object values. */
409
+ dropLargeObjects?: any;
410
+ /** Oracle objects to exclude from the stream. */
411
+ rejectlist?: OracleRdbms;
412
+ }
413
+ interface OracleTable {
414
+ /** Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. */
415
+ oracleColumns?: OracleColumn[];
416
+ /** Table name. */
417
+ tableName?: string;
418
+ }
419
+ interface PrivateConnection {
420
+ /** Output only. The create time of the resource. */
421
+ createTime?: string;
422
+ /** Required. Display name. */
423
+ displayName?: string;
424
+ /** Output only. In case of error, the details of the error in a user-friendly format. */
425
+ error?: Error;
426
+ /** Labels. */
427
+ labels?: { [P in string]: string };
428
+ /** Output only. The resource's name. */
429
+ name?: string;
430
+ /** Output only. The state of the Private Connection. */
431
+ state?: string;
432
+ /** Output only. The update time of the resource. */
433
+ updateTime?: string;
434
+ /** VPC Peering Config */
435
+ vpcPeeringConfig?: VpcPeeringConfig;
436
+ }
437
+ interface PrivateConnectivity {
438
+ privateConnectionName?: string;
439
+ }
440
+ interface Route {
441
+ /** Output only. The create time of the resource. */
442
+ createTime?: string;
443
+ /** Required. Destination address for connection */
444
+ destinationAddress?: string;
445
+ /** Destination port for connection */
446
+ destinationPort?: number;
447
+ /** Required. Display name. */
448
+ displayName?: string;
449
+ /** Labels. */
450
+ labels?: { [P in string]: string };
451
+ /** Output only. The resource's name. */
452
+ name?: string;
453
+ /** Output only. The update time of the resource. */
454
+ updateTime?: string;
455
+ }
456
+ interface SourceConfig {
457
+ /** MySQL data source configuration */
458
+ mysqlSourceConfig?: MysqlSourceConfig;
459
+ /** Oracle data source configuration */
460
+ oracleSourceConfig?: OracleSourceConfig;
461
+ /** Required. Source connection profile identifier. */
462
+ sourceConnectionProfileName?: string;
463
+ }
464
+ interface SourceObjectIdentifier {
465
+ /** Mysql data source object identifier. */
466
+ mysqlIdentifier?: MysqlObjectIdentifier;
467
+ /** Oracle data source object identifier. */
468
+ oracleIdentifier?: OracleObjectIdentifier;
469
+ }
470
+ interface StartBackfillJobResponse {
471
+ /** The stream object resource a backfill job was started for. */
472
+ object?: StreamObject;
473
+ }
474
+ // tslint:disable-next-line:no-empty-interface
475
+ interface StaticServiceIpConnectivity {
476
+ }
477
+ interface Status {
478
+ /** The status code, which should be an enum value of google.rpc.Code. */
479
+ code?: number;
480
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
481
+ details?: Array<{ [P in string]: any }>;
482
+ /**
483
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
484
+ * client.
485
+ */
486
+ message?: string;
487
+ }
488
+ interface StopBackfillJobResponse {
489
+ /** The stream object resource the backfill job was stopped for. */
490
+ object?: StreamObject;
491
+ }
492
+ interface Stream {
493
+ /** Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. */
494
+ backfillAll?: BackfillAllStrategy;
495
+ /** Do not automatically backfill any objects. */
496
+ backfillNone?: any;
497
+ /** Output only. The creation time of the stream. */
498
+ createTime?: string;
499
+ /**
500
+ * Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption
501
+ * key provisioned through KMS.
502
+ */
503
+ customerManagedEncryptionKey?: string;
504
+ /** Required. Destination connection profile configuration. */
505
+ destinationConfig?: DestinationConfig;
506
+ /** Required. Display name. */
507
+ displayName?: string;
508
+ /** Output only. Errors on the Stream. */
509
+ errors?: Error[];
510
+ /** Labels. */
511
+ labels?: { [P in string]: string };
512
+ /** Output only. The stream's name. */
513
+ name?: string;
514
+ /** Required. Source connection profile configuration. */
515
+ sourceConfig?: SourceConfig;
516
+ /** The state of the stream. */
517
+ state?: string;
518
+ /** Output only. The last update time of the stream. */
519
+ updateTime?: string;
520
+ }
521
+ interface StreamObject {
522
+ /** The latest backfill job that was initiated for the stream object. */
523
+ backfillJob?: BackfillJob;
524
+ /** Output only. The creation time of the object. */
525
+ createTime?: string;
526
+ /** Required. Display name. */
527
+ displayName?: string;
528
+ /** Output only. Active errors on the object. */
529
+ errors?: Error[];
530
+ /** Output only. The object's name. */
531
+ name?: string;
532
+ /** The object identifier in the data source. */
533
+ sourceObject?: SourceObjectIdentifier;
534
+ /** Output only. The last update time of the object. */
535
+ updateTime?: string;
536
+ }
537
+ interface Validation {
538
+ /** A custom code identifying this validation. */
539
+ code?: string;
540
+ /** A short description of the validation. */
541
+ description?: string;
542
+ /** Messages reflecting the validation results. */
543
+ message?: ValidationMessage[];
544
+ /** Validation execution status. */
545
+ status?: string;
546
+ }
547
+ interface ValidationMessage {
548
+ /** A custom code identifying this specific message. */
549
+ code?: string;
550
+ /** Message severity level (warning or error). */
551
+ level?: string;
552
+ /** The result of the validation. */
553
+ message?: string;
554
+ /** Additional metadata related to the result. */
555
+ metadata?: { [P in string]: string };
556
+ }
557
+ interface ValidationResult {
558
+ /** A list of validations (includes both executed as well as not executed validations). */
559
+ validations?: Validation[];
560
+ }
561
+ interface VpcPeeringConfig {
562
+ /** Required. A free subnet for peering. (CIDR of /29) */
563
+ subnet?: string;
564
+ /** Required. fully qualified name of the VPC Datastream will peer to. */
565
+ vpcName?: string;
566
+ }
567
+ interface ConnectionProfilesResource {
568
+ /** Use this method to create a connection profile in a project and location. */
569
+ create(request: {
570
+ /** V1 error format. */
571
+ "$.xgafv"?: string;
572
+ /** OAuth access token. */
573
+ access_token?: string;
574
+ /** Data format for response. */
575
+ alt?: string;
576
+ /** JSONP */
577
+ callback?: string;
578
+ /** Required. The connection profile identifier. */
579
+ connectionProfileId?: string;
580
+ /** Selector specifying which fields to include in a partial response. */
581
+ fields?: string;
582
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
583
+ key?: string;
584
+ /** OAuth 2.0 token for the current user. */
585
+ oauth_token?: string;
586
+ /** Required. The parent that owns the collection of ConnectionProfiles. */
587
+ parent: string;
588
+ /** Returns response with indentations and line breaks. */
589
+ prettyPrint?: boolean;
590
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
591
+ quotaUser?: string;
592
+ /**
593
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
594
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
595
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
596
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
597
+ * supported (00000000-0000-0000-0000-000000000000).
598
+ */
599
+ requestId?: string;
600
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
601
+ upload_protocol?: string;
602
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
603
+ uploadType?: string;
604
+ /** Request body */
605
+ resource: ConnectionProfile;
606
+ }): Request<Operation>;
607
+ create(request: {
608
+ /** V1 error format. */
609
+ "$.xgafv"?: string;
610
+ /** OAuth access token. */
611
+ access_token?: string;
612
+ /** Data format for response. */
613
+ alt?: string;
614
+ /** JSONP */
615
+ callback?: string;
616
+ /** Required. The connection profile identifier. */
617
+ connectionProfileId?: string;
618
+ /** Selector specifying which fields to include in a partial response. */
619
+ fields?: string;
620
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
621
+ key?: string;
622
+ /** OAuth 2.0 token for the current user. */
623
+ oauth_token?: string;
624
+ /** Required. The parent that owns the collection of ConnectionProfiles. */
625
+ parent: string;
626
+ /** Returns response with indentations and line breaks. */
627
+ prettyPrint?: boolean;
628
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
629
+ quotaUser?: string;
630
+ /**
631
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
632
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
633
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
634
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
635
+ * supported (00000000-0000-0000-0000-000000000000).
636
+ */
637
+ requestId?: string;
638
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
639
+ upload_protocol?: string;
640
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
641
+ uploadType?: string;
642
+ },
643
+ body: ConnectionProfile): Request<Operation>;
644
+ /** Use this method to delete a connection profile.. */
645
+ delete(request?: {
646
+ /** V1 error format. */
647
+ "$.xgafv"?: string;
648
+ /** OAuth access token. */
649
+ access_token?: string;
650
+ /** Data format for response. */
651
+ alt?: string;
652
+ /** JSONP */
653
+ callback?: string;
654
+ /** Selector specifying which fields to include in a partial response. */
655
+ fields?: string;
656
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
657
+ key?: string;
658
+ /** Required. The name of the connection profile resource to delete. */
659
+ name: string;
660
+ /** OAuth 2.0 token for the current user. */
661
+ oauth_token?: string;
662
+ /** Returns response with indentations and line breaks. */
663
+ prettyPrint?: boolean;
664
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
665
+ quotaUser?: string;
666
+ /**
667
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
668
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the
669
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
670
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
671
+ * supported (00000000-0000-0000-0000-000000000000).
672
+ */
673
+ requestId?: string;
674
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
675
+ upload_protocol?: string;
676
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
677
+ uploadType?: string;
678
+ }): Request<Operation>;
679
+ /**
680
+ * Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data
681
+ * objects under a parent data object that's optionally supplied in the request.
682
+ */
683
+ discover(request: {
684
+ /** V1 error format. */
685
+ "$.xgafv"?: string;
686
+ /** OAuth access token. */
687
+ access_token?: string;
688
+ /** Data format for response. */
689
+ alt?: string;
690
+ /** JSONP */
691
+ callback?: string;
692
+ /** Selector specifying which fields to include in a partial response. */
693
+ fields?: string;
694
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
695
+ key?: string;
696
+ /** OAuth 2.0 token for the current user. */
697
+ oauth_token?: string;
698
+ /** Required. The parent resource of the ConnectionProfile type. Must be in the format `projects/*‍/locations/*`. */
699
+ parent: string;
700
+ /** Returns response with indentations and line breaks. */
701
+ prettyPrint?: boolean;
702
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
703
+ quotaUser?: string;
704
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
705
+ upload_protocol?: string;
706
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
707
+ uploadType?: string;
708
+ /** Request body */
709
+ resource: DiscoverConnectionProfileRequest;
710
+ }): Request<DiscoverConnectionProfileResponse>;
711
+ discover(request: {
712
+ /** V1 error format. */
713
+ "$.xgafv"?: string;
714
+ /** OAuth access token. */
715
+ access_token?: string;
716
+ /** Data format for response. */
717
+ alt?: string;
718
+ /** JSONP */
719
+ callback?: string;
720
+ /** Selector specifying which fields to include in a partial response. */
721
+ fields?: string;
722
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
723
+ key?: string;
724
+ /** OAuth 2.0 token for the current user. */
725
+ oauth_token?: string;
726
+ /** Required. The parent resource of the ConnectionProfile type. Must be in the format `projects/*‍/locations/*`. */
727
+ parent: string;
728
+ /** Returns response with indentations and line breaks. */
729
+ prettyPrint?: boolean;
730
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
731
+ quotaUser?: string;
732
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
733
+ upload_protocol?: string;
734
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
735
+ uploadType?: string;
736
+ },
737
+ body: DiscoverConnectionProfileRequest): Request<DiscoverConnectionProfileResponse>;
738
+ /** Use this method to get details about a connection profile. */
739
+ get(request?: {
740
+ /** V1 error format. */
741
+ "$.xgafv"?: string;
742
+ /** OAuth access token. */
743
+ access_token?: string;
744
+ /** Data format for response. */
745
+ alt?: string;
746
+ /** JSONP */
747
+ callback?: string;
748
+ /** Selector specifying which fields to include in a partial response. */
749
+ fields?: string;
750
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
751
+ key?: string;
752
+ /** Required. The name of the connection profile resource to get. */
753
+ name: string;
754
+ /** OAuth 2.0 token for the current user. */
755
+ oauth_token?: string;
756
+ /** Returns response with indentations and line breaks. */
757
+ prettyPrint?: boolean;
758
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
759
+ quotaUser?: string;
760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
761
+ upload_protocol?: string;
762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
763
+ uploadType?: string;
764
+ }): Request<ConnectionProfile>;
765
+ /** Use this method to list connection profiles created in a project and location. */
766
+ list(request?: {
767
+ /** V1 error format. */
768
+ "$.xgafv"?: string;
769
+ /** OAuth access token. */
770
+ access_token?: string;
771
+ /** Data format for response. */
772
+ alt?: string;
773
+ /** JSONP */
774
+ callback?: string;
775
+ /** Selector specifying which fields to include in a partial response. */
776
+ fields?: string;
777
+ /** Filter request. */
778
+ filter?: string;
779
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
780
+ key?: string;
781
+ /** OAuth 2.0 token for the current user. */
782
+ oauth_token?: string;
783
+ /** Order by fields for the result. */
784
+ orderBy?: string;
785
+ /**
786
+ * Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to
787
+ * 1000.
788
+ */
789
+ pageSize?: number;
790
+ /**
791
+ * Page token received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
792
+ * `ListConnectionProfiles` must match the call that provided the page token.
793
+ */
794
+ pageToken?: string;
795
+ /** Required. The parent that owns the collection of connection profiles. */
796
+ parent: string;
797
+ /** Returns response with indentations and line breaks. */
798
+ prettyPrint?: boolean;
799
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
800
+ quotaUser?: string;
801
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
802
+ upload_protocol?: string;
803
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
804
+ uploadType?: string;
805
+ }): Request<ListConnectionProfilesResponse>;
806
+ /** Use this method to update the parameters of a connection profile. */
807
+ patch(request: {
808
+ /** V1 error format. */
809
+ "$.xgafv"?: string;
810
+ /** OAuth access token. */
811
+ access_token?: string;
812
+ /** Data format for response. */
813
+ alt?: string;
814
+ /** JSONP */
815
+ callback?: string;
816
+ /** Selector specifying which fields to include in a partial response. */
817
+ fields?: string;
818
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
819
+ key?: string;
820
+ /** Output only. The resource's name. */
821
+ name: string;
822
+ /** OAuth 2.0 token for the current user. */
823
+ oauth_token?: string;
824
+ /** Returns response with indentations and line breaks. */
825
+ prettyPrint?: boolean;
826
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
827
+ quotaUser?: string;
828
+ /**
829
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
830
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
831
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
832
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
833
+ * supported (00000000-0000-0000-0000-000000000000).
834
+ */
835
+ requestId?: string;
836
+ /**
837
+ * Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the
838
+ * resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
839
+ */
840
+ updateMask?: string;
841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
842
+ upload_protocol?: string;
843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
844
+ uploadType?: string;
845
+ /** Optional. Only validate the connection profile, but do not update any resources. The default is false. */
846
+ validateOnly?: boolean;
847
+ /** Request body */
848
+ resource: ConnectionProfile;
849
+ }): Request<Operation>;
850
+ patch(request: {
851
+ /** V1 error format. */
852
+ "$.xgafv"?: string;
853
+ /** OAuth access token. */
854
+ access_token?: string;
855
+ /** Data format for response. */
856
+ alt?: string;
857
+ /** JSONP */
858
+ callback?: string;
859
+ /** Selector specifying which fields to include in a partial response. */
860
+ fields?: string;
861
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
862
+ key?: string;
863
+ /** Output only. The resource's name. */
864
+ name: string;
865
+ /** OAuth 2.0 token for the current user. */
866
+ oauth_token?: string;
867
+ /** Returns response with indentations and line breaks. */
868
+ prettyPrint?: boolean;
869
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
870
+ quotaUser?: string;
871
+ /**
872
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
873
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
874
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
875
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
876
+ * supported (00000000-0000-0000-0000-000000000000).
877
+ */
878
+ requestId?: string;
879
+ /**
880
+ * Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the
881
+ * resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
882
+ */
883
+ updateMask?: string;
884
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
885
+ upload_protocol?: string;
886
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
887
+ uploadType?: string;
888
+ /** Optional. Only validate the connection profile, but do not update any resources. The default is false. */
889
+ validateOnly?: boolean;
890
+ },
891
+ body: ConnectionProfile): Request<Operation>;
892
+ }
893
+ interface OperationsResource {
894
+ /**
895
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
896
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
897
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
898
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
899
+ */
900
+ cancel(request: {
901
+ /** V1 error format. */
902
+ "$.xgafv"?: string;
903
+ /** OAuth access token. */
904
+ access_token?: string;
905
+ /** Data format for response. */
906
+ alt?: string;
907
+ /** JSONP */
908
+ callback?: string;
909
+ /** Selector specifying which fields to include in a partial response. */
910
+ fields?: string;
911
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
912
+ key?: string;
913
+ /** The name of the operation resource to be cancelled. */
914
+ name: string;
915
+ /** OAuth 2.0 token for the current user. */
916
+ oauth_token?: string;
917
+ /** Returns response with indentations and line breaks. */
918
+ prettyPrint?: boolean;
919
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
920
+ quotaUser?: string;
921
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
922
+ upload_protocol?: string;
923
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
924
+ uploadType?: string;
925
+ /** Request body */
926
+ resource: CancelOperationRequest;
927
+ }): Request<{}>;
928
+ cancel(request: {
929
+ /** V1 error format. */
930
+ "$.xgafv"?: string;
931
+ /** OAuth access token. */
932
+ access_token?: string;
933
+ /** Data format for response. */
934
+ alt?: string;
935
+ /** JSONP */
936
+ callback?: string;
937
+ /** Selector specifying which fields to include in a partial response. */
938
+ fields?: string;
939
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
940
+ key?: string;
941
+ /** The name of the operation resource to be cancelled. */
942
+ name: string;
943
+ /** OAuth 2.0 token for the current user. */
944
+ oauth_token?: string;
945
+ /** Returns response with indentations and line breaks. */
946
+ prettyPrint?: boolean;
947
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
948
+ quotaUser?: string;
949
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
950
+ upload_protocol?: string;
951
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
952
+ uploadType?: string;
953
+ },
954
+ body: CancelOperationRequest): Request<{}>;
955
+ /**
956
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
957
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
958
+ */
959
+ delete(request?: {
960
+ /** V1 error format. */
961
+ "$.xgafv"?: string;
962
+ /** OAuth access token. */
963
+ access_token?: string;
964
+ /** Data format for response. */
965
+ alt?: string;
966
+ /** JSONP */
967
+ callback?: string;
968
+ /** Selector specifying which fields to include in a partial response. */
969
+ fields?: string;
970
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
971
+ key?: string;
972
+ /** The name of the operation resource to be deleted. */
973
+ name: string;
974
+ /** OAuth 2.0 token for the current user. */
975
+ oauth_token?: string;
976
+ /** Returns response with indentations and line breaks. */
977
+ prettyPrint?: boolean;
978
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
979
+ quotaUser?: string;
980
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
981
+ upload_protocol?: string;
982
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
983
+ uploadType?: string;
984
+ }): Request<{}>;
985
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
986
+ get(request?: {
987
+ /** V1 error format. */
988
+ "$.xgafv"?: string;
989
+ /** OAuth access token. */
990
+ access_token?: string;
991
+ /** Data format for response. */
992
+ alt?: string;
993
+ /** JSONP */
994
+ callback?: string;
995
+ /** Selector specifying which fields to include in a partial response. */
996
+ fields?: string;
997
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
998
+ key?: string;
999
+ /** The name of the operation resource. */
1000
+ name: string;
1001
+ /** OAuth 2.0 token for the current user. */
1002
+ oauth_token?: string;
1003
+ /** Returns response with indentations and line breaks. */
1004
+ prettyPrint?: boolean;
1005
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1006
+ quotaUser?: string;
1007
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1008
+ upload_protocol?: string;
1009
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1010
+ uploadType?: string;
1011
+ }): Request<Operation>;
1012
+ /**
1013
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
1014
+ * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1015
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1016
+ * ensure the name binding is the parent resource, without the operations collection id.
1017
+ */
1018
+ list(request?: {
1019
+ /** V1 error format. */
1020
+ "$.xgafv"?: string;
1021
+ /** OAuth access token. */
1022
+ access_token?: string;
1023
+ /** Data format for response. */
1024
+ alt?: string;
1025
+ /** JSONP */
1026
+ callback?: string;
1027
+ /** Selector specifying which fields to include in a partial response. */
1028
+ fields?: string;
1029
+ /** The standard list filter. */
1030
+ filter?: string;
1031
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1032
+ key?: string;
1033
+ /** The name of the operation's parent resource. */
1034
+ name: string;
1035
+ /** OAuth 2.0 token for the current user. */
1036
+ oauth_token?: string;
1037
+ /** The standard list page size. */
1038
+ pageSize?: number;
1039
+ /** The standard list page token. */
1040
+ pageToken?: string;
1041
+ /** Returns response with indentations and line breaks. */
1042
+ prettyPrint?: boolean;
1043
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1044
+ quotaUser?: string;
1045
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1046
+ upload_protocol?: string;
1047
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1048
+ uploadType?: string;
1049
+ }): Request<ListOperationsResponse>;
1050
+ }
1051
+ interface RoutesResource {
1052
+ /** Use this method to create a route for a private connectivity in a project and location. */
1053
+ create(request: {
1054
+ /** V1 error format. */
1055
+ "$.xgafv"?: string;
1056
+ /** OAuth access token. */
1057
+ access_token?: string;
1058
+ /** Data format for response. */
1059
+ alt?: string;
1060
+ /** JSONP */
1061
+ callback?: string;
1062
+ /** Selector specifying which fields to include in a partial response. */
1063
+ fields?: string;
1064
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1065
+ key?: string;
1066
+ /** OAuth 2.0 token for the current user. */
1067
+ oauth_token?: string;
1068
+ /** Required. The parent that owns the collection of Routes. */
1069
+ parent: string;
1070
+ /** Returns response with indentations and line breaks. */
1071
+ prettyPrint?: boolean;
1072
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1073
+ quotaUser?: string;
1074
+ /**
1075
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1076
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1077
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1078
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1079
+ * supported (00000000-0000-0000-0000-000000000000).
1080
+ */
1081
+ requestId?: string;
1082
+ /** Required. The Route identifier. */
1083
+ routeId?: string;
1084
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1085
+ upload_protocol?: string;
1086
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1087
+ uploadType?: string;
1088
+ /** Request body */
1089
+ resource: Route;
1090
+ }): Request<Operation>;
1091
+ create(request: {
1092
+ /** V1 error format. */
1093
+ "$.xgafv"?: string;
1094
+ /** OAuth access token. */
1095
+ access_token?: string;
1096
+ /** Data format for response. */
1097
+ alt?: string;
1098
+ /** JSONP */
1099
+ callback?: string;
1100
+ /** Selector specifying which fields to include in a partial response. */
1101
+ fields?: string;
1102
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1103
+ key?: string;
1104
+ /** OAuth 2.0 token for the current user. */
1105
+ oauth_token?: string;
1106
+ /** Required. The parent that owns the collection of Routes. */
1107
+ parent: string;
1108
+ /** Returns response with indentations and line breaks. */
1109
+ prettyPrint?: boolean;
1110
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1111
+ quotaUser?: string;
1112
+ /**
1113
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1114
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1115
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1116
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1117
+ * supported (00000000-0000-0000-0000-000000000000).
1118
+ */
1119
+ requestId?: string;
1120
+ /** Required. The Route identifier. */
1121
+ routeId?: string;
1122
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1123
+ upload_protocol?: string;
1124
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1125
+ uploadType?: string;
1126
+ },
1127
+ body: Route): Request<Operation>;
1128
+ /** Use this method to delete a route. */
1129
+ delete(request?: {
1130
+ /** V1 error format. */
1131
+ "$.xgafv"?: string;
1132
+ /** OAuth access token. */
1133
+ access_token?: string;
1134
+ /** Data format for response. */
1135
+ alt?: string;
1136
+ /** JSONP */
1137
+ callback?: string;
1138
+ /** Selector specifying which fields to include in a partial response. */
1139
+ fields?: string;
1140
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1141
+ key?: string;
1142
+ /** Required. The name of the Route resource to delete. */
1143
+ name: string;
1144
+ /** OAuth 2.0 token for the current user. */
1145
+ oauth_token?: string;
1146
+ /** Returns response with indentations and line breaks. */
1147
+ prettyPrint?: boolean;
1148
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1149
+ quotaUser?: string;
1150
+ /**
1151
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1152
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the
1153
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1154
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1155
+ * supported (00000000-0000-0000-0000-000000000000).
1156
+ */
1157
+ requestId?: string;
1158
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1159
+ upload_protocol?: string;
1160
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1161
+ uploadType?: string;
1162
+ }): Request<Operation>;
1163
+ /** Use this method to get details about a route. */
1164
+ get(request?: {
1165
+ /** V1 error format. */
1166
+ "$.xgafv"?: string;
1167
+ /** OAuth access token. */
1168
+ access_token?: string;
1169
+ /** Data format for response. */
1170
+ alt?: string;
1171
+ /** JSONP */
1172
+ callback?: string;
1173
+ /** Selector specifying which fields to include in a partial response. */
1174
+ fields?: string;
1175
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1176
+ key?: string;
1177
+ /** Required. The name of the Route resource to get. */
1178
+ name: string;
1179
+ /** OAuth 2.0 token for the current user. */
1180
+ oauth_token?: string;
1181
+ /** Returns response with indentations and line breaks. */
1182
+ prettyPrint?: boolean;
1183
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1184
+ quotaUser?: string;
1185
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1186
+ upload_protocol?: string;
1187
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1188
+ uploadType?: string;
1189
+ }): Request<Route>;
1190
+ /** Use this method to list routes created for a private connectivity in a project and location. */
1191
+ list(request?: {
1192
+ /** V1 error format. */
1193
+ "$.xgafv"?: string;
1194
+ /** OAuth access token. */
1195
+ access_token?: string;
1196
+ /** Data format for response. */
1197
+ alt?: string;
1198
+ /** JSONP */
1199
+ callback?: string;
1200
+ /** Selector specifying which fields to include in a partial response. */
1201
+ fields?: string;
1202
+ /** Filter request. */
1203
+ filter?: string;
1204
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1205
+ key?: string;
1206
+ /** OAuth 2.0 token for the current user. */
1207
+ oauth_token?: string;
1208
+ /** Order by fields for the result. */
1209
+ orderBy?: string;
1210
+ /**
1211
+ * Maximum number of Routes to return. The service may return fewer than this value. If unspecified, at most 50 Routes will be returned. The maximum value is 1000; values above
1212
+ * 1000 will be coerced to 1000.
1213
+ */
1214
+ pageSize?: number;
1215
+ /**
1216
+ * Page token received from a previous `ListRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRoutes` must match
1217
+ * the call that provided the page token.
1218
+ */
1219
+ pageToken?: string;
1220
+ /** Required. The parent that owns the collection of Routess. */
1221
+ parent: string;
1222
+ /** Returns response with indentations and line breaks. */
1223
+ prettyPrint?: boolean;
1224
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1225
+ quotaUser?: string;
1226
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1227
+ upload_protocol?: string;
1228
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1229
+ uploadType?: string;
1230
+ }): Request<ListRoutesResponse>;
1231
+ }
1232
+ interface PrivateConnectionsResource {
1233
+ /** Use this method to create a private connectivity configuration. */
1234
+ create(request: {
1235
+ /** V1 error format. */
1236
+ "$.xgafv"?: string;
1237
+ /** OAuth access token. */
1238
+ access_token?: string;
1239
+ /** Data format for response. */
1240
+ alt?: string;
1241
+ /** JSONP */
1242
+ callback?: string;
1243
+ /** Selector specifying which fields to include in a partial response. */
1244
+ fields?: string;
1245
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1246
+ key?: string;
1247
+ /** OAuth 2.0 token for the current user. */
1248
+ oauth_token?: string;
1249
+ /** Required. The parent that owns the collection of PrivateConnections. */
1250
+ parent: string;
1251
+ /** Returns response with indentations and line breaks. */
1252
+ prettyPrint?: boolean;
1253
+ /** Required. The private connectivity identifier. */
1254
+ privateConnectionId?: string;
1255
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1256
+ quotaUser?: string;
1257
+ /**
1258
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1259
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1260
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1261
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1262
+ * supported (00000000-0000-0000-0000-000000000000).
1263
+ */
1264
+ requestId?: string;
1265
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1266
+ upload_protocol?: string;
1267
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1268
+ uploadType?: string;
1269
+ /** Request body */
1270
+ resource: PrivateConnection;
1271
+ }): Request<Operation>;
1272
+ create(request: {
1273
+ /** V1 error format. */
1274
+ "$.xgafv"?: string;
1275
+ /** OAuth access token. */
1276
+ access_token?: string;
1277
+ /** Data format for response. */
1278
+ alt?: string;
1279
+ /** JSONP */
1280
+ callback?: string;
1281
+ /** Selector specifying which fields to include in a partial response. */
1282
+ fields?: string;
1283
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1284
+ key?: string;
1285
+ /** OAuth 2.0 token for the current user. */
1286
+ oauth_token?: string;
1287
+ /** Required. The parent that owns the collection of PrivateConnections. */
1288
+ parent: string;
1289
+ /** Returns response with indentations and line breaks. */
1290
+ prettyPrint?: boolean;
1291
+ /** Required. The private connectivity identifier. */
1292
+ privateConnectionId?: string;
1293
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1294
+ quotaUser?: string;
1295
+ /**
1296
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1297
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1298
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1299
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1300
+ * supported (00000000-0000-0000-0000-000000000000).
1301
+ */
1302
+ requestId?: string;
1303
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1304
+ upload_protocol?: string;
1305
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1306
+ uploadType?: string;
1307
+ },
1308
+ body: PrivateConnection): Request<Operation>;
1309
+ /** Use this method to delete a private connectivity configuration. */
1310
+ delete(request?: {
1311
+ /** V1 error format. */
1312
+ "$.xgafv"?: string;
1313
+ /** OAuth access token. */
1314
+ access_token?: string;
1315
+ /** Data format for response. */
1316
+ alt?: string;
1317
+ /** JSONP */
1318
+ callback?: string;
1319
+ /** Selector specifying which fields to include in a partial response. */
1320
+ fields?: string;
1321
+ /** Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted. */
1322
+ force?: boolean;
1323
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1324
+ key?: string;
1325
+ /** Required. The name of the private connectivity configuration to delete. */
1326
+ name: string;
1327
+ /** OAuth 2.0 token for the current user. */
1328
+ oauth_token?: string;
1329
+ /** Returns response with indentations and line breaks. */
1330
+ prettyPrint?: boolean;
1331
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1332
+ quotaUser?: string;
1333
+ /**
1334
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1335
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the
1336
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1337
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1338
+ * supported (00000000-0000-0000-0000-000000000000).
1339
+ */
1340
+ requestId?: string;
1341
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1342
+ upload_protocol?: string;
1343
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1344
+ uploadType?: string;
1345
+ }): Request<Operation>;
1346
+ /** Use this method to get details about a private connectivity configuration. */
1347
+ get(request?: {
1348
+ /** V1 error format. */
1349
+ "$.xgafv"?: string;
1350
+ /** OAuth access token. */
1351
+ access_token?: string;
1352
+ /** Data format for response. */
1353
+ alt?: string;
1354
+ /** JSONP */
1355
+ callback?: string;
1356
+ /** Selector specifying which fields to include in a partial response. */
1357
+ fields?: string;
1358
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1359
+ key?: string;
1360
+ /** Required. The name of the private connectivity configuration to get. */
1361
+ name: string;
1362
+ /** OAuth 2.0 token for the current user. */
1363
+ oauth_token?: string;
1364
+ /** Returns response with indentations and line breaks. */
1365
+ prettyPrint?: boolean;
1366
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1367
+ quotaUser?: string;
1368
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1369
+ upload_protocol?: string;
1370
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1371
+ uploadType?: string;
1372
+ }): Request<PrivateConnection>;
1373
+ /** Use this method to list private connectivity configurations in a project and location. */
1374
+ list(request?: {
1375
+ /** V1 error format. */
1376
+ "$.xgafv"?: string;
1377
+ /** OAuth access token. */
1378
+ access_token?: string;
1379
+ /** Data format for response. */
1380
+ alt?: string;
1381
+ /** JSONP */
1382
+ callback?: string;
1383
+ /** Selector specifying which fields to include in a partial response. */
1384
+ fields?: string;
1385
+ /** Filter request. */
1386
+ filter?: string;
1387
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1388
+ key?: string;
1389
+ /** OAuth 2.0 token for the current user. */
1390
+ oauth_token?: string;
1391
+ /** Order by fields for the result. */
1392
+ orderBy?: string;
1393
+ /**
1394
+ * Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000;
1395
+ * values above 1000 will be coerced to 1000.
1396
+ */
1397
+ pageSize?: number;
1398
+ /**
1399
+ * Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1400
+ * `ListPrivateConnections` must match the call that provided the page token.
1401
+ */
1402
+ pageToken?: string;
1403
+ /** Required. The parent that owns the collection of private connectivity configurations. */
1404
+ parent: string;
1405
+ /** Returns response with indentations and line breaks. */
1406
+ prettyPrint?: boolean;
1407
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1408
+ quotaUser?: string;
1409
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1410
+ upload_protocol?: string;
1411
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1412
+ uploadType?: string;
1413
+ }): Request<ListPrivateConnectionsResponse>;
1414
+ routes: RoutesResource;
1415
+ }
1416
+ interface ObjectsResource {
1417
+ /** Use this method to get details about a stream object. */
1418
+ get(request?: {
1419
+ /** V1 error format. */
1420
+ "$.xgafv"?: string;
1421
+ /** OAuth access token. */
1422
+ access_token?: string;
1423
+ /** Data format for response. */
1424
+ alt?: string;
1425
+ /** JSONP */
1426
+ callback?: string;
1427
+ /** Selector specifying which fields to include in a partial response. */
1428
+ fields?: string;
1429
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1430
+ key?: string;
1431
+ /** Required. The name of the stream object resource to get. */
1432
+ name: string;
1433
+ /** OAuth 2.0 token for the current user. */
1434
+ oauth_token?: string;
1435
+ /** Returns response with indentations and line breaks. */
1436
+ prettyPrint?: boolean;
1437
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1438
+ quotaUser?: string;
1439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1440
+ upload_protocol?: string;
1441
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1442
+ uploadType?: string;
1443
+ }): Request<StreamObject>;
1444
+ /** Use this method to list the objects of a specific stream. */
1445
+ list(request?: {
1446
+ /** V1 error format. */
1447
+ "$.xgafv"?: string;
1448
+ /** OAuth access token. */
1449
+ access_token?: string;
1450
+ /** Data format for response. */
1451
+ alt?: string;
1452
+ /** JSONP */
1453
+ callback?: string;
1454
+ /** Selector specifying which fields to include in a partial response. */
1455
+ fields?: string;
1456
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1457
+ key?: string;
1458
+ /** OAuth 2.0 token for the current user. */
1459
+ oauth_token?: string;
1460
+ /** Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1461
+ pageSize?: number;
1462
+ /**
1463
+ * Page token received from a previous `ListStreamObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1464
+ * `ListStreamObjectsRequest` must match the call that provided the page token.
1465
+ */
1466
+ pageToken?: string;
1467
+ /** Required. The parent stream that owns the collection of objects. */
1468
+ parent: string;
1469
+ /** Returns response with indentations and line breaks. */
1470
+ prettyPrint?: boolean;
1471
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1472
+ quotaUser?: string;
1473
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1474
+ upload_protocol?: string;
1475
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1476
+ uploadType?: string;
1477
+ }): Request<ListStreamObjectsResponse>;
1478
+ /** Starts backfill job for the specified stream object. */
1479
+ startBackfillJob(request?: {
1480
+ /** V1 error format. */
1481
+ "$.xgafv"?: string;
1482
+ /** OAuth access token. */
1483
+ access_token?: string;
1484
+ /** Data format for response. */
1485
+ alt?: string;
1486
+ /** JSONP */
1487
+ callback?: string;
1488
+ /** Selector specifying which fields to include in a partial response. */
1489
+ fields?: string;
1490
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1491
+ key?: string;
1492
+ /** OAuth 2.0 token for the current user. */
1493
+ oauth_token?: string;
1494
+ /** Required. The name of the stream object resource to start a backfill job for. */
1495
+ object: string;
1496
+ /** Returns response with indentations and line breaks. */
1497
+ prettyPrint?: boolean;
1498
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1499
+ quotaUser?: string;
1500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1501
+ upload_protocol?: string;
1502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1503
+ uploadType?: string;
1504
+ }): Request<StartBackfillJobResponse>;
1505
+ /** Stops the backfill job for the specified stream object. */
1506
+ stopBackfillJob(request?: {
1507
+ /** V1 error format. */
1508
+ "$.xgafv"?: string;
1509
+ /** OAuth access token. */
1510
+ access_token?: string;
1511
+ /** Data format for response. */
1512
+ alt?: string;
1513
+ /** JSONP */
1514
+ callback?: string;
1515
+ /** Selector specifying which fields to include in a partial response. */
1516
+ fields?: string;
1517
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1518
+ key?: string;
1519
+ /** OAuth 2.0 token for the current user. */
1520
+ oauth_token?: string;
1521
+ /** Required. The name of the stream object resource to stop the backfill job for. */
1522
+ object: string;
1523
+ /** Returns response with indentations and line breaks. */
1524
+ prettyPrint?: boolean;
1525
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1526
+ quotaUser?: string;
1527
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1528
+ upload_protocol?: string;
1529
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1530
+ uploadType?: string;
1531
+ }): Request<StopBackfillJobResponse>;
1532
+ }
1533
+ interface StreamsResource {
1534
+ /** Use this method to create a stream. */
1535
+ create(request: {
1536
+ /** V1 error format. */
1537
+ "$.xgafv"?: string;
1538
+ /** OAuth access token. */
1539
+ access_token?: string;
1540
+ /** Data format for response. */
1541
+ alt?: string;
1542
+ /** JSONP */
1543
+ callback?: string;
1544
+ /** Selector specifying which fields to include in a partial response. */
1545
+ fields?: string;
1546
+ /** Optional. Create the stream without validating it. */
1547
+ force?: boolean;
1548
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1549
+ key?: string;
1550
+ /** OAuth 2.0 token for the current user. */
1551
+ oauth_token?: string;
1552
+ /** Required. The parent that owns the collection of streams. */
1553
+ parent: string;
1554
+ /** Returns response with indentations and line breaks. */
1555
+ prettyPrint?: boolean;
1556
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1557
+ quotaUser?: string;
1558
+ /**
1559
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1560
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1561
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1562
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1563
+ * supported (00000000-0000-0000-0000-000000000000).
1564
+ */
1565
+ requestId?: string;
1566
+ /** Required. The stream identifier. */
1567
+ streamId?: string;
1568
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1569
+ upload_protocol?: string;
1570
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1571
+ uploadType?: string;
1572
+ /** Optional. Only validate the stream, but do not create any resources. The default is false. */
1573
+ validateOnly?: boolean;
1574
+ /** Request body */
1575
+ resource: Stream;
1576
+ }): Request<Operation>;
1577
+ create(request: {
1578
+ /** V1 error format. */
1579
+ "$.xgafv"?: string;
1580
+ /** OAuth access token. */
1581
+ access_token?: string;
1582
+ /** Data format for response. */
1583
+ alt?: string;
1584
+ /** JSONP */
1585
+ callback?: string;
1586
+ /** Selector specifying which fields to include in a partial response. */
1587
+ fields?: string;
1588
+ /** Optional. Create the stream without validating it. */
1589
+ force?: boolean;
1590
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1591
+ key?: string;
1592
+ /** OAuth 2.0 token for the current user. */
1593
+ oauth_token?: string;
1594
+ /** Required. The parent that owns the collection of streams. */
1595
+ parent: string;
1596
+ /** Returns response with indentations and line breaks. */
1597
+ prettyPrint?: boolean;
1598
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1599
+ quotaUser?: string;
1600
+ /**
1601
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1602
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1603
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1604
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1605
+ * supported (00000000-0000-0000-0000-000000000000).
1606
+ */
1607
+ requestId?: string;
1608
+ /** Required. The stream identifier. */
1609
+ streamId?: string;
1610
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1611
+ upload_protocol?: string;
1612
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1613
+ uploadType?: string;
1614
+ /** Optional. Only validate the stream, but do not create any resources. The default is false. */
1615
+ validateOnly?: boolean;
1616
+ },
1617
+ body: Stream): Request<Operation>;
1618
+ /** Use this method to delete a stream. */
1619
+ delete(request?: {
1620
+ /** V1 error format. */
1621
+ "$.xgafv"?: string;
1622
+ /** OAuth access token. */
1623
+ access_token?: string;
1624
+ /** Data format for response. */
1625
+ alt?: string;
1626
+ /** JSONP */
1627
+ callback?: string;
1628
+ /** Selector specifying which fields to include in a partial response. */
1629
+ fields?: string;
1630
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1631
+ key?: string;
1632
+ /** Required. The name of the stream resource to delete. */
1633
+ name: string;
1634
+ /** OAuth 2.0 token for the current user. */
1635
+ oauth_token?: string;
1636
+ /** Returns response with indentations and line breaks. */
1637
+ prettyPrint?: boolean;
1638
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1639
+ quotaUser?: string;
1640
+ /**
1641
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1642
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the
1643
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1644
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1645
+ * supported (00000000-0000-0000-0000-000000000000).
1646
+ */
1647
+ requestId?: string;
1648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1649
+ upload_protocol?: string;
1650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1651
+ uploadType?: string;
1652
+ }): Request<Operation>;
1653
+ /** Use this method to fetch any errors associated with a stream. */
1654
+ fetchErrors(request: {
1655
+ /** V1 error format. */
1656
+ "$.xgafv"?: string;
1657
+ /** OAuth access token. */
1658
+ access_token?: string;
1659
+ /** Data format for response. */
1660
+ alt?: string;
1661
+ /** JSONP */
1662
+ callback?: string;
1663
+ /** Selector specifying which fields to include in a partial response. */
1664
+ fields?: string;
1665
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1666
+ key?: string;
1667
+ /** OAuth 2.0 token for the current user. */
1668
+ oauth_token?: string;
1669
+ /** Returns response with indentations and line breaks. */
1670
+ prettyPrint?: boolean;
1671
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1672
+ quotaUser?: string;
1673
+ /** Name of the Stream resource for which to fetch any errors. */
1674
+ stream: string;
1675
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1676
+ upload_protocol?: string;
1677
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1678
+ uploadType?: string;
1679
+ /** Request body */
1680
+ resource: FetchErrorsRequest;
1681
+ }): Request<Operation>;
1682
+ fetchErrors(request: {
1683
+ /** V1 error format. */
1684
+ "$.xgafv"?: string;
1685
+ /** OAuth access token. */
1686
+ access_token?: string;
1687
+ /** Data format for response. */
1688
+ alt?: string;
1689
+ /** JSONP */
1690
+ callback?: string;
1691
+ /** Selector specifying which fields to include in a partial response. */
1692
+ fields?: string;
1693
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1694
+ key?: string;
1695
+ /** OAuth 2.0 token for the current user. */
1696
+ oauth_token?: string;
1697
+ /** Returns response with indentations and line breaks. */
1698
+ prettyPrint?: boolean;
1699
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1700
+ quotaUser?: string;
1701
+ /** Name of the Stream resource for which to fetch any errors. */
1702
+ stream: string;
1703
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1704
+ upload_protocol?: string;
1705
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1706
+ uploadType?: string;
1707
+ },
1708
+ body: FetchErrorsRequest): Request<Operation>;
1709
+ /** Use this method to get details about a stream. */
1710
+ get(request?: {
1711
+ /** V1 error format. */
1712
+ "$.xgafv"?: string;
1713
+ /** OAuth access token. */
1714
+ access_token?: string;
1715
+ /** Data format for response. */
1716
+ alt?: string;
1717
+ /** JSONP */
1718
+ callback?: string;
1719
+ /** Selector specifying which fields to include in a partial response. */
1720
+ fields?: string;
1721
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1722
+ key?: string;
1723
+ /** Required. The name of the stream resource to get. */
1724
+ name: string;
1725
+ /** OAuth 2.0 token for the current user. */
1726
+ oauth_token?: string;
1727
+ /** Returns response with indentations and line breaks. */
1728
+ prettyPrint?: boolean;
1729
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1730
+ quotaUser?: string;
1731
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1732
+ upload_protocol?: string;
1733
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1734
+ uploadType?: string;
1735
+ }): Request<Stream>;
1736
+ /** Use this method to list streams in a project and location. */
1737
+ list(request?: {
1738
+ /** V1 error format. */
1739
+ "$.xgafv"?: string;
1740
+ /** OAuth access token. */
1741
+ access_token?: string;
1742
+ /** Data format for response. */
1743
+ alt?: string;
1744
+ /** JSONP */
1745
+ callback?: string;
1746
+ /** Selector specifying which fields to include in a partial response. */
1747
+ fields?: string;
1748
+ /** Filter request. */
1749
+ filter?: string;
1750
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1751
+ key?: string;
1752
+ /** OAuth 2.0 token for the current user. */
1753
+ oauth_token?: string;
1754
+ /** Order by fields for the result. */
1755
+ orderBy?: string;
1756
+ /** Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1757
+ pageSize?: number;
1758
+ /**
1759
+ * Page token received from a previous `ListStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreams` must match
1760
+ * the call that provided the page token.
1761
+ */
1762
+ pageToken?: string;
1763
+ /** Required. The parent that owns the collection of streams. */
1764
+ parent: string;
1765
+ /** Returns response with indentations and line breaks. */
1766
+ prettyPrint?: boolean;
1767
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1768
+ quotaUser?: string;
1769
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1770
+ upload_protocol?: string;
1771
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1772
+ uploadType?: string;
1773
+ }): Request<ListStreamsResponse>;
1774
+ /** Use this method to update the configuration of a stream. */
1775
+ patch(request: {
1776
+ /** V1 error format. */
1777
+ "$.xgafv"?: string;
1778
+ /** OAuth access token. */
1779
+ access_token?: string;
1780
+ /** Data format for response. */
1781
+ alt?: string;
1782
+ /** JSONP */
1783
+ callback?: string;
1784
+ /** Selector specifying which fields to include in a partial response. */
1785
+ fields?: string;
1786
+ /** Optional. Execute the update without validating it. */
1787
+ force?: boolean;
1788
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1789
+ key?: string;
1790
+ /** Output only. The stream's name. */
1791
+ name: string;
1792
+ /** OAuth 2.0 token for the current user. */
1793
+ oauth_token?: string;
1794
+ /** Returns response with indentations and line breaks. */
1795
+ prettyPrint?: boolean;
1796
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1797
+ quotaUser?: string;
1798
+ /**
1799
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1800
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1801
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1802
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1803
+ * supported (00000000-0000-0000-0000-000000000000).
1804
+ */
1805
+ requestId?: string;
1806
+ /**
1807
+ * Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource,
1808
+ * not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1809
+ */
1810
+ updateMask?: string;
1811
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1812
+ upload_protocol?: string;
1813
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1814
+ uploadType?: string;
1815
+ /** Optional. Only validate the stream with the changes, without actually updating it. The default is false. */
1816
+ validateOnly?: boolean;
1817
+ /** Request body */
1818
+ resource: Stream;
1819
+ }): Request<Operation>;
1820
+ patch(request: {
1821
+ /** V1 error format. */
1822
+ "$.xgafv"?: string;
1823
+ /** OAuth access token. */
1824
+ access_token?: string;
1825
+ /** Data format for response. */
1826
+ alt?: string;
1827
+ /** JSONP */
1828
+ callback?: string;
1829
+ /** Selector specifying which fields to include in a partial response. */
1830
+ fields?: string;
1831
+ /** Optional. Execute the update without validating it. */
1832
+ force?: boolean;
1833
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1834
+ key?: string;
1835
+ /** Output only. The stream's name. */
1836
+ name: string;
1837
+ /** OAuth 2.0 token for the current user. */
1838
+ oauth_token?: string;
1839
+ /** Returns response with indentations and line breaks. */
1840
+ prettyPrint?: boolean;
1841
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1842
+ quotaUser?: string;
1843
+ /**
1844
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1845
+ * been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
1846
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1847
+ * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1848
+ * supported (00000000-0000-0000-0000-000000000000).
1849
+ */
1850
+ requestId?: string;
1851
+ /**
1852
+ * Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource,
1853
+ * not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1854
+ */
1855
+ updateMask?: string;
1856
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1857
+ upload_protocol?: string;
1858
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1859
+ uploadType?: string;
1860
+ /** Optional. Only validate the stream with the changes, without actually updating it. The default is false. */
1861
+ validateOnly?: boolean;
1862
+ },
1863
+ body: Stream): Request<Operation>;
1864
+ objects: ObjectsResource;
1865
+ }
1866
+ interface LocationsResource {
1867
+ /** The FetchStaticIps API call exposes the static IP addresses used by Datastream. */
1868
+ fetchStaticIps(request?: {
1869
+ /** V1 error format. */
1870
+ "$.xgafv"?: string;
1871
+ /** OAuth access token. */
1872
+ access_token?: string;
1873
+ /** Data format for response. */
1874
+ alt?: string;
1875
+ /** JSONP */
1876
+ callback?: string;
1877
+ /** Selector specifying which fields to include in a partial response. */
1878
+ fields?: string;
1879
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1880
+ key?: string;
1881
+ /** Required. The name resource of the Response type. Must be in the format `projects/*‍/locations/*`. */
1882
+ name: string;
1883
+ /** OAuth 2.0 token for the current user. */
1884
+ oauth_token?: string;
1885
+ /** Maximum number of Ips to return, will likely not be specified. */
1886
+ pageSize?: number;
1887
+ /** A page token, received from a previous `ListStaticIps` call. will likely not be specified. */
1888
+ pageToken?: string;
1889
+ /** Returns response with indentations and line breaks. */
1890
+ prettyPrint?: boolean;
1891
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1892
+ quotaUser?: string;
1893
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1894
+ upload_protocol?: string;
1895
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1896
+ uploadType?: string;
1897
+ }): Request<FetchStaticIpsResponse>;
1898
+ /** Gets information about a location. */
1899
+ get(request?: {
1900
+ /** V1 error format. */
1901
+ "$.xgafv"?: string;
1902
+ /** OAuth access token. */
1903
+ access_token?: string;
1904
+ /** Data format for response. */
1905
+ alt?: string;
1906
+ /** JSONP */
1907
+ callback?: string;
1908
+ /** Selector specifying which fields to include in a partial response. */
1909
+ fields?: string;
1910
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1911
+ key?: string;
1912
+ /** Resource name for the location. */
1913
+ name: string;
1914
+ /** OAuth 2.0 token for the current user. */
1915
+ oauth_token?: string;
1916
+ /** Returns response with indentations and line breaks. */
1917
+ prettyPrint?: boolean;
1918
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1919
+ quotaUser?: string;
1920
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1921
+ upload_protocol?: string;
1922
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1923
+ uploadType?: string;
1924
+ }): Request<Location>;
1925
+ /** Lists information about the supported locations for this service. */
1926
+ list(request?: {
1927
+ /** V1 error format. */
1928
+ "$.xgafv"?: string;
1929
+ /** OAuth access token. */
1930
+ access_token?: string;
1931
+ /** Data format for response. */
1932
+ alt?: string;
1933
+ /** JSONP */
1934
+ callback?: string;
1935
+ /** Selector specifying which fields to include in a partial response. */
1936
+ fields?: string;
1937
+ /**
1938
+ * 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
1939
+ * [AIP-160](https://google.aip.dev/160).
1940
+ */
1941
+ filter?: string;
1942
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1943
+ key?: string;
1944
+ /** The resource that owns the locations collection, if applicable. */
1945
+ name: string;
1946
+ /** OAuth 2.0 token for the current user. */
1947
+ oauth_token?: string;
1948
+ /** The maximum number of results to return. If not set, the service selects a default. */
1949
+ pageSize?: number;
1950
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1951
+ pageToken?: string;
1952
+ /** Returns response with indentations and line breaks. */
1953
+ prettyPrint?: boolean;
1954
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1955
+ quotaUser?: string;
1956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1957
+ upload_protocol?: string;
1958
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1959
+ uploadType?: string;
1960
+ }): Request<ListLocationsResponse>;
1961
+ connectionProfiles: ConnectionProfilesResource;
1962
+ operations: OperationsResource;
1963
+ privateConnections: PrivateConnectionsResource;
1964
+ streams: StreamsResource;
1965
+ }
1966
+ interface ProjectsResource {
1967
+ locations: LocationsResource;
1968
+ }
1969
+
1970
+ const projects: ProjectsResource;
1971
+ }
1972
+ }