@maxim_mazurok/gapi.client.dataplex-v1 0.3.20261005 → 0.3.20261013
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 +193 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataplex.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261013
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -193,7 +193,7 @@ declare namespace gapi.client {
|
|
|
193
193
|
displayName?: string;
|
|
194
194
|
/** Optional. Display order for a field. You can use this to reorder where a field is rendered. */
|
|
195
195
|
displayOrder?: number;
|
|
196
|
-
/** Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. */
|
|
196
|
+
/** Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. markdown: The field must be interpreted as a markdown field. url: A fully qualified URL link. resource: A service qualified resource reference. */
|
|
197
197
|
stringType?: string;
|
|
198
198
|
/** Optional. Suggested hints for string fields. You can use them to suggest values to users through console. */
|
|
199
199
|
stringValues?: string[];
|
|
@@ -336,6 +336,44 @@ declare namespace gapi.client {
|
|
|
336
336
|
/** Last update time of the status. */
|
|
337
337
|
updateTime?: string;
|
|
338
338
|
}
|
|
339
|
+
interface GoogleCloudDataplexV1BatchChangeMetadataRequest {
|
|
340
|
+
/** Required. The list of changes to apply. Only a single change per resource is supported. Maximum number of changes supported is 250. */
|
|
341
|
+
changes?: GoogleCloudDataplexV1BatchChangeMetadataRequestChange[];
|
|
342
|
+
/** Optional. Text description of the batch change. */
|
|
343
|
+
description?: GoogleCloudDataplexV1BatchChangeMetadataRequestDescription;
|
|
344
|
+
/** Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} */
|
|
345
|
+
name?: string;
|
|
346
|
+
}
|
|
347
|
+
interface GoogleCloudDataplexV1BatchChangeMetadataRequestChange {
|
|
348
|
+
/** Payload for creating an EntryLink. */
|
|
349
|
+
createEntryLinkRequest?: GoogleCloudDataplexV1CreateEntryLinkRequest;
|
|
350
|
+
/** Payload for creating an Entry. */
|
|
351
|
+
createEntryRequest?: GoogleCloudDataplexV1CreateEntryRequest;
|
|
352
|
+
/** Payload for deleting an EntryLink. */
|
|
353
|
+
deleteEntryLinkRequest?: GoogleCloudDataplexV1DeleteEntryLinkRequest;
|
|
354
|
+
/** Payload for deleting an Entry. */
|
|
355
|
+
deleteEntryRequest?: GoogleCloudDataplexV1DeleteEntryRequest;
|
|
356
|
+
/** Payload for updating an EntryLink. */
|
|
357
|
+
updateEntryLinkRequest?: GoogleCloudDataplexV1UpdateEntryLinkRequest;
|
|
358
|
+
/** Payload for updating an Entry. */
|
|
359
|
+
updateEntryRequest?: GoogleCloudDataplexV1UpdateEntryRequest;
|
|
360
|
+
}
|
|
361
|
+
interface GoogleCloudDataplexV1BatchChangeMetadataRequestDescription {
|
|
362
|
+
/** Optional. The text description content. */
|
|
363
|
+
content?: string;
|
|
364
|
+
/** Optional. The job that created the batch change. */
|
|
365
|
+
job?: GoogleCloudDataplexV1BatchChangeMetadataRequestDescriptionJob;
|
|
366
|
+
}
|
|
367
|
+
interface GoogleCloudDataplexV1BatchChangeMetadataRequestDescriptionJob {
|
|
368
|
+
/** Optional. The name of the job that created the batch change. For example: projects/{project_number}/locations/{location_id}/enrichmentTasks/{enrichment_task_id}/runs/{enrichment_run_id} */
|
|
369
|
+
name?: string;
|
|
370
|
+
/** Optional. The start time of the job run that created the batch change. */
|
|
371
|
+
runTime?: string;
|
|
372
|
+
}
|
|
373
|
+
interface GoogleCloudDataplexV1BatchChangeMetadataResponse {
|
|
374
|
+
/** A map of failed requests for a batch change, where the key is the 0-based index of the failed request in the batch and the value is the error status. If all operations succeeded, this map is empty. */
|
|
375
|
+
failedRequests?: {[P in string]: GoogleRpcStatus};
|
|
376
|
+
}
|
|
339
377
|
interface GoogleCloudDataplexV1BusinessGlossaryEvent {
|
|
340
378
|
/** The type of the event. */
|
|
341
379
|
eventType?:
|
|
@@ -363,6 +401,10 @@ declare namespace gapi.client {
|
|
|
363
401
|
approver?: string;
|
|
364
402
|
/** Output only. The email address of the user who created the ChangeRequest. */
|
|
365
403
|
author?: string;
|
|
404
|
+
/** Payload for executing a batch of catalog changes. */
|
|
405
|
+
batchChangeMetadataRequest?: GoogleCloudDataplexV1BatchChangeMetadataRequest;
|
|
406
|
+
/** Output only. Result of applying a batch change metadata request. */
|
|
407
|
+
batchChangeMetadataResponse?: GoogleCloudDataplexV1BatchChangeMetadataResponse;
|
|
366
408
|
/** Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. */
|
|
367
409
|
changeType?:
|
|
368
410
|
| 'CHANGE_TYPE_UNSPECIFIED'
|
|
@@ -380,7 +422,8 @@ declare namespace gapi.client {
|
|
|
380
422
|
| 'CREATE_GLOSSARY_TERM'
|
|
381
423
|
| 'UPDATE_GLOSSARY_TERM'
|
|
382
424
|
| 'DELETE_GLOSSARY_TERM'
|
|
383
|
-
| 'REQUEST_DATA_PRODUCT_ACCESS'
|
|
425
|
+
| 'REQUEST_DATA_PRODUCT_ACCESS'
|
|
426
|
+
| 'BATCH_CHANGE_METADATA';
|
|
384
427
|
/** Payload for creating an Entry. */
|
|
385
428
|
createEntry?: GoogleCloudDataplexV1CreateEntryRequest;
|
|
386
429
|
/** Payload for creating an EntryLink. */
|
|
@@ -426,7 +469,9 @@ declare namespace gapi.client {
|
|
|
426
469
|
| 'APPROVED'
|
|
427
470
|
| 'REJECTED'
|
|
428
471
|
| 'EXPIRED'
|
|
429
|
-
| 'REVOKED'
|
|
472
|
+
| 'REVOKED'
|
|
473
|
+
| 'APPLYING'
|
|
474
|
+
| 'FAILED';
|
|
430
475
|
/** Output only. System generated globally unique ID for the ChangeRequest. */
|
|
431
476
|
uid?: string;
|
|
432
477
|
/** Payload for updating an Entry. */
|
|
@@ -664,6 +709,8 @@ declare namespace gapi.client {
|
|
|
664
709
|
interface GoogleCloudDataplexV1DataDocumentationSpec {
|
|
665
710
|
/** Optional. Whether to publish result to Dataplex Catalog. */
|
|
666
711
|
catalogPublishingEnabled?: boolean;
|
|
712
|
+
/** Optional. Custom instructions for generating data documentation. The maximum length is 2,048 characters. */
|
|
713
|
+
customInstructions?: string;
|
|
667
714
|
/** Optional. Specifies which components of the data documentation to generate. Any component that is required to generate the specified components will also be generated. If no generation scope is specified, all available documentation components will be generated. */
|
|
668
715
|
generationScopes?:
|
|
669
716
|
| 'GENERATION_SCOPE_UNSPECIFIED'
|
|
@@ -1662,6 +1709,8 @@ declare namespace gapi.client {
|
|
|
1662
1709
|
updateTime?: string;
|
|
1663
1710
|
}
|
|
1664
1711
|
interface GoogleCloudDataplexV1EntryGroup {
|
|
1712
|
+
/** Optional. Specifies the configuration for requesting changes in the metadata belonging to the Entry Group. */
|
|
1713
|
+
changeRequestConfig?: GoogleCloudDataplexV1EntryGroupChangeRequestConfig;
|
|
1665
1714
|
/** Output only. The time when the EntryGroup was created. */
|
|
1666
1715
|
createTime?: string;
|
|
1667
1716
|
/** Optional. Description of the EntryGroup. */
|
|
@@ -1684,6 +1733,10 @@ declare namespace gapi.client {
|
|
|
1684
1733
|
/** Output only. The time when the EntryGroup was last updated. */
|
|
1685
1734
|
updateTime?: string;
|
|
1686
1735
|
}
|
|
1736
|
+
interface GoogleCloudDataplexV1EntryGroupChangeRequestConfig {
|
|
1737
|
+
/** Optional. Specifies the email addresses of users who are potential approvers and are notified when a change request is created for the metadata belonging to the Entry Group. The maximum number of emails allowed is 10. */
|
|
1738
|
+
approverEmails?: string[];
|
|
1739
|
+
}
|
|
1687
1740
|
interface GoogleCloudDataplexV1EntryLink {
|
|
1688
1741
|
/** Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. */
|
|
1689
1742
|
aspects?: {[P in string]: GoogleCloudDataplexV1Aspect};
|
|
@@ -2397,6 +2450,18 @@ declare namespace gapi.client {
|
|
|
2397
2450
|
/** Optional. The etag of the ChangeRequest. */
|
|
2398
2451
|
etag?: string;
|
|
2399
2452
|
}
|
|
2453
|
+
interface GoogleCloudDataplexV1RequestBatchMetadataChangeRequest {
|
|
2454
|
+
/** Required. The detailed specification of the proposed changes. This payload is intended to be embedded as the change_payload in the resulting ChangeRequest. */
|
|
2455
|
+
changePayload?: GoogleCloudDataplexV1BatchChangeMetadataRequest;
|
|
2456
|
+
/** Optional. Justification for the metadata change request. */
|
|
2457
|
+
justification?: string;
|
|
2458
|
+
/** Optional. User-defined labels for the metadata change request. */
|
|
2459
|
+
labels?: {[P in string]: string};
|
|
2460
|
+
}
|
|
2461
|
+
interface GoogleCloudDataplexV1RequestBatchMetadataChangeResponse {
|
|
2462
|
+
/** The resource name of the created ChangeRequest. Format: projects/{project}/locations/{location}/changeRequests/{change_request} */
|
|
2463
|
+
changeRequest?: string;
|
|
2464
|
+
}
|
|
2400
2465
|
interface GoogleCloudDataplexV1RequestDataProductAccessRequest {
|
|
2401
2466
|
/** Required. The change request for the data product access request. */
|
|
2402
2467
|
changeRequest?: GoogleCloudDataplexV1ChangeRequest;
|
|
@@ -2736,6 +2801,14 @@ declare namespace gapi.client {
|
|
|
2736
2801
|
/** Required. Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans periodically.To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "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 (wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.This field is required for Schedule scans. */
|
|
2737
2802
|
cron?: string;
|
|
2738
2803
|
}
|
|
2804
|
+
interface GoogleCloudDataplexV1UpdateEntryLinkRequest {
|
|
2805
|
+
/** Optional. If set to true and the entry link doesn't exist, the service will create it. */
|
|
2806
|
+
allowMissing?: boolean;
|
|
2807
|
+
/** Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. */
|
|
2808
|
+
aspectKeys?: string[];
|
|
2809
|
+
/** Required. Entry Link resource. */
|
|
2810
|
+
entryLink?: GoogleCloudDataplexV1EntryLink;
|
|
2811
|
+
}
|
|
2739
2812
|
interface GoogleCloudDataplexV1UpdateEntryRequest {
|
|
2740
2813
|
/** Optional. If set to true and the entry doesn't exist, the service will create it. */
|
|
2741
2814
|
allowMissing?: boolean;
|
|
@@ -6544,6 +6617,64 @@ declare namespace gapi.client {
|
|
|
6544
6617
|
): Request<GoogleCloudDataplexV1EntryLink>;
|
|
6545
6618
|
}
|
|
6546
6619
|
interface EntryGroupsResource {
|
|
6620
|
+
/** Batch changes metadata within an EntryGroup. */
|
|
6621
|
+
batchChangeMetadata(request: {
|
|
6622
|
+
/** V1 error format. */
|
|
6623
|
+
'$.xgafv'?: '1' | '2';
|
|
6624
|
+
/** OAuth access token. */
|
|
6625
|
+
access_token?: string;
|
|
6626
|
+
/** Data format for response. */
|
|
6627
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6628
|
+
/** JSONP */
|
|
6629
|
+
callback?: string;
|
|
6630
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6631
|
+
fields?: string;
|
|
6632
|
+
/** 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. */
|
|
6633
|
+
key?: string;
|
|
6634
|
+
/** Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} */
|
|
6635
|
+
name: string;
|
|
6636
|
+
/** OAuth 2.0 token for the current user. */
|
|
6637
|
+
oauth_token?: string;
|
|
6638
|
+
/** Returns response with indentations and line breaks. */
|
|
6639
|
+
prettyPrint?: boolean;
|
|
6640
|
+
/** 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. */
|
|
6641
|
+
quotaUser?: string;
|
|
6642
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6643
|
+
upload_protocol?: string;
|
|
6644
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6645
|
+
uploadType?: string;
|
|
6646
|
+
/** Request body */
|
|
6647
|
+
resource: GoogleCloudDataplexV1BatchChangeMetadataRequest;
|
|
6648
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6649
|
+
batchChangeMetadata(
|
|
6650
|
+
request: {
|
|
6651
|
+
/** V1 error format. */
|
|
6652
|
+
'$.xgafv'?: '1' | '2';
|
|
6653
|
+
/** OAuth access token. */
|
|
6654
|
+
access_token?: string;
|
|
6655
|
+
/** Data format for response. */
|
|
6656
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6657
|
+
/** JSONP */
|
|
6658
|
+
callback?: string;
|
|
6659
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6660
|
+
fields?: string;
|
|
6661
|
+
/** 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. */
|
|
6662
|
+
key?: string;
|
|
6663
|
+
/** Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} */
|
|
6664
|
+
name: string;
|
|
6665
|
+
/** OAuth 2.0 token for the current user. */
|
|
6666
|
+
oauth_token?: string;
|
|
6667
|
+
/** Returns response with indentations and line breaks. */
|
|
6668
|
+
prettyPrint?: boolean;
|
|
6669
|
+
/** 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. */
|
|
6670
|
+
quotaUser?: string;
|
|
6671
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6672
|
+
upload_protocol?: string;
|
|
6673
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6674
|
+
uploadType?: string;
|
|
6675
|
+
},
|
|
6676
|
+
body: GoogleCloudDataplexV1BatchChangeMetadataRequest,
|
|
6677
|
+
): Request<GoogleLongrunningOperation>;
|
|
6547
6678
|
/** Creates an EntryGroup. */
|
|
6548
6679
|
create(request: {
|
|
6549
6680
|
/** V1 error format. */
|
|
@@ -6796,6 +6927,64 @@ declare namespace gapi.client {
|
|
|
6796
6927
|
},
|
|
6797
6928
|
body: GoogleCloudDataplexV1EntryGroup,
|
|
6798
6929
|
): Request<GoogleLongrunningOperation>;
|
|
6930
|
+
/** Submits a catalog change request for multiple resources within an EntryGroup. This method creates a ChangeRequest resource that must be reviewed and approved before the proposed changes are applied. */
|
|
6931
|
+
requestBatchMetadataChange(request: {
|
|
6932
|
+
/** V1 error format. */
|
|
6933
|
+
'$.xgafv'?: '1' | '2';
|
|
6934
|
+
/** OAuth access token. */
|
|
6935
|
+
access_token?: string;
|
|
6936
|
+
/** Data format for response. */
|
|
6937
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6938
|
+
/** JSONP */
|
|
6939
|
+
callback?: string;
|
|
6940
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6941
|
+
fields?: string;
|
|
6942
|
+
/** 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. */
|
|
6943
|
+
key?: string;
|
|
6944
|
+
/** Required. The resource name of the Entry Group on which the change applies. Format: projects/{project}/locations/{location}/entryGroups/{entry_group} */
|
|
6945
|
+
name: string;
|
|
6946
|
+
/** OAuth 2.0 token for the current user. */
|
|
6947
|
+
oauth_token?: string;
|
|
6948
|
+
/** Returns response with indentations and line breaks. */
|
|
6949
|
+
prettyPrint?: boolean;
|
|
6950
|
+
/** 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. */
|
|
6951
|
+
quotaUser?: string;
|
|
6952
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6953
|
+
upload_protocol?: string;
|
|
6954
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6955
|
+
uploadType?: string;
|
|
6956
|
+
/** Request body */
|
|
6957
|
+
resource: GoogleCloudDataplexV1RequestBatchMetadataChangeRequest;
|
|
6958
|
+
}): Request<GoogleCloudDataplexV1RequestBatchMetadataChangeResponse>;
|
|
6959
|
+
requestBatchMetadataChange(
|
|
6960
|
+
request: {
|
|
6961
|
+
/** V1 error format. */
|
|
6962
|
+
'$.xgafv'?: '1' | '2';
|
|
6963
|
+
/** OAuth access token. */
|
|
6964
|
+
access_token?: string;
|
|
6965
|
+
/** Data format for response. */
|
|
6966
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6967
|
+
/** JSONP */
|
|
6968
|
+
callback?: string;
|
|
6969
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6970
|
+
fields?: string;
|
|
6971
|
+
/** 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. */
|
|
6972
|
+
key?: string;
|
|
6973
|
+
/** Required. The resource name of the Entry Group on which the change applies. Format: projects/{project}/locations/{location}/entryGroups/{entry_group} */
|
|
6974
|
+
name: string;
|
|
6975
|
+
/** OAuth 2.0 token for the current user. */
|
|
6976
|
+
oauth_token?: string;
|
|
6977
|
+
/** Returns response with indentations and line breaks. */
|
|
6978
|
+
prettyPrint?: boolean;
|
|
6979
|
+
/** 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. */
|
|
6980
|
+
quotaUser?: string;
|
|
6981
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6982
|
+
upload_protocol?: string;
|
|
6983
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6984
|
+
uploadType?: string;
|
|
6985
|
+
},
|
|
6986
|
+
body: GoogleCloudDataplexV1RequestBatchMetadataChangeRequest,
|
|
6987
|
+
): Request<GoogleCloudDataplexV1RequestBatchMetadataChangeResponse>;
|
|
6799
6988
|
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
6800
6989
|
setIamPolicy(
|
|
6801
6990
|
request: {
|