@maxim_mazurok/gapi.client.dataplex-v1 0.0.20240705 → 0.0.20240725

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.
Files changed (2) hide show
  1. package/index.d.ts +486 -26
  2. 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: 20240705
12
+ // Revision: 20240725
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -92,6 +92,7 @@ declare namespace gapi.client {
92
92
  interface GoogleCloudDataplexV1ActionMissingResource {}
93
93
  interface GoogleCloudDataplexV1ActionUnauthorizedResource {}
94
94
  interface GoogleCloudDataplexV1Aspect {
95
+ /** Optional. Information related to the source system of the aspect. */
95
96
  aspectSource?: GoogleCloudDataplexV1AspectSource;
96
97
  /** Output only. The resource name of the type used to create this Aspect. */
97
98
  aspectType?: string;
@@ -105,9 +106,9 @@ declare namespace gapi.client {
105
106
  updateTime?: string;
106
107
  }
107
108
  interface GoogleCloudDataplexV1AspectSource {
108
- /** The create time of the aspect in the source system. */
109
+ /** The time the aspect was created in the source system. */
109
110
  createTime?: string;
110
- /** The update time of the aspect in the source system. */
111
+ /** The time the aspect was last updated in the source system. */
111
112
  updateTime?: string;
112
113
  }
113
114
  interface GoogleCloudDataplexV1AspectType {
@@ -303,6 +304,7 @@ declare namespace gapi.client {
303
304
  updateTime?: string;
304
305
  }
305
306
  interface GoogleCloudDataplexV1CancelJobRequest {}
307
+ interface GoogleCloudDataplexV1CancelMetadataJobRequest {}
306
308
  interface GoogleCloudDataplexV1Content {
307
309
  /** Output only. Content creation time. */
308
310
  createTime?: string;
@@ -428,7 +430,7 @@ declare namespace gapi.client {
428
430
  type?: string;
429
431
  }
430
432
  interface GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo {
431
- /** Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode. */
433
+ /** Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. */
432
434
  distinctRatio?: number;
433
435
  /** Double type field information. */
434
436
  doubleProfile?: GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo;
@@ -438,7 +440,7 @@ declare namespace gapi.client {
438
440
  nullRatio?: number;
439
441
  /** String type field information. */
440
442
  stringProfile?: GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo;
441
- /** The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode. */
443
+ /** The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. */
442
444
  topNValues?: GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue[];
443
445
  }
444
446
  interface GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo {
@@ -576,6 +578,8 @@ declare namespace gapi.client {
576
578
  sqlAssertion?: GoogleCloudDataplexV1DataQualityRuleSqlAssertion;
577
579
  /** Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range. */
578
580
  statisticRangeExpectation?: GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation;
581
+ /** Optional. Whether the Rule is active or suspended. Default is false. */
582
+ suspended?: boolean;
579
583
  /** Aggregate rule which evaluates whether the provided expression is true for a table. */
580
584
  tableConditionExpectation?: GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation;
581
585
  /** Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0).This field is only valid for row-level type rules. */
@@ -988,21 +992,21 @@ declare namespace gapi.client {
988
992
  reason?: string;
989
993
  }
990
994
  interface GoogleCloudDataplexV1Entry {
991
- /** Optional. The Aspects attached to the Entry. The format for the key can be one of the following: {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry) {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is attached to an entry's path) */
995
+ /** Optional. The aspects that are attached to the entry. Depending on how the aspect is attached to the entry, the format of the aspect key can be one of the following: If the aspect is attached directly to the entry: {project_id_or_number}.{location_id}.{aspect_type_id} If the aspect is attached to an entry's path: {project_id_or_number}.{location_id}.{aspect_type_id}@{path} */
992
996
  aspects?: {[P in string]: GoogleCloudDataplexV1Aspect};
993
- /** Output only. The time when the Entry was created. */
997
+ /** Output only. The time when the entry was created in Dataplex. */
994
998
  createTime?: string;
995
- /** Optional. Information related to the source system for an entry. */
999
+ /** Optional. Information related to the source system of the data resource that is represented by the entry. */
996
1000
  entrySource?: GoogleCloudDataplexV1EntrySource;
997
- /** Required. Immutable. The resource name of the EntryType used to create this Entry. */
1001
+ /** Required. Immutable. The relative resource name of the entry type that was used to create this entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}. */
998
1002
  entryType?: string;
999
- /** Optional. A name for the entry that can reference it in an external system. The maximum size of the field is 4000 characters. */
1003
+ /** Optional. A name for the entry that can be referenced by an external system. For more information, see Fully qualified names (https://cloud.google.com/data-catalog/docs/fully-qualified-names). The maximum size of the field is 4000 characters. */
1000
1004
  fullyQualifiedName?: string;
1001
- /** Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. */
1005
+ /** Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. */
1002
1006
  name?: string;
1003
1007
  /** Optional. Immutable. The resource name of the parent entry. */
1004
1008
  parentEntry?: string;
1005
- /** Output only. The time when the Entry was last updated. */
1009
+ /** Output only. The time when the entry was last updated in Dataplex. */
1006
1010
  updateTime?: string;
1007
1011
  }
1008
1012
  interface GoogleCloudDataplexV1EntryGroup {
@@ -1016,7 +1020,7 @@ declare namespace gapi.client {
1016
1020
  etag?: string;
1017
1021
  /** Optional. User-defined labels for the EntryGroup. */
1018
1022
  labels?: {[P in string]: string};
1019
- /** Output only. The relative resource name of the EntryGroup, of the form: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
1023
+ /** Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
1020
1024
  name?: string;
1021
1025
  /** Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. */
1022
1026
  uid?: string;
@@ -1024,25 +1028,25 @@ declare namespace gapi.client {
1024
1028
  updateTime?: string;
1025
1029
  }
1026
1030
  interface GoogleCloudDataplexV1EntrySource {
1027
- /** Immutable. The ancestors of the Entry in the source system. */
1031
+ /** Immutable. The entries representing the ancestors of the data resource in the source system. */
1028
1032
  ancestors?: GoogleCloudDataplexV1EntrySourceAncestor[];
1029
- /** The create time of the resource in the source system. */
1033
+ /** The time when the resource was created in the source system. */
1030
1034
  createTime?: string;
1031
- /** Description of the Entry. The maximum size of the field is 2000 characters. */
1035
+ /** A description of the data resource. Maximum length is 2,000 characters. */
1032
1036
  description?: string;
1033
- /** User friendly display name. The maximum size of the field is 500 characters. */
1037
+ /** A user-friendly display name. Maximum length is 500 characters. */
1034
1038
  displayName?: string;
1035
1039
  /** User-defined labels. The maximum size of keys and values is 128 characters each. */
1036
1040
  labels?: {[P in string]: string};
1037
- /** Output only. Location of the resource in the source system. You can search the Entry by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing the source location for data external to Google Cloud. */
1041
+ /** Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. */
1038
1042
  location?: string;
1039
- /** The platform containing the source system. The maximum size of the field is 64 characters. */
1043
+ /** The platform containing the source system. Maximum length is 64 characters. */
1040
1044
  platform?: string;
1041
- /** The name of the resource in the source system. The maximum size of the field is 4000 characters. */
1045
+ /** The name of the resource in the source system. Maximum length is 4,000 characters. */
1042
1046
  resource?: string;
1043
- /** The name of the source system. The maximum size of the field is 64 characters. */
1047
+ /** The name of the source system. Maximum length is 64 characters. */
1044
1048
  system?: string;
1045
- /** The update time of the resource in the source system. */
1049
+ /** The time when the resource was last updated in the source system. If the entry exists in the system and its EntrySource has update_time populated, further updates to the EntrySource of the entry must provide incremental updates to its update_time. */
1046
1050
  updateTime?: string;
1047
1051
  }
1048
1052
  interface GoogleCloudDataplexV1EntrySourceAncestor {
@@ -1172,6 +1176,14 @@ declare namespace gapi.client {
1172
1176
  /** Type of entity. */
1173
1177
  entityType?: string;
1174
1178
  }
1179
+ interface GoogleCloudDataplexV1ImportItem {
1180
+ /** The aspects to modify. Supports the following syntaxes: {aspect_type_reference}: matches aspects that belong to the specified aspect type and are attached directly to the entry. {aspect_type_reference}@{path}: matches aspects that belong to the specified aspect type and path. {aspect_type_reference}@*: matches aspects that belong to the specified aspect type for all paths.Replace {aspect_type_reference} with a reference to the aspect type, in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this field empty, it is treated as specifying exactly those aspects that are present within the specified entry.In FULL entry sync mode, Dataplex implicitly adds the keys for all of the required aspects of an entry. */
1181
+ aspectKeys?: string[];
1182
+ /** Information about an entry and its attached aspects. */
1183
+ entry?: GoogleCloudDataplexV1Entry;
1184
+ /** The fields to update, in paths that are relative to the Entry resource. Separate each field with a comma.In FULL entry sync mode, Dataplex includes the paths of all of the fields for an entry that can be modified, including aspects. This means that Dataplex replaces the existing entry with the entry in the metadata import file. All modifiable fields are updated, regardless of the fields that are listed in the update mask, and regardless of whether a field is present in the entry object.The update_mask field is ignored when an entry is created or re-created.Dataplex also determines which entries and aspects to modify by comparing the values and timestamps that you provide in the metadata import file with the values and timestamps that exist in your project. For more information, see Comparison logic (https://cloud.google.com/dataplex/docs/import-metadata#data-modification-logic). */
1185
+ updateMask?: string;
1186
+ }
1175
1187
  interface GoogleCloudDataplexV1Job {
1176
1188
  /** Output only. The time when the job ended. */
1177
1189
  endTime?: string;
@@ -1372,6 +1384,14 @@ declare namespace gapi.client {
1372
1384
  /** Locations that could not be reached. */
1373
1385
  unreachableLocations?: string[];
1374
1386
  }
1387
+ interface GoogleCloudDataplexV1ListMetadataJobsResponse {
1388
+ /** Metadata jobs under the specified parent location. */
1389
+ metadataJobs?: GoogleCloudDataplexV1MetadataJob[];
1390
+ /** A token to retrieve the next page of results. If there are no more results in the list, the value is empty. */
1391
+ nextPageToken?: string;
1392
+ /** Locations that the service couldn't reach. */
1393
+ unreachableLocations?: string[];
1394
+ }
1375
1395
  interface GoogleCloudDataplexV1ListPartitionsResponse {
1376
1396
  /** Token to retrieve the next page of results, or empty if there are no remaining results in the list. */
1377
1397
  nextPageToken?: string;
@@ -1398,6 +1418,70 @@ declare namespace gapi.client {
1398
1418
  /** Zones under the given parent lake. */
1399
1419
  zones?: GoogleCloudDataplexV1Zone[];
1400
1420
  }
1421
+ interface GoogleCloudDataplexV1MetadataJob {
1422
+ /** Output only. The time when the metadata job was created. */
1423
+ createTime?: string;
1424
+ /** Output only. Import job result. */
1425
+ importResult?: GoogleCloudDataplexV1MetadataJobImportJobResult;
1426
+ /** Import job specification. */
1427
+ importSpec?: GoogleCloudDataplexV1MetadataJobImportJobSpec;
1428
+ /** Optional. User-defined labels. */
1429
+ labels?: {[P in string]: string};
1430
+ /** Output only. The name of the resource that the configuration is applied to, in the format projects/{project_number}/locations/{location_id}/metadataJobs/{metadata_job_id}. */
1431
+ name?: string;
1432
+ status?: GoogleCloudDataplexV1MetadataJobStatus;
1433
+ type?: string;
1434
+ /** Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different. */
1435
+ uid?: string;
1436
+ /** Output only. The time when the metadata job was updated. */
1437
+ updateTime?: string;
1438
+ }
1439
+ interface GoogleCloudDataplexV1MetadataJobImportJobResult {
1440
+ /** Output only. The total number of entries that were created. */
1441
+ createdEntries?: string;
1442
+ /** Output only. The total number of entries that were deleted. */
1443
+ deletedEntries?: string;
1444
+ /** Output only. The total number of entries that were recreated. */
1445
+ recreatedEntries?: string;
1446
+ /** Output only. The total number of entries that were unchanged. */
1447
+ unchangedEntries?: string;
1448
+ /** Output only. The total number of entries that were updated. */
1449
+ updatedEntries?: string;
1450
+ /** Output only. The time when the status was updated. */
1451
+ updateTime?: string;
1452
+ }
1453
+ interface GoogleCloudDataplexV1MetadataJobImportJobSpec {
1454
+ /** Required. The sync mode for aspects. Only INCREMENTAL mode is supported for aspects. An aspect is modified only if the metadata import file includes a reference to the aspect in the update_mask field and the aspect_keys field. */
1455
+ aspectSyncMode?: string;
1456
+ /** Required. The sync mode for entries. Only FULL mode is supported for entries. All entries in the job's scope are modified. If an entry exists in Dataplex but isn't included in the metadata import file, the entry is deleted when you run the metadata job. */
1457
+ entrySyncMode?: string;
1458
+ /** Optional. The level of logs to write to Cloud Logging for this job.Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs (https://cloud.google.com/stackdriver/pricing) that might not be merited for all jobs.If unspecified, defaults to INFO. */
1459
+ logLevel?: string;
1460
+ /** Required. A boundary on the scope of impact that the metadata import job can have. */
1461
+ scope?: GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope;
1462
+ /** Optional. The time when the process that created the metadata import files began. */
1463
+ sourceCreateTime?: string;
1464
+ /** Optional. The URI of a Cloud Storage bucket or folder (beginning with gs:// and ending with /) that contains the metadata import files for this job.A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file (https://cloud.google.com/dataplex/docs/import-metadata#metadata-import-file).You can provide multiple metadata import files in the same metadata job. The bucket or folder must contain at least one metadata import file, in JSON Lines format (either .json or .jsonl file extension).In FULL entry sync mode, don't save the metadata import file in a folder named SOURCE_STORAGE_URI/deletions/.Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted. */
1465
+ sourceStorageUri?: string;
1466
+ }
1467
+ interface GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope {
1468
+ /** Optional. The aspect types that are in scope for the import job, specified as relative resource names in the format projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}. The job modifies only the aspects that belong to these aspect types.If the metadata import file attempts to modify an aspect whose type isn't included in this list, the import job is halted before modifying any entries or aspects.The location of an aspect type must either match the location of the job, or the aspect type must be global. */
1469
+ aspectTypes?: string[];
1470
+ /** Required. The entry group that is in scope for the import job, specified as a relative resource name in the format projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}. Only entries that belong to the specified entry group are affected by the job.Must contain exactly one element. The entry group and the job must be in the same location. */
1471
+ entryGroups?: string[];
1472
+ /** Required. The entry types that are in scope for the import job, specified as relative resource names in the format projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}. The job modifies only the entries that belong to these entry types.If the metadata import file attempts to modify an entry whose type isn't included in this list, the import job is halted before modifying any entries or aspects.The location of an entry type must either match the location of the job, or the entry type must be global. */
1473
+ entryTypes?: string[];
1474
+ }
1475
+ interface GoogleCloudDataplexV1MetadataJobStatus {
1476
+ /** Output only. Progress tracking. */
1477
+ completionPercent?: number;
1478
+ /** Output only. Message relating to the progression of a metadata job. */
1479
+ message?: string;
1480
+ /** Output only. State of the metadata job. */
1481
+ state?: string;
1482
+ /** Output only. The time when the status was updated. */
1483
+ updateTime?: string;
1484
+ }
1401
1485
  interface GoogleCloudDataplexV1OperationMetadata {
1402
1486
  /** Output only. API version used to start the operation. */
1403
1487
  apiVersion?: string;
@@ -1874,6 +1958,103 @@ declare namespace gapi.client {
1874
1958
  /** 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. */
1875
1959
  title?: string;
1876
1960
  }
1961
+ interface EncryptionConfigsResource {
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
+ /** 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 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 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 role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
1979
+ 'options.requestedPolicyVersion'?: number;
1980
+ /** Returns response with indentations and line breaks. */
1981
+ prettyPrint?: boolean;
1982
+ /** 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. */
1983
+ quotaUser?: string;
1984
+ /** 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 field. */
1985
+ resource: string;
1986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1987
+ upload_protocol?: string;
1988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1989
+ uploadType?: string;
1990
+ }): Request<GoogleIamV1Policy>;
1991
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
1992
+ setIamPolicy(
1993
+ request: {
1994
+ /** V1 error format. */
1995
+ '$.xgafv'?: string;
1996
+ /** OAuth access token. */
1997
+ access_token?: string;
1998
+ /** Data format for response. */
1999
+ alt?: string;
2000
+ /** JSONP */
2001
+ callback?: string;
2002
+ /** Selector specifying which fields to include in a partial response. */
2003
+ fields?: string;
2004
+ /** 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. */
2005
+ key?: string;
2006
+ /** OAuth 2.0 token for the current user. */
2007
+ oauth_token?: string;
2008
+ /** Returns response with indentations and line breaks. */
2009
+ prettyPrint?: boolean;
2010
+ /** 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. */
2011
+ quotaUser?: string;
2012
+ /** 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 field. */
2013
+ resource: string;
2014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2015
+ upload_protocol?: string;
2016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2017
+ uploadType?: string;
2018
+ },
2019
+ body: GoogleIamV1SetIamPolicyRequest
2020
+ ): Request<GoogleIamV1Policy>;
2021
+ /** 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 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. */
2022
+ testIamPermissions(
2023
+ request: {
2024
+ /** V1 error format. */
2025
+ '$.xgafv'?: string;
2026
+ /** OAuth access token. */
2027
+ access_token?: string;
2028
+ /** Data format for response. */
2029
+ alt?: string;
2030
+ /** JSONP */
2031
+ callback?: string;
2032
+ /** Selector specifying which fields to include in a partial response. */
2033
+ fields?: string;
2034
+ /** 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. */
2035
+ key?: string;
2036
+ /** OAuth 2.0 token for the current user. */
2037
+ oauth_token?: string;
2038
+ /** Returns response with indentations and line breaks. */
2039
+ prettyPrint?: boolean;
2040
+ /** 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. */
2041
+ quotaUser?: string;
2042
+ /** 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 this field. */
2043
+ resource: string;
2044
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2045
+ upload_protocol?: string;
2046
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2047
+ uploadType?: string;
2048
+ },
2049
+ body: GoogleIamV1TestIamPermissionsRequest
2050
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
2051
+ }
2052
+ interface LocationsResource {
2053
+ encryptionConfigs: EncryptionConfigsResource;
2054
+ }
2055
+ interface OrganizationsResource {
2056
+ locations: LocationsResource;
2057
+ }
1877
2058
  interface AspectTypesResource {
1878
2059
  /** Creates an AspectType. */
1879
2060
  create(request: {
@@ -3860,7 +4041,7 @@ declare namespace gapi.client {
3860
4041
  fields?: string;
3861
4042
  /** 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. */
3862
4043
  key?: string;
3863
- /** Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. */
4044
+ /** Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. */
3864
4045
  name: string;
3865
4046
  /** OAuth 2.0 token for the current user. */
3866
4047
  oauth_token?: string;
@@ -3897,7 +4078,7 @@ declare namespace gapi.client {
3897
4078
  fields?: string;
3898
4079
  /** 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. */
3899
4080
  key?: string;
3900
- /** Identifier. The relative resource name of the Entry, of the form: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}. */
4081
+ /** Identifier. The relative resource name of the entry, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}. */
3901
4082
  name: string;
3902
4083
  /** OAuth 2.0 token for the current user. */
3903
4084
  oauth_token?: string;
@@ -4116,7 +4297,7 @@ declare namespace gapi.client {
4116
4297
  fields?: string;
4117
4298
  /** 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. */
4118
4299
  key?: string;
4119
- /** Output only. The relative resource name of the EntryGroup, of the form: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
4300
+ /** Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
4120
4301
  name: string;
4121
4302
  /** OAuth 2.0 token for the current user. */
4122
4303
  oauth_token?: string;
@@ -4149,7 +4330,7 @@ declare namespace gapi.client {
4149
4330
  fields?: string;
4150
4331
  /** 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. */
4151
4332
  key?: string;
4152
- /** Output only. The relative resource name of the EntryGroup, of the form: projects/{project_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
4333
+ /** Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. */
4153
4334
  name: string;
4154
4335
  /** OAuth 2.0 token for the current user. */
4155
4336
  oauth_token?: string;
@@ -4544,6 +4725,97 @@ declare namespace gapi.client {
4544
4725
  body: GoogleIamV1TestIamPermissionsRequest
4545
4726
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
4546
4727
  }
4728
+ interface GlossariesResource {
4729
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4730
+ getIamPolicy(request?: {
4731
+ /** V1 error format. */
4732
+ '$.xgafv'?: string;
4733
+ /** OAuth access token. */
4734
+ access_token?: string;
4735
+ /** Data format for response. */
4736
+ alt?: string;
4737
+ /** JSONP */
4738
+ callback?: string;
4739
+ /** Selector specifying which fields to include in a partial response. */
4740
+ fields?: string;
4741
+ /** 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. */
4742
+ key?: string;
4743
+ /** OAuth 2.0 token for the current user. */
4744
+ oauth_token?: string;
4745
+ /** 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 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 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 role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
4746
+ 'options.requestedPolicyVersion'?: number;
4747
+ /** Returns response with indentations and line breaks. */
4748
+ prettyPrint?: boolean;
4749
+ /** 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. */
4750
+ quotaUser?: string;
4751
+ /** 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 field. */
4752
+ resource: string;
4753
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4754
+ upload_protocol?: string;
4755
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4756
+ uploadType?: string;
4757
+ }): Request<GoogleIamV1Policy>;
4758
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
4759
+ setIamPolicy(
4760
+ request: {
4761
+ /** V1 error format. */
4762
+ '$.xgafv'?: string;
4763
+ /** OAuth access token. */
4764
+ access_token?: string;
4765
+ /** Data format for response. */
4766
+ alt?: string;
4767
+ /** JSONP */
4768
+ callback?: string;
4769
+ /** Selector specifying which fields to include in a partial response. */
4770
+ fields?: string;
4771
+ /** 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. */
4772
+ key?: string;
4773
+ /** OAuth 2.0 token for the current user. */
4774
+ oauth_token?: string;
4775
+ /** Returns response with indentations and line breaks. */
4776
+ prettyPrint?: boolean;
4777
+ /** 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. */
4778
+ quotaUser?: string;
4779
+ /** 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 field. */
4780
+ resource: string;
4781
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4782
+ upload_protocol?: string;
4783
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4784
+ uploadType?: string;
4785
+ },
4786
+ body: GoogleIamV1SetIamPolicyRequest
4787
+ ): Request<GoogleIamV1Policy>;
4788
+ /** 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 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. */
4789
+ testIamPermissions(
4790
+ request: {
4791
+ /** V1 error format. */
4792
+ '$.xgafv'?: string;
4793
+ /** OAuth access token. */
4794
+ access_token?: string;
4795
+ /** Data format for response. */
4796
+ alt?: string;
4797
+ /** JSONP */
4798
+ callback?: string;
4799
+ /** Selector specifying which fields to include in a partial response. */
4800
+ fields?: string;
4801
+ /** 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. */
4802
+ key?: string;
4803
+ /** OAuth 2.0 token for the current user. */
4804
+ oauth_token?: string;
4805
+ /** Returns response with indentations and line breaks. */
4806
+ prettyPrint?: boolean;
4807
+ /** 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. */
4808
+ quotaUser?: string;
4809
+ /** 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 this field. */
4810
+ resource: string;
4811
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4812
+ upload_protocol?: string;
4813
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4814
+ uploadType?: string;
4815
+ },
4816
+ body: GoogleIamV1TestIamPermissionsRequest
4817
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
4818
+ }
4547
4819
  interface GovernanceRulesResource {
4548
4820
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4549
4821
  getIamPolicy(request?: {
@@ -7506,6 +7778,190 @@ declare namespace gapi.client {
7506
7778
  tasks: TasksResource;
7507
7779
  zones: ZonesResource;
7508
7780
  }
7781
+ interface MetadataJobsResource {
7782
+ /** Cancels a metadata job.If you cancel a metadata import job that is in progress, the changes in the job might be partially applied. We recommend that you reset the state of the entry groups in your project by running another metadata job that reverts the changes from the canceled job. */
7783
+ cancel(request: {
7784
+ /** V1 error format. */
7785
+ '$.xgafv'?: string;
7786
+ /** OAuth access token. */
7787
+ access_token?: string;
7788
+ /** Data format for response. */
7789
+ alt?: string;
7790
+ /** JSONP */
7791
+ callback?: string;
7792
+ /** Selector specifying which fields to include in a partial response. */
7793
+ fields?: string;
7794
+ /** 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. */
7795
+ key?: string;
7796
+ /** Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id} */
7797
+ name: string;
7798
+ /** OAuth 2.0 token for the current user. */
7799
+ oauth_token?: string;
7800
+ /** Returns response with indentations and line breaks. */
7801
+ prettyPrint?: boolean;
7802
+ /** 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. */
7803
+ quotaUser?: string;
7804
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7805
+ upload_protocol?: string;
7806
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7807
+ uploadType?: string;
7808
+ /** Request body */
7809
+ resource: GoogleCloudDataplexV1CancelMetadataJobRequest;
7810
+ }): Request<{}>;
7811
+ cancel(
7812
+ request: {
7813
+ /** V1 error format. */
7814
+ '$.xgafv'?: string;
7815
+ /** OAuth access token. */
7816
+ access_token?: string;
7817
+ /** Data format for response. */
7818
+ alt?: string;
7819
+ /** JSONP */
7820
+ callback?: string;
7821
+ /** Selector specifying which fields to include in a partial response. */
7822
+ fields?: string;
7823
+ /** 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. */
7824
+ key?: string;
7825
+ /** Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id} */
7826
+ name: string;
7827
+ /** OAuth 2.0 token for the current user. */
7828
+ oauth_token?: string;
7829
+ /** Returns response with indentations and line breaks. */
7830
+ prettyPrint?: boolean;
7831
+ /** 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. */
7832
+ quotaUser?: string;
7833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7834
+ upload_protocol?: string;
7835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7836
+ uploadType?: string;
7837
+ },
7838
+ body: GoogleCloudDataplexV1CancelMetadataJobRequest
7839
+ ): Request<{}>;
7840
+ /** Creates a metadata job. For example, use a metadata job to import Dataplex Catalog entries and aspects from a third-party system into Dataplex. */
7841
+ create(request: {
7842
+ /** V1 error format. */
7843
+ '$.xgafv'?: string;
7844
+ /** OAuth access token. */
7845
+ access_token?: string;
7846
+ /** Data format for response. */
7847
+ alt?: string;
7848
+ /** JSONP */
7849
+ callback?: string;
7850
+ /** Selector specifying which fields to include in a partial response. */
7851
+ fields?: string;
7852
+ /** 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. */
7853
+ key?: string;
7854
+ /** Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-. */
7855
+ metadataJobId?: string;
7856
+ /** OAuth 2.0 token for the current user. */
7857
+ oauth_token?: string;
7858
+ /** Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id} */
7859
+ parent: string;
7860
+ /** Returns response with indentations and line breaks. */
7861
+ prettyPrint?: boolean;
7862
+ /** 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. */
7863
+ quotaUser?: string;
7864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7865
+ upload_protocol?: string;
7866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7867
+ uploadType?: string;
7868
+ /** Request body */
7869
+ resource: GoogleCloudDataplexV1MetadataJob;
7870
+ }): Request<GoogleLongrunningOperation>;
7871
+ create(
7872
+ request: {
7873
+ /** V1 error format. */
7874
+ '$.xgafv'?: string;
7875
+ /** OAuth access token. */
7876
+ access_token?: string;
7877
+ /** Data format for response. */
7878
+ alt?: string;
7879
+ /** JSONP */
7880
+ callback?: string;
7881
+ /** Selector specifying which fields to include in a partial response. */
7882
+ fields?: string;
7883
+ /** 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. */
7884
+ key?: string;
7885
+ /** Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-. */
7886
+ metadataJobId?: string;
7887
+ /** OAuth 2.0 token for the current user. */
7888
+ oauth_token?: string;
7889
+ /** Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id} */
7890
+ parent: string;
7891
+ /** Returns response with indentations and line breaks. */
7892
+ prettyPrint?: boolean;
7893
+ /** 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. */
7894
+ quotaUser?: string;
7895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7896
+ upload_protocol?: string;
7897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7898
+ uploadType?: string;
7899
+ },
7900
+ body: GoogleCloudDataplexV1MetadataJob
7901
+ ): Request<GoogleLongrunningOperation>;
7902
+ /** Gets a metadata job. */
7903
+ get(request?: {
7904
+ /** V1 error format. */
7905
+ '$.xgafv'?: string;
7906
+ /** OAuth access token. */
7907
+ access_token?: string;
7908
+ /** Data format for response. */
7909
+ alt?: string;
7910
+ /** JSONP */
7911
+ callback?: string;
7912
+ /** Selector specifying which fields to include in a partial response. */
7913
+ fields?: string;
7914
+ /** 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. */
7915
+ key?: string;
7916
+ /** Required. The resource name of the metadata job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}. */
7917
+ name: string;
7918
+ /** OAuth 2.0 token for the current user. */
7919
+ oauth_token?: string;
7920
+ /** Returns response with indentations and line breaks. */
7921
+ prettyPrint?: boolean;
7922
+ /** 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. */
7923
+ quotaUser?: string;
7924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7925
+ upload_protocol?: string;
7926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7927
+ uploadType?: string;
7928
+ }): Request<GoogleCloudDataplexV1MetadataJob>;
7929
+ /** Lists metadata jobs. */
7930
+ list(request?: {
7931
+ /** V1 error format. */
7932
+ '$.xgafv'?: string;
7933
+ /** OAuth access token. */
7934
+ access_token?: string;
7935
+ /** Data format for response. */
7936
+ alt?: string;
7937
+ /** JSONP */
7938
+ callback?: string;
7939
+ /** Selector specifying which fields to include in a partial response. */
7940
+ fields?: string;
7941
+ /** Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = "value1" labels:key1 name = "value"You can combine filters with AND, OR, and NOT operators. */
7942
+ filter?: string;
7943
+ /** 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. */
7944
+ key?: string;
7945
+ /** OAuth 2.0 token for the current user. */
7946
+ oauth_token?: string;
7947
+ /** Optional. The field to sort the results by, either name or create_time. If not specified, the ordering is undefined. */
7948
+ orderBy?: string;
7949
+ /** Optional. The maximum number of metadata jobs to return. The service might return fewer jobs than this value. If unspecified, at most 10 jobs are returned. The maximum value is 1,000. */
7950
+ pageSize?: number;
7951
+ /** Optional. The page token received from a previous ListMetadataJobs call. Provide this token to retrieve the subsequent page of results. When paginating, all other parameters that are provided to the ListMetadataJobs request must match the call that provided the page token. */
7952
+ pageToken?: string;
7953
+ /** Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id} */
7954
+ parent: string;
7955
+ /** Returns response with indentations and line breaks. */
7956
+ prettyPrint?: boolean;
7957
+ /** 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. */
7958
+ quotaUser?: string;
7959
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7960
+ upload_protocol?: string;
7961
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7962
+ uploadType?: string;
7963
+ }): Request<GoogleCloudDataplexV1ListMetadataJobsResponse>;
7964
+ }
7509
7965
  interface OperationsResource {
7510
7966
  /** 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 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 completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
7511
7967
  cancel(request: {
@@ -7792,14 +8248,18 @@ declare namespace gapi.client {
7792
8248
  dataTaxonomies: DataTaxonomiesResource;
7793
8249
  entryGroups: EntryGroupsResource;
7794
8250
  entryTypes: EntryTypesResource;
8251
+ glossaries: GlossariesResource;
7795
8252
  governanceRules: GovernanceRulesResource;
7796
8253
  lakes: LakesResource;
8254
+ metadataJobs: MetadataJobsResource;
7797
8255
  operations: OperationsResource;
7798
8256
  }
7799
8257
  interface ProjectsResource {
7800
8258
  locations: LocationsResource;
7801
8259
  }
7802
8260
 
8261
+ const organizations: OrganizationsResource;
8262
+
7803
8263
  const projects: ProjectsResource;
7804
8264
  }
7805
8265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataplex-v1",
3
- "version": "0.0.20240705",
3
+ "version": "0.0.20240725",
4
4
  "description": "TypeScript typings for Cloud Dataplex API v1",
5
5
  "repository": {
6
6
  "type": "git",