@maxim_mazurok/gapi.client.dataplex-v1 0.0.20220725

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,4343 @@
1
+ /* Type definitions for non-npm package Cloud Dataplex API v1 0.0 */
2
+ // Project: https://cloud.google.com/dataplex/docs
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://dataplex.googleapis.com/$discovery/rest?version=v1
13
+ // Revision: 20220725
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Cloud Dataplex API v1 */
19
+ function load(urlOrObject: "https://dataplex.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "dataplex", version: "v1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "dataplex", version: "v1", callback: () => any): void;
24
+
25
+ namespace dataplex {
26
+ // tslint:disable-next-line:no-empty-interface
27
+ interface Empty {
28
+ }
29
+ interface GoogleCloudDataplexV1Action {
30
+ /** Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
31
+ asset?: string;
32
+ /** The category of issue associated with the action. */
33
+ category?: string;
34
+ /**
35
+ * The list of data locations associated with this action. Cloud Storage locations are represented as URI paths(E.g. gs://bucket/table1/year=2020/month=Jan/). BigQuery locations refer
36
+ * to resource names(E.g. bigquery.googleapis.com/projects/project-id/datasets/dataset-id).
37
+ */
38
+ dataLocations?: string[];
39
+ /** The time that the issue was detected. */
40
+ detectTime?: string;
41
+ /** Details for issues related to applying security policy. */
42
+ failedSecurityPolicyApply?: GoogleCloudDataplexV1ActionFailedSecurityPolicyApply;
43
+ /** Details for issues related to incompatible schemas detected within data. */
44
+ incompatibleDataSchema?: GoogleCloudDataplexV1ActionIncompatibleDataSchema;
45
+ /** Details for issues related to invalid or unsupported data formats. */
46
+ invalidDataFormat?: GoogleCloudDataplexV1ActionInvalidDataFormat;
47
+ /** Details for issues related to invalid data arrangement. */
48
+ invalidDataOrganization?: any;
49
+ /** Details for issues related to invalid or unsupported data partition structure. */
50
+ invalidDataPartition?: GoogleCloudDataplexV1ActionInvalidDataPartition;
51
+ /** Detailed description of the issue requiring action. */
52
+ issue?: string;
53
+ /** Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
54
+ lake?: string;
55
+ /** Details for issues related to absence of data within managed resources. */
56
+ missingData?: any;
57
+ /** Details for issues related to absence of a managed resource. */
58
+ missingResource?: any;
59
+ /**
60
+ * Output only. The relative resource name of the action, of the form: projects/{project}/locations/{location}/lakes/{lake}/actions/{action}
61
+ * projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action} projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}.
62
+ */
63
+ name?: string;
64
+ /** Details for issues related to lack of permissions to access data resources. */
65
+ unauthorizedResource?: any;
66
+ /** Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
67
+ zone?: string;
68
+ }
69
+ interface GoogleCloudDataplexV1ActionFailedSecurityPolicyApply {
70
+ /** Resource name of one of the assets with failing security policy application. Populated for a lake or zone resource only. */
71
+ asset?: string;
72
+ }
73
+ interface GoogleCloudDataplexV1ActionIncompatibleDataSchema {
74
+ /** The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types. */
75
+ existingSchema?: string;
76
+ /** The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types. */
77
+ newSchema?: string;
78
+ /** The list of data locations sampled and used for format/schema inference. */
79
+ sampledDataLocations?: string[];
80
+ /** Whether the action relates to a schema that is incompatible or modified. */
81
+ schemaChange?: string;
82
+ /** The name of the table containing invalid data. */
83
+ table?: string;
84
+ }
85
+ interface GoogleCloudDataplexV1ActionInvalidDataFormat {
86
+ /** The expected data format of the entity. */
87
+ expectedFormat?: string;
88
+ /** The new unexpected data format within the entity. */
89
+ newFormat?: string;
90
+ /** The list of data locations sampled and used for format/schema inference. */
91
+ sampledDataLocations?: string[];
92
+ }
93
+ // tslint:disable-next-line:no-empty-interface
94
+ interface GoogleCloudDataplexV1ActionInvalidDataOrganization {
95
+ }
96
+ interface GoogleCloudDataplexV1ActionInvalidDataPartition {
97
+ /** The issue type of InvalidDataPartition. */
98
+ expectedStructure?: string;
99
+ }
100
+ // tslint:disable-next-line:no-empty-interface
101
+ interface GoogleCloudDataplexV1ActionMissingData {
102
+ }
103
+ // tslint:disable-next-line:no-empty-interface
104
+ interface GoogleCloudDataplexV1ActionMissingResource {
105
+ }
106
+ // tslint:disable-next-line:no-empty-interface
107
+ interface GoogleCloudDataplexV1ActionUnauthorizedResource {
108
+ }
109
+ interface GoogleCloudDataplexV1Asset {
110
+ /** Output only. The time when the asset was created. */
111
+ createTime?: string;
112
+ /** Optional. Description of the asset. */
113
+ description?: string;
114
+ /** Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone. */
115
+ discoverySpec?: GoogleCloudDataplexV1AssetDiscoverySpec;
116
+ /** Output only. Status of the discovery feature applied to data referenced by this asset. */
117
+ discoveryStatus?: GoogleCloudDataplexV1AssetDiscoveryStatus;
118
+ /** Optional. User friendly display name. */
119
+ displayName?: string;
120
+ /** Optional. User defined labels for the asset. */
121
+ labels?: { [P in string]: string };
122
+ /** Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
123
+ name?: string;
124
+ /** Required. Specification of the resource that is referenced by this asset. */
125
+ resourceSpec?: GoogleCloudDataplexV1AssetResourceSpec;
126
+ /** Output only. Status of the resource referenced by this asset. */
127
+ resourceStatus?: GoogleCloudDataplexV1AssetResourceStatus;
128
+ /** Output only. Status of the security policy applied to resource referenced by this asset. */
129
+ securityStatus?: GoogleCloudDataplexV1AssetSecurityStatus;
130
+ /** Output only. Current state of the asset. */
131
+ state?: string;
132
+ /** Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name. */
133
+ uid?: string;
134
+ /** Output only. The time when the asset was last updated. */
135
+ updateTime?: string;
136
+ }
137
+ interface GoogleCloudDataplexV1AssetDiscoverySpec {
138
+ /** Optional. Configuration for CSV data. */
139
+ csvOptions?: GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions;
140
+ /** Optional. Whether discovery is enabled. */
141
+ enabled?: boolean;
142
+ /**
143
+ * Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object
144
+ * names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
145
+ */
146
+ excludePatterns?: string[];
147
+ /**
148
+ * Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are
149
+ * interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
150
+ */
151
+ includePatterns?: string[];
152
+ /** Optional. Configuration for Json data. */
153
+ jsonOptions?: GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions;
154
+ /**
155
+ * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default
156
+ * value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The
157
+ * ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
158
+ */
159
+ schedule?: string;
160
+ }
161
+ interface GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions {
162
+ /** Optional. The delimiter being used to separate values. This defaults to ','. */
163
+ delimiter?: string;
164
+ /** Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings. */
165
+ disableTypeInference?: boolean;
166
+ /** Optional. The character encoding of the data. The default is UTF-8. */
167
+ encoding?: string;
168
+ /** Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. */
169
+ headerRows?: number;
170
+ }
171
+ interface GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions {
172
+ /** Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). */
173
+ disableTypeInference?: boolean;
174
+ /** Optional. The character encoding of the data. The default is UTF-8. */
175
+ encoding?: string;
176
+ }
177
+ interface GoogleCloudDataplexV1AssetDiscoveryStatus {
178
+ /** The duration of the last discovery run. */
179
+ lastRunDuration?: string;
180
+ /** The start time of the last discovery run. */
181
+ lastRunTime?: string;
182
+ /** Additional information about the current state. */
183
+ message?: string;
184
+ /** The current status of the discovery feature. */
185
+ state?: string;
186
+ /** Data Stats of the asset reported by discovery. */
187
+ stats?: GoogleCloudDataplexV1AssetDiscoveryStatusStats;
188
+ /** Last update time of the status. */
189
+ updateTime?: string;
190
+ }
191
+ interface GoogleCloudDataplexV1AssetDiscoveryStatusStats {
192
+ /** The count of data items within the referenced resource. */
193
+ dataItems?: string;
194
+ /** The number of stored data bytes within the referenced resource. */
195
+ dataSize?: string;
196
+ /** The count of fileset entities within the referenced resource. */
197
+ filesets?: string;
198
+ /** The count of table entities within the referenced resource. */
199
+ tables?: string;
200
+ }
201
+ interface GoogleCloudDataplexV1AssetResourceSpec {
202
+ /**
203
+ * Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id}
204
+ * projects/{project_number}/datasets/{dataset_id}
205
+ */
206
+ name?: string;
207
+ /** Required. Immutable. Type of resource. */
208
+ type?: string;
209
+ }
210
+ interface GoogleCloudDataplexV1AssetResourceStatus {
211
+ /** Additional information about the current state. */
212
+ message?: string;
213
+ /** The current state of the managed resource. */
214
+ state?: string;
215
+ /** Last update time of the status. */
216
+ updateTime?: string;
217
+ }
218
+ interface GoogleCloudDataplexV1AssetSecurityStatus {
219
+ /** Additional information about the current state. */
220
+ message?: string;
221
+ /** The current state of the security policy applied to the attached resource. */
222
+ state?: string;
223
+ /** Last update time of the status. */
224
+ updateTime?: string;
225
+ }
226
+ interface GoogleCloudDataplexV1AssetStatus {
227
+ /** Number of active assets. */
228
+ activeAssets?: number;
229
+ /** Number of assets that are in process of updating the security policy on attached resources. */
230
+ securityPolicyApplyingAssets?: number;
231
+ /** Last update time of the status. */
232
+ updateTime?: string;
233
+ }
234
+ // tslint:disable-next-line:no-empty-interface
235
+ interface GoogleCloudDataplexV1CancelJobRequest {
236
+ }
237
+ interface GoogleCloudDataplexV1Content {
238
+ /** Output only. Content creation time. */
239
+ createTime?: string;
240
+ /** Required. Content data in string format. */
241
+ dataText?: string;
242
+ /** Optional. Description of the content. */
243
+ description?: string;
244
+ /** Optional. User defined labels for the content. */
245
+ labels?: { [P in string]: string };
246
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
247
+ name?: string;
248
+ /** Notebook related configurations. */
249
+ notebook?: GoogleCloudDataplexV1ContentNotebook;
250
+ /** Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes. */
251
+ path?: string;
252
+ /** Sql Script related configurations. */
253
+ sqlScript?: GoogleCloudDataplexV1ContentSqlScript;
254
+ /** Output only. System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name. */
255
+ uid?: string;
256
+ /** Output only. The time when the content was last updated. */
257
+ updateTime?: string;
258
+ }
259
+ interface GoogleCloudDataplexV1ContentNotebook {
260
+ /** Required. Kernel Type of the notebook. */
261
+ kernelType?: string;
262
+ }
263
+ interface GoogleCloudDataplexV1ContentSqlScript {
264
+ /** Required. Query Engine to be used for the Sql Query. */
265
+ engine?: string;
266
+ }
267
+ interface GoogleCloudDataplexV1DiscoveryEvent {
268
+ /** Details about the action associated with the event. */
269
+ action?: GoogleCloudDataplexV1DiscoveryEventActionDetails;
270
+ /** The id of the associated asset. */
271
+ assetId?: string;
272
+ /** Details about discovery configuration in effect. */
273
+ config?: GoogleCloudDataplexV1DiscoveryEventConfigDetails;
274
+ /** The data location associated with the event. */
275
+ dataLocation?: string;
276
+ /** Details about the entity associated with the event. */
277
+ entity?: GoogleCloudDataplexV1DiscoveryEventEntityDetails;
278
+ /** The id of the associated lake. */
279
+ lakeId?: string;
280
+ /** The log message. */
281
+ message?: string;
282
+ /** Details about the partition associated with the event. */
283
+ partition?: GoogleCloudDataplexV1DiscoveryEventPartitionDetails;
284
+ /** The type of the event being logged. */
285
+ type?: string;
286
+ /** The id of the associated zone. */
287
+ zoneId?: string;
288
+ }
289
+ interface GoogleCloudDataplexV1DiscoveryEventActionDetails {
290
+ /** The type of action. Eg. IncompatibleDataSchema, InvalidDataFormat */
291
+ type?: string;
292
+ }
293
+ interface GoogleCloudDataplexV1DiscoveryEventConfigDetails {
294
+ /**
295
+ * A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
296
+ * etc.
297
+ */
298
+ parameters?: { [P in string]: string };
299
+ }
300
+ interface GoogleCloudDataplexV1DiscoveryEventEntityDetails {
301
+ /** The name of the entity resource. The name is the fully-qualified resource name. */
302
+ entity?: string;
303
+ /** The type of the entity resource. */
304
+ type?: string;
305
+ }
306
+ interface GoogleCloudDataplexV1DiscoveryEventPartitionDetails {
307
+ /** The name to the containing entity resource. The name is the fully-qualified resource name. */
308
+ entity?: string;
309
+ /** The name to the partition resource. The name is the fully-qualified resource name. */
310
+ partition?: string;
311
+ /** The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference. */
312
+ sampledDataLocations?: string[];
313
+ /** The type of the containing entity resource. */
314
+ type?: string;
315
+ }
316
+ interface GoogleCloudDataplexV1Entity {
317
+ /** Required. Immutable. The ID of the asset associated with the storage location containing the entity data. The entity must be with in the same zone with the asset. */
318
+ asset?: string;
319
+ /** Output only. The name of the associated Data Catalog entry. */
320
+ catalogEntry?: string;
321
+ /** Output only. Metadata stores that the entity is compatible with. */
322
+ compatibility?: GoogleCloudDataplexV1EntityCompatibilityStatus;
323
+ /** Output only. The time when the entity was created. */
324
+ createTime?: string;
325
+ /**
326
+ * Required. Immutable. The storage path of the entity data. For Cloud Storage data, this is the fully-qualified path to the entity, such as gs://bucket/path/to/data. For BigQuery
327
+ * data, this is the name of the table resource, such as projects/project_id/datasets/dataset_id/tables/table_id.
328
+ */
329
+ dataPath?: string;
330
+ /** Optional. The set of items within the data path constituting the data in the entity, represented as a glob path. Example: gs://bucket/path/to/data/**‍/*.csv. */
331
+ dataPathPattern?: string;
332
+ /** Optional. User friendly longer description text. Must be shorter than or equal to 1024 characters. */
333
+ description?: string;
334
+ /** Optional. Display name must be shorter than or equal to 256 characters. */
335
+ displayName?: string;
336
+ /** Optional. The etag associated with the entity, which can be retrieved with a GetEntity request. Required for update and delete requests. */
337
+ etag?: string;
338
+ /** Required. Identifies the storage format of the entity data. It does not apply to entities with data stored in BigQuery. */
339
+ format?: GoogleCloudDataplexV1StorageFormat;
340
+ /**
341
+ * Required. A user-provided entity ID. It is mutable, and will be used as the published table name. Specifying a new ID in an update entity request will override the existing value.
342
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores. Must begin with a letter and consist of 256 or fewer characters.
343
+ */
344
+ id?: string;
345
+ /** Output only. The resource name of the entity, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}. */
346
+ name?: string;
347
+ /**
348
+ * Required. The description of the data structure and layout. The schema is not included in list responses. It is only included in SCHEMA and FULL entity views of a GetEntity
349
+ * response.
350
+ */
351
+ schema?: GoogleCloudDataplexV1Schema;
352
+ /** Required. Immutable. Identifies the storage system of the entity data. */
353
+ system?: string;
354
+ /** Required. Immutable. The type of entity. */
355
+ type?: string;
356
+ /** Output only. The time when the entity was last updated. */
357
+ updateTime?: string;
358
+ }
359
+ interface GoogleCloudDataplexV1EntityCompatibilityStatus {
360
+ /** Output only. Whether this entity is compatible with BigQuery. */
361
+ bigquery?: GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility;
362
+ /** Output only. Whether this entity is compatible with Hive Metastore. */
363
+ hiveMetastore?: GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility;
364
+ }
365
+ interface GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility {
366
+ /** Output only. Whether the entity is compatible and can be represented in the metadata store. */
367
+ compatible?: boolean;
368
+ /** Output only. Provides additional detail if the entity is incompatible with the metadata store. */
369
+ reason?: string;
370
+ }
371
+ interface GoogleCloudDataplexV1Environment {
372
+ /** Output only. Environment creation time. */
373
+ createTime?: string;
374
+ /** Optional. Description of the environment. */
375
+ description?: string;
376
+ /** Optional. User friendly display name. */
377
+ displayName?: string;
378
+ /** Output only. URI Endpoints to access sessions associated with the Environment. */
379
+ endpoints?: GoogleCloudDataplexV1EnvironmentEndpoints;
380
+ /** Required. Infrastructure specification for the Environment. */
381
+ infrastructureSpec?: GoogleCloudDataplexV1EnvironmentInfrastructureSpec;
382
+ /** Optional. User defined labels for the environment. */
383
+ labels?: { [P in string]: string };
384
+ /** Output only. The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} */
385
+ name?: string;
386
+ /** Optional. Configuration for sessions created for this environment. */
387
+ sessionSpec?: GoogleCloudDataplexV1EnvironmentSessionSpec;
388
+ /** Output only. Status of sessions created for this environment. */
389
+ sessionStatus?: GoogleCloudDataplexV1EnvironmentSessionStatus;
390
+ /** Output only. Current state of the environment. */
391
+ state?: string;
392
+ /** Output only. System generated globally unique ID for the environment. This ID will be different if the environment is deleted and re-created with the same name. */
393
+ uid?: string;
394
+ /** Output only. The time when the environment was last updated. */
395
+ updateTime?: string;
396
+ }
397
+ interface GoogleCloudDataplexV1EnvironmentEndpoints {
398
+ /** Output only. URI to serve notebook APIs */
399
+ notebooks?: string;
400
+ /** Output only. URI to serve SQL APIs */
401
+ sql?: string;
402
+ }
403
+ interface GoogleCloudDataplexV1EnvironmentInfrastructureSpec {
404
+ /** Optional. Compute resources needed for analyze interactive workloads. */
405
+ compute?: GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources;
406
+ /** Required. Software Runtime Configuration for analyze interactive workloads. */
407
+ osImage?: GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime;
408
+ }
409
+ interface GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources {
410
+ /** Optional. Size in GB of the disk. Default is 100 GB. */
411
+ diskSizeGb?: number;
412
+ /** Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled. */
413
+ maxNodeCount?: number;
414
+ /** Optional. Total number of nodes in the sessions created for this environment. */
415
+ nodeCount?: number;
416
+ }
417
+ interface GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime {
418
+ /** Required. Dataplex Image version. */
419
+ imageVersion?: string;
420
+ /** Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar */
421
+ javaLibraries?: string[];
422
+ /**
423
+ * Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in
424
+ * prefix:property format. The prefix must be "spark".
425
+ */
426
+ properties?: { [P in string]: string };
427
+ /** Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz */
428
+ pythonPackages?: string[];
429
+ }
430
+ interface GoogleCloudDataplexV1EnvironmentSessionSpec {
431
+ /**
432
+ * Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional
433
+ * billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.
434
+ */
435
+ enableFastStartup?: boolean;
436
+ /** Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period. */
437
+ maxIdleDuration?: string;
438
+ }
439
+ interface GoogleCloudDataplexV1EnvironmentSessionStatus {
440
+ /** Output only. Queries over sessions to mark whether the environment is currently active or not */
441
+ active?: boolean;
442
+ }
443
+ interface GoogleCloudDataplexV1Job {
444
+ /** Output only. The time when the job ended. */
445
+ endTime?: string;
446
+ /** Output only. Additional information about the current state. */
447
+ message?: string;
448
+ /** Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}. */
449
+ name?: string;
450
+ /** Output only. The number of times the job has been retried (excluding the initial attempt). */
451
+ retryCount?: number;
452
+ /** Output only. The underlying service running a job. */
453
+ service?: string;
454
+ /** Output only. The full resource name for the job run under a particular service. */
455
+ serviceJob?: string;
456
+ /** Output only. The time when the job was started. */
457
+ startTime?: string;
458
+ /** Output only. Execution state for the job. */
459
+ state?: string;
460
+ /** Output only. System generated globally unique ID for the job. */
461
+ uid?: string;
462
+ }
463
+ interface GoogleCloudDataplexV1JobEvent {
464
+ /** The time when the job ended running. */
465
+ endTime?: string;
466
+ /** The unique id identifying the job. */
467
+ jobId?: string;
468
+ /** The log message. */
469
+ message?: string;
470
+ /** The number of retries. */
471
+ retries?: number;
472
+ /** The service used to execute the job. */
473
+ service?: string;
474
+ /** The reference to the job within the service. */
475
+ serviceJob?: string;
476
+ /** The time when the job started running. */
477
+ startTime?: string;
478
+ /** The job state on completion. */
479
+ state?: string;
480
+ /** The type of the job. */
481
+ type?: string;
482
+ }
483
+ interface GoogleCloudDataplexV1Lake {
484
+ /** Output only. Aggregated status of the underlying assets of the lake. */
485
+ assetStatus?: GoogleCloudDataplexV1AssetStatus;
486
+ /** Output only. The time when the lake was created. */
487
+ createTime?: string;
488
+ /** Optional. Description of the lake. */
489
+ description?: string;
490
+ /** Optional. User friendly display name. */
491
+ displayName?: string;
492
+ /** Optional. User-defined labels for the lake. */
493
+ labels?: { [P in string]: string };
494
+ /** Optional. Settings to manage lake and Dataproc Metastore service instance association. */
495
+ metastore?: GoogleCloudDataplexV1LakeMetastore;
496
+ /** Output only. Metastore status of the lake. */
497
+ metastoreStatus?: GoogleCloudDataplexV1LakeMetastoreStatus;
498
+ /** Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
499
+ name?: string;
500
+ /** Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake. */
501
+ serviceAccount?: string;
502
+ /** Output only. Current state of the lake. */
503
+ state?: string;
504
+ /** Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name. */
505
+ uid?: string;
506
+ /** Output only. The time when the lake was last updated. */
507
+ updateTime?: string;
508
+ }
509
+ interface GoogleCloudDataplexV1LakeMetastore {
510
+ /**
511
+ * Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake:
512
+ * projects/{project_id}/locations/{location_id}/services/{service_id}
513
+ */
514
+ service?: string;
515
+ }
516
+ interface GoogleCloudDataplexV1LakeMetastoreStatus {
517
+ /** The URI of the endpoint used to access the Metastore service. */
518
+ endpoint?: string;
519
+ /** Additional information about the current status. */
520
+ message?: string;
521
+ /** Current state of association. */
522
+ state?: string;
523
+ /** Last update time of the metastore status of the lake. */
524
+ updateTime?: string;
525
+ }
526
+ interface GoogleCloudDataplexV1ListActionsResponse {
527
+ /** Actions under the given parent lake/zone/asset. */
528
+ actions?: GoogleCloudDataplexV1Action[];
529
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
530
+ nextPageToken?: string;
531
+ }
532
+ interface GoogleCloudDataplexV1ListAssetsResponse {
533
+ /** Asset under the given parent zone. */
534
+ assets?: GoogleCloudDataplexV1Asset[];
535
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
536
+ nextPageToken?: string;
537
+ }
538
+ interface GoogleCloudDataplexV1ListContentResponse {
539
+ /** Content under the given parent lake. */
540
+ content?: GoogleCloudDataplexV1Content[];
541
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
542
+ nextPageToken?: string;
543
+ }
544
+ interface GoogleCloudDataplexV1ListEntitiesResponse {
545
+ /** Entities in the specified parent zone. */
546
+ entities?: GoogleCloudDataplexV1Entity[];
547
+ /** Token to retrieve the next page of results, or empty if there are no remaining results in the list. */
548
+ nextPageToken?: string;
549
+ }
550
+ interface GoogleCloudDataplexV1ListEnvironmentsResponse {
551
+ /** Environments under the given parent lake. */
552
+ environments?: GoogleCloudDataplexV1Environment[];
553
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
554
+ nextPageToken?: string;
555
+ }
556
+ interface GoogleCloudDataplexV1ListJobsResponse {
557
+ /** Jobs under a given task. */
558
+ jobs?: GoogleCloudDataplexV1Job[];
559
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
560
+ nextPageToken?: string;
561
+ }
562
+ interface GoogleCloudDataplexV1ListLakesResponse {
563
+ /** Lakes under the given parent location. */
564
+ lakes?: GoogleCloudDataplexV1Lake[];
565
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
566
+ nextPageToken?: string;
567
+ /** Locations that could not be reached. */
568
+ unreachableLocations?: string[];
569
+ }
570
+ interface GoogleCloudDataplexV1ListPartitionsResponse {
571
+ /** Token to retrieve the next page of results, or empty if there are no remaining results in the list. */
572
+ nextPageToken?: string;
573
+ /** Partitions under the specified parent entity. */
574
+ partitions?: GoogleCloudDataplexV1Partition[];
575
+ }
576
+ interface GoogleCloudDataplexV1ListSessionsResponse {
577
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
578
+ nextPageToken?: string;
579
+ /** Sessions under a given environment. */
580
+ sessions?: GoogleCloudDataplexV1Session[];
581
+ }
582
+ interface GoogleCloudDataplexV1ListTasksResponse {
583
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
584
+ nextPageToken?: string;
585
+ /** Tasks under the given parent lake. */
586
+ tasks?: GoogleCloudDataplexV1Task[];
587
+ /** Locations that could not be reached. */
588
+ unreachableLocations?: string[];
589
+ }
590
+ interface GoogleCloudDataplexV1ListZonesResponse {
591
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
592
+ nextPageToken?: string;
593
+ /** Zones under the given parent lake. */
594
+ zones?: GoogleCloudDataplexV1Zone[];
595
+ }
596
+ interface GoogleCloudDataplexV1OperationMetadata {
597
+ /** Output only. API version used to start the operation. */
598
+ apiVersion?: string;
599
+ /** Output only. The time the operation was created. */
600
+ createTime?: string;
601
+ /** Output only. The time the operation finished running. */
602
+ endTime?: string;
603
+ /**
604
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
605
+ * google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
606
+ */
607
+ requestedCancellation?: boolean;
608
+ /** Output only. Human-readable status of the operation, if any. */
609
+ statusMessage?: string;
610
+ /** Output only. Server-defined resource path for the target of the operation. */
611
+ target?: string;
612
+ /** Output only. Name of the verb executed by the operation. */
613
+ verb?: string;
614
+ }
615
+ interface GoogleCloudDataplexV1Partition {
616
+ /** Optional. The etag for this partition. */
617
+ etag?: string;
618
+ /** Required. Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/ */
619
+ location?: string;
620
+ /**
621
+ * Output only. Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request
622
+ * URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
623
+ */
624
+ name?: string;
625
+ /** Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity. */
626
+ values?: string[];
627
+ }
628
+ interface GoogleCloudDataplexV1Schema {
629
+ /** Optional. The sequence of fields describing data in table entities. Note: BigQuery SchemaFields are immutable. */
630
+ fields?: GoogleCloudDataplexV1SchemaSchemaField[];
631
+ /** Optional. The sequence of fields describing the partition structure in entities. If this field is empty, there are no partitions within the data. */
632
+ partitionFields?: GoogleCloudDataplexV1SchemaPartitionField[];
633
+ /** Optional. The structure of paths containing partition data within the entity. */
634
+ partitionStyle?: string;
635
+ /**
636
+ * Required. Set to true if user-managed or false if managed by Dataplex. The default is false (managed by Dataplex). Set to falseto enable Dataplex discovery to update the schema.
637
+ * including new data discovery, schema inference, and schema evolution. Users retain the ability to input and edit the schema. Dataplex treats schema input by the user as though
638
+ * produced by a previous Dataplex discovery operation, and it will evolve the schema and take action based on that treatment. Set to true to fully manage the entity schema. This
639
+ * setting guarantees that Dataplex will not change schema fields.
640
+ */
641
+ userManaged?: boolean;
642
+ }
643
+ interface GoogleCloudDataplexV1SchemaPartitionField {
644
+ /** Required. Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore.. */
645
+ name?: string;
646
+ /** Required. Immutable. The type of field. */
647
+ type?: string;
648
+ }
649
+ interface GoogleCloudDataplexV1SchemaSchemaField {
650
+ /** Optional. User friendly field description. Must be less than or equal to 1024 characters. */
651
+ description?: string;
652
+ /** Optional. Any nested field for complex types. */
653
+ fields?: GoogleCloudDataplexV1SchemaSchemaField[];
654
+ /** Required. Additional field semantics. */
655
+ mode?: string;
656
+ /** Required. The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore. */
657
+ name?: string;
658
+ /** Required. The type of field. */
659
+ type?: string;
660
+ }
661
+ interface GoogleCloudDataplexV1Session {
662
+ /** Output only. Session start time. */
663
+ createTime?: string;
664
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id} */
665
+ name?: string;
666
+ state?: string;
667
+ /** Output only. Email of user running the session. */
668
+ userId?: string;
669
+ }
670
+ interface GoogleCloudDataplexV1SessionEvent {
671
+ /** The status of the event. */
672
+ eventSucceeded?: boolean;
673
+ /** The log message. */
674
+ message?: string;
675
+ /** The execution details of the query. */
676
+ query?: GoogleCloudDataplexV1SessionEventQueryDetail;
677
+ /** Unique identifier for the session. */
678
+ sessionId?: string;
679
+ /** The type of the event. */
680
+ type?: string;
681
+ /** The idle duration of a warm pooled session before it is assigned to user. */
682
+ unassignedDuration?: string;
683
+ /** The information about the user that created the session. It will be the email address of the user. */
684
+ userId?: string;
685
+ /** If the session is a warm pooled session. */
686
+ warmPoolEnabled?: boolean;
687
+ }
688
+ interface GoogleCloudDataplexV1SessionEventQueryDetail {
689
+ /** The data processed by the query. */
690
+ dataProcessedBytes?: string;
691
+ /** Time taken for execution of the query. */
692
+ duration?: string;
693
+ /** Query Execution engine. */
694
+ engine?: string;
695
+ /** The unique Query id identifying the query. */
696
+ queryId?: string;
697
+ /** The query text executed. */
698
+ queryText?: string;
699
+ /** The size of results the query produced. */
700
+ resultSizeBytes?: string;
701
+ }
702
+ interface GoogleCloudDataplexV1StorageFormat {
703
+ /** Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed. */
704
+ compressionFormat?: string;
705
+ /** Optional. Additional information about CSV formatted data. */
706
+ csv?: GoogleCloudDataplexV1StorageFormatCsvOptions;
707
+ /** Output only. The data format associated with the stored data, which represents content type values. The value is inferred from mime type. */
708
+ format?: string;
709
+ /** Optional. Additional information about CSV formatted data. */
710
+ json?: GoogleCloudDataplexV1StorageFormatJsonOptions;
711
+ /**
712
+ * Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values: application/x-parquet application/x-avro application/x-orc
713
+ * application/x-tfrecord application/json application/{subtypes} text/csv text/ image/{image subtype} video/{video subtype} audio/{audio subtype}
714
+ */
715
+ mimeType?: string;
716
+ }
717
+ interface GoogleCloudDataplexV1StorageFormatCsvOptions {
718
+ /** Optional. The delimiter used to separate values. Defaults to ','. */
719
+ delimiter?: string;
720
+ /** Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified. */
721
+ encoding?: string;
722
+ /** Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. Defaults to 0. */
723
+ headerRows?: number;
724
+ /** Optional. The character used to quote column values. Accepts '"' (double quotation mark) or ''' (single quotation mark). Defaults to '"' (double quotation mark) if unspecified. */
725
+ quote?: string;
726
+ }
727
+ interface GoogleCloudDataplexV1StorageFormatJsonOptions {
728
+ /** Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified. */
729
+ encoding?: string;
730
+ }
731
+ interface GoogleCloudDataplexV1Task {
732
+ /** Output only. The time when the task was created. */
733
+ createTime?: string;
734
+ /** Optional. Description of the task. */
735
+ description?: string;
736
+ /** Optional. User friendly display name. */
737
+ displayName?: string;
738
+ /** Required. Spec related to how a task is executed. */
739
+ executionSpec?: GoogleCloudDataplexV1TaskExecutionSpec;
740
+ /** Output only. Status of the latest task executions. */
741
+ executionStatus?: GoogleCloudDataplexV1TaskExecutionStatus;
742
+ /** Optional. User-defined labels for the task. */
743
+ labels?: { [P in string]: string };
744
+ /** Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}. */
745
+ name?: string;
746
+ /** Config related to running custom Spark tasks. */
747
+ spark?: GoogleCloudDataplexV1TaskSparkTaskConfig;
748
+ /** Output only. Current state of the task. */
749
+ state?: string;
750
+ /** Required. Spec related to how often and when a task should be triggered. */
751
+ triggerSpec?: GoogleCloudDataplexV1TaskTriggerSpec;
752
+ /** Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name. */
753
+ uid?: string;
754
+ /** Output only. The time when the task was last updated. */
755
+ updateTime?: string;
756
+ }
757
+ interface GoogleCloudDataplexV1TaskExecutionSpec {
758
+ /**
759
+ * Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the
760
+ * args to the driver. Currently supported placeholders: - ${task_id} - ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of
761
+ * all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the
762
+ * args, then TASK_ARGS will be passed as the last argument.
763
+ */
764
+ args?: { [P in string]: string };
765
+ /** Optional. The Cloud KMS key to use for encryption, of the form: projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}. */
766
+ kmsKey?: string;
767
+ /** Optional. The maximum duration after which the job execution is expired. */
768
+ maxJobExecutionLifetime?: string;
769
+ /**
770
+ * Optional. The project in which jobs are run. By default, the project containing the Lake is used. If a project is provided, the ExecutionSpec.service_account must belong to this
771
+ * project.
772
+ */
773
+ project?: string;
774
+ /** Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used. */
775
+ serviceAccount?: string;
776
+ }
777
+ interface GoogleCloudDataplexV1TaskExecutionStatus {
778
+ /** Output only. latest job execution */
779
+ latestJob?: GoogleCloudDataplexV1Job;
780
+ /** Output only. Last update time of the status. */
781
+ updateTime?: string;
782
+ }
783
+ interface GoogleCloudDataplexV1TaskInfrastructureSpec {
784
+ /** Compute resources needed for a Task when using Dataproc Serverless. */
785
+ batch?: GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources;
786
+ /** Container Image Runtime Configuration. */
787
+ containerImage?: GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime;
788
+ /** Vpc network. */
789
+ vpcNetwork?: GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork;
790
+ }
791
+ interface GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources {
792
+ /** Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2 */
793
+ executorsCount?: number;
794
+ /** Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000 */
795
+ maxExecutorsCount?: number;
796
+ }
797
+ interface GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime {
798
+ /** Optional. Container image to use. */
799
+ image?: string;
800
+ /** Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar */
801
+ javaJars?: string[];
802
+ /**
803
+ * Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in
804
+ * prefix:property format, for example core:hadoop.tmp.dir. For more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
805
+ */
806
+ properties?: { [P in string]: string };
807
+ /** Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz */
808
+ pythonPackages?: string[];
809
+ }
810
+ interface GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork {
811
+ /** Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used. */
812
+ network?: string;
813
+ /** Optional. List of network tags to apply to the job. */
814
+ networkTags?: string[];
815
+ /** Optional. The Cloud VPC sub-network in which the job is run. */
816
+ subNetwork?: string;
817
+ }
818
+ interface GoogleCloudDataplexV1TaskSparkTaskConfig {
819
+ /** Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. */
820
+ archiveUris?: string[];
821
+ /** Optional. Cloud Storage URIs of files to be placed in the working directory of each executor. */
822
+ fileUris?: string[];
823
+ /** Optional. Infrastructure specification for the execution. */
824
+ infrastructureSpec?: GoogleCloudDataplexV1TaskInfrastructureSpec;
825
+ /**
826
+ * The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. The execution args are passed in as a
827
+ * sequence of named process arguments (--key=value).
828
+ */
829
+ mainClass?: string;
830
+ /** The Cloud Storage URI of the jar file that contains the main class. The execution args are passed in as a sequence of named process arguments (--key=value). */
831
+ mainJarFileUri?: string;
832
+ /** The Gcloud Storage URI of the main Python file to use as the driver. Must be a .py file. The execution args are passed in as a sequence of named process arguments (--key=value). */
833
+ pythonScriptFile?: string;
834
+ /** The query text. The execution args are used to declare a set of script variables (set key="value";). */
835
+ sqlScript?: string;
836
+ /**
837
+ * A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script
838
+ * variables (set key="value";).
839
+ */
840
+ sqlScriptFile?: string;
841
+ }
842
+ interface GoogleCloudDataplexV1TaskTriggerSpec {
843
+ /** Optional. Prevent the task from executing. This does not cancel already running tasks. It is intended to temporarily disable RECURRING tasks. */
844
+ disabled?: boolean;
845
+ /** Optional. Number of retry attempts before aborting. Set to zero to never attempt to retry a failed task. */
846
+ maxRetries?: number;
847
+ /**
848
+ * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running tasks periodically. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab:
849
+ * "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * *
850
+ * *", or "TZ=America/New_York 1 * * * *". This field is required for RECURRING tasks.
851
+ */
852
+ schedule?: string;
853
+ /** Optional. The first run of the task will be after this time. If not specified, the task will run shortly after being submitted if ON_DEMAND and based on the schedule if RECURRING. */
854
+ startTime?: string;
855
+ /** Required. Immutable. Trigger type of the user-specified Task. */
856
+ type?: string;
857
+ }
858
+ interface GoogleCloudDataplexV1Zone {
859
+ /** Output only. Aggregated status of the underlying assets of the zone. */
860
+ assetStatus?: GoogleCloudDataplexV1AssetStatus;
861
+ /** Output only. The time when the zone was created. */
862
+ createTime?: string;
863
+ /** Optional. Description of the zone. */
864
+ description?: string;
865
+ /** Optional. Specification of the discovery feature applied to data in this zone. */
866
+ discoverySpec?: GoogleCloudDataplexV1ZoneDiscoverySpec;
867
+ /** Optional. User friendly display name. */
868
+ displayName?: string;
869
+ /** Optional. User defined labels for the zone. */
870
+ labels?: { [P in string]: string };
871
+ /** Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
872
+ name?: string;
873
+ /** Required. Specification of the resources that are referenced by the assets within this zone. */
874
+ resourceSpec?: GoogleCloudDataplexV1ZoneResourceSpec;
875
+ /** Output only. Current state of the zone. */
876
+ state?: string;
877
+ /** Required. Immutable. The type of the zone. */
878
+ type?: string;
879
+ /** Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name. */
880
+ uid?: string;
881
+ /** Output only. The time when the zone was last updated. */
882
+ updateTime?: string;
883
+ }
884
+ interface GoogleCloudDataplexV1ZoneDiscoverySpec {
885
+ /** Optional. Configuration for CSV data. */
886
+ csvOptions?: GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions;
887
+ /** Required. Whether discovery is enabled. */
888
+ enabled?: boolean;
889
+ /**
890
+ * Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object
891
+ * names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
892
+ */
893
+ excludePatterns?: string[];
894
+ /**
895
+ * Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are
896
+ * interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
897
+ */
898
+ includePatterns?: string[];
899
+ /** Optional. Configuration for Json data. */
900
+ jsonOptions?: GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions;
901
+ /**
902
+ * Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default
903
+ * value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The
904
+ * ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
905
+ */
906
+ schedule?: string;
907
+ }
908
+ interface GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions {
909
+ /** Optional. The delimiter being used to separate values. This defaults to ','. */
910
+ delimiter?: string;
911
+ /** Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings. */
912
+ disableTypeInference?: boolean;
913
+ /** Optional. The character encoding of the data. The default is UTF-8. */
914
+ encoding?: string;
915
+ /** Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. */
916
+ headerRows?: number;
917
+ }
918
+ interface GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions {
919
+ /** Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). */
920
+ disableTypeInference?: boolean;
921
+ /** Optional. The character encoding of the data. The default is UTF-8. */
922
+ encoding?: string;
923
+ }
924
+ interface GoogleCloudDataplexV1ZoneResourceSpec {
925
+ /** Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. */
926
+ locationType?: string;
927
+ }
928
+ interface GoogleCloudLocationListLocationsResponse {
929
+ /** A list of locations that matches the specified filter in the request. */
930
+ locations?: GoogleCloudLocationLocation[];
931
+ /** The standard List next-page token. */
932
+ nextPageToken?: string;
933
+ }
934
+ interface GoogleCloudLocationLocation {
935
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
936
+ displayName?: string;
937
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
938
+ labels?: { [P in string]: string };
939
+ /** The canonical id for this location. For example: "us-east1". */
940
+ locationId?: string;
941
+ /** Service-specific metadata. For example the available capacity at the given location. */
942
+ metadata?: { [P in string]: any };
943
+ /** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */
944
+ name?: string;
945
+ }
946
+ interface GoogleIamV1AuditConfig {
947
+ /** The configuration for logging of each type of permission. */
948
+ auditLogConfigs?: GoogleIamV1AuditLogConfig[];
949
+ /** Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. */
950
+ service?: string;
951
+ }
952
+ interface GoogleIamV1AuditLogConfig {
953
+ /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
954
+ exemptedMembers?: string[];
955
+ /** The log type that this config enables. */
956
+ logType?: string;
957
+ }
958
+ interface GoogleIamV1Binding {
959
+ /**
960
+ * The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then
961
+ * this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which
962
+ * resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
963
+ */
964
+ condition?: GoogleTypeExpr;
965
+ /**
966
+ * Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the
967
+ * internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
968
+ * user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a service
969
+ * account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
970
+ * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
971
+ * alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding.
972
+ * deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
973
+ * my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service
974
+ * account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently
975
+ * deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the
976
+ * binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.
977
+ */
978
+ members?: string[];
979
+ /** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
980
+ role?: string;
981
+ }
982
+ interface GoogleIamV1Policy {
983
+ /** Specifies cloud audit logging configuration for this policy. */
984
+ auditConfigs?: GoogleIamV1AuditConfig[];
985
+ /**
986
+ * Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must
987
+ * contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal
988
+ * counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450
989
+ * principals to the bindings in the Policy.
990
+ */
991
+ bindings?: GoogleIamV1Binding[];
992
+ /**
993
+ * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use
994
+ * of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected
995
+ * to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include
996
+ * the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the
997
+ * version 3 policy are lost.
998
+ */
999
+ etag?: string;
1000
+ /**
1001
+ * Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must
1002
+ * specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy
1003
+ * Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions,
1004
+ * you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the
1005
+ * conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn
1006
+ * which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
1007
+ */
1008
+ version?: number;
1009
+ }
1010
+ interface GoogleIamV1SetIamPolicyRequest {
1011
+ /**
1012
+ * REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
1013
+ * services (such as Projects) might reject them.
1014
+ */
1015
+ policy?: GoogleIamV1Policy;
1016
+ /**
1017
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is
1018
+ * used:paths: "bindings, etag"
1019
+ */
1020
+ updateMask?: string;
1021
+ }
1022
+ interface GoogleIamV1TestIamPermissionsRequest {
1023
+ /**
1024
+ * The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview
1025
+ * (https://cloud.google.com/iam/docs/overview#permissions).
1026
+ */
1027
+ permissions?: string[];
1028
+ }
1029
+ interface GoogleIamV1TestIamPermissionsResponse {
1030
+ /** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
1031
+ permissions?: string[];
1032
+ }
1033
+ // tslint:disable-next-line:no-empty-interface
1034
+ interface GoogleLongrunningCancelOperationRequest {
1035
+ }
1036
+ interface GoogleLongrunningListOperationsResponse {
1037
+ /** The standard List next-page token. */
1038
+ nextPageToken?: string;
1039
+ /** A list of operations that matches the specified filter in the request. */
1040
+ operations?: GoogleLongrunningOperation[];
1041
+ }
1042
+ interface GoogleLongrunningOperation {
1043
+ /** 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. */
1044
+ done?: boolean;
1045
+ /** The error result of the operation in case of failure or cancellation. */
1046
+ error?: GoogleRpcStatus;
1047
+ /**
1048
+ * 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
1049
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
1050
+ */
1051
+ metadata?: { [P in string]: any };
1052
+ /**
1053
+ * 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
1054
+ * with operations/{unique_id}.
1055
+ */
1056
+ name?: string;
1057
+ /**
1058
+ * 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 original
1059
+ * 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 original method name.
1060
+ * For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
1061
+ */
1062
+ response?: { [P in string]: any };
1063
+ }
1064
+ interface GoogleRpcStatus {
1065
+ /** The status code, which should be an enum value of google.rpc.Code. */
1066
+ code?: number;
1067
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1068
+ details?: Array<{ [P in string]: any }>;
1069
+ /**
1070
+ * 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
1071
+ * client.
1072
+ */
1073
+ message?: string;
1074
+ }
1075
+ interface GoogleTypeExpr {
1076
+ /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
1077
+ description?: string;
1078
+ /** Textual representation of an expression in Common Expression Language syntax. */
1079
+ expression?: string;
1080
+ /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
1081
+ location?: string;
1082
+ /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
1083
+ title?: string;
1084
+ }
1085
+ interface ActionsResource {
1086
+ /** Lists action resources in a lake. */
1087
+ list(request?: {
1088
+ /** V1 error format. */
1089
+ "$.xgafv"?: string;
1090
+ /** OAuth access token. */
1091
+ access_token?: string;
1092
+ /** Data format for response. */
1093
+ alt?: string;
1094
+ /** JSONP */
1095
+ callback?: string;
1096
+ /** Selector specifying which fields to include in a partial response. */
1097
+ fields?: string;
1098
+ /** 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. */
1099
+ key?: string;
1100
+ /** OAuth 2.0 token for the current user. */
1101
+ oauth_token?: string;
1102
+ /**
1103
+ * Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000;
1104
+ * values above 1000 will be coerced to 1000.
1105
+ */
1106
+ pageSize?: number;
1107
+ /**
1108
+ * Optional. Page token received from a previous ListLakeActions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1109
+ * ListLakeActions must match the call that provided the page token.
1110
+ */
1111
+ pageToken?: string;
1112
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
1113
+ parent: string;
1114
+ /** Returns response with indentations and line breaks. */
1115
+ prettyPrint?: boolean;
1116
+ /** 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. */
1117
+ quotaUser?: string;
1118
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1119
+ upload_protocol?: string;
1120
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1121
+ uploadType?: string;
1122
+ }): Request<GoogleCloudDataplexV1ListActionsResponse>;
1123
+ }
1124
+ interface ContentResource {
1125
+ /** Create a content. */
1126
+ create(request: {
1127
+ /** V1 error format. */
1128
+ "$.xgafv"?: string;
1129
+ /** OAuth access token. */
1130
+ access_token?: string;
1131
+ /** Data format for response. */
1132
+ alt?: string;
1133
+ /** JSONP */
1134
+ callback?: string;
1135
+ /** Selector specifying which fields to include in a partial response. */
1136
+ fields?: string;
1137
+ /** 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. */
1138
+ key?: string;
1139
+ /** OAuth 2.0 token for the current user. */
1140
+ oauth_token?: string;
1141
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1142
+ parent: string;
1143
+ /** Returns response with indentations and line breaks. */
1144
+ prettyPrint?: boolean;
1145
+ /** 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. */
1146
+ quotaUser?: string;
1147
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1148
+ upload_protocol?: string;
1149
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1150
+ uploadType?: string;
1151
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1152
+ validateOnly?: boolean;
1153
+ /** Request body */
1154
+ resource: GoogleCloudDataplexV1Content;
1155
+ }): Request<GoogleCloudDataplexV1Content>;
1156
+ create(request: {
1157
+ /** V1 error format. */
1158
+ "$.xgafv"?: string;
1159
+ /** OAuth access token. */
1160
+ access_token?: string;
1161
+ /** Data format for response. */
1162
+ alt?: string;
1163
+ /** JSONP */
1164
+ callback?: string;
1165
+ /** Selector specifying which fields to include in a partial response. */
1166
+ fields?: string;
1167
+ /** 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. */
1168
+ key?: string;
1169
+ /** OAuth 2.0 token for the current user. */
1170
+ oauth_token?: string;
1171
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1172
+ parent: string;
1173
+ /** Returns response with indentations and line breaks. */
1174
+ prettyPrint?: boolean;
1175
+ /** 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. */
1176
+ quotaUser?: string;
1177
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1178
+ upload_protocol?: string;
1179
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1180
+ uploadType?: string;
1181
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1182
+ validateOnly?: boolean;
1183
+ },
1184
+ body: GoogleCloudDataplexV1Content): Request<GoogleCloudDataplexV1Content>;
1185
+ /** Delete a content. */
1186
+ delete(request?: {
1187
+ /** V1 error format. */
1188
+ "$.xgafv"?: string;
1189
+ /** OAuth access token. */
1190
+ access_token?: string;
1191
+ /** Data format for response. */
1192
+ alt?: string;
1193
+ /** JSONP */
1194
+ callback?: string;
1195
+ /** Selector specifying which fields to include in a partial response. */
1196
+ fields?: string;
1197
+ /** 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. */
1198
+ key?: string;
1199
+ /** Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1200
+ name: string;
1201
+ /** OAuth 2.0 token for the current user. */
1202
+ oauth_token?: string;
1203
+ /** Returns response with indentations and line breaks. */
1204
+ prettyPrint?: boolean;
1205
+ /** 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. */
1206
+ quotaUser?: string;
1207
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1208
+ upload_protocol?: string;
1209
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1210
+ uploadType?: string;
1211
+ }): Request<{}>;
1212
+ /** Get a content resource. */
1213
+ get(request?: {
1214
+ /** V1 error format. */
1215
+ "$.xgafv"?: string;
1216
+ /** OAuth access token. */
1217
+ access_token?: string;
1218
+ /** Data format for response. */
1219
+ alt?: string;
1220
+ /** JSONP */
1221
+ callback?: string;
1222
+ /** Selector specifying which fields to include in a partial response. */
1223
+ fields?: string;
1224
+ /** 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. */
1225
+ key?: string;
1226
+ /** Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1227
+ name: string;
1228
+ /** OAuth 2.0 token for the current user. */
1229
+ oauth_token?: string;
1230
+ /** Returns response with indentations and line breaks. */
1231
+ prettyPrint?: boolean;
1232
+ /** 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. */
1233
+ quotaUser?: string;
1234
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1235
+ upload_protocol?: string;
1236
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1237
+ uploadType?: string;
1238
+ /** Optional. Specify content view to make a partial request. */
1239
+ view?: string;
1240
+ }): Request<GoogleCloudDataplexV1Content>;
1241
+ /**
1242
+ * Gets the access control policy for a contentitem resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does
1243
+ * not have a policy set on it.Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource.
1244
+ */
1245
+ getIamPolicy(request?: {
1246
+ /** V1 error format. */
1247
+ "$.xgafv"?: string;
1248
+ /** OAuth access token. */
1249
+ access_token?: string;
1250
+ /** Data format for response. */
1251
+ alt?: string;
1252
+ /** JSONP */
1253
+ callback?: string;
1254
+ /** Selector specifying which fields to include in a partial response. */
1255
+ fields?: string;
1256
+ /** 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. */
1257
+ key?: string;
1258
+ /** OAuth 2.0 token for the current user. */
1259
+ oauth_token?: string;
1260
+ /**
1261
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
1262
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
1263
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1264
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
1265
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
1266
+ */
1267
+ "options.requestedPolicyVersion"?: number;
1268
+ /** Returns response with indentations and line breaks. */
1269
+ prettyPrint?: boolean;
1270
+ /** 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. */
1271
+ quotaUser?: string;
1272
+ /**
1273
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1274
+ * field.
1275
+ */
1276
+ resource: string;
1277
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1278
+ upload_protocol?: string;
1279
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1280
+ uploadType?: string;
1281
+ }): Request<GoogleIamV1Policy>;
1282
+ /** List content. */
1283
+ list(request?: {
1284
+ /** V1 error format. */
1285
+ "$.xgafv"?: string;
1286
+ /** OAuth access token. */
1287
+ access_token?: string;
1288
+ /** Data format for response. */
1289
+ alt?: string;
1290
+ /** JSONP */
1291
+ callback?: string;
1292
+ /** Selector specifying which fields to include in a partial response. */
1293
+ fields?: string;
1294
+ /**
1295
+ * Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = "value1" labels:key1 type = "NOTEBOOK" type = "SQL_SCRIPT"These
1296
+ * restrictions can be coinjoined with AND, OR and NOT conjunctions.
1297
+ */
1298
+ filter?: string;
1299
+ /** 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. */
1300
+ key?: string;
1301
+ /** OAuth 2.0 token for the current user. */
1302
+ oauth_token?: string;
1303
+ /**
1304
+ * Optional. Maximum number of content to return. The service may return fewer than this value. If unspecified, at most 10 content will be returned. The maximum value is 1000;
1305
+ * values above 1000 will be coerced to 1000.
1306
+ */
1307
+ pageSize?: number;
1308
+ /**
1309
+ * Optional. Page token received from a previous ListContent call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListContent must
1310
+ * match the call that provided the page token.
1311
+ */
1312
+ pageToken?: string;
1313
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1314
+ parent: string;
1315
+ /** Returns response with indentations and line breaks. */
1316
+ prettyPrint?: boolean;
1317
+ /** 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. */
1318
+ quotaUser?: string;
1319
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1320
+ upload_protocol?: string;
1321
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1322
+ uploadType?: string;
1323
+ }): Request<GoogleCloudDataplexV1ListContentResponse>;
1324
+ /** Update a content. Only supports full resource update. */
1325
+ patch(request: {
1326
+ /** V1 error format. */
1327
+ "$.xgafv"?: string;
1328
+ /** OAuth access token. */
1329
+ access_token?: string;
1330
+ /** Data format for response. */
1331
+ alt?: string;
1332
+ /** JSONP */
1333
+ callback?: string;
1334
+ /** Selector specifying which fields to include in a partial response. */
1335
+ fields?: string;
1336
+ /** 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. */
1337
+ key?: string;
1338
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1339
+ name: string;
1340
+ /** OAuth 2.0 token for the current user. */
1341
+ oauth_token?: string;
1342
+ /** Returns response with indentations and line breaks. */
1343
+ prettyPrint?: boolean;
1344
+ /** 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. */
1345
+ quotaUser?: string;
1346
+ /** Required. Mask of fields to update. */
1347
+ updateMask?: string;
1348
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1349
+ upload_protocol?: string;
1350
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1351
+ uploadType?: string;
1352
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1353
+ validateOnly?: boolean;
1354
+ /** Request body */
1355
+ resource: GoogleCloudDataplexV1Content;
1356
+ }): Request<GoogleCloudDataplexV1Content>;
1357
+ patch(request: {
1358
+ /** V1 error format. */
1359
+ "$.xgafv"?: string;
1360
+ /** OAuth access token. */
1361
+ access_token?: string;
1362
+ /** Data format for response. */
1363
+ alt?: string;
1364
+ /** JSONP */
1365
+ callback?: string;
1366
+ /** Selector specifying which fields to include in a partial response. */
1367
+ fields?: string;
1368
+ /** 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. */
1369
+ key?: string;
1370
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1371
+ name: string;
1372
+ /** OAuth 2.0 token for the current user. */
1373
+ oauth_token?: string;
1374
+ /** Returns response with indentations and line breaks. */
1375
+ prettyPrint?: boolean;
1376
+ /** 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. */
1377
+ quotaUser?: string;
1378
+ /** Required. Mask of fields to update. */
1379
+ updateMask?: string;
1380
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1381
+ upload_protocol?: string;
1382
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1383
+ uploadType?: string;
1384
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1385
+ validateOnly?: boolean;
1386
+ },
1387
+ body: GoogleCloudDataplexV1Content): Request<GoogleCloudDataplexV1Content>;
1388
+ /**
1389
+ * Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the
1390
+ * resource.
1391
+ */
1392
+ setIamPolicy(request: {
1393
+ /** V1 error format. */
1394
+ "$.xgafv"?: string;
1395
+ /** OAuth access token. */
1396
+ access_token?: string;
1397
+ /** Data format for response. */
1398
+ alt?: string;
1399
+ /** JSONP */
1400
+ callback?: string;
1401
+ /** Selector specifying which fields to include in a partial response. */
1402
+ fields?: string;
1403
+ /** 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. */
1404
+ key?: string;
1405
+ /** OAuth 2.0 token for the current user. */
1406
+ oauth_token?: string;
1407
+ /** Returns response with indentations and line breaks. */
1408
+ prettyPrint?: boolean;
1409
+ /** 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. */
1410
+ quotaUser?: string;
1411
+ /**
1412
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1413
+ * field.
1414
+ */
1415
+ resource: string;
1416
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1417
+ upload_protocol?: string;
1418
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1419
+ uploadType?: string;
1420
+ },
1421
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
1422
+ /**
1423
+ * Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (a NOT_FOUND error is not returned).A caller is not required
1424
+ * to have Google IAM permission to make this request.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization
1425
+ * checking. This operation may "fail open" without warning.
1426
+ */
1427
+ testIamPermissions(request: {
1428
+ /** V1 error format. */
1429
+ "$.xgafv"?: string;
1430
+ /** OAuth access token. */
1431
+ access_token?: string;
1432
+ /** Data format for response. */
1433
+ alt?: string;
1434
+ /** JSONP */
1435
+ callback?: string;
1436
+ /** Selector specifying which fields to include in a partial response. */
1437
+ fields?: string;
1438
+ /** 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. */
1439
+ key?: string;
1440
+ /** OAuth 2.0 token for the current user. */
1441
+ oauth_token?: string;
1442
+ /** Returns response with indentations and line breaks. */
1443
+ prettyPrint?: boolean;
1444
+ /** 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. */
1445
+ quotaUser?: string;
1446
+ /**
1447
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1448
+ * this field.
1449
+ */
1450
+ resource: string;
1451
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1452
+ upload_protocol?: string;
1453
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1454
+ uploadType?: string;
1455
+ },
1456
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
1457
+ }
1458
+ interface ContentitemsResource {
1459
+ /** Create a content. */
1460
+ create(request: {
1461
+ /** V1 error format. */
1462
+ "$.xgafv"?: string;
1463
+ /** OAuth access token. */
1464
+ access_token?: string;
1465
+ /** Data format for response. */
1466
+ alt?: string;
1467
+ /** JSONP */
1468
+ callback?: string;
1469
+ /** Selector specifying which fields to include in a partial response. */
1470
+ fields?: string;
1471
+ /** 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. */
1472
+ key?: string;
1473
+ /** OAuth 2.0 token for the current user. */
1474
+ oauth_token?: string;
1475
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1476
+ parent: string;
1477
+ /** Returns response with indentations and line breaks. */
1478
+ prettyPrint?: boolean;
1479
+ /** 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. */
1480
+ quotaUser?: string;
1481
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1482
+ upload_protocol?: string;
1483
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1484
+ uploadType?: string;
1485
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1486
+ validateOnly?: boolean;
1487
+ /** Request body */
1488
+ resource: GoogleCloudDataplexV1Content;
1489
+ }): Request<GoogleCloudDataplexV1Content>;
1490
+ create(request: {
1491
+ /** V1 error format. */
1492
+ "$.xgafv"?: string;
1493
+ /** OAuth access token. */
1494
+ access_token?: string;
1495
+ /** Data format for response. */
1496
+ alt?: string;
1497
+ /** JSONP */
1498
+ callback?: string;
1499
+ /** Selector specifying which fields to include in a partial response. */
1500
+ fields?: string;
1501
+ /** 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. */
1502
+ key?: string;
1503
+ /** OAuth 2.0 token for the current user. */
1504
+ oauth_token?: string;
1505
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1506
+ parent: string;
1507
+ /** Returns response with indentations and line breaks. */
1508
+ prettyPrint?: boolean;
1509
+ /** 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. */
1510
+ quotaUser?: string;
1511
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1512
+ upload_protocol?: string;
1513
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1514
+ uploadType?: string;
1515
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1516
+ validateOnly?: boolean;
1517
+ },
1518
+ body: GoogleCloudDataplexV1Content): Request<GoogleCloudDataplexV1Content>;
1519
+ /** Delete a content. */
1520
+ delete(request?: {
1521
+ /** V1 error format. */
1522
+ "$.xgafv"?: string;
1523
+ /** OAuth access token. */
1524
+ access_token?: string;
1525
+ /** Data format for response. */
1526
+ alt?: string;
1527
+ /** JSONP */
1528
+ callback?: string;
1529
+ /** Selector specifying which fields to include in a partial response. */
1530
+ fields?: string;
1531
+ /** 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. */
1532
+ key?: string;
1533
+ /** Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1534
+ name: string;
1535
+ /** OAuth 2.0 token for the current user. */
1536
+ oauth_token?: string;
1537
+ /** Returns response with indentations and line breaks. */
1538
+ prettyPrint?: boolean;
1539
+ /** 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. */
1540
+ quotaUser?: string;
1541
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1542
+ upload_protocol?: string;
1543
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1544
+ uploadType?: string;
1545
+ }): Request<{}>;
1546
+ /** Get a content resource. */
1547
+ get(request?: {
1548
+ /** V1 error format. */
1549
+ "$.xgafv"?: string;
1550
+ /** OAuth access token. */
1551
+ access_token?: string;
1552
+ /** Data format for response. */
1553
+ alt?: string;
1554
+ /** JSONP */
1555
+ callback?: string;
1556
+ /** Selector specifying which fields to include in a partial response. */
1557
+ fields?: string;
1558
+ /** 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. */
1559
+ key?: string;
1560
+ /** Required. The resource name of the content: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1561
+ name: string;
1562
+ /** OAuth 2.0 token for the current user. */
1563
+ oauth_token?: string;
1564
+ /** Returns response with indentations and line breaks. */
1565
+ prettyPrint?: boolean;
1566
+ /** 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. */
1567
+ quotaUser?: 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. Specify content view to make a partial request. */
1573
+ view?: string;
1574
+ }): Request<GoogleCloudDataplexV1Content>;
1575
+ /**
1576
+ * Gets the access control policy for a contentitem resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does
1577
+ * not have a policy set on it.Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource.
1578
+ */
1579
+ getIamPolicy(request?: {
1580
+ /** V1 error format. */
1581
+ "$.xgafv"?: string;
1582
+ /** OAuth access token. */
1583
+ access_token?: string;
1584
+ /** Data format for response. */
1585
+ alt?: string;
1586
+ /** JSONP */
1587
+ callback?: string;
1588
+ /** Selector specifying which fields to include in a partial response. */
1589
+ fields?: string;
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
+ /**
1595
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
1596
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
1597
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1598
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
1599
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
1600
+ */
1601
+ "options.requestedPolicyVersion"?: number;
1602
+ /** Returns response with indentations and line breaks. */
1603
+ prettyPrint?: boolean;
1604
+ /** 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. */
1605
+ quotaUser?: string;
1606
+ /**
1607
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1608
+ * field.
1609
+ */
1610
+ resource: string;
1611
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1612
+ upload_protocol?: string;
1613
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1614
+ uploadType?: string;
1615
+ }): Request<GoogleIamV1Policy>;
1616
+ /** List content. */
1617
+ list(request?: {
1618
+ /** V1 error format. */
1619
+ "$.xgafv"?: string;
1620
+ /** OAuth access token. */
1621
+ access_token?: string;
1622
+ /** Data format for response. */
1623
+ alt?: string;
1624
+ /** JSONP */
1625
+ callback?: string;
1626
+ /** Selector specifying which fields to include in a partial response. */
1627
+ fields?: string;
1628
+ /**
1629
+ * Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = "value1" labels:key1 type = "NOTEBOOK" type = "SQL_SCRIPT"These
1630
+ * restrictions can be coinjoined with AND, OR and NOT conjunctions.
1631
+ */
1632
+ filter?: string;
1633
+ /** 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. */
1634
+ key?: string;
1635
+ /** OAuth 2.0 token for the current user. */
1636
+ oauth_token?: string;
1637
+ /**
1638
+ * Optional. Maximum number of content to return. The service may return fewer than this value. If unspecified, at most 10 content will be returned. The maximum value is 1000;
1639
+ * values above 1000 will be coerced to 1000.
1640
+ */
1641
+ pageSize?: number;
1642
+ /**
1643
+ * Optional. Page token received from a previous ListContent call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListContent must
1644
+ * match the call that provided the page token.
1645
+ */
1646
+ pageToken?: string;
1647
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id} */
1648
+ parent: string;
1649
+ /** Returns response with indentations and line breaks. */
1650
+ prettyPrint?: boolean;
1651
+ /** 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. */
1652
+ quotaUser?: string;
1653
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1654
+ upload_protocol?: string;
1655
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1656
+ uploadType?: string;
1657
+ }): Request<GoogleCloudDataplexV1ListContentResponse>;
1658
+ /** Update a content. Only supports full resource update. */
1659
+ patch(request: {
1660
+ /** V1 error format. */
1661
+ "$.xgafv"?: string;
1662
+ /** OAuth access token. */
1663
+ access_token?: string;
1664
+ /** Data format for response. */
1665
+ alt?: string;
1666
+ /** JSONP */
1667
+ callback?: string;
1668
+ /** Selector specifying which fields to include in a partial response. */
1669
+ fields?: string;
1670
+ /** 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. */
1671
+ key?: string;
1672
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1673
+ name: string;
1674
+ /** OAuth 2.0 token for the current user. */
1675
+ oauth_token?: string;
1676
+ /** Returns response with indentations and line breaks. */
1677
+ prettyPrint?: boolean;
1678
+ /** 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. */
1679
+ quotaUser?: string;
1680
+ /** Required. Mask of fields to update. */
1681
+ updateMask?: string;
1682
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1683
+ upload_protocol?: string;
1684
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1685
+ uploadType?: string;
1686
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1687
+ validateOnly?: boolean;
1688
+ /** Request body */
1689
+ resource: GoogleCloudDataplexV1Content;
1690
+ }): Request<GoogleCloudDataplexV1Content>;
1691
+ patch(request: {
1692
+ /** V1 error format. */
1693
+ "$.xgafv"?: string;
1694
+ /** OAuth access token. */
1695
+ access_token?: string;
1696
+ /** Data format for response. */
1697
+ alt?: string;
1698
+ /** JSONP */
1699
+ callback?: string;
1700
+ /** Selector specifying which fields to include in a partial response. */
1701
+ fields?: string;
1702
+ /** 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. */
1703
+ key?: string;
1704
+ /** Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} */
1705
+ name: string;
1706
+ /** OAuth 2.0 token for the current user. */
1707
+ oauth_token?: string;
1708
+ /** Returns response with indentations and line breaks. */
1709
+ prettyPrint?: boolean;
1710
+ /** 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. */
1711
+ quotaUser?: string;
1712
+ /** Required. Mask of fields to update. */
1713
+ updateMask?: string;
1714
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1715
+ upload_protocol?: string;
1716
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1717
+ uploadType?: string;
1718
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1719
+ validateOnly?: boolean;
1720
+ },
1721
+ body: GoogleCloudDataplexV1Content): Request<GoogleCloudDataplexV1Content>;
1722
+ /**
1723
+ * Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the
1724
+ * resource.
1725
+ */
1726
+ setIamPolicy(request: {
1727
+ /** V1 error format. */
1728
+ "$.xgafv"?: string;
1729
+ /** OAuth access token. */
1730
+ access_token?: string;
1731
+ /** Data format for response. */
1732
+ alt?: string;
1733
+ /** JSONP */
1734
+ callback?: string;
1735
+ /** Selector specifying which fields to include in a partial response. */
1736
+ fields?: string;
1737
+ /** 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. */
1738
+ key?: string;
1739
+ /** OAuth 2.0 token for the current user. */
1740
+ oauth_token?: string;
1741
+ /** Returns response with indentations and line breaks. */
1742
+ prettyPrint?: boolean;
1743
+ /** 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. */
1744
+ quotaUser?: string;
1745
+ /**
1746
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1747
+ * field.
1748
+ */
1749
+ resource: string;
1750
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1751
+ upload_protocol?: string;
1752
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1753
+ uploadType?: string;
1754
+ },
1755
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
1756
+ /**
1757
+ * Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (a NOT_FOUND error is not returned).A caller is not required
1758
+ * to have Google IAM permission to make this request.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization
1759
+ * checking. This operation may "fail open" without warning.
1760
+ */
1761
+ testIamPermissions(request: {
1762
+ /** V1 error format. */
1763
+ "$.xgafv"?: string;
1764
+ /** OAuth access token. */
1765
+ access_token?: string;
1766
+ /** Data format for response. */
1767
+ alt?: string;
1768
+ /** JSONP */
1769
+ callback?: string;
1770
+ /** Selector specifying which fields to include in a partial response. */
1771
+ fields?: string;
1772
+ /** 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. */
1773
+ key?: string;
1774
+ /** OAuth 2.0 token for the current user. */
1775
+ oauth_token?: string;
1776
+ /** Returns response with indentations and line breaks. */
1777
+ prettyPrint?: boolean;
1778
+ /** 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. */
1779
+ quotaUser?: string;
1780
+ /**
1781
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1782
+ * this field.
1783
+ */
1784
+ resource: string;
1785
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1786
+ upload_protocol?: string;
1787
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1788
+ uploadType?: string;
1789
+ },
1790
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
1791
+ }
1792
+ interface SessionsResource {
1793
+ /** Lists session resources in an environment. */
1794
+ list(request?: {
1795
+ /** V1 error format. */
1796
+ "$.xgafv"?: string;
1797
+ /** OAuth access token. */
1798
+ access_token?: string;
1799
+ /** Data format for response. */
1800
+ alt?: string;
1801
+ /** JSONP */
1802
+ callback?: string;
1803
+ /** Selector specifying which fields to include in a partial response. */
1804
+ fields?: string;
1805
+ /**
1806
+ * Optional. Filter request. The following mode filter is supported to return only the sessions belonging to the requester when the mode is USER and return sessions of all the
1807
+ * users when the mode is ADMIN. When no filter is sent default to USER mode. NOTE: When the mode is ADMIN, the requester should have dataplex.environments.listAllSessions
1808
+ * permission to list all sessions, in absence of the permission, the request fails.mode = ADMIN | USER
1809
+ */
1810
+ filter?: string;
1811
+ /** 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. */
1812
+ key?: string;
1813
+ /** OAuth 2.0 token for the current user. */
1814
+ oauth_token?: string;
1815
+ /**
1816
+ * Optional. Maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 10 sessions will be returned. The maximum value is 1000;
1817
+ * values above 1000 will be coerced to 1000.
1818
+ */
1819
+ pageSize?: number;
1820
+ /**
1821
+ * Optional. Page token received from a previous ListSessions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListSessions
1822
+ * must match the call that provided the page token.
1823
+ */
1824
+ pageToken?: string;
1825
+ /** Required. The resource name of the parent environment: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}. */
1826
+ parent: string;
1827
+ /** Returns response with indentations and line breaks. */
1828
+ prettyPrint?: boolean;
1829
+ /** 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. */
1830
+ quotaUser?: string;
1831
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1832
+ upload_protocol?: string;
1833
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1834
+ uploadType?: string;
1835
+ }): Request<GoogleCloudDataplexV1ListSessionsResponse>;
1836
+ }
1837
+ interface EnvironmentsResource {
1838
+ /** Create an environment resource. */
1839
+ create(request: {
1840
+ /** V1 error format. */
1841
+ "$.xgafv"?: string;
1842
+ /** OAuth access token. */
1843
+ access_token?: string;
1844
+ /** Data format for response. */
1845
+ alt?: string;
1846
+ /** JSONP */
1847
+ callback?: string;
1848
+ /**
1849
+ * Required. Environment identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a
1850
+ * number or a letter. * Must be unique within the lake.
1851
+ */
1852
+ environmentId?: string;
1853
+ /** Selector specifying which fields to include in a partial response. */
1854
+ fields?: string;
1855
+ /** 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. */
1856
+ key?: string;
1857
+ /** OAuth 2.0 token for the current user. */
1858
+ oauth_token?: string;
1859
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}. */
1860
+ parent: string;
1861
+ /** Returns response with indentations and line breaks. */
1862
+ prettyPrint?: boolean;
1863
+ /** 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. */
1864
+ quotaUser?: string;
1865
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1866
+ upload_protocol?: string;
1867
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1868
+ uploadType?: string;
1869
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1870
+ validateOnly?: boolean;
1871
+ /** Request body */
1872
+ resource: GoogleCloudDataplexV1Environment;
1873
+ }): Request<GoogleLongrunningOperation>;
1874
+ create(request: {
1875
+ /** V1 error format. */
1876
+ "$.xgafv"?: string;
1877
+ /** OAuth access token. */
1878
+ access_token?: string;
1879
+ /** Data format for response. */
1880
+ alt?: string;
1881
+ /** JSONP */
1882
+ callback?: string;
1883
+ /**
1884
+ * Required. Environment identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a
1885
+ * number or a letter. * Must be unique within the lake.
1886
+ */
1887
+ environmentId?: string;
1888
+ /** Selector specifying which fields to include in a partial response. */
1889
+ fields?: string;
1890
+ /** 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. */
1891
+ key?: string;
1892
+ /** OAuth 2.0 token for the current user. */
1893
+ oauth_token?: string;
1894
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}. */
1895
+ parent: string;
1896
+ /** Returns response with indentations and line breaks. */
1897
+ prettyPrint?: boolean;
1898
+ /** 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. */
1899
+ quotaUser?: string;
1900
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1901
+ upload_protocol?: string;
1902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1903
+ uploadType?: string;
1904
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
1905
+ validateOnly?: boolean;
1906
+ },
1907
+ body: GoogleCloudDataplexV1Environment): Request<GoogleLongrunningOperation>;
1908
+ /** Delete the environment resource. All the child resources must have been deleted before environment deletion can be initiated. */
1909
+ delete(request?: {
1910
+ /** V1 error format. */
1911
+ "$.xgafv"?: string;
1912
+ /** OAuth access token. */
1913
+ access_token?: string;
1914
+ /** Data format for response. */
1915
+ alt?: string;
1916
+ /** JSONP */
1917
+ callback?: string;
1918
+ /** Selector specifying which fields to include in a partial response. */
1919
+ fields?: string;
1920
+ /** 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. */
1921
+ key?: string;
1922
+ /** Required. The resource name of the environment: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}. */
1923
+ name: string;
1924
+ /** OAuth 2.0 token for the current user. */
1925
+ oauth_token?: string;
1926
+ /** Returns response with indentations and line breaks. */
1927
+ prettyPrint?: boolean;
1928
+ /** 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. */
1929
+ quotaUser?: string;
1930
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1931
+ upload_protocol?: string;
1932
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1933
+ uploadType?: string;
1934
+ }): Request<GoogleLongrunningOperation>;
1935
+ /** Get environment resource. */
1936
+ get(request?: {
1937
+ /** V1 error format. */
1938
+ "$.xgafv"?: string;
1939
+ /** OAuth access token. */
1940
+ access_token?: string;
1941
+ /** Data format for response. */
1942
+ alt?: string;
1943
+ /** JSONP */
1944
+ callback?: string;
1945
+ /** Selector specifying which fields to include in a partial response. */
1946
+ fields?: string;
1947
+ /** 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. */
1948
+ key?: string;
1949
+ /** Required. The resource name of the environment: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}. */
1950
+ name: string;
1951
+ /** OAuth 2.0 token for the current user. */
1952
+ oauth_token?: string;
1953
+ /** Returns response with indentations and line breaks. */
1954
+ prettyPrint?: boolean;
1955
+ /** 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. */
1956
+ quotaUser?: string;
1957
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1958
+ upload_protocol?: string;
1959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1960
+ uploadType?: string;
1961
+ }): Request<GoogleCloudDataplexV1Environment>;
1962
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1963
+ getIamPolicy(request?: {
1964
+ /** V1 error format. */
1965
+ "$.xgafv"?: string;
1966
+ /** OAuth access token. */
1967
+ access_token?: string;
1968
+ /** Data format for response. */
1969
+ alt?: string;
1970
+ /** JSONP */
1971
+ callback?: string;
1972
+ /** Selector specifying which fields to include in a partial response. */
1973
+ fields?: string;
1974
+ /** 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. */
1975
+ key?: string;
1976
+ /** OAuth 2.0 token for the current user. */
1977
+ oauth_token?: string;
1978
+ /**
1979
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
1980
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
1981
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1982
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
1983
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
1984
+ */
1985
+ "options.requestedPolicyVersion"?: number;
1986
+ /** Returns response with indentations and line breaks. */
1987
+ prettyPrint?: boolean;
1988
+ /** 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. */
1989
+ quotaUser?: string;
1990
+ /**
1991
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1992
+ * field.
1993
+ */
1994
+ resource: string;
1995
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1996
+ upload_protocol?: string;
1997
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1998
+ uploadType?: string;
1999
+ }): Request<GoogleIamV1Policy>;
2000
+ /** Lists environments under the given lake. */
2001
+ list(request?: {
2002
+ /** V1 error format. */
2003
+ "$.xgafv"?: string;
2004
+ /** OAuth access token. */
2005
+ access_token?: string;
2006
+ /** Data format for response. */
2007
+ alt?: string;
2008
+ /** JSONP */
2009
+ callback?: string;
2010
+ /** Selector specifying which fields to include in a partial response. */
2011
+ fields?: string;
2012
+ /** Optional. Filter request. */
2013
+ filter?: string;
2014
+ /** 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. */
2015
+ key?: string;
2016
+ /** OAuth 2.0 token for the current user. */
2017
+ oauth_token?: string;
2018
+ /** Optional. Order by fields for the result. */
2019
+ orderBy?: string;
2020
+ /**
2021
+ * Optional. Maximum number of environments to return. The service may return fewer than this value. If unspecified, at most 10 environments will be returned. The maximum value is
2022
+ * 1000; values above 1000 will be coerced to 1000.
2023
+ */
2024
+ pageSize?: number;
2025
+ /**
2026
+ * Optional. Page token received from a previous ListEnvironments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2027
+ * ListEnvironments must match the call that provided the page token.
2028
+ */
2029
+ pageToken?: string;
2030
+ /** Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}. */
2031
+ parent: string;
2032
+ /** Returns response with indentations and line breaks. */
2033
+ prettyPrint?: boolean;
2034
+ /** 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. */
2035
+ quotaUser?: string;
2036
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2037
+ upload_protocol?: string;
2038
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2039
+ uploadType?: string;
2040
+ }): Request<GoogleCloudDataplexV1ListEnvironmentsResponse>;
2041
+ /** Update the environment resource. */
2042
+ patch(request: {
2043
+ /** V1 error format. */
2044
+ "$.xgafv"?: string;
2045
+ /** OAuth access token. */
2046
+ access_token?: string;
2047
+ /** Data format for response. */
2048
+ alt?: string;
2049
+ /** JSONP */
2050
+ callback?: string;
2051
+ /** Selector specifying which fields to include in a partial response. */
2052
+ fields?: string;
2053
+ /** 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. */
2054
+ key?: string;
2055
+ /** Output only. The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} */
2056
+ name: string;
2057
+ /** OAuth 2.0 token for the current user. */
2058
+ oauth_token?: string;
2059
+ /** Returns response with indentations and line breaks. */
2060
+ prettyPrint?: boolean;
2061
+ /** 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. */
2062
+ quotaUser?: string;
2063
+ /** Required. Mask of fields to update. */
2064
+ updateMask?: string;
2065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2066
+ upload_protocol?: string;
2067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2068
+ uploadType?: string;
2069
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2070
+ validateOnly?: boolean;
2071
+ /** Request body */
2072
+ resource: GoogleCloudDataplexV1Environment;
2073
+ }): Request<GoogleLongrunningOperation>;
2074
+ patch(request: {
2075
+ /** V1 error format. */
2076
+ "$.xgafv"?: string;
2077
+ /** OAuth access token. */
2078
+ access_token?: string;
2079
+ /** Data format for response. */
2080
+ alt?: string;
2081
+ /** JSONP */
2082
+ callback?: string;
2083
+ /** Selector specifying which fields to include in a partial response. */
2084
+ fields?: string;
2085
+ /** 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. */
2086
+ key?: string;
2087
+ /** Output only. The relative resource name of the environment, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} */
2088
+ name: string;
2089
+ /** OAuth 2.0 token for the current user. */
2090
+ oauth_token?: string;
2091
+ /** Returns response with indentations and line breaks. */
2092
+ prettyPrint?: boolean;
2093
+ /** 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. */
2094
+ quotaUser?: string;
2095
+ /** Required. Mask of fields to update. */
2096
+ updateMask?: string;
2097
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2098
+ upload_protocol?: string;
2099
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2100
+ uploadType?: string;
2101
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2102
+ validateOnly?: boolean;
2103
+ },
2104
+ body: GoogleCloudDataplexV1Environment): Request<GoogleLongrunningOperation>;
2105
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
2106
+ setIamPolicy(request: {
2107
+ /** V1 error format. */
2108
+ "$.xgafv"?: string;
2109
+ /** OAuth access token. */
2110
+ access_token?: string;
2111
+ /** Data format for response. */
2112
+ alt?: string;
2113
+ /** JSONP */
2114
+ callback?: string;
2115
+ /** Selector specifying which fields to include in a partial response. */
2116
+ fields?: string;
2117
+ /** 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. */
2118
+ key?: string;
2119
+ /** OAuth 2.0 token for the current user. */
2120
+ oauth_token?: string;
2121
+ /** Returns response with indentations and line breaks. */
2122
+ prettyPrint?: boolean;
2123
+ /** 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. */
2124
+ quotaUser?: string;
2125
+ /**
2126
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2127
+ * field.
2128
+ */
2129
+ resource: string;
2130
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2131
+ upload_protocol?: string;
2132
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2133
+ uploadType?: string;
2134
+ },
2135
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2136
+ /**
2137
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This
2138
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2139
+ */
2140
+ testIamPermissions(request: {
2141
+ /** V1 error format. */
2142
+ "$.xgafv"?: string;
2143
+ /** OAuth access token. */
2144
+ access_token?: string;
2145
+ /** Data format for response. */
2146
+ alt?: string;
2147
+ /** JSONP */
2148
+ callback?: string;
2149
+ /** Selector specifying which fields to include in a partial response. */
2150
+ fields?: string;
2151
+ /** 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. */
2152
+ key?: string;
2153
+ /** OAuth 2.0 token for the current user. */
2154
+ oauth_token?: string;
2155
+ /** Returns response with indentations and line breaks. */
2156
+ prettyPrint?: boolean;
2157
+ /** 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. */
2158
+ quotaUser?: string;
2159
+ /**
2160
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2161
+ * this field.
2162
+ */
2163
+ resource: string;
2164
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2165
+ upload_protocol?: string;
2166
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2167
+ uploadType?: string;
2168
+ },
2169
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2170
+ sessions: SessionsResource;
2171
+ }
2172
+ interface JobsResource {
2173
+ /** Cancel jobs running for the task resource. */
2174
+ cancel(request: {
2175
+ /** V1 error format. */
2176
+ "$.xgafv"?: string;
2177
+ /** OAuth access token. */
2178
+ access_token?: string;
2179
+ /** Data format for response. */
2180
+ alt?: string;
2181
+ /** JSONP */
2182
+ callback?: string;
2183
+ /** Selector specifying which fields to include in a partial response. */
2184
+ fields?: string;
2185
+ /** 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. */
2186
+ key?: string;
2187
+ /** Required. The resource name of the job: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}. */
2188
+ name: string;
2189
+ /** OAuth 2.0 token for the current user. */
2190
+ oauth_token?: string;
2191
+ /** Returns response with indentations and line breaks. */
2192
+ prettyPrint?: boolean;
2193
+ /** 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. */
2194
+ quotaUser?: string;
2195
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2196
+ upload_protocol?: string;
2197
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2198
+ uploadType?: string;
2199
+ /** Request body */
2200
+ resource: GoogleCloudDataplexV1CancelJobRequest;
2201
+ }): Request<{}>;
2202
+ cancel(request: {
2203
+ /** V1 error format. */
2204
+ "$.xgafv"?: string;
2205
+ /** OAuth access token. */
2206
+ access_token?: string;
2207
+ /** Data format for response. */
2208
+ alt?: string;
2209
+ /** JSONP */
2210
+ callback?: string;
2211
+ /** Selector specifying which fields to include in a partial response. */
2212
+ fields?: string;
2213
+ /** 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. */
2214
+ key?: string;
2215
+ /** Required. The resource name of the job: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}. */
2216
+ name: string;
2217
+ /** OAuth 2.0 token for the current user. */
2218
+ oauth_token?: string;
2219
+ /** Returns response with indentations and line breaks. */
2220
+ prettyPrint?: boolean;
2221
+ /** 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. */
2222
+ quotaUser?: string;
2223
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2224
+ upload_protocol?: string;
2225
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2226
+ uploadType?: string;
2227
+ },
2228
+ body: GoogleCloudDataplexV1CancelJobRequest): Request<{}>;
2229
+ /** Get job resource. */
2230
+ get(request?: {
2231
+ /** V1 error format. */
2232
+ "$.xgafv"?: string;
2233
+ /** OAuth access token. */
2234
+ access_token?: string;
2235
+ /** Data format for response. */
2236
+ alt?: string;
2237
+ /** JSONP */
2238
+ callback?: string;
2239
+ /** Selector specifying which fields to include in a partial response. */
2240
+ fields?: string;
2241
+ /** 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. */
2242
+ key?: string;
2243
+ /** Required. The resource name of the job: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}. */
2244
+ name: string;
2245
+ /** OAuth 2.0 token for the current user. */
2246
+ oauth_token?: string;
2247
+ /** Returns response with indentations and line breaks. */
2248
+ prettyPrint?: boolean;
2249
+ /** 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. */
2250
+ quotaUser?: string;
2251
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2252
+ upload_protocol?: string;
2253
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2254
+ uploadType?: string;
2255
+ }): Request<GoogleCloudDataplexV1Job>;
2256
+ /** Lists Jobs under the given task. */
2257
+ list(request?: {
2258
+ /** V1 error format. */
2259
+ "$.xgafv"?: string;
2260
+ /** OAuth access token. */
2261
+ access_token?: string;
2262
+ /** Data format for response. */
2263
+ alt?: string;
2264
+ /** JSONP */
2265
+ callback?: string;
2266
+ /** Selector specifying which fields to include in a partial response. */
2267
+ fields?: string;
2268
+ /** 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. */
2269
+ key?: string;
2270
+ /** OAuth 2.0 token for the current user. */
2271
+ oauth_token?: string;
2272
+ /**
2273
+ * Optional. Maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 10 jobs will be returned. The maximum value is 1000; values
2274
+ * above 1000 will be coerced to 1000.
2275
+ */
2276
+ pageSize?: number;
2277
+ /**
2278
+ * Optional. Page token received from a previous ListJobs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListJobs must match
2279
+ * the call that provided the page token.
2280
+ */
2281
+ pageToken?: string;
2282
+ /** Required. The resource name of the parent environment: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}. */
2283
+ parent: string;
2284
+ /** Returns response with indentations and line breaks. */
2285
+ prettyPrint?: boolean;
2286
+ /** 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. */
2287
+ quotaUser?: string;
2288
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2289
+ upload_protocol?: string;
2290
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2291
+ uploadType?: string;
2292
+ }): Request<GoogleCloudDataplexV1ListJobsResponse>;
2293
+ }
2294
+ interface TasksResource {
2295
+ /** Creates a task resource within a lake. */
2296
+ create(request: {
2297
+ /** V1 error format. */
2298
+ "$.xgafv"?: string;
2299
+ /** OAuth access token. */
2300
+ access_token?: string;
2301
+ /** Data format for response. */
2302
+ alt?: string;
2303
+ /** JSONP */
2304
+ callback?: string;
2305
+ /** Selector specifying which fields to include in a partial response. */
2306
+ fields?: string;
2307
+ /** 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. */
2308
+ key?: string;
2309
+ /** OAuth 2.0 token for the current user. */
2310
+ oauth_token?: string;
2311
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
2312
+ parent: string;
2313
+ /** Returns response with indentations and line breaks. */
2314
+ prettyPrint?: boolean;
2315
+ /** 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. */
2316
+ quotaUser?: string;
2317
+ /** Required. Task identifier. */
2318
+ taskId?: string;
2319
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2320
+ upload_protocol?: string;
2321
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2322
+ uploadType?: string;
2323
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2324
+ validateOnly?: boolean;
2325
+ /** Request body */
2326
+ resource: GoogleCloudDataplexV1Task;
2327
+ }): Request<GoogleLongrunningOperation>;
2328
+ create(request: {
2329
+ /** V1 error format. */
2330
+ "$.xgafv"?: string;
2331
+ /** OAuth access token. */
2332
+ access_token?: string;
2333
+ /** Data format for response. */
2334
+ alt?: string;
2335
+ /** JSONP */
2336
+ callback?: string;
2337
+ /** Selector specifying which fields to include in a partial response. */
2338
+ fields?: string;
2339
+ /** 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. */
2340
+ key?: string;
2341
+ /** OAuth 2.0 token for the current user. */
2342
+ oauth_token?: string;
2343
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
2344
+ parent: string;
2345
+ /** Returns response with indentations and line breaks. */
2346
+ prettyPrint?: boolean;
2347
+ /** 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. */
2348
+ quotaUser?: string;
2349
+ /** Required. Task identifier. */
2350
+ taskId?: string;
2351
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2352
+ upload_protocol?: string;
2353
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2354
+ uploadType?: string;
2355
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2356
+ validateOnly?: boolean;
2357
+ },
2358
+ body: GoogleCloudDataplexV1Task): Request<GoogleLongrunningOperation>;
2359
+ /** Delete the task resource. */
2360
+ delete(request?: {
2361
+ /** V1 error format. */
2362
+ "$.xgafv"?: string;
2363
+ /** OAuth access token. */
2364
+ access_token?: string;
2365
+ /** Data format for response. */
2366
+ alt?: string;
2367
+ /** JSONP */
2368
+ callback?: string;
2369
+ /** Selector specifying which fields to include in a partial response. */
2370
+ fields?: string;
2371
+ /** 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. */
2372
+ key?: string;
2373
+ /** Required. The resource name of the task: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}. */
2374
+ name: string;
2375
+ /** OAuth 2.0 token for the current user. */
2376
+ oauth_token?: string;
2377
+ /** Returns response with indentations and line breaks. */
2378
+ prettyPrint?: boolean;
2379
+ /** 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. */
2380
+ quotaUser?: string;
2381
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2382
+ upload_protocol?: string;
2383
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2384
+ uploadType?: string;
2385
+ }): Request<GoogleLongrunningOperation>;
2386
+ /** Get task resource. */
2387
+ get(request?: {
2388
+ /** V1 error format. */
2389
+ "$.xgafv"?: string;
2390
+ /** OAuth access token. */
2391
+ access_token?: string;
2392
+ /** Data format for response. */
2393
+ alt?: string;
2394
+ /** JSONP */
2395
+ callback?: string;
2396
+ /** Selector specifying which fields to include in a partial response. */
2397
+ fields?: string;
2398
+ /** 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. */
2399
+ key?: string;
2400
+ /** Required. The resource name of the task: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}. */
2401
+ name: string;
2402
+ /** OAuth 2.0 token for the current user. */
2403
+ oauth_token?: string;
2404
+ /** Returns response with indentations and line breaks. */
2405
+ prettyPrint?: boolean;
2406
+ /** 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. */
2407
+ quotaUser?: string;
2408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2409
+ upload_protocol?: string;
2410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2411
+ uploadType?: string;
2412
+ }): Request<GoogleCloudDataplexV1Task>;
2413
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2414
+ getIamPolicy(request?: {
2415
+ /** V1 error format. */
2416
+ "$.xgafv"?: string;
2417
+ /** OAuth access token. */
2418
+ access_token?: string;
2419
+ /** Data format for response. */
2420
+ alt?: string;
2421
+ /** JSONP */
2422
+ callback?: string;
2423
+ /** Selector specifying which fields to include in a partial response. */
2424
+ fields?: string;
2425
+ /** 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. */
2426
+ key?: string;
2427
+ /** OAuth 2.0 token for the current user. */
2428
+ oauth_token?: string;
2429
+ /**
2430
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
2431
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
2432
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
2433
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
2434
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
2435
+ */
2436
+ "options.requestedPolicyVersion"?: number;
2437
+ /** Returns response with indentations and line breaks. */
2438
+ prettyPrint?: boolean;
2439
+ /** 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. */
2440
+ quotaUser?: string;
2441
+ /**
2442
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2443
+ * field.
2444
+ */
2445
+ resource: string;
2446
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2447
+ upload_protocol?: string;
2448
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
+ uploadType?: string;
2450
+ }): Request<GoogleIamV1Policy>;
2451
+ /** Lists tasks under the given lake. */
2452
+ list(request?: {
2453
+ /** V1 error format. */
2454
+ "$.xgafv"?: string;
2455
+ /** OAuth access token. */
2456
+ access_token?: string;
2457
+ /** Data format for response. */
2458
+ alt?: string;
2459
+ /** JSONP */
2460
+ callback?: string;
2461
+ /** Selector specifying which fields to include in a partial response. */
2462
+ fields?: string;
2463
+ /** Optional. Filter request. */
2464
+ filter?: string;
2465
+ /** 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. */
2466
+ key?: string;
2467
+ /** OAuth 2.0 token for the current user. */
2468
+ oauth_token?: string;
2469
+ /** Optional. Order by fields for the result. */
2470
+ orderBy?: string;
2471
+ /**
2472
+ * Optional. Maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 10 tasks will be returned. The maximum value is 1000; values
2473
+ * above 1000 will be coerced to 1000.
2474
+ */
2475
+ pageSize?: number;
2476
+ /**
2477
+ * Optional. Page token received from a previous ListZones call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListZones must
2478
+ * match the call that provided the page token.
2479
+ */
2480
+ pageToken?: string;
2481
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
2482
+ parent: string;
2483
+ /** Returns response with indentations and line breaks. */
2484
+ prettyPrint?: boolean;
2485
+ /** 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. */
2486
+ quotaUser?: string;
2487
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2488
+ upload_protocol?: string;
2489
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2490
+ uploadType?: string;
2491
+ }): Request<GoogleCloudDataplexV1ListTasksResponse>;
2492
+ /** Update the task resource. */
2493
+ patch(request: {
2494
+ /** V1 error format. */
2495
+ "$.xgafv"?: string;
2496
+ /** OAuth access token. */
2497
+ access_token?: string;
2498
+ /** Data format for response. */
2499
+ alt?: string;
2500
+ /** JSONP */
2501
+ callback?: string;
2502
+ /** Selector specifying which fields to include in a partial response. */
2503
+ fields?: string;
2504
+ /** 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. */
2505
+ key?: string;
2506
+ /** Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}. */
2507
+ name: string;
2508
+ /** OAuth 2.0 token for the current user. */
2509
+ oauth_token?: string;
2510
+ /** Returns response with indentations and line breaks. */
2511
+ prettyPrint?: boolean;
2512
+ /** 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. */
2513
+ quotaUser?: string;
2514
+ /** Required. Mask of fields to update. */
2515
+ updateMask?: string;
2516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2517
+ upload_protocol?: string;
2518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2519
+ uploadType?: string;
2520
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2521
+ validateOnly?: boolean;
2522
+ /** Request body */
2523
+ resource: GoogleCloudDataplexV1Task;
2524
+ }): Request<GoogleLongrunningOperation>;
2525
+ patch(request: {
2526
+ /** V1 error format. */
2527
+ "$.xgafv"?: string;
2528
+ /** OAuth access token. */
2529
+ access_token?: string;
2530
+ /** Data format for response. */
2531
+ alt?: string;
2532
+ /** JSONP */
2533
+ callback?: string;
2534
+ /** Selector specifying which fields to include in a partial response. */
2535
+ fields?: string;
2536
+ /** 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. */
2537
+ key?: string;
2538
+ /** Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}. */
2539
+ name: string;
2540
+ /** OAuth 2.0 token for the current user. */
2541
+ oauth_token?: string;
2542
+ /** Returns response with indentations and line breaks. */
2543
+ prettyPrint?: boolean;
2544
+ /** 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. */
2545
+ quotaUser?: string;
2546
+ /** Required. Mask of fields to update. */
2547
+ updateMask?: string;
2548
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2549
+ upload_protocol?: string;
2550
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2551
+ uploadType?: string;
2552
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2553
+ validateOnly?: boolean;
2554
+ },
2555
+ body: GoogleCloudDataplexV1Task): Request<GoogleLongrunningOperation>;
2556
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
2557
+ setIamPolicy(request: {
2558
+ /** V1 error format. */
2559
+ "$.xgafv"?: string;
2560
+ /** OAuth access token. */
2561
+ access_token?: string;
2562
+ /** Data format for response. */
2563
+ alt?: string;
2564
+ /** JSONP */
2565
+ callback?: string;
2566
+ /** Selector specifying which fields to include in a partial response. */
2567
+ fields?: string;
2568
+ /** 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. */
2569
+ key?: string;
2570
+ /** OAuth 2.0 token for the current user. */
2571
+ oauth_token?: string;
2572
+ /** Returns response with indentations and line breaks. */
2573
+ prettyPrint?: boolean;
2574
+ /** 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. */
2575
+ quotaUser?: string;
2576
+ /**
2577
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2578
+ * field.
2579
+ */
2580
+ resource: string;
2581
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2582
+ upload_protocol?: string;
2583
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2584
+ uploadType?: string;
2585
+ },
2586
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2587
+ /**
2588
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This
2589
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2590
+ */
2591
+ testIamPermissions(request: {
2592
+ /** V1 error format. */
2593
+ "$.xgafv"?: string;
2594
+ /** OAuth access token. */
2595
+ access_token?: string;
2596
+ /** Data format for response. */
2597
+ alt?: string;
2598
+ /** JSONP */
2599
+ callback?: string;
2600
+ /** Selector specifying which fields to include in a partial response. */
2601
+ fields?: string;
2602
+ /** 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. */
2603
+ key?: string;
2604
+ /** OAuth 2.0 token for the current user. */
2605
+ oauth_token?: string;
2606
+ /** Returns response with indentations and line breaks. */
2607
+ prettyPrint?: boolean;
2608
+ /** 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. */
2609
+ quotaUser?: string;
2610
+ /**
2611
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2612
+ * this field.
2613
+ */
2614
+ resource: string;
2615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2616
+ upload_protocol?: string;
2617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2618
+ uploadType?: string;
2619
+ },
2620
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2621
+ jobs: JobsResource;
2622
+ }
2623
+ interface ActionsResource {
2624
+ /** Lists action resources in a zone. */
2625
+ list(request?: {
2626
+ /** V1 error format. */
2627
+ "$.xgafv"?: string;
2628
+ /** OAuth access token. */
2629
+ access_token?: string;
2630
+ /** Data format for response. */
2631
+ alt?: string;
2632
+ /** JSONP */
2633
+ callback?: string;
2634
+ /** Selector specifying which fields to include in a partial response. */
2635
+ fields?: string;
2636
+ /** 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. */
2637
+ key?: string;
2638
+ /** OAuth 2.0 token for the current user. */
2639
+ oauth_token?: string;
2640
+ /**
2641
+ * Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000;
2642
+ * values above 1000 will be coerced to 1000.
2643
+ */
2644
+ pageSize?: number;
2645
+ /**
2646
+ * Optional. Page token received from a previous ListZoneActions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2647
+ * ListZoneActions must match the call that provided the page token.
2648
+ */
2649
+ pageToken?: string;
2650
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
2651
+ parent: string;
2652
+ /** Returns response with indentations and line breaks. */
2653
+ prettyPrint?: boolean;
2654
+ /** 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. */
2655
+ quotaUser?: string;
2656
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2657
+ upload_protocol?: string;
2658
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2659
+ uploadType?: string;
2660
+ }): Request<GoogleCloudDataplexV1ListActionsResponse>;
2661
+ }
2662
+ interface ActionsResource {
2663
+ /** Lists action resources in an asset. */
2664
+ list(request?: {
2665
+ /** V1 error format. */
2666
+ "$.xgafv"?: string;
2667
+ /** OAuth access token. */
2668
+ access_token?: string;
2669
+ /** Data format for response. */
2670
+ alt?: string;
2671
+ /** JSONP */
2672
+ callback?: string;
2673
+ /** Selector specifying which fields to include in a partial response. */
2674
+ fields?: string;
2675
+ /** 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. */
2676
+ key?: string;
2677
+ /** OAuth 2.0 token for the current user. */
2678
+ oauth_token?: string;
2679
+ /**
2680
+ * Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000;
2681
+ * values above 1000 will be coerced to 1000.
2682
+ */
2683
+ pageSize?: number;
2684
+ /**
2685
+ * Optional. Page token received from a previous ListAssetActions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2686
+ * ListAssetActions must match the call that provided the page token.
2687
+ */
2688
+ pageToken?: string;
2689
+ /** Required. The resource name of the parent asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
2690
+ parent: string;
2691
+ /** Returns response with indentations and line breaks. */
2692
+ prettyPrint?: boolean;
2693
+ /** 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. */
2694
+ quotaUser?: string;
2695
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2696
+ upload_protocol?: string;
2697
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2698
+ uploadType?: string;
2699
+ }): Request<GoogleCloudDataplexV1ListActionsResponse>;
2700
+ }
2701
+ interface AssetsResource {
2702
+ /** Creates an asset resource. */
2703
+ create(request: {
2704
+ /** V1 error format. */
2705
+ "$.xgafv"?: string;
2706
+ /** OAuth access token. */
2707
+ access_token?: string;
2708
+ /** Data format for response. */
2709
+ alt?: string;
2710
+ /**
2711
+ * Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase
2712
+ * letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone.
2713
+ */
2714
+ assetId?: string;
2715
+ /** JSONP */
2716
+ callback?: string;
2717
+ /** Selector specifying which fields to include in a partial response. */
2718
+ fields?: string;
2719
+ /** 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. */
2720
+ key?: string;
2721
+ /** OAuth 2.0 token for the current user. */
2722
+ oauth_token?: string;
2723
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
2724
+ parent: string;
2725
+ /** Returns response with indentations and line breaks. */
2726
+ prettyPrint?: boolean;
2727
+ /** 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. */
2728
+ quotaUser?: string;
2729
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2730
+ upload_protocol?: string;
2731
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2732
+ uploadType?: string;
2733
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2734
+ validateOnly?: boolean;
2735
+ /** Request body */
2736
+ resource: GoogleCloudDataplexV1Asset;
2737
+ }): Request<GoogleLongrunningOperation>;
2738
+ create(request: {
2739
+ /** V1 error format. */
2740
+ "$.xgafv"?: string;
2741
+ /** OAuth access token. */
2742
+ access_token?: string;
2743
+ /** Data format for response. */
2744
+ alt?: string;
2745
+ /**
2746
+ * Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase
2747
+ * letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone.
2748
+ */
2749
+ assetId?: string;
2750
+ /** JSONP */
2751
+ callback?: string;
2752
+ /** Selector specifying which fields to include in a partial response. */
2753
+ fields?: string;
2754
+ /** 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. */
2755
+ key?: string;
2756
+ /** OAuth 2.0 token for the current user. */
2757
+ oauth_token?: string;
2758
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
2759
+ parent: string;
2760
+ /** Returns response with indentations and line breaks. */
2761
+ prettyPrint?: boolean;
2762
+ /** 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. */
2763
+ quotaUser?: string;
2764
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2765
+ upload_protocol?: string;
2766
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2767
+ uploadType?: string;
2768
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2769
+ validateOnly?: boolean;
2770
+ },
2771
+ body: GoogleCloudDataplexV1Asset): Request<GoogleLongrunningOperation>;
2772
+ /** Deletes an asset resource. The referenced storage resource is detached (default) or deleted based on the associated Lifecycle policy. */
2773
+ delete(request?: {
2774
+ /** V1 error format. */
2775
+ "$.xgafv"?: string;
2776
+ /** OAuth access token. */
2777
+ access_token?: string;
2778
+ /** Data format for response. */
2779
+ alt?: string;
2780
+ /** JSONP */
2781
+ callback?: string;
2782
+ /** Selector specifying which fields to include in a partial response. */
2783
+ fields?: string;
2784
+ /** 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. */
2785
+ key?: string;
2786
+ /** Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
2787
+ name: string;
2788
+ /** OAuth 2.0 token for the current user. */
2789
+ oauth_token?: string;
2790
+ /** Returns response with indentations and line breaks. */
2791
+ prettyPrint?: boolean;
2792
+ /** 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. */
2793
+ quotaUser?: string;
2794
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2795
+ upload_protocol?: string;
2796
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2797
+ uploadType?: string;
2798
+ }): Request<GoogleLongrunningOperation>;
2799
+ /** Retrieves an asset resource. */
2800
+ get(request?: {
2801
+ /** V1 error format. */
2802
+ "$.xgafv"?: string;
2803
+ /** OAuth access token. */
2804
+ access_token?: string;
2805
+ /** Data format for response. */
2806
+ alt?: string;
2807
+ /** JSONP */
2808
+ callback?: string;
2809
+ /** Selector specifying which fields to include in a partial response. */
2810
+ fields?: string;
2811
+ /** 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. */
2812
+ key?: string;
2813
+ /** Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
2814
+ name: string;
2815
+ /** OAuth 2.0 token for the current user. */
2816
+ oauth_token?: string;
2817
+ /** Returns response with indentations and line breaks. */
2818
+ prettyPrint?: boolean;
2819
+ /** 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. */
2820
+ quotaUser?: string;
2821
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2822
+ upload_protocol?: string;
2823
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2824
+ uploadType?: string;
2825
+ }): Request<GoogleCloudDataplexV1Asset>;
2826
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2827
+ getIamPolicy(request?: {
2828
+ /** V1 error format. */
2829
+ "$.xgafv"?: string;
2830
+ /** OAuth access token. */
2831
+ access_token?: string;
2832
+ /** Data format for response. */
2833
+ alt?: string;
2834
+ /** JSONP */
2835
+ callback?: string;
2836
+ /** Selector specifying which fields to include in a partial response. */
2837
+ fields?: string;
2838
+ /** 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. */
2839
+ key?: string;
2840
+ /** OAuth 2.0 token for the current user. */
2841
+ oauth_token?: string;
2842
+ /**
2843
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
2844
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
2845
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
2846
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
2847
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
2848
+ */
2849
+ "options.requestedPolicyVersion"?: number;
2850
+ /** Returns response with indentations and line breaks. */
2851
+ prettyPrint?: boolean;
2852
+ /** 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. */
2853
+ quotaUser?: string;
2854
+ /**
2855
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2856
+ * field.
2857
+ */
2858
+ resource: string;
2859
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2860
+ upload_protocol?: string;
2861
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2862
+ uploadType?: string;
2863
+ }): Request<GoogleIamV1Policy>;
2864
+ /** Lists asset resources in a zone. */
2865
+ list(request?: {
2866
+ /** V1 error format. */
2867
+ "$.xgafv"?: string;
2868
+ /** OAuth access token. */
2869
+ access_token?: string;
2870
+ /** Data format for response. */
2871
+ alt?: string;
2872
+ /** JSONP */
2873
+ callback?: string;
2874
+ /** Selector specifying which fields to include in a partial response. */
2875
+ fields?: string;
2876
+ /** Optional. Filter request. */
2877
+ filter?: string;
2878
+ /** 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. */
2879
+ key?: string;
2880
+ /** OAuth 2.0 token for the current user. */
2881
+ oauth_token?: string;
2882
+ /** Optional. Order by fields for the result. */
2883
+ orderBy?: string;
2884
+ /**
2885
+ * Optional. Maximum number of asset to return. The service may return fewer than this value. If unspecified, at most 10 assets will be returned. The maximum value is 1000; values
2886
+ * above 1000 will be coerced to 1000.
2887
+ */
2888
+ pageSize?: number;
2889
+ /**
2890
+ * Optional. Page token received from a previous ListAssets call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssets must
2891
+ * match the call that provided the page token.
2892
+ */
2893
+ pageToken?: string;
2894
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
2895
+ parent: string;
2896
+ /** Returns response with indentations and line breaks. */
2897
+ prettyPrint?: boolean;
2898
+ /** 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. */
2899
+ quotaUser?: string;
2900
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2901
+ upload_protocol?: string;
2902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2903
+ uploadType?: string;
2904
+ }): Request<GoogleCloudDataplexV1ListAssetsResponse>;
2905
+ /** Updates an asset resource. */
2906
+ patch(request: {
2907
+ /** V1 error format. */
2908
+ "$.xgafv"?: string;
2909
+ /** OAuth access token. */
2910
+ access_token?: string;
2911
+ /** Data format for response. */
2912
+ alt?: string;
2913
+ /** JSONP */
2914
+ callback?: string;
2915
+ /** Selector specifying which fields to include in a partial response. */
2916
+ fields?: string;
2917
+ /** 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. */
2918
+ key?: string;
2919
+ /** Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
2920
+ name: string;
2921
+ /** OAuth 2.0 token for the current user. */
2922
+ oauth_token?: string;
2923
+ /** Returns response with indentations and line breaks. */
2924
+ prettyPrint?: boolean;
2925
+ /** 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. */
2926
+ quotaUser?: string;
2927
+ /** Required. Mask of fields to update. */
2928
+ updateMask?: string;
2929
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2930
+ upload_protocol?: string;
2931
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2932
+ uploadType?: string;
2933
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2934
+ validateOnly?: boolean;
2935
+ /** Request body */
2936
+ resource: GoogleCloudDataplexV1Asset;
2937
+ }): Request<GoogleLongrunningOperation>;
2938
+ patch(request: {
2939
+ /** V1 error format. */
2940
+ "$.xgafv"?: string;
2941
+ /** OAuth access token. */
2942
+ access_token?: string;
2943
+ /** Data format for response. */
2944
+ alt?: string;
2945
+ /** JSONP */
2946
+ callback?: string;
2947
+ /** Selector specifying which fields to include in a partial response. */
2948
+ fields?: string;
2949
+ /** 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. */
2950
+ key?: string;
2951
+ /** Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */
2952
+ name: string;
2953
+ /** OAuth 2.0 token for the current user. */
2954
+ oauth_token?: string;
2955
+ /** Returns response with indentations and line breaks. */
2956
+ prettyPrint?: boolean;
2957
+ /** 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. */
2958
+ quotaUser?: string;
2959
+ /** Required. Mask of fields to update. */
2960
+ updateMask?: string;
2961
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2962
+ upload_protocol?: string;
2963
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2964
+ uploadType?: string;
2965
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
2966
+ validateOnly?: boolean;
2967
+ },
2968
+ body: GoogleCloudDataplexV1Asset): Request<GoogleLongrunningOperation>;
2969
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
2970
+ setIamPolicy(request: {
2971
+ /** V1 error format. */
2972
+ "$.xgafv"?: string;
2973
+ /** OAuth access token. */
2974
+ access_token?: string;
2975
+ /** Data format for response. */
2976
+ alt?: string;
2977
+ /** JSONP */
2978
+ callback?: string;
2979
+ /** Selector specifying which fields to include in a partial response. */
2980
+ fields?: string;
2981
+ /** 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. */
2982
+ key?: string;
2983
+ /** OAuth 2.0 token for the current user. */
2984
+ oauth_token?: string;
2985
+ /** Returns response with indentations and line breaks. */
2986
+ prettyPrint?: boolean;
2987
+ /** 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. */
2988
+ quotaUser?: string;
2989
+ /**
2990
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2991
+ * field.
2992
+ */
2993
+ resource: string;
2994
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2995
+ upload_protocol?: string;
2996
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2997
+ uploadType?: string;
2998
+ },
2999
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
3000
+ /**
3001
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This
3002
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
3003
+ */
3004
+ testIamPermissions(request: {
3005
+ /** V1 error format. */
3006
+ "$.xgafv"?: string;
3007
+ /** OAuth access token. */
3008
+ access_token?: string;
3009
+ /** Data format for response. */
3010
+ alt?: string;
3011
+ /** JSONP */
3012
+ callback?: string;
3013
+ /** Selector specifying which fields to include in a partial response. */
3014
+ fields?: string;
3015
+ /** 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. */
3016
+ key?: string;
3017
+ /** OAuth 2.0 token for the current user. */
3018
+ oauth_token?: string;
3019
+ /** Returns response with indentations and line breaks. */
3020
+ prettyPrint?: boolean;
3021
+ /** 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. */
3022
+ quotaUser?: string;
3023
+ /**
3024
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
3025
+ * this field.
3026
+ */
3027
+ resource: string;
3028
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3029
+ upload_protocol?: string;
3030
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3031
+ uploadType?: string;
3032
+ },
3033
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
3034
+ actions: ActionsResource;
3035
+ }
3036
+ interface PartitionsResource {
3037
+ /** Create a metadata partition. */
3038
+ create(request: {
3039
+ /** V1 error format. */
3040
+ "$.xgafv"?: string;
3041
+ /** OAuth access token. */
3042
+ access_token?: string;
3043
+ /** Data format for response. */
3044
+ alt?: string;
3045
+ /** JSONP */
3046
+ callback?: string;
3047
+ /** Selector specifying which fields to include in a partial response. */
3048
+ fields?: string;
3049
+ /** 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. */
3050
+ key?: string;
3051
+ /** OAuth 2.0 token for the current user. */
3052
+ oauth_token?: string;
3053
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */
3054
+ parent: string;
3055
+ /** Returns response with indentations and line breaks. */
3056
+ prettyPrint?: boolean;
3057
+ /** 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. */
3058
+ quotaUser?: string;
3059
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3060
+ upload_protocol?: string;
3061
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3062
+ uploadType?: string;
3063
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3064
+ validateOnly?: boolean;
3065
+ /** Request body */
3066
+ resource: GoogleCloudDataplexV1Partition;
3067
+ }): Request<GoogleCloudDataplexV1Partition>;
3068
+ create(request: {
3069
+ /** V1 error format. */
3070
+ "$.xgafv"?: string;
3071
+ /** OAuth access token. */
3072
+ access_token?: string;
3073
+ /** Data format for response. */
3074
+ alt?: string;
3075
+ /** JSONP */
3076
+ callback?: string;
3077
+ /** Selector specifying which fields to include in a partial response. */
3078
+ fields?: string;
3079
+ /** 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. */
3080
+ key?: string;
3081
+ /** OAuth 2.0 token for the current user. */
3082
+ oauth_token?: string;
3083
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */
3084
+ parent: string;
3085
+ /** Returns response with indentations and line breaks. */
3086
+ prettyPrint?: boolean;
3087
+ /** 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. */
3088
+ quotaUser?: string;
3089
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3090
+ upload_protocol?: string;
3091
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3092
+ uploadType?: string;
3093
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3094
+ validateOnly?: boolean;
3095
+ },
3096
+ body: GoogleCloudDataplexV1Partition): Request<GoogleCloudDataplexV1Partition>;
3097
+ /** Delete a metadata partition. */
3098
+ delete(request?: {
3099
+ /** V1 error format. */
3100
+ "$.xgafv"?: string;
3101
+ /** OAuth access token. */
3102
+ access_token?: string;
3103
+ /** Data format for response. */
3104
+ alt?: string;
3105
+ /** JSONP */
3106
+ callback?: string;
3107
+ /** Optional. The etag associated with the partition. */
3108
+ etag?: string;
3109
+ /** Selector specifying which fields to include in a partial response. */
3110
+ fields?: string;
3111
+ /** 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. */
3112
+ key?: string;
3113
+ /**
3114
+ * Required. The resource name of the partition. format:
3115
+ * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment
3116
+ * consists of an ordered sequence of partition values separated by "/". All values must be provided.
3117
+ */
3118
+ name: string;
3119
+ /** OAuth 2.0 token for the current user. */
3120
+ oauth_token?: string;
3121
+ /** Returns response with indentations and line breaks. */
3122
+ prettyPrint?: boolean;
3123
+ /** 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. */
3124
+ quotaUser?: string;
3125
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3126
+ upload_protocol?: string;
3127
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3128
+ uploadType?: string;
3129
+ }): Request<{}>;
3130
+ /** Get a metadata partition of an entity. */
3131
+ get(request?: {
3132
+ /** V1 error format. */
3133
+ "$.xgafv"?: string;
3134
+ /** OAuth access token. */
3135
+ access_token?: string;
3136
+ /** Data format for response. */
3137
+ alt?: string;
3138
+ /** JSONP */
3139
+ callback?: string;
3140
+ /** Selector specifying which fields to include in a partial response. */
3141
+ fields?: string;
3142
+ /** 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. */
3143
+ key?: string;
3144
+ /**
3145
+ * Required. The resource name of the partition:
3146
+ * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment
3147
+ * consists of an ordered sequence of partition values separated by "/". All values must be provided.
3148
+ */
3149
+ name: string;
3150
+ /** OAuth 2.0 token for the current user. */
3151
+ oauth_token?: string;
3152
+ /** Returns response with indentations and line breaks. */
3153
+ prettyPrint?: boolean;
3154
+ /** 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. */
3155
+ quotaUser?: string;
3156
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3157
+ upload_protocol?: string;
3158
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3159
+ uploadType?: string;
3160
+ }): Request<GoogleCloudDataplexV1Partition>;
3161
+ /** List metadata partitions of an entity. */
3162
+ list(request?: {
3163
+ /** V1 error format. */
3164
+ "$.xgafv"?: string;
3165
+ /** OAuth access token. */
3166
+ access_token?: string;
3167
+ /** Data format for response. */
3168
+ alt?: string;
3169
+ /** JSONP */
3170
+ callback?: string;
3171
+ /** Selector specifying which fields to include in a partial response. */
3172
+ fields?: string;
3173
+ /**
3174
+ * Optional. Filter the partitions returned to the caller using a key value pair expression. Supported operators and syntax: logic operators: AND, OR comparison operators: <, >,
3175
+ * >=, <= ,=, != LIKE operators: The right hand of a LIKE operator supports "." and "*" for wildcard searches, for example "value1 LIKE ".*oo.*" parenthetical grouping: ( )Sample
3176
+ * filter expression: `?filter="key1 < value1 OR key2 > value2"Notes: Keys to the left of operators are case insensitive. Partition results are sorted first by creation time, then
3177
+ * by lexicographic order. Up to 20 key value filter pairs are allowed, but due to performance considerations, only the first 10 will be used as a filter.
3178
+ */
3179
+ filter?: string;
3180
+ /** 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. */
3181
+ key?: string;
3182
+ /** OAuth 2.0 token for the current user. */
3183
+ oauth_token?: string;
3184
+ /**
3185
+ * Optional. Maximum number of partitions to return. The service may return fewer than this value. If unspecified, 100 partitions will be returned by default. The maximum page size
3186
+ * is 500; larger values will will be truncated to 500.
3187
+ */
3188
+ pageSize?: number;
3189
+ /**
3190
+ * Optional. Page token received from a previous ListPartitions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPartitions
3191
+ * must match the call that provided the page token.
3192
+ */
3193
+ pageToken?: string;
3194
+ /** Required. The resource name of the parent entity: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */
3195
+ parent: string;
3196
+ /** Returns response with indentations and line breaks. */
3197
+ prettyPrint?: boolean;
3198
+ /** 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. */
3199
+ quotaUser?: string;
3200
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3201
+ upload_protocol?: string;
3202
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3203
+ uploadType?: string;
3204
+ }): Request<GoogleCloudDataplexV1ListPartitionsResponse>;
3205
+ }
3206
+ interface EntitiesResource {
3207
+ /** Create a metadata entity. */
3208
+ create(request: {
3209
+ /** V1 error format. */
3210
+ "$.xgafv"?: string;
3211
+ /** OAuth access token. */
3212
+ access_token?: string;
3213
+ /** Data format for response. */
3214
+ alt?: string;
3215
+ /** JSONP */
3216
+ callback?: string;
3217
+ /** Selector specifying which fields to include in a partial response. */
3218
+ fields?: string;
3219
+ /** 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. */
3220
+ key?: string;
3221
+ /** OAuth 2.0 token for the current user. */
3222
+ oauth_token?: string;
3223
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3224
+ parent: string;
3225
+ /** Returns response with indentations and line breaks. */
3226
+ prettyPrint?: boolean;
3227
+ /** 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. */
3228
+ quotaUser?: string;
3229
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3230
+ upload_protocol?: string;
3231
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3232
+ uploadType?: string;
3233
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3234
+ validateOnly?: boolean;
3235
+ /** Request body */
3236
+ resource: GoogleCloudDataplexV1Entity;
3237
+ }): Request<GoogleCloudDataplexV1Entity>;
3238
+ create(request: {
3239
+ /** V1 error format. */
3240
+ "$.xgafv"?: string;
3241
+ /** OAuth access token. */
3242
+ access_token?: string;
3243
+ /** Data format for response. */
3244
+ alt?: string;
3245
+ /** JSONP */
3246
+ callback?: string;
3247
+ /** Selector specifying which fields to include in a partial response. */
3248
+ fields?: string;
3249
+ /** 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. */
3250
+ key?: string;
3251
+ /** OAuth 2.0 token for the current user. */
3252
+ oauth_token?: string;
3253
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3254
+ parent: string;
3255
+ /** Returns response with indentations and line breaks. */
3256
+ prettyPrint?: boolean;
3257
+ /** 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. */
3258
+ quotaUser?: string;
3259
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3260
+ upload_protocol?: string;
3261
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3262
+ uploadType?: string;
3263
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3264
+ validateOnly?: boolean;
3265
+ },
3266
+ body: GoogleCloudDataplexV1Entity): Request<GoogleCloudDataplexV1Entity>;
3267
+ /** Delete a metadata entity. */
3268
+ delete(request?: {
3269
+ /** V1 error format. */
3270
+ "$.xgafv"?: string;
3271
+ /** OAuth access token. */
3272
+ access_token?: string;
3273
+ /** Data format for response. */
3274
+ alt?: string;
3275
+ /** JSONP */
3276
+ callback?: string;
3277
+ /** Required. The etag associated with the entity, which can be retrieved with a GetEntity request. */
3278
+ etag?: string;
3279
+ /** Selector specifying which fields to include in a partial response. */
3280
+ fields?: string;
3281
+ /** 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. */
3282
+ key?: string;
3283
+ /** Required. The resource name of the entity: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */
3284
+ name: string;
3285
+ /** OAuth 2.0 token for the current user. */
3286
+ oauth_token?: string;
3287
+ /** Returns response with indentations and line breaks. */
3288
+ prettyPrint?: boolean;
3289
+ /** 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. */
3290
+ quotaUser?: string;
3291
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3292
+ upload_protocol?: string;
3293
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3294
+ uploadType?: string;
3295
+ }): Request<{}>;
3296
+ /** Get a metadata entity. */
3297
+ get(request?: {
3298
+ /** V1 error format. */
3299
+ "$.xgafv"?: string;
3300
+ /** OAuth access token. */
3301
+ access_token?: string;
3302
+ /** Data format for response. */
3303
+ alt?: string;
3304
+ /** JSONP */
3305
+ callback?: string;
3306
+ /** Selector specifying which fields to include in a partial response. */
3307
+ fields?: string;
3308
+ /** 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. */
3309
+ key?: string;
3310
+ /** Required. The resource name of the entity: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */
3311
+ name: string;
3312
+ /** OAuth 2.0 token for the current user. */
3313
+ oauth_token?: string;
3314
+ /** Returns response with indentations and line breaks. */
3315
+ prettyPrint?: boolean;
3316
+ /** 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. */
3317
+ quotaUser?: string;
3318
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3319
+ upload_protocol?: string;
3320
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3321
+ uploadType?: string;
3322
+ /** Optional. Used to select the subset of entity information to return. Defaults to BASIC. */
3323
+ view?: string;
3324
+ }): Request<GoogleCloudDataplexV1Entity>;
3325
+ /** List metadata entities in a zone. */
3326
+ list(request?: {
3327
+ /** V1 error format. */
3328
+ "$.xgafv"?: string;
3329
+ /** OAuth access token. */
3330
+ access_token?: string;
3331
+ /** Data format for response. */
3332
+ alt?: string;
3333
+ /** JSONP */
3334
+ callback?: string;
3335
+ /** Selector specifying which fields to include in a partial response. */
3336
+ fields?: string;
3337
+ /**
3338
+ * Optional. The following filter parameters can be added to the URL to limit the entities returned by the API: Entity ID: ?filter="id=entityID" Asset ID: ?filter="asset=assetID"
3339
+ * Data path ?filter="data_path=gs://my-bucket" Is HIVE compatible: ?filter="hive_compatible=true" Is BigQuery compatible: ?filter="bigquery_compatible=true"
3340
+ */
3341
+ filter?: string;
3342
+ /** 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. */
3343
+ key?: string;
3344
+ /** OAuth 2.0 token for the current user. */
3345
+ oauth_token?: string;
3346
+ /**
3347
+ * Optional. Maximum number of entities to return. The service may return fewer than this value. If unspecified, 100 entities will be returned by default. The maximum value is 500;
3348
+ * larger values will will be truncated to 500.
3349
+ */
3350
+ pageSize?: number;
3351
+ /**
3352
+ * Optional. Page token received from a previous ListEntities call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntities
3353
+ * must match the call that provided the page token.
3354
+ */
3355
+ pageToken?: string;
3356
+ /** Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3357
+ parent: string;
3358
+ /** Returns response with indentations and line breaks. */
3359
+ prettyPrint?: boolean;
3360
+ /** 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. */
3361
+ quotaUser?: string;
3362
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3363
+ upload_protocol?: string;
3364
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3365
+ uploadType?: string;
3366
+ /** Required. Specify the entity view to make a partial list request. */
3367
+ view?: string;
3368
+ }): Request<GoogleCloudDataplexV1ListEntitiesResponse>;
3369
+ /** Update a metadata entity. Only supports full resource update. */
3370
+ update(request: {
3371
+ /** V1 error format. */
3372
+ "$.xgafv"?: string;
3373
+ /** OAuth access token. */
3374
+ access_token?: string;
3375
+ /** Data format for response. */
3376
+ alt?: string;
3377
+ /** JSONP */
3378
+ callback?: string;
3379
+ /** Selector specifying which fields to include in a partial response. */
3380
+ fields?: string;
3381
+ /** 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. */
3382
+ key?: string;
3383
+ /** Output only. The resource name of the entity, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}. */
3384
+ name: string;
3385
+ /** OAuth 2.0 token for the current user. */
3386
+ oauth_token?: string;
3387
+ /** Returns response with indentations and line breaks. */
3388
+ prettyPrint?: boolean;
3389
+ /** 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. */
3390
+ quotaUser?: string;
3391
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3392
+ upload_protocol?: string;
3393
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3394
+ uploadType?: string;
3395
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3396
+ validateOnly?: boolean;
3397
+ /** Request body */
3398
+ resource: GoogleCloudDataplexV1Entity;
3399
+ }): Request<GoogleCloudDataplexV1Entity>;
3400
+ update(request: {
3401
+ /** V1 error format. */
3402
+ "$.xgafv"?: string;
3403
+ /** OAuth access token. */
3404
+ access_token?: string;
3405
+ /** Data format for response. */
3406
+ alt?: string;
3407
+ /** JSONP */
3408
+ callback?: string;
3409
+ /** Selector specifying which fields to include in a partial response. */
3410
+ fields?: string;
3411
+ /** 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. */
3412
+ key?: string;
3413
+ /** Output only. The resource name of the entity, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}. */
3414
+ name: string;
3415
+ /** OAuth 2.0 token for the current user. */
3416
+ oauth_token?: string;
3417
+ /** Returns response with indentations and line breaks. */
3418
+ prettyPrint?: boolean;
3419
+ /** 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. */
3420
+ quotaUser?: string;
3421
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3422
+ upload_protocol?: string;
3423
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3424
+ uploadType?: string;
3425
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3426
+ validateOnly?: boolean;
3427
+ },
3428
+ body: GoogleCloudDataplexV1Entity): Request<GoogleCloudDataplexV1Entity>;
3429
+ partitions: PartitionsResource;
3430
+ }
3431
+ interface ZonesResource {
3432
+ /** Creates a zone resource within a lake. */
3433
+ create(request: {
3434
+ /** V1 error format. */
3435
+ "$.xgafv"?: string;
3436
+ /** OAuth access token. */
3437
+ access_token?: string;
3438
+ /** Data format for response. */
3439
+ alt?: string;
3440
+ /** JSONP */
3441
+ callback?: string;
3442
+ /** Selector specifying which fields to include in a partial response. */
3443
+ fields?: string;
3444
+ /** 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. */
3445
+ key?: string;
3446
+ /** OAuth 2.0 token for the current user. */
3447
+ oauth_token?: string;
3448
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3449
+ parent: string;
3450
+ /** Returns response with indentations and line breaks. */
3451
+ prettyPrint?: boolean;
3452
+ /** 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. */
3453
+ quotaUser?: string;
3454
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3455
+ upload_protocol?: string;
3456
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3457
+ uploadType?: string;
3458
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3459
+ validateOnly?: boolean;
3460
+ /**
3461
+ * Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * Must contain only
3462
+ * lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique across all lakes
3463
+ * from all locations in a project. * Must not be one of the reserved IDs (i.e. "default", "global-temp")
3464
+ */
3465
+ zoneId?: string;
3466
+ /** Request body */
3467
+ resource: GoogleCloudDataplexV1Zone;
3468
+ }): Request<GoogleLongrunningOperation>;
3469
+ create(request: {
3470
+ /** V1 error format. */
3471
+ "$.xgafv"?: string;
3472
+ /** OAuth access token. */
3473
+ access_token?: string;
3474
+ /** Data format for response. */
3475
+ alt?: string;
3476
+ /** JSONP */
3477
+ callback?: string;
3478
+ /** Selector specifying which fields to include in a partial response. */
3479
+ fields?: string;
3480
+ /** 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. */
3481
+ key?: string;
3482
+ /** OAuth 2.0 token for the current user. */
3483
+ oauth_token?: string;
3484
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3485
+ parent: string;
3486
+ /** Returns response with indentations and line breaks. */
3487
+ prettyPrint?: boolean;
3488
+ /** 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. */
3489
+ quotaUser?: string;
3490
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3491
+ upload_protocol?: string;
3492
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3493
+ uploadType?: string;
3494
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3495
+ validateOnly?: boolean;
3496
+ /**
3497
+ * Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * Must contain only
3498
+ * lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique across all lakes
3499
+ * from all locations in a project. * Must not be one of the reserved IDs (i.e. "default", "global-temp")
3500
+ */
3501
+ zoneId?: string;
3502
+ },
3503
+ body: GoogleCloudDataplexV1Zone): Request<GoogleLongrunningOperation>;
3504
+ /** Deletes a zone resource. All assets within a zone must be deleted before the zone can be deleted. */
3505
+ delete(request?: {
3506
+ /** V1 error format. */
3507
+ "$.xgafv"?: string;
3508
+ /** OAuth access token. */
3509
+ access_token?: string;
3510
+ /** Data format for response. */
3511
+ alt?: string;
3512
+ /** JSONP */
3513
+ callback?: string;
3514
+ /** Selector specifying which fields to include in a partial response. */
3515
+ fields?: string;
3516
+ /** 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. */
3517
+ key?: string;
3518
+ /** Required. The resource name of the zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3519
+ name: string;
3520
+ /** OAuth 2.0 token for the current user. */
3521
+ oauth_token?: string;
3522
+ /** Returns response with indentations and line breaks. */
3523
+ prettyPrint?: boolean;
3524
+ /** 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. */
3525
+ quotaUser?: string;
3526
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3527
+ upload_protocol?: string;
3528
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3529
+ uploadType?: string;
3530
+ }): Request<GoogleLongrunningOperation>;
3531
+ /** Retrieves a zone resource. */
3532
+ get(request?: {
3533
+ /** V1 error format. */
3534
+ "$.xgafv"?: string;
3535
+ /** OAuth access token. */
3536
+ access_token?: string;
3537
+ /** Data format for response. */
3538
+ alt?: string;
3539
+ /** JSONP */
3540
+ callback?: string;
3541
+ /** Selector specifying which fields to include in a partial response. */
3542
+ fields?: string;
3543
+ /** 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. */
3544
+ key?: string;
3545
+ /** Required. The resource name of the zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3546
+ name: string;
3547
+ /** OAuth 2.0 token for the current user. */
3548
+ oauth_token?: string;
3549
+ /** Returns response with indentations and line breaks. */
3550
+ prettyPrint?: boolean;
3551
+ /** 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. */
3552
+ quotaUser?: string;
3553
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3554
+ upload_protocol?: string;
3555
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3556
+ uploadType?: string;
3557
+ }): Request<GoogleCloudDataplexV1Zone>;
3558
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3559
+ getIamPolicy(request?: {
3560
+ /** V1 error format. */
3561
+ "$.xgafv"?: string;
3562
+ /** OAuth access token. */
3563
+ access_token?: string;
3564
+ /** Data format for response. */
3565
+ alt?: string;
3566
+ /** JSONP */
3567
+ callback?: string;
3568
+ /** Selector specifying which fields to include in a partial response. */
3569
+ fields?: string;
3570
+ /** 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. */
3571
+ key?: string;
3572
+ /** OAuth 2.0 token for the current user. */
3573
+ oauth_token?: string;
3574
+ /**
3575
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
3576
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
3577
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
3578
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
3579
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
3580
+ */
3581
+ "options.requestedPolicyVersion"?: number;
3582
+ /** Returns response with indentations and line breaks. */
3583
+ prettyPrint?: boolean;
3584
+ /** 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. */
3585
+ quotaUser?: string;
3586
+ /**
3587
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
3588
+ * field.
3589
+ */
3590
+ resource: string;
3591
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3592
+ upload_protocol?: string;
3593
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3594
+ uploadType?: string;
3595
+ }): Request<GoogleIamV1Policy>;
3596
+ /** Lists zone resources in a lake. */
3597
+ list(request?: {
3598
+ /** V1 error format. */
3599
+ "$.xgafv"?: string;
3600
+ /** OAuth access token. */
3601
+ access_token?: string;
3602
+ /** Data format for response. */
3603
+ alt?: string;
3604
+ /** JSONP */
3605
+ callback?: string;
3606
+ /** Selector specifying which fields to include in a partial response. */
3607
+ fields?: string;
3608
+ /** Optional. Filter request. */
3609
+ filter?: string;
3610
+ /** 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. */
3611
+ key?: string;
3612
+ /** OAuth 2.0 token for the current user. */
3613
+ oauth_token?: string;
3614
+ /** Optional. Order by fields for the result. */
3615
+ orderBy?: string;
3616
+ /**
3617
+ * Optional. Maximum number of zones to return. The service may return fewer than this value. If unspecified, at most 10 zones will be returned. The maximum value is 1000; values
3618
+ * above 1000 will be coerced to 1000.
3619
+ */
3620
+ pageSize?: number;
3621
+ /**
3622
+ * Optional. Page token received from a previous ListZones call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListZones must
3623
+ * match the call that provided the page token.
3624
+ */
3625
+ pageToken?: string;
3626
+ /** Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3627
+ parent: string;
3628
+ /** Returns response with indentations and line breaks. */
3629
+ prettyPrint?: boolean;
3630
+ /** 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. */
3631
+ quotaUser?: string;
3632
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3633
+ upload_protocol?: string;
3634
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3635
+ uploadType?: string;
3636
+ }): Request<GoogleCloudDataplexV1ListZonesResponse>;
3637
+ /** Updates a zone resource. */
3638
+ patch(request: {
3639
+ /** V1 error format. */
3640
+ "$.xgafv"?: string;
3641
+ /** OAuth access token. */
3642
+ access_token?: string;
3643
+ /** Data format for response. */
3644
+ alt?: string;
3645
+ /** JSONP */
3646
+ callback?: string;
3647
+ /** Selector specifying which fields to include in a partial response. */
3648
+ fields?: string;
3649
+ /** 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. */
3650
+ key?: string;
3651
+ /** Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3652
+ name: string;
3653
+ /** OAuth 2.0 token for the current user. */
3654
+ oauth_token?: string;
3655
+ /** Returns response with indentations and line breaks. */
3656
+ prettyPrint?: boolean;
3657
+ /** 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. */
3658
+ quotaUser?: string;
3659
+ /** Required. Mask of fields to update. */
3660
+ updateMask?: string;
3661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3662
+ upload_protocol?: string;
3663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3664
+ uploadType?: string;
3665
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3666
+ validateOnly?: boolean;
3667
+ /** Request body */
3668
+ resource: GoogleCloudDataplexV1Zone;
3669
+ }): Request<GoogleLongrunningOperation>;
3670
+ patch(request: {
3671
+ /** V1 error format. */
3672
+ "$.xgafv"?: string;
3673
+ /** OAuth access token. */
3674
+ access_token?: string;
3675
+ /** Data format for response. */
3676
+ alt?: string;
3677
+ /** JSONP */
3678
+ callback?: string;
3679
+ /** Selector specifying which fields to include in a partial response. */
3680
+ fields?: string;
3681
+ /** 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. */
3682
+ key?: string;
3683
+ /** Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. */
3684
+ name: string;
3685
+ /** OAuth 2.0 token for the current user. */
3686
+ oauth_token?: string;
3687
+ /** Returns response with indentations and line breaks. */
3688
+ prettyPrint?: boolean;
3689
+ /** 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. */
3690
+ quotaUser?: string;
3691
+ /** Required. Mask of fields to update. */
3692
+ updateMask?: string;
3693
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3694
+ upload_protocol?: string;
3695
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3696
+ uploadType?: string;
3697
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3698
+ validateOnly?: boolean;
3699
+ },
3700
+ body: GoogleCloudDataplexV1Zone): Request<GoogleLongrunningOperation>;
3701
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
3702
+ setIamPolicy(request: {
3703
+ /** V1 error format. */
3704
+ "$.xgafv"?: string;
3705
+ /** OAuth access token. */
3706
+ access_token?: string;
3707
+ /** Data format for response. */
3708
+ alt?: string;
3709
+ /** JSONP */
3710
+ callback?: string;
3711
+ /** Selector specifying which fields to include in a partial response. */
3712
+ fields?: string;
3713
+ /** 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. */
3714
+ key?: string;
3715
+ /** OAuth 2.0 token for the current user. */
3716
+ oauth_token?: string;
3717
+ /** Returns response with indentations and line breaks. */
3718
+ prettyPrint?: boolean;
3719
+ /** 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. */
3720
+ quotaUser?: string;
3721
+ /**
3722
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
3723
+ * field.
3724
+ */
3725
+ resource: string;
3726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3727
+ upload_protocol?: string;
3728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3729
+ uploadType?: string;
3730
+ },
3731
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
3732
+ /**
3733
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This
3734
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
3735
+ */
3736
+ testIamPermissions(request: {
3737
+ /** V1 error format. */
3738
+ "$.xgafv"?: string;
3739
+ /** OAuth access token. */
3740
+ access_token?: string;
3741
+ /** Data format for response. */
3742
+ alt?: string;
3743
+ /** JSONP */
3744
+ callback?: string;
3745
+ /** Selector specifying which fields to include in a partial response. */
3746
+ fields?: string;
3747
+ /** 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. */
3748
+ key?: string;
3749
+ /** OAuth 2.0 token for the current user. */
3750
+ oauth_token?: string;
3751
+ /** Returns response with indentations and line breaks. */
3752
+ prettyPrint?: boolean;
3753
+ /** 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. */
3754
+ quotaUser?: string;
3755
+ /**
3756
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
3757
+ * this field.
3758
+ */
3759
+ resource: string;
3760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3761
+ upload_protocol?: string;
3762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3763
+ uploadType?: string;
3764
+ },
3765
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
3766
+ actions: ActionsResource;
3767
+ assets: AssetsResource;
3768
+ entities: EntitiesResource;
3769
+ }
3770
+ interface LakesResource {
3771
+ /** Creates a lake resource. */
3772
+ create(request: {
3773
+ /** V1 error format. */
3774
+ "$.xgafv"?: string;
3775
+ /** OAuth access token. */
3776
+ access_token?: string;
3777
+ /** Data format for response. */
3778
+ alt?: string;
3779
+ /** JSONP */
3780
+ callback?: string;
3781
+ /** Selector specifying which fields to include in a partial response. */
3782
+ fields?: string;
3783
+ /** 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. */
3784
+ key?: string;
3785
+ /**
3786
+ * Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * Must contain only
3787
+ * lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the customer
3788
+ * project / location.
3789
+ */
3790
+ lakeId?: string;
3791
+ /** OAuth 2.0 token for the current user. */
3792
+ oauth_token?: string;
3793
+ /** Required. The resource name of the lake location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region. */
3794
+ parent: string;
3795
+ /** Returns response with indentations and line breaks. */
3796
+ prettyPrint?: boolean;
3797
+ /** 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. */
3798
+ quotaUser?: string;
3799
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3800
+ upload_protocol?: string;
3801
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3802
+ uploadType?: string;
3803
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3804
+ validateOnly?: boolean;
3805
+ /** Request body */
3806
+ resource: GoogleCloudDataplexV1Lake;
3807
+ }): Request<GoogleLongrunningOperation>;
3808
+ create(request: {
3809
+ /** V1 error format. */
3810
+ "$.xgafv"?: string;
3811
+ /** OAuth access token. */
3812
+ access_token?: string;
3813
+ /** Data format for response. */
3814
+ alt?: string;
3815
+ /** JSONP */
3816
+ callback?: string;
3817
+ /** Selector specifying which fields to include in a partial response. */
3818
+ fields?: string;
3819
+ /** 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. */
3820
+ key?: string;
3821
+ /**
3822
+ * Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * Must contain only
3823
+ * lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the customer
3824
+ * project / location.
3825
+ */
3826
+ lakeId?: string;
3827
+ /** OAuth 2.0 token for the current user. */
3828
+ oauth_token?: string;
3829
+ /** Required. The resource name of the lake location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region. */
3830
+ parent: string;
3831
+ /** Returns response with indentations and line breaks. */
3832
+ prettyPrint?: boolean;
3833
+ /** 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. */
3834
+ quotaUser?: string;
3835
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3836
+ upload_protocol?: string;
3837
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3838
+ uploadType?: string;
3839
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
3840
+ validateOnly?: boolean;
3841
+ },
3842
+ body: GoogleCloudDataplexV1Lake): Request<GoogleLongrunningOperation>;
3843
+ /** Deletes a lake resource. All zones within the lake must be deleted before the lake can be deleted. */
3844
+ delete(request?: {
3845
+ /** V1 error format. */
3846
+ "$.xgafv"?: string;
3847
+ /** OAuth access token. */
3848
+ access_token?: string;
3849
+ /** Data format for response. */
3850
+ alt?: string;
3851
+ /** JSONP */
3852
+ callback?: string;
3853
+ /** Selector specifying which fields to include in a partial response. */
3854
+ fields?: string;
3855
+ /** 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. */
3856
+ key?: string;
3857
+ /** Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3858
+ name: string;
3859
+ /** OAuth 2.0 token for the current user. */
3860
+ oauth_token?: string;
3861
+ /** Returns response with indentations and line breaks. */
3862
+ prettyPrint?: boolean;
3863
+ /** 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. */
3864
+ quotaUser?: string;
3865
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3866
+ upload_protocol?: string;
3867
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3868
+ uploadType?: string;
3869
+ }): Request<GoogleLongrunningOperation>;
3870
+ /** Retrieves a lake resource. */
3871
+ get(request?: {
3872
+ /** V1 error format. */
3873
+ "$.xgafv"?: string;
3874
+ /** OAuth access token. */
3875
+ access_token?: string;
3876
+ /** Data format for response. */
3877
+ alt?: string;
3878
+ /** JSONP */
3879
+ callback?: string;
3880
+ /** Selector specifying which fields to include in a partial response. */
3881
+ fields?: string;
3882
+ /** 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. */
3883
+ key?: string;
3884
+ /** Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3885
+ name: string;
3886
+ /** OAuth 2.0 token for the current user. */
3887
+ oauth_token?: string;
3888
+ /** Returns response with indentations and line breaks. */
3889
+ prettyPrint?: boolean;
3890
+ /** 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. */
3891
+ quotaUser?: string;
3892
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3893
+ upload_protocol?: string;
3894
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3895
+ uploadType?: string;
3896
+ }): Request<GoogleCloudDataplexV1Lake>;
3897
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3898
+ getIamPolicy(request?: {
3899
+ /** V1 error format. */
3900
+ "$.xgafv"?: string;
3901
+ /** OAuth access token. */
3902
+ access_token?: string;
3903
+ /** Data format for response. */
3904
+ alt?: string;
3905
+ /** JSONP */
3906
+ callback?: string;
3907
+ /** Selector specifying which fields to include in a partial response. */
3908
+ fields?: string;
3909
+ /** 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. */
3910
+ key?: string;
3911
+ /** OAuth 2.0 token for the current user. */
3912
+ oauth_token?: string;
3913
+ /**
3914
+ * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for
3915
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
3916
+ * the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
3917
+ * role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
3918
+ * (https://cloud.google.com/iam/help/conditions/resource-policies).
3919
+ */
3920
+ "options.requestedPolicyVersion"?: number;
3921
+ /** Returns response with indentations and line breaks. */
3922
+ prettyPrint?: boolean;
3923
+ /** 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. */
3924
+ quotaUser?: string;
3925
+ /**
3926
+ * REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
3927
+ * field.
3928
+ */
3929
+ resource: string;
3930
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3931
+ upload_protocol?: string;
3932
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3933
+ uploadType?: string;
3934
+ }): Request<GoogleIamV1Policy>;
3935
+ /** Lists lake resources in a project and location. */
3936
+ list(request?: {
3937
+ /** V1 error format. */
3938
+ "$.xgafv"?: string;
3939
+ /** OAuth access token. */
3940
+ access_token?: string;
3941
+ /** Data format for response. */
3942
+ alt?: string;
3943
+ /** JSONP */
3944
+ callback?: string;
3945
+ /** Selector specifying which fields to include in a partial response. */
3946
+ fields?: string;
3947
+ /** Optional. Filter request. */
3948
+ filter?: string;
3949
+ /** 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. */
3950
+ key?: string;
3951
+ /** OAuth 2.0 token for the current user. */
3952
+ oauth_token?: string;
3953
+ /** Optional. Order by fields for the result. */
3954
+ orderBy?: string;
3955
+ /**
3956
+ * Optional. Maximum number of Lakes to return. The service may return fewer than this value. If unspecified, at most 10 lakes will be returned. The maximum value is 1000; values
3957
+ * above 1000 will be coerced to 1000.
3958
+ */
3959
+ pageSize?: number;
3960
+ /**
3961
+ * Optional. Page token received from a previous ListLakes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListLakes must
3962
+ * match the call that provided the page token.
3963
+ */
3964
+ pageToken?: string;
3965
+ /** Required. The resource name of the lake location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region. */
3966
+ parent: string;
3967
+ /** Returns response with indentations and line breaks. */
3968
+ prettyPrint?: boolean;
3969
+ /** 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. */
3970
+ quotaUser?: string;
3971
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3972
+ upload_protocol?: string;
3973
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3974
+ uploadType?: string;
3975
+ }): Request<GoogleCloudDataplexV1ListLakesResponse>;
3976
+ /** Updates a lake resource. */
3977
+ patch(request: {
3978
+ /** V1 error format. */
3979
+ "$.xgafv"?: string;
3980
+ /** OAuth access token. */
3981
+ access_token?: string;
3982
+ /** Data format for response. */
3983
+ alt?: string;
3984
+ /** JSONP */
3985
+ callback?: string;
3986
+ /** Selector specifying which fields to include in a partial response. */
3987
+ fields?: string;
3988
+ /** 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. */
3989
+ key?: string;
3990
+ /** Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
3991
+ name: string;
3992
+ /** OAuth 2.0 token for the current user. */
3993
+ oauth_token?: string;
3994
+ /** Returns response with indentations and line breaks. */
3995
+ prettyPrint?: boolean;
3996
+ /** 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. */
3997
+ quotaUser?: string;
3998
+ /** Required. Mask of fields to update. */
3999
+ updateMask?: string;
4000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4001
+ upload_protocol?: string;
4002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4003
+ uploadType?: string;
4004
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4005
+ validateOnly?: boolean;
4006
+ /** Request body */
4007
+ resource: GoogleCloudDataplexV1Lake;
4008
+ }): Request<GoogleLongrunningOperation>;
4009
+ patch(request: {
4010
+ /** V1 error format. */
4011
+ "$.xgafv"?: string;
4012
+ /** OAuth access token. */
4013
+ access_token?: string;
4014
+ /** Data format for response. */
4015
+ alt?: string;
4016
+ /** JSONP */
4017
+ callback?: string;
4018
+ /** Selector specifying which fields to include in a partial response. */
4019
+ fields?: string;
4020
+ /** 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. */
4021
+ key?: string;
4022
+ /** Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
4023
+ name: string;
4024
+ /** OAuth 2.0 token for the current user. */
4025
+ oauth_token?: string;
4026
+ /** Returns response with indentations and line breaks. */
4027
+ prettyPrint?: boolean;
4028
+ /** 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. */
4029
+ quotaUser?: string;
4030
+ /** Required. Mask of fields to update. */
4031
+ updateMask?: string;
4032
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4033
+ upload_protocol?: string;
4034
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4035
+ uploadType?: string;
4036
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4037
+ validateOnly?: boolean;
4038
+ },
4039
+ body: GoogleCloudDataplexV1Lake): Request<GoogleLongrunningOperation>;
4040
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
4041
+ setIamPolicy(request: {
4042
+ /** V1 error format. */
4043
+ "$.xgafv"?: string;
4044
+ /** OAuth access token. */
4045
+ access_token?: string;
4046
+ /** Data format for response. */
4047
+ alt?: string;
4048
+ /** JSONP */
4049
+ callback?: string;
4050
+ /** Selector specifying which fields to include in a partial response. */
4051
+ fields?: string;
4052
+ /** 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. */
4053
+ key?: string;
4054
+ /** OAuth 2.0 token for the current user. */
4055
+ oauth_token?: string;
4056
+ /** Returns response with indentations and line breaks. */
4057
+ prettyPrint?: boolean;
4058
+ /** 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. */
4059
+ quotaUser?: string;
4060
+ /**
4061
+ * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
4062
+ * field.
4063
+ */
4064
+ resource: string;
4065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4066
+ upload_protocol?: string;
4067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4068
+ uploadType?: string;
4069
+ },
4070
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
4071
+ /**
4072
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This
4073
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
4074
+ */
4075
+ testIamPermissions(request: {
4076
+ /** V1 error format. */
4077
+ "$.xgafv"?: string;
4078
+ /** OAuth access token. */
4079
+ access_token?: string;
4080
+ /** Data format for response. */
4081
+ alt?: string;
4082
+ /** JSONP */
4083
+ callback?: string;
4084
+ /** Selector specifying which fields to include in a partial response. */
4085
+ fields?: string;
4086
+ /** 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. */
4087
+ key?: string;
4088
+ /** OAuth 2.0 token for the current user. */
4089
+ oauth_token?: string;
4090
+ /** Returns response with indentations and line breaks. */
4091
+ prettyPrint?: boolean;
4092
+ /** 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. */
4093
+ quotaUser?: string;
4094
+ /**
4095
+ * REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for
4096
+ * this field.
4097
+ */
4098
+ resource: string;
4099
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4100
+ upload_protocol?: string;
4101
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4102
+ uploadType?: string;
4103
+ },
4104
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
4105
+ actions: ActionsResource;
4106
+ content: ContentResource;
4107
+ contentitems: ContentitemsResource;
4108
+ environments: EnvironmentsResource;
4109
+ tasks: TasksResource;
4110
+ zones: ZonesResource;
4111
+ }
4112
+ interface OperationsResource {
4113
+ /**
4114
+ * 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
4115
+ * 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 operation
4116
+ * completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
4117
+ * google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
4118
+ */
4119
+ cancel(request: {
4120
+ /** V1 error format. */
4121
+ "$.xgafv"?: string;
4122
+ /** OAuth access token. */
4123
+ access_token?: string;
4124
+ /** Data format for response. */
4125
+ alt?: string;
4126
+ /** JSONP */
4127
+ callback?: string;
4128
+ /** Selector specifying which fields to include in a partial response. */
4129
+ fields?: string;
4130
+ /** 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. */
4131
+ key?: string;
4132
+ /** The name of the operation resource to be cancelled. */
4133
+ name: string;
4134
+ /** OAuth 2.0 token for the current user. */
4135
+ oauth_token?: string;
4136
+ /** Returns response with indentations and line breaks. */
4137
+ prettyPrint?: boolean;
4138
+ /** 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. */
4139
+ quotaUser?: string;
4140
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4141
+ upload_protocol?: string;
4142
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4143
+ uploadType?: string;
4144
+ /** Request body */
4145
+ resource: GoogleLongrunningCancelOperationRequest;
4146
+ }): Request<{}>;
4147
+ cancel(request: {
4148
+ /** V1 error format. */
4149
+ "$.xgafv"?: string;
4150
+ /** OAuth access token. */
4151
+ access_token?: string;
4152
+ /** Data format for response. */
4153
+ alt?: string;
4154
+ /** JSONP */
4155
+ callback?: string;
4156
+ /** Selector specifying which fields to include in a partial response. */
4157
+ fields?: string;
4158
+ /** 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. */
4159
+ key?: string;
4160
+ /** The name of the operation resource to be cancelled. */
4161
+ name: string;
4162
+ /** OAuth 2.0 token for the current user. */
4163
+ oauth_token?: string;
4164
+ /** Returns response with indentations and line breaks. */
4165
+ prettyPrint?: boolean;
4166
+ /** 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. */
4167
+ quotaUser?: string;
4168
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4169
+ upload_protocol?: string;
4170
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4171
+ uploadType?: string;
4172
+ },
4173
+ body: GoogleLongrunningCancelOperationRequest): Request<{}>;
4174
+ /**
4175
+ * 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
4176
+ * support this method, it returns google.rpc.Code.UNIMPLEMENTED.
4177
+ */
4178
+ delete(request?: {
4179
+ /** V1 error format. */
4180
+ "$.xgafv"?: string;
4181
+ /** OAuth access token. */
4182
+ access_token?: string;
4183
+ /** Data format for response. */
4184
+ alt?: string;
4185
+ /** JSONP */
4186
+ callback?: string;
4187
+ /** Selector specifying which fields to include in a partial response. */
4188
+ fields?: string;
4189
+ /** 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. */
4190
+ key?: string;
4191
+ /** The name of the operation resource to be deleted. */
4192
+ name: string;
4193
+ /** OAuth 2.0 token for the current user. */
4194
+ oauth_token?: string;
4195
+ /** Returns response with indentations and line breaks. */
4196
+ prettyPrint?: boolean;
4197
+ /** 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. */
4198
+ quotaUser?: string;
4199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4200
+ upload_protocol?: string;
4201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4202
+ uploadType?: string;
4203
+ }): Request<{}>;
4204
+ /** 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. */
4205
+ get(request?: {
4206
+ /** V1 error format. */
4207
+ "$.xgafv"?: string;
4208
+ /** OAuth access token. */
4209
+ access_token?: string;
4210
+ /** Data format for response. */
4211
+ alt?: string;
4212
+ /** JSONP */
4213
+ callback?: string;
4214
+ /** Selector specifying which fields to include in a partial response. */
4215
+ fields?: string;
4216
+ /** 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. */
4217
+ key?: string;
4218
+ /** The name of the operation resource. */
4219
+ name: string;
4220
+ /** OAuth 2.0 token for the current user. */
4221
+ oauth_token?: string;
4222
+ /** Returns response with indentations and line breaks. */
4223
+ prettyPrint?: boolean;
4224
+ /** 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. */
4225
+ quotaUser?: string;
4226
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4227
+ upload_protocol?: string;
4228
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4229
+ uploadType?: string;
4230
+ }): Request<GoogleLongrunningOperation>;
4231
+ /**
4232
+ * 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 to
4233
+ * 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
4234
+ * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
4235
+ * ensure the name binding is the parent resource, without the operations collection id.
4236
+ */
4237
+ list(request?: {
4238
+ /** V1 error format. */
4239
+ "$.xgafv"?: string;
4240
+ /** OAuth access token. */
4241
+ access_token?: string;
4242
+ /** Data format for response. */
4243
+ alt?: string;
4244
+ /** JSONP */
4245
+ callback?: string;
4246
+ /** Selector specifying which fields to include in a partial response. */
4247
+ fields?: string;
4248
+ /** The standard list filter. */
4249
+ filter?: string;
4250
+ /** 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. */
4251
+ key?: string;
4252
+ /** The name of the operation's parent resource. */
4253
+ name: string;
4254
+ /** OAuth 2.0 token for the current user. */
4255
+ oauth_token?: string;
4256
+ /** The standard list page size. */
4257
+ pageSize?: number;
4258
+ /** The standard list page token. */
4259
+ pageToken?: string;
4260
+ /** Returns response with indentations and line breaks. */
4261
+ prettyPrint?: boolean;
4262
+ /** 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. */
4263
+ quotaUser?: string;
4264
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4265
+ upload_protocol?: string;
4266
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4267
+ uploadType?: string;
4268
+ }): Request<GoogleLongrunningListOperationsResponse>;
4269
+ }
4270
+ interface LocationsResource {
4271
+ /** Gets information about a location. */
4272
+ get(request?: {
4273
+ /** V1 error format. */
4274
+ "$.xgafv"?: string;
4275
+ /** OAuth access token. */
4276
+ access_token?: string;
4277
+ /** Data format for response. */
4278
+ alt?: string;
4279
+ /** JSONP */
4280
+ callback?: string;
4281
+ /** Selector specifying which fields to include in a partial response. */
4282
+ fields?: string;
4283
+ /** 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. */
4284
+ key?: string;
4285
+ /** Resource name for the location. */
4286
+ name: string;
4287
+ /** OAuth 2.0 token for the current user. */
4288
+ oauth_token?: string;
4289
+ /** Returns response with indentations and line breaks. */
4290
+ prettyPrint?: boolean;
4291
+ /** 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. */
4292
+ quotaUser?: string;
4293
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4294
+ upload_protocol?: string;
4295
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4296
+ uploadType?: string;
4297
+ }): Request<GoogleCloudLocationLocation>;
4298
+ /** Lists information about the supported locations for this service. */
4299
+ list(request?: {
4300
+ /** V1 error format. */
4301
+ "$.xgafv"?: string;
4302
+ /** OAuth access token. */
4303
+ access_token?: string;
4304
+ /** Data format for response. */
4305
+ alt?: string;
4306
+ /** JSONP */
4307
+ callback?: string;
4308
+ /** Selector specifying which fields to include in a partial response. */
4309
+ fields?: string;
4310
+ /**
4311
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160
4312
+ * (https://google.aip.dev/160).
4313
+ */
4314
+ filter?: string;
4315
+ /** 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. */
4316
+ key?: string;
4317
+ /** The resource that owns the locations collection, if applicable. */
4318
+ name: string;
4319
+ /** OAuth 2.0 token for the current user. */
4320
+ oauth_token?: string;
4321
+ /** The maximum number of results to return. If not set, the service selects a default. */
4322
+ pageSize?: number;
4323
+ /** A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. */
4324
+ pageToken?: string;
4325
+ /** Returns response with indentations and line breaks. */
4326
+ prettyPrint?: boolean;
4327
+ /** 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. */
4328
+ quotaUser?: string;
4329
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4330
+ upload_protocol?: string;
4331
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4332
+ uploadType?: string;
4333
+ }): Request<GoogleCloudLocationListLocationsResponse>;
4334
+ lakes: LakesResource;
4335
+ operations: OperationsResource;
4336
+ }
4337
+ interface ProjectsResource {
4338
+ locations: LocationsResource;
4339
+ }
4340
+
4341
+ const projects: ProjectsResource;
4342
+ }
4343
+ }