@maxim_mazurok/gapi.client.dataplex-v1 0.3.20260917 → 0.3.20260929

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 +758 -1437
  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: 20260917
12
+ // Revision: 20260929
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -494,10 +494,6 @@ declare namespace gapi.client {
494
494
  /** Required. GlossaryTerm identifier. */
495
495
  termId?: string;
496
496
  }
497
- interface GoogleCloudDataplexV1DataAccessSpec {
498
- /** Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources. */
499
- readers?: string[];
500
- }
501
497
  interface GoogleCloudDataplexV1DataAsset {
502
498
  /** Optional. Access groups configurations for this data asset.The key is DataProduct.AccessGroup.id and the value is AccessGroupConfig.Example: { "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] } } Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles. */
503
499
  accessGroupConfigs?: {
@@ -521,62 +517,9 @@ declare namespace gapi.client {
521
517
  interface GoogleCloudDataplexV1DataAssetAccessGroupConfig {
522
518
  /** Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.Example: [ "roles/bigquery.dataViewer" ] */
523
519
  iamRoles?: string[];
524
- }
525
- interface GoogleCloudDataplexV1DataAttribute {
526
- /** Output only. The number of child attributes present for this attribute. */
527
- attributeCount?: number;
528
- /** Output only. The time when the DataAttribute was created. */
529
- createTime?: string;
530
- /** Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables). */
531
- dataAccessSpec?: GoogleCloudDataplexV1DataAccessSpec;
532
- /** Optional. Description of the DataAttribute. */
533
- description?: string;
534
- /** Optional. User friendly display name. */
535
- displayName?: string;
536
- /** This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
537
- etag?: string;
538
- /** Optional. User-defined labels for the DataAttribute. */
539
- labels?: {[P in string]: string};
540
- /** Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. */
541
- name?: string;
542
- /** Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4 */
543
- parentId?: string;
544
- /** Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table). */
545
- resourceAccessSpec?: GoogleCloudDataplexV1ResourceAccessSpec;
546
- /** Output only. System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name. */
547
- uid?: string;
548
- /** Output only. The time when the DataAttribute was last updated. */
549
- updateTime?: string;
550
- }
551
- interface GoogleCloudDataplexV1DataAttributeBinding {
552
- /** Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} */
553
- attributes?: string[];
554
- /** Output only. The time when the DataAttributeBinding was created. */
555
- createTime?: string;
556
- /** Optional. Description of the DataAttributeBinding. */
557
- description?: string;
558
- /** Optional. User friendly display name. */
559
- displayName?: string;
560
- /** This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method. */
561
- etag?: string;
562
- /** Optional. User-defined labels for the DataAttributeBinding. */
563
- labels?: {[P in string]: string};
564
- /** Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id} */
565
- name?: string;
566
- /** Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings. */
567
- paths?: GoogleCloudDataplexV1DataAttributeBindingPath[];
568
- /** Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource. */
569
- resource?: string;
570
- /** Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name. */
571
- uid?: string;
572
- /** Output only. The time when the DataAttributeBinding was last updated. */
573
- updateTime?: string;
574
- }
575
- interface GoogleCloudDataplexV1DataAttributeBindingPath {
576
- /** Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} */
577
- attributes?: string[];
578
- /** Required. The name identifier of the path. Nested columns should be of the form: 'address.city'. */
579
- name?: string;
520
+ /** Output only. The state of the iam role application. */
521
+ state?:
522
+ 'STATE_UNSPECIFIED' | 'APPLYING' | 'APPLIED' | 'FAILED' | 'UNSUPPORTED';
580
523
  }
581
524
  interface GoogleCloudDataplexV1DataDiscoveryResult {
582
525
  /** Output only. Configuration for metadata publishing. */
@@ -806,6 +749,8 @@ declare namespace gapi.client {
806
749
  approverEmails?: string[];
807
750
  }
808
751
  interface GoogleCloudDataplexV1DataProductAccessGroup {
752
+ /** Optional. Default IAM role configuration to be applied on the data assets associated with this data product, for this access group. */
753
+ defaultIamRoleConfig?: GoogleCloudDataplexV1DataProductAccessGroupDefaultIamRoleConfig;
809
754
  /** Optional. Description of the access group. */
810
755
  description?: string;
811
756
  /** Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc. */
@@ -815,6 +760,10 @@ declare namespace gapi.client {
815
760
  /** Required. The principal entity associated with this access group. */
816
761
  principal?: GoogleCloudDataplexV1DataProductPrincipal;
817
762
  }
763
+ interface GoogleCloudDataplexV1DataProductAccessGroupDefaultIamRoleConfig {
764
+ /** Optional. The IAM role resource name to be applied as default. Example: "roles/bigquery.dataViewer". */
765
+ role?: string;
766
+ }
818
767
  interface GoogleCloudDataplexV1DataProductAccessRequest {
819
768
  /** Output only. The display name of the access group defined in the Data Product for which access is being requested. */
820
769
  accessGroupDisplayName?: string;
@@ -1541,28 +1490,6 @@ declare namespace gapi.client {
1541
1490
  /** Immutable. The service-qualified full resource name of the cloud resource for a DataScan job to scan against. The field could either be: Cloud Storage bucket for DataDiscoveryScan Format: //storage.googleapis.com/projects/PROJECT_ID/buckets/BUCKET_ID or BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan/DataDocumentationScan Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID or BigQuery dataset for DataDocumentationScan only Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID */
1542
1491
  resource?: string;
1543
1492
  }
1544
- interface GoogleCloudDataplexV1DataTaxonomy {
1545
- /** Output only. The number of attributes in the DataTaxonomy. */
1546
- attributeCount?: number;
1547
- /** Output only. The number of classes in the DataTaxonomy. */
1548
- classCount?: number;
1549
- /** Output only. The time when the DataTaxonomy was created. */
1550
- createTime?: string;
1551
- /** Optional. Description of the DataTaxonomy. */
1552
- description?: string;
1553
- /** Optional. User friendly display name. */
1554
- displayName?: string;
1555
- /** This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
1556
- etag?: string;
1557
- /** Optional. User-defined labels for the DataTaxonomy. */
1558
- labels?: {[P in string]: string};
1559
- /** Output only. The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}. */
1560
- name?: string;
1561
- /** Output only. System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name. */
1562
- uid?: string;
1563
- /** Output only. The time when the DataTaxonomy was last updated. */
1564
- updateTime?: string;
1565
- }
1566
1493
  interface GoogleCloudDataplexV1DeleteEntryLinkRequest {
1567
1494
  /** Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. */
1568
1495
  name?: string;
@@ -2226,22 +2153,6 @@ declare namespace gapi.client {
2226
2153
  /** A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages. */
2227
2154
  nextPageToken?: string;
2228
2155
  }
2229
- interface GoogleCloudDataplexV1ListDataAttributeBindingsResponse {
2230
- /** DataAttributeBindings under the given parent Location. */
2231
- dataAttributeBindings?: GoogleCloudDataplexV1DataAttributeBinding[];
2232
- /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
2233
- nextPageToken?: string;
2234
- /** Locations that could not be reached. */
2235
- unreachableLocations?: string[];
2236
- }
2237
- interface GoogleCloudDataplexV1ListDataAttributesResponse {
2238
- /** DataAttributes under the given parent DataTaxonomy. */
2239
- dataAttributes?: GoogleCloudDataplexV1DataAttribute[];
2240
- /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
2241
- nextPageToken?: string;
2242
- /** Locations that could not be reached. */
2243
- unreachableLocations?: string[];
2244
- }
2245
2156
  interface GoogleCloudDataplexV1ListDataDomainBindingsResponse {
2246
2157
  /** DataDomainBindings under the given parent. */
2247
2158
  dataDomainBindings?: GoogleCloudDataplexV1DataDomainBinding[];
@@ -2276,14 +2187,6 @@ declare namespace gapi.client {
2276
2187
  /** Locations that could not be reached. */
2277
2188
  unreachable?: string[];
2278
2189
  }
2279
- interface GoogleCloudDataplexV1ListDataTaxonomiesResponse {
2280
- /** DataTaxonomies under the given parent location. */
2281
- dataTaxonomies?: GoogleCloudDataplexV1DataTaxonomy[];
2282
- /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
2283
- nextPageToken?: string;
2284
- /** Locations that could not be reached. */
2285
- unreachableLocations?: string[];
2286
- }
2287
2190
  interface GoogleCloudDataplexV1ListEncryptionConfigsResponse {
2288
2191
  /** The list of EncryptionConfigs under the given parent location. */
2289
2192
  encryptionConfigs?: GoogleCloudDataplexV1EncryptionConfig[];
@@ -2612,14 +2515,6 @@ declare namespace gapi.client {
2612
2515
  /** The resource name of the created ChangeRequest. Format: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id} */
2613
2516
  changeRequestName?: string;
2614
2517
  }
2615
- interface GoogleCloudDataplexV1ResourceAccessSpec {
2616
- /** Optional. The set of principals to be granted owner role on the resource. */
2617
- owners?: string[];
2618
- /** Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on the resource. */
2619
- readers?: string[];
2620
- /** Optional. The set of principals to be granted writer role on the resource. */
2621
- writers?: string[];
2622
- }
2623
2518
  interface GoogleCloudDataplexV1RunDataScanRequest {}
2624
2519
  interface GoogleCloudDataplexV1RunDataScanResponse {
2625
2520
  /** DataScanJob created by RunDataScan request. */
@@ -3633,6 +3528,97 @@ declare namespace gapi.client {
3633
3528
  interface OrganizationsResource {
3634
3529
  locations: LocationsResource;
3635
3530
  }
3531
+ interface AgentTasksResource {
3532
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3533
+ getIamPolicy(request?: {
3534
+ /** V1 error format. */
3535
+ '$.xgafv'?: '1' | '2';
3536
+ /** OAuth access token. */
3537
+ access_token?: string;
3538
+ /** Data format for response. */
3539
+ alt?: 'json' | 'media' | 'proto';
3540
+ /** JSONP */
3541
+ callback?: string;
3542
+ /** Selector specifying which fields to include in a partial response. */
3543
+ fields?: string;
3544
+ /** 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. */
3545
+ key?: string;
3546
+ /** OAuth 2.0 token for the current user. */
3547
+ oauth_token?: string;
3548
+ /** 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). */
3549
+ 'options.requestedPolicyVersion'?: number;
3550
+ /** Returns response with indentations and line breaks. */
3551
+ prettyPrint?: boolean;
3552
+ /** 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. */
3553
+ quotaUser?: string;
3554
+ /** 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. */
3555
+ resource: string;
3556
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3557
+ upload_protocol?: string;
3558
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3559
+ uploadType?: string;
3560
+ }): Request<GoogleIamV1Policy>;
3561
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
3562
+ setIamPolicy(
3563
+ request: {
3564
+ /** V1 error format. */
3565
+ '$.xgafv'?: '1' | '2';
3566
+ /** OAuth access token. */
3567
+ access_token?: string;
3568
+ /** Data format for response. */
3569
+ alt?: 'json' | 'media' | 'proto';
3570
+ /** JSONP */
3571
+ callback?: string;
3572
+ /** Selector specifying which fields to include in a partial response. */
3573
+ fields?: string;
3574
+ /** 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. */
3575
+ key?: string;
3576
+ /** OAuth 2.0 token for the current user. */
3577
+ oauth_token?: string;
3578
+ /** Returns response with indentations and line breaks. */
3579
+ prettyPrint?: boolean;
3580
+ /** 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. */
3581
+ quotaUser?: string;
3582
+ /** 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. */
3583
+ resource: string;
3584
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3585
+ upload_protocol?: string;
3586
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3587
+ uploadType?: string;
3588
+ },
3589
+ body: GoogleIamV1SetIamPolicyRequest,
3590
+ ): Request<GoogleIamV1Policy>;
3591
+ /** 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. */
3592
+ testIamPermissions(
3593
+ request: {
3594
+ /** V1 error format. */
3595
+ '$.xgafv'?: '1' | '2';
3596
+ /** OAuth access token. */
3597
+ access_token?: string;
3598
+ /** Data format for response. */
3599
+ alt?: 'json' | 'media' | 'proto';
3600
+ /** JSONP */
3601
+ callback?: string;
3602
+ /** Selector specifying which fields to include in a partial response. */
3603
+ fields?: string;
3604
+ /** 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. */
3605
+ key?: string;
3606
+ /** OAuth 2.0 token for the current user. */
3607
+ oauth_token?: string;
3608
+ /** Returns response with indentations and line breaks. */
3609
+ prettyPrint?: boolean;
3610
+ /** 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. */
3611
+ quotaUser?: string;
3612
+ /** 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. */
3613
+ resource: string;
3614
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3615
+ upload_protocol?: string;
3616
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3617
+ uploadType?: string;
3618
+ },
3619
+ body: GoogleIamV1TestIamPermissionsRequest,
3620
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
3621
+ }
3636
3622
  interface AspectTypesResource {
3637
3623
  /** Creates an AspectType. */
3638
3624
  create(request: {
@@ -4308,8 +4294,8 @@ declare namespace gapi.client {
4308
4294
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
4309
4295
  }
4310
4296
  interface DataAttributeBindingsResource {
4311
- /** Create a DataAttributeBinding resource. */
4312
- create(request: {
4297
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4298
+ getIamPolicy(request?: {
4313
4299
  /** V1 error format. */
4314
4300
  '$.xgafv'?: '1' | '2';
4315
4301
  /** OAuth access token. */
@@ -4318,30 +4304,27 @@ declare namespace gapi.client {
4318
4304
  alt?: 'json' | 'media' | 'proto';
4319
4305
  /** JSONP */
4320
4306
  callback?: string;
4321
- /** Required. DataAttributeBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Location. */
4322
- dataAttributeBindingId?: string;
4323
4307
  /** Selector specifying which fields to include in a partial response. */
4324
4308
  fields?: string;
4325
4309
  /** 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. */
4326
4310
  key?: string;
4327
4311
  /** OAuth 2.0 token for the current user. */
4328
4312
  oauth_token?: string;
4329
- /** Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id} */
4330
- parent: string;
4313
+ /** 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). */
4314
+ 'options.requestedPolicyVersion'?: number;
4331
4315
  /** Returns response with indentations and line breaks. */
4332
4316
  prettyPrint?: boolean;
4333
4317
  /** 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. */
4334
4318
  quotaUser?: string;
4319
+ /** 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. */
4320
+ resource: string;
4335
4321
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4336
4322
  upload_protocol?: string;
4337
4323
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4338
4324
  uploadType?: string;
4339
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4340
- validateOnly?: boolean;
4341
- /** Request body */
4342
- resource: GoogleCloudDataplexV1DataAttributeBinding;
4343
- }): Request<GoogleLongrunningOperation>;
4344
- create(
4325
+ }): Request<GoogleIamV1Policy>;
4326
+ /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
4327
+ setIamPolicy(
4345
4328
  request: {
4346
4329
  /** V1 error format. */
4347
4330
  '$.xgafv'?: '1' | '2';
@@ -4351,31 +4334,59 @@ declare namespace gapi.client {
4351
4334
  alt?: 'json' | 'media' | 'proto';
4352
4335
  /** JSONP */
4353
4336
  callback?: string;
4354
- /** Required. DataAttributeBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Location. */
4355
- dataAttributeBindingId?: string;
4356
4337
  /** Selector specifying which fields to include in a partial response. */
4357
4338
  fields?: string;
4358
4339
  /** 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. */
4359
4340
  key?: string;
4360
4341
  /** OAuth 2.0 token for the current user. */
4361
4342
  oauth_token?: string;
4362
- /** Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id} */
4363
- parent: string;
4364
4343
  /** Returns response with indentations and line breaks. */
4365
4344
  prettyPrint?: boolean;
4366
4345
  /** 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. */
4367
4346
  quotaUser?: string;
4347
+ /** 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. */
4348
+ resource: string;
4368
4349
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4369
4350
  upload_protocol?: string;
4370
4351
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4371
4352
  uploadType?: string;
4372
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4373
- validateOnly?: boolean;
4374
4353
  },
4375
- body: GoogleCloudDataplexV1DataAttributeBinding,
4376
- ): Request<GoogleLongrunningOperation>;
4377
- /** Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted. */
4378
- delete(request?: {
4354
+ body: GoogleIamV1SetIamPolicyRequest,
4355
+ ): Request<GoogleIamV1Policy>;
4356
+ /** 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. */
4357
+ testIamPermissions(
4358
+ request: {
4359
+ /** V1 error format. */
4360
+ '$.xgafv'?: '1' | '2';
4361
+ /** OAuth access token. */
4362
+ access_token?: string;
4363
+ /** Data format for response. */
4364
+ alt?: 'json' | 'media' | 'proto';
4365
+ /** JSONP */
4366
+ callback?: string;
4367
+ /** Selector specifying which fields to include in a partial response. */
4368
+ fields?: string;
4369
+ /** 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. */
4370
+ key?: string;
4371
+ /** OAuth 2.0 token for the current user. */
4372
+ oauth_token?: string;
4373
+ /** Returns response with indentations and line breaks. */
4374
+ prettyPrint?: boolean;
4375
+ /** 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. */
4376
+ quotaUser?: string;
4377
+ /** 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. */
4378
+ resource: string;
4379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4380
+ upload_protocol?: string;
4381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4382
+ uploadType?: string;
4383
+ },
4384
+ body: GoogleIamV1TestIamPermissionsRequest,
4385
+ ): Request<GoogleIamV1TestIamPermissionsResponse>;
4386
+ }
4387
+ interface BindingsResource {
4388
+ /** Creates a DataDomainBinding resource. */
4389
+ create(request: {
4379
4390
  /** V1 error format. */
4380
4391
  '$.xgafv'?: '1' | '2';
4381
4392
  /** OAuth access token. */
@@ -4384,16 +4395,16 @@ declare namespace gapi.client {
4384
4395
  alt?: 'json' | 'media' | 'proto';
4385
4396
  /** JSONP */
4386
4397
  callback?: string;
4387
- /** Required. If the client provided etag value does not match the current etag value, the DeleteDataAttributeBindingRequest method returns an ABORTED error response. Etags must be used when calling the DeleteDataAttributeBinding. */
4388
- etag?: string;
4398
+ /** Optional. DataDomainBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent DataDomain. If not provided, a system-generated UUID will be used. */
4399
+ dataDomainBindingId?: string;
4389
4400
  /** Selector specifying which fields to include in a partial response. */
4390
4401
  fields?: string;
4391
4402
  /** 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. */
4392
4403
  key?: string;
4393
- /** Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id} */
4394
- name: string;
4395
4404
  /** OAuth 2.0 token for the current user. */
4396
4405
  oauth_token?: string;
4406
+ /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4407
+ parent: string;
4397
4408
  /** Returns response with indentations and line breaks. */
4398
4409
  prettyPrint?: boolean;
4399
4410
  /** 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. */
@@ -4402,9 +4413,46 @@ declare namespace gapi.client {
4402
4413
  upload_protocol?: string;
4403
4414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4404
4415
  uploadType?: string;
4416
+ /** Optional. Only validate the request, but do not perform mutations. */
4417
+ validateOnly?: boolean;
4418
+ /** Request body */
4419
+ resource: GoogleCloudDataplexV1DataDomainBinding;
4405
4420
  }): Request<GoogleLongrunningOperation>;
4406
- /** Retrieves a DataAttributeBinding resource. */
4407
- get(request?: {
4421
+ create(
4422
+ request: {
4423
+ /** V1 error format. */
4424
+ '$.xgafv'?: '1' | '2';
4425
+ /** OAuth access token. */
4426
+ access_token?: string;
4427
+ /** Data format for response. */
4428
+ alt?: 'json' | 'media' | 'proto';
4429
+ /** JSONP */
4430
+ callback?: string;
4431
+ /** Optional. DataDomainBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent DataDomain. If not provided, a system-generated UUID will be used. */
4432
+ dataDomainBindingId?: string;
4433
+ /** Selector specifying which fields to include in a partial response. */
4434
+ fields?: string;
4435
+ /** 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. */
4436
+ key?: string;
4437
+ /** OAuth 2.0 token for the current user. */
4438
+ oauth_token?: string;
4439
+ /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4440
+ parent: string;
4441
+ /** Returns response with indentations and line breaks. */
4442
+ prettyPrint?: boolean;
4443
+ /** 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. */
4444
+ quotaUser?: string;
4445
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4446
+ upload_protocol?: string;
4447
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4448
+ uploadType?: string;
4449
+ /** Optional. Only validate the request, but do not perform mutations. */
4450
+ validateOnly?: boolean;
4451
+ },
4452
+ body: GoogleCloudDataplexV1DataDomainBinding,
4453
+ ): Request<GoogleLongrunningOperation>;
4454
+ /** Deletes a DataDomainBinding resource. */
4455
+ delete(request?: {
4408
4456
  /** V1 error format. */
4409
4457
  '$.xgafv'?: '1' | '2';
4410
4458
  /** OAuth access token. */
@@ -4417,7 +4465,7 @@ declare namespace gapi.client {
4417
4465
  fields?: string;
4418
4466
  /** 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. */
4419
4467
  key?: string;
4420
- /** Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data_attribute_binding_id} */
4468
+ /** Required. The resource name of the DataDomainBinding: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id}/bindings/{binding_id} */
4421
4469
  name: string;
4422
4470
  /** OAuth 2.0 token for the current user. */
4423
4471
  oauth_token?: string;
@@ -4429,9 +4477,193 @@ declare namespace gapi.client {
4429
4477
  upload_protocol?: string;
4430
4478
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4431
4479
  uploadType?: string;
4432
- }): Request<GoogleCloudDataplexV1DataAttributeBinding>;
4433
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4434
- getIamPolicy(request?: {
4480
+ }): Request<GoogleLongrunningOperation>;
4481
+ /** Retrieves a DataDomainBinding resource. */
4482
+ get(request?: {
4483
+ /** V1 error format. */
4484
+ '$.xgafv'?: '1' | '2';
4485
+ /** OAuth access token. */
4486
+ access_token?: string;
4487
+ /** Data format for response. */
4488
+ alt?: 'json' | 'media' | 'proto';
4489
+ /** JSONP */
4490
+ callback?: string;
4491
+ /** Selector specifying which fields to include in a partial response. */
4492
+ fields?: string;
4493
+ /** 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. */
4494
+ key?: string;
4495
+ /** Required. The resource name of the DataDomainBinding: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id}/bindings/{binding_id} */
4496
+ name: string;
4497
+ /** OAuth 2.0 token for the current user. */
4498
+ oauth_token?: string;
4499
+ /** Returns response with indentations and line breaks. */
4500
+ prettyPrint?: boolean;
4501
+ /** 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. */
4502
+ quotaUser?: string;
4503
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4504
+ upload_protocol?: string;
4505
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4506
+ uploadType?: string;
4507
+ }): Request<GoogleCloudDataplexV1DataDomainBinding>;
4508
+ /** Lists DataDomainBinding resources under a DataDomain. */
4509
+ list(request?: {
4510
+ /** V1 error format. */
4511
+ '$.xgafv'?: '1' | '2';
4512
+ /** OAuth access token. */
4513
+ access_token?: string;
4514
+ /** Data format for response. */
4515
+ alt?: 'json' | 'media' | 'proto';
4516
+ /** JSONP */
4517
+ callback?: string;
4518
+ /** Selector specifying which fields to include in a partial response. */
4519
+ fields?: string;
4520
+ /** Optional. Filter request. */
4521
+ filter?: string;
4522
+ /** 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. */
4523
+ key?: string;
4524
+ /** OAuth 2.0 token for the current user. */
4525
+ oauth_token?: string;
4526
+ /** Optional. Order by fields for the result. */
4527
+ orderBy?: string;
4528
+ /** Optional. Maximum number of DataDomainBindings to return. The service may return fewer. If unspecified, at most 50 bindings will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
4529
+ pageSize?: number;
4530
+ /** Optional. Page token received from a previous ListDataDomainBindings call. */
4531
+ pageToken?: string;
4532
+ /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4533
+ parent: string;
4534
+ /** Returns response with indentations and line breaks. */
4535
+ prettyPrint?: boolean;
4536
+ /** 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. */
4537
+ quotaUser?: string;
4538
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4539
+ upload_protocol?: string;
4540
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4541
+ uploadType?: string;
4542
+ }): Request<GoogleCloudDataplexV1ListDataDomainBindingsResponse>;
4543
+ }
4544
+ interface DataDomainsResource {
4545
+ /** Creates a DataDomain resource. */
4546
+ create(request: {
4547
+ /** V1 error format. */
4548
+ '$.xgafv'?: '1' | '2';
4549
+ /** OAuth access token. */
4550
+ access_token?: string;
4551
+ /** Data format for response. */
4552
+ alt?: 'json' | 'media' | 'proto';
4553
+ /** JSONP */
4554
+ callback?: string;
4555
+ /** Required. DataDomain identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project and location. */
4556
+ dataDomainId?: string;
4557
+ /** Selector specifying which fields to include in a partial response. */
4558
+ fields?: string;
4559
+ /** 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. */
4560
+ key?: string;
4561
+ /** OAuth 2.0 token for the current user. */
4562
+ oauth_token?: string;
4563
+ /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
4564
+ parent: string;
4565
+ /** Returns response with indentations and line breaks. */
4566
+ prettyPrint?: boolean;
4567
+ /** 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. */
4568
+ quotaUser?: string;
4569
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4570
+ upload_protocol?: string;
4571
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4572
+ uploadType?: string;
4573
+ /** Optional. Only validate the request, but do not perform mutations. */
4574
+ validateOnly?: boolean;
4575
+ /** Request body */
4576
+ resource: GoogleCloudDataplexV1DataDomain;
4577
+ }): Request<GoogleLongrunningOperation>;
4578
+ create(
4579
+ request: {
4580
+ /** V1 error format. */
4581
+ '$.xgafv'?: '1' | '2';
4582
+ /** OAuth access token. */
4583
+ access_token?: string;
4584
+ /** Data format for response. */
4585
+ alt?: 'json' | 'media' | 'proto';
4586
+ /** JSONP */
4587
+ callback?: string;
4588
+ /** Required. DataDomain identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project and location. */
4589
+ dataDomainId?: string;
4590
+ /** Selector specifying which fields to include in a partial response. */
4591
+ fields?: string;
4592
+ /** 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. */
4593
+ key?: string;
4594
+ /** OAuth 2.0 token for the current user. */
4595
+ oauth_token?: string;
4596
+ /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
4597
+ parent: string;
4598
+ /** Returns response with indentations and line breaks. */
4599
+ prettyPrint?: boolean;
4600
+ /** 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. */
4601
+ quotaUser?: string;
4602
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4603
+ upload_protocol?: string;
4604
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4605
+ uploadType?: string;
4606
+ /** Optional. Only validate the request, but do not perform mutations. */
4607
+ validateOnly?: boolean;
4608
+ },
4609
+ body: GoogleCloudDataplexV1DataDomain,
4610
+ ): Request<GoogleLongrunningOperation>;
4611
+ /** Deletes a DataDomain resource (allowed only when there are no bindings). */
4612
+ delete(request?: {
4613
+ /** V1 error format. */
4614
+ '$.xgafv'?: '1' | '2';
4615
+ /** OAuth access token. */
4616
+ access_token?: string;
4617
+ /** Data format for response. */
4618
+ alt?: 'json' | 'media' | 'proto';
4619
+ /** JSONP */
4620
+ callback?: string;
4621
+ /** Selector specifying which fields to include in a partial response. */
4622
+ fields?: string;
4623
+ /** 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. */
4624
+ key?: string;
4625
+ /** Required. The resource name of the DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4626
+ name: string;
4627
+ /** OAuth 2.0 token for the current user. */
4628
+ oauth_token?: string;
4629
+ /** Returns response with indentations and line breaks. */
4630
+ prettyPrint?: boolean;
4631
+ /** 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. */
4632
+ quotaUser?: string;
4633
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4634
+ upload_protocol?: string;
4635
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4636
+ uploadType?: string;
4637
+ }): Request<GoogleLongrunningOperation>;
4638
+ /** Retrieves a DataDomain resource. */
4639
+ get(request?: {
4640
+ /** V1 error format. */
4641
+ '$.xgafv'?: '1' | '2';
4642
+ /** OAuth access token. */
4643
+ access_token?: string;
4644
+ /** Data format for response. */
4645
+ alt?: 'json' | 'media' | 'proto';
4646
+ /** JSONP */
4647
+ callback?: string;
4648
+ /** Selector specifying which fields to include in a partial response. */
4649
+ fields?: string;
4650
+ /** 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. */
4651
+ key?: string;
4652
+ /** Required. The resource name of the DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4653
+ name: string;
4654
+ /** OAuth 2.0 token for the current user. */
4655
+ oauth_token?: string;
4656
+ /** Returns response with indentations and line breaks. */
4657
+ prettyPrint?: boolean;
4658
+ /** 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. */
4659
+ quotaUser?: string;
4660
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4661
+ upload_protocol?: string;
4662
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4663
+ uploadType?: string;
4664
+ }): Request<GoogleCloudDataplexV1DataDomain>;
4665
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4666
+ getIamPolicy(request?: {
4435
4667
  /** V1 error format. */
4436
4668
  '$.xgafv'?: '1' | '2';
4437
4669
  /** OAuth access token. */
@@ -4459,7 +4691,7 @@ declare namespace gapi.client {
4459
4691
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4460
4692
  uploadType?: string;
4461
4693
  }): Request<GoogleIamV1Policy>;
4462
- /** Lists DataAttributeBinding resources in a project and location. */
4694
+ /** Lists DataDomain resources in a project and location. */
4463
4695
  list(request?: {
4464
4696
  /** V1 error format. */
4465
4697
  '$.xgafv'?: '1' | '2';
@@ -4471,7 +4703,7 @@ declare namespace gapi.client {
4471
4703
  callback?: string;
4472
4704
  /** Selector specifying which fields to include in a partial response. */
4473
4705
  fields?: string;
4474
- /** Optional. Filter request. Filter using resource: filter=resource:"resource-name" Filter using attribute: filter=attributes:"attribute-name" Filter using attribute in paths list: filter=paths.attributes:"attribute-name" */
4706
+ /** Optional. Filter request. Supports filter by parent_data_domain. */
4475
4707
  filter?: string;
4476
4708
  /** 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. */
4477
4709
  key?: string;
@@ -4479,11 +4711,11 @@ declare namespace gapi.client {
4479
4711
  oauth_token?: string;
4480
4712
  /** Optional. Order by fields for the result. */
4481
4713
  orderBy?: string;
4482
- /** Optional. Maximum number of DataAttributeBindings to return. The service may return fewer than this value. If unspecified, at most 10 DataAttributeBindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
4714
+ /** Optional. Maximum number of DataDomains to return. The service may return fewer. If unspecified, at most 50 domains will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
4483
4715
  pageSize?: number;
4484
- /** Optional. Page token received from a previous ListDataAttributeBindings call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataAttributeBindings must match the call that provided the page token. */
4716
+ /** Optional. Page token received from a previous ListDataDomains call. */
4485
4717
  pageToken?: string;
4486
- /** Required. The resource name of the Location: projects/{project_number}/locations/{location_id} */
4718
+ /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
4487
4719
  parent: string;
4488
4720
  /** Returns response with indentations and line breaks. */
4489
4721
  prettyPrint?: boolean;
@@ -4493,8 +4725,8 @@ declare namespace gapi.client {
4493
4725
  upload_protocol?: string;
4494
4726
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4495
4727
  uploadType?: string;
4496
- }): Request<GoogleCloudDataplexV1ListDataAttributeBindingsResponse>;
4497
- /** Updates a DataAttributeBinding resource. */
4728
+ }): Request<GoogleCloudDataplexV1ListDataDomainsResponse>;
4729
+ /** Updates a DataDomain resource. */
4498
4730
  patch(request: {
4499
4731
  /** V1 error format. */
4500
4732
  '$.xgafv'?: '1' | '2';
@@ -4508,7 +4740,7 @@ declare namespace gapi.client {
4508
4740
  fields?: string;
4509
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. */
4510
4742
  key?: string;
4511
- /** Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id} */
4743
+ /** Identifier. The relative resource name of the DataDomain, of the form: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4512
4744
  name: string;
4513
4745
  /** OAuth 2.0 token for the current user. */
4514
4746
  oauth_token?: string;
@@ -4516,16 +4748,16 @@ declare namespace gapi.client {
4516
4748
  prettyPrint?: boolean;
4517
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. */
4518
4750
  quotaUser?: string;
4519
- /** Required. Mask of fields to update. */
4751
+ /** Optional. Mask of fields to update. */
4520
4752
  updateMask?: string;
4521
4753
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4522
4754
  upload_protocol?: string;
4523
4755
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4524
4756
  uploadType?: string;
4525
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4757
+ /** Optional. Only validate the request, but do not perform mutations. */
4526
4758
  validateOnly?: boolean;
4527
4759
  /** Request body */
4528
- resource: GoogleCloudDataplexV1DataAttributeBinding;
4760
+ resource: GoogleCloudDataplexV1DataDomain;
4529
4761
  }): Request<GoogleLongrunningOperation>;
4530
4762
  patch(
4531
4763
  request: {
@@ -4541,7 +4773,7 @@ declare namespace gapi.client {
4541
4773
  fields?: string;
4542
4774
  /** 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. */
4543
4775
  key?: string;
4544
- /** Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id} */
4776
+ /** Identifier. The relative resource name of the DataDomain, of the form: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4545
4777
  name: string;
4546
4778
  /** OAuth 2.0 token for the current user. */
4547
4779
  oauth_token?: string;
@@ -4549,16 +4781,16 @@ declare namespace gapi.client {
4549
4781
  prettyPrint?: boolean;
4550
4782
  /** 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. */
4551
4783
  quotaUser?: string;
4552
- /** Required. Mask of fields to update. */
4784
+ /** Optional. Mask of fields to update. */
4553
4785
  updateMask?: string;
4554
4786
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4555
4787
  upload_protocol?: string;
4556
4788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4557
4789
  uploadType?: string;
4558
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
4790
+ /** Optional. Only validate the request, but do not perform mutations. */
4559
4791
  validateOnly?: boolean;
4560
4792
  },
4561
- body: GoogleCloudDataplexV1DataAttributeBinding,
4793
+ body: GoogleCloudDataplexV1DataDomain,
4562
4794
  ): Request<GoogleLongrunningOperation>;
4563
4795
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
4564
4796
  setIamPolicy(
@@ -4620,9 +4852,10 @@ declare namespace gapi.client {
4620
4852
  },
4621
4853
  body: GoogleIamV1TestIamPermissionsRequest,
4622
4854
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
4855
+ bindings: BindingsResource;
4623
4856
  }
4624
- interface BindingsResource {
4625
- /** Creates a DataDomainBinding resource. */
4857
+ interface DataAssetsResource {
4858
+ /** Creates a data asset. */
4626
4859
  create(request: {
4627
4860
  /** V1 error format. */
4628
4861
  '$.xgafv'?: '1' | '2';
@@ -4632,15 +4865,15 @@ declare namespace gapi.client {
4632
4865
  alt?: 'json' | 'media' | 'proto';
4633
4866
  /** JSONP */
4634
4867
  callback?: string;
4635
- /** Optional. DataDomainBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent DataDomain. If not provided, a system-generated UUID will be used. */
4636
- dataDomainBindingId?: string;
4868
+ /** Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
4869
+ dataAssetId?: string;
4637
4870
  /** Selector specifying which fields to include in a partial response. */
4638
4871
  fields?: string;
4639
4872
  /** 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. */
4640
4873
  key?: string;
4641
4874
  /** OAuth 2.0 token for the current user. */
4642
4875
  oauth_token?: string;
4643
- /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4876
+ /** Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
4644
4877
  parent: string;
4645
4878
  /** Returns response with indentations and line breaks. */
4646
4879
  prettyPrint?: boolean;
@@ -4650,10 +4883,10 @@ declare namespace gapi.client {
4650
4883
  upload_protocol?: string;
4651
4884
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4652
4885
  uploadType?: string;
4653
- /** Optional. Only validate the request, but do not perform mutations. */
4886
+ /** Optional. Validates the request without actually creating the data asset. Defaults to false. */
4654
4887
  validateOnly?: boolean;
4655
4888
  /** Request body */
4656
- resource: GoogleCloudDataplexV1DataDomainBinding;
4889
+ resource: GoogleCloudDataplexV1DataAsset;
4657
4890
  }): Request<GoogleLongrunningOperation>;
4658
4891
  create(
4659
4892
  request: {
@@ -4665,15 +4898,15 @@ declare namespace gapi.client {
4665
4898
  alt?: 'json' | 'media' | 'proto';
4666
4899
  /** JSONP */
4667
4900
  callback?: string;
4668
- /** Optional. DataDomainBinding identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent DataDomain. If not provided, a system-generated UUID will be used. */
4669
- dataDomainBindingId?: string;
4901
+ /** Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
4902
+ dataAssetId?: string;
4670
4903
  /** Selector specifying which fields to include in a partial response. */
4671
4904
  fields?: string;
4672
4905
  /** 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. */
4673
4906
  key?: string;
4674
4907
  /** OAuth 2.0 token for the current user. */
4675
4908
  oauth_token?: string;
4676
- /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
4909
+ /** Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
4677
4910
  parent: string;
4678
4911
  /** Returns response with indentations and line breaks. */
4679
4912
  prettyPrint?: boolean;
@@ -4683,12 +4916,12 @@ declare namespace gapi.client {
4683
4916
  upload_protocol?: string;
4684
4917
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4685
4918
  uploadType?: string;
4686
- /** Optional. Only validate the request, but do not perform mutations. */
4919
+ /** Optional. Validates the request without actually creating the data asset. Defaults to false. */
4687
4920
  validateOnly?: boolean;
4688
4921
  },
4689
- body: GoogleCloudDataplexV1DataDomainBinding,
4922
+ body: GoogleCloudDataplexV1DataAsset,
4690
4923
  ): Request<GoogleLongrunningOperation>;
4691
- /** Deletes a DataDomainBinding resource. */
4924
+ /** Deletes a data asset. */
4692
4925
  delete(request?: {
4693
4926
  /** V1 error format. */
4694
4927
  '$.xgafv'?: '1' | '2';
@@ -4698,11 +4931,13 @@ declare namespace gapi.client {
4698
4931
  alt?: 'json' | 'media' | 'proto';
4699
4932
  /** JSONP */
4700
4933
  callback?: string;
4934
+ /** Optional. The etag of the data asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. */
4935
+ etag?: string;
4701
4936
  /** Selector specifying which fields to include in a partial response. */
4702
4937
  fields?: string;
4703
4938
  /** 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. */
4704
4939
  key?: string;
4705
- /** Required. The resource name of the DataDomainBinding: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id}/bindings/{binding_id} */
4940
+ /** Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
4706
4941
  name: string;
4707
4942
  /** OAuth 2.0 token for the current user. */
4708
4943
  oauth_token?: string;
@@ -4714,8 +4949,10 @@ declare namespace gapi.client {
4714
4949
  upload_protocol?: string;
4715
4950
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4716
4951
  uploadType?: string;
4952
+ /** Optional. Validates the request without actually deleting the data asset. Defaults to false. */
4953
+ validateOnly?: boolean;
4717
4954
  }): Request<GoogleLongrunningOperation>;
4718
- /** Retrieves a DataDomainBinding resource. */
4955
+ /** Gets a data asset. */
4719
4956
  get(request?: {
4720
4957
  /** V1 error format. */
4721
4958
  '$.xgafv'?: '1' | '2';
@@ -4729,7 +4966,7 @@ declare namespace gapi.client {
4729
4966
  fields?: string;
4730
4967
  /** 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. */
4731
4968
  key?: string;
4732
- /** Required. The resource name of the DataDomainBinding: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id}/bindings/{binding_id} */
4969
+ /** Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
4733
4970
  name: string;
4734
4971
  /** OAuth 2.0 token for the current user. */
4735
4972
  oauth_token?: string;
@@ -4741,8 +4978,8 @@ declare namespace gapi.client {
4741
4978
  upload_protocol?: string;
4742
4979
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4743
4980
  uploadType?: string;
4744
- }): Request<GoogleCloudDataplexV1DataDomainBinding>;
4745
- /** Lists DataDomainBinding resources under a DataDomain. */
4981
+ }): Request<GoogleCloudDataplexV1DataAsset>;
4982
+ /** Lists data assets for a given data product. */
4746
4983
  list(request?: {
4747
4984
  /** V1 error format. */
4748
4985
  '$.xgafv'?: '1' | '2';
@@ -4754,19 +4991,19 @@ declare namespace gapi.client {
4754
4991
  callback?: string;
4755
4992
  /** Selector specifying which fields to include in a partial response. */
4756
4993
  fields?: string;
4757
- /** Optional. Filter request. */
4994
+ /** Optional. Filter expression that filters data assets listed in the response. */
4758
4995
  filter?: string;
4759
4996
  /** 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. */
4760
4997
  key?: string;
4761
4998
  /** OAuth 2.0 token for the current user. */
4762
4999
  oauth_token?: string;
4763
- /** Optional. Order by fields for the result. */
5000
+ /** Optional. Order by expression that orders data assets listed in the response.Supported order_by fields are: name or create_time.If not specified, the ordering is undefined. */
4764
5001
  orderBy?: string;
4765
- /** Optional. Maximum number of DataDomainBindings to return. The service may return fewer. If unspecified, at most 50 bindings will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
5002
+ /** Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
4766
5003
  pageSize?: number;
4767
- /** Optional. Page token received from a previous ListDataDomainBindings call. */
5004
+ /** Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token. */
4768
5005
  pageToken?: string;
4769
- /** Required. The resource name of the parent DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
5006
+ /** Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
4770
5007
  parent: string;
4771
5008
  /** Returns response with indentations and line breaks. */
4772
5009
  prettyPrint?: boolean;
@@ -4776,10 +5013,76 @@ declare namespace gapi.client {
4776
5013
  upload_protocol?: string;
4777
5014
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4778
5015
  uploadType?: string;
4779
- }): Request<GoogleCloudDataplexV1ListDataDomainBindingsResponse>;
4780
- }
4781
- interface DataDomainsResource {
4782
- /** Creates a DataDomain resource. */
5016
+ }): Request<GoogleCloudDataplexV1ListDataAssetsResponse>;
5017
+ /** Updates a data asset. */
5018
+ patch(request: {
5019
+ /** V1 error format. */
5020
+ '$.xgafv'?: '1' | '2';
5021
+ /** OAuth access token. */
5022
+ access_token?: string;
5023
+ /** Data format for response. */
5024
+ alt?: 'json' | 'media' | 'proto';
5025
+ /** JSONP */
5026
+ callback?: string;
5027
+ /** Selector specifying which fields to include in a partial response. */
5028
+ fields?: string;
5029
+ /** 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. */
5030
+ key?: string;
5031
+ /** Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5032
+ name: string;
5033
+ /** OAuth 2.0 token for the current user. */
5034
+ oauth_token?: string;
5035
+ /** Returns response with indentations and line breaks. */
5036
+ prettyPrint?: boolean;
5037
+ /** 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. */
5038
+ quotaUser?: string;
5039
+ /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5040
+ updateMask?: string;
5041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5042
+ upload_protocol?: string;
5043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5044
+ uploadType?: string;
5045
+ /** Optional. Validates the request without actually updating the data asset. Defaults to false. */
5046
+ validateOnly?: boolean;
5047
+ /** Request body */
5048
+ resource: GoogleCloudDataplexV1DataAsset;
5049
+ }): Request<GoogleLongrunningOperation>;
5050
+ patch(
5051
+ request: {
5052
+ /** V1 error format. */
5053
+ '$.xgafv'?: '1' | '2';
5054
+ /** OAuth access token. */
5055
+ access_token?: string;
5056
+ /** Data format for response. */
5057
+ alt?: 'json' | 'media' | 'proto';
5058
+ /** JSONP */
5059
+ callback?: string;
5060
+ /** Selector specifying which fields to include in a partial response. */
5061
+ fields?: string;
5062
+ /** 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. */
5063
+ key?: string;
5064
+ /** Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5065
+ name: string;
5066
+ /** OAuth 2.0 token for the current user. */
5067
+ oauth_token?: string;
5068
+ /** Returns response with indentations and line breaks. */
5069
+ prettyPrint?: boolean;
5070
+ /** 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. */
5071
+ quotaUser?: string;
5072
+ /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5073
+ updateMask?: string;
5074
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5075
+ upload_protocol?: string;
5076
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5077
+ uploadType?: string;
5078
+ /** Optional. Validates the request without actually updating the data asset. Defaults to false. */
5079
+ validateOnly?: boolean;
5080
+ },
5081
+ body: GoogleCloudDataplexV1DataAsset,
5082
+ ): Request<GoogleLongrunningOperation>;
5083
+ }
5084
+ interface DataProductsResource {
5085
+ /** Creates a data product. */
4783
5086
  create(request: {
4784
5087
  /** V1 error format. */
4785
5088
  '$.xgafv'?: '1' | '2';
@@ -4789,15 +5092,15 @@ declare namespace gapi.client {
4789
5092
  alt?: 'json' | 'media' | 'proto';
4790
5093
  /** JSONP */
4791
5094
  callback?: string;
4792
- /** Required. DataDomain identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project and location. */
4793
- dataDomainId?: string;
5095
+ /** Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5096
+ dataProductId?: string;
4794
5097
  /** Selector specifying which fields to include in a partial response. */
4795
5098
  fields?: string;
4796
5099
  /** 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. */
4797
5100
  key?: string;
4798
5101
  /** OAuth 2.0 token for the current user. */
4799
5102
  oauth_token?: string;
4800
- /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
5103
+ /** Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
4801
5104
  parent: string;
4802
5105
  /** Returns response with indentations and line breaks. */
4803
5106
  prettyPrint?: boolean;
@@ -4807,10 +5110,10 @@ declare namespace gapi.client {
4807
5110
  upload_protocol?: string;
4808
5111
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4809
5112
  uploadType?: string;
4810
- /** Optional. Only validate the request, but do not perform mutations. */
5113
+ /** Optional. Validates the request without actually creating the data product. Default: false. */
4811
5114
  validateOnly?: boolean;
4812
5115
  /** Request body */
4813
- resource: GoogleCloudDataplexV1DataDomain;
5116
+ resource: GoogleCloudDataplexV1DataProduct;
4814
5117
  }): Request<GoogleLongrunningOperation>;
4815
5118
  create(
4816
5119
  request: {
@@ -4822,15 +5125,15 @@ declare namespace gapi.client {
4822
5125
  alt?: 'json' | 'media' | 'proto';
4823
5126
  /** JSONP */
4824
5127
  callback?: string;
4825
- /** Required. DataDomain identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project and location. */
4826
- dataDomainId?: string;
5128
+ /** Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5129
+ dataProductId?: string;
4827
5130
  /** Selector specifying which fields to include in a partial response. */
4828
5131
  fields?: string;
4829
5132
  /** 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. */
4830
5133
  key?: string;
4831
5134
  /** OAuth 2.0 token for the current user. */
4832
5135
  oauth_token?: string;
4833
- /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
5136
+ /** Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
4834
5137
  parent: string;
4835
5138
  /** Returns response with indentations and line breaks. */
4836
5139
  prettyPrint?: boolean;
@@ -4840,12 +5143,12 @@ declare namespace gapi.client {
4840
5143
  upload_protocol?: string;
4841
5144
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4842
5145
  uploadType?: string;
4843
- /** Optional. Only validate the request, but do not perform mutations. */
5146
+ /** Optional. Validates the request without actually creating the data product. Default: false. */
4844
5147
  validateOnly?: boolean;
4845
5148
  },
4846
- body: GoogleCloudDataplexV1DataDomain,
5149
+ body: GoogleCloudDataplexV1DataProduct,
4847
5150
  ): Request<GoogleLongrunningOperation>;
4848
- /** Deletes a DataDomain resource (allowed only when there are no bindings). */
5151
+ /** Deletes a data product. The deletion will fail if the data product is not empty (i.e. contains at least one data asset). */
4849
5152
  delete(request?: {
4850
5153
  /** V1 error format. */
4851
5154
  '$.xgafv'?: '1' | '2';
@@ -4855,11 +5158,13 @@ declare namespace gapi.client {
4855
5158
  alt?: 'json' | 'media' | 'proto';
4856
5159
  /** JSONP */
4857
5160
  callback?: string;
5161
+ /** Optional. The etag of the data product.If an etag is provided and does not match the current etag of the data product, then the deletion will be blocked and an ABORTED error will be returned. */
5162
+ etag?: string;
4858
5163
  /** Selector specifying which fields to include in a partial response. */
4859
5164
  fields?: string;
4860
5165
  /** 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. */
4861
5166
  key?: string;
4862
- /** Required. The resource name of the DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
5167
+ /** Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
4863
5168
  name: string;
4864
5169
  /** OAuth 2.0 token for the current user. */
4865
5170
  oauth_token?: string;
@@ -4871,8 +5176,10 @@ declare namespace gapi.client {
4871
5176
  upload_protocol?: string;
4872
5177
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4873
5178
  uploadType?: string;
5179
+ /** Optional. Validates the request without actually deleting the data product. Default: false. */
5180
+ validateOnly?: boolean;
4874
5181
  }): Request<GoogleLongrunningOperation>;
4875
- /** Retrieves a DataDomain resource. */
5182
+ /** Gets a data product. */
4876
5183
  get(request?: {
4877
5184
  /** V1 error format. */
4878
5185
  '$.xgafv'?: '1' | '2';
@@ -4886,7 +5193,7 @@ declare namespace gapi.client {
4886
5193
  fields?: string;
4887
5194
  /** 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. */
4888
5195
  key?: string;
4889
- /** Required. The resource name of the DataDomain: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
5196
+ /** Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
4890
5197
  name: string;
4891
5198
  /** OAuth 2.0 token for the current user. */
4892
5199
  oauth_token?: string;
@@ -4898,7 +5205,7 @@ declare namespace gapi.client {
4898
5205
  upload_protocol?: string;
4899
5206
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4900
5207
  uploadType?: string;
4901
- }): Request<GoogleCloudDataplexV1DataDomain>;
5208
+ }): Request<GoogleCloudDataplexV1DataProduct>;
4902
5209
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4903
5210
  getIamPolicy(request?: {
4904
5211
  /** V1 error format. */
@@ -4928,7 +5235,7 @@ declare namespace gapi.client {
4928
5235
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4929
5236
  uploadType?: string;
4930
5237
  }): Request<GoogleIamV1Policy>;
4931
- /** Lists DataDomain resources in a project and location. */
5238
+ /** Lists data products for a given project. */
4932
5239
  list(request?: {
4933
5240
  /** V1 error format. */
4934
5241
  '$.xgafv'?: '1' | '2';
@@ -4940,19 +5247,19 @@ declare namespace gapi.client {
4940
5247
  callback?: string;
4941
5248
  /** Selector specifying which fields to include in a partial response. */
4942
5249
  fields?: string;
4943
- /** Optional. Filter request. Supports filter by parent_data_domain. */
5250
+ /** Optional. Filter expression that filters data products listed in the response.Example of using this filter is: display_name="my-data-product" */
4944
5251
  filter?: string;
4945
5252
  /** 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. */
4946
5253
  key?: string;
4947
5254
  /** OAuth 2.0 token for the current user. */
4948
5255
  oauth_token?: string;
4949
- /** Optional. Order by fields for the result. */
5256
+ /** Optional. Order by expression that orders data products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). */
4950
5257
  orderBy?: string;
4951
- /** Optional. Maximum number of DataDomains to return. The service may return fewer. If unspecified, at most 50 domains will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
5258
+ /** Optional. The maximum number of data products to return. The service may return fewer than this value. If unspecified, at most 50 data products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
4952
5259
  pageSize?: number;
4953
- /** Optional. Page token received from a previous ListDataDomains call. */
5260
+ /** Optional. A page token, received from a previous ListDataProducts call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataProducts must match the call that provided the page token. */
4954
5261
  pageToken?: string;
4955
- /** Required. The resource name of the parent location: projects/{project_id_or_number}/locations/{location_id} */
5262
+ /** Required. The parent, which has this collection of data products.Format: projects/{project_id_or_number}/locations/{location_id}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number}/locations/- */
4956
5263
  parent: string;
4957
5264
  /** Returns response with indentations and line breaks. */
4958
5265
  prettyPrint?: boolean;
@@ -4962,8 +5269,8 @@ declare namespace gapi.client {
4962
5269
  upload_protocol?: string;
4963
5270
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4964
5271
  uploadType?: string;
4965
- }): Request<GoogleCloudDataplexV1ListDataDomainsResponse>;
4966
- /** Updates a DataDomain resource. */
5272
+ }): Request<GoogleCloudDataplexV1ListDataProductsResponse>;
5273
+ /** Updates a data product. */
4967
5274
  patch(request: {
4968
5275
  /** V1 error format. */
4969
5276
  '$.xgafv'?: '1' | '2';
@@ -4977,7 +5284,7 @@ declare namespace gapi.client {
4977
5284
  fields?: string;
4978
5285
  /** 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. */
4979
5286
  key?: string;
4980
- /** Identifier. The relative resource name of the DataDomain, of the form: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
5287
+ /** Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}. */
4981
5288
  name: string;
4982
5289
  /** OAuth 2.0 token for the current user. */
4983
5290
  oauth_token?: string;
@@ -4985,16 +5292,16 @@ declare namespace gapi.client {
4985
5292
  prettyPrint?: boolean;
4986
5293
  /** 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. */
4987
5294
  quotaUser?: string;
4988
- /** Optional. Mask of fields to update. */
5295
+ /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
4989
5296
  updateMask?: string;
4990
5297
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4991
5298
  upload_protocol?: string;
4992
5299
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4993
5300
  uploadType?: string;
4994
- /** Optional. Only validate the request, but do not perform mutations. */
5301
+ /** Optional. Validates the request without actually updating the data product. Default: false. */
4995
5302
  validateOnly?: boolean;
4996
5303
  /** Request body */
4997
- resource: GoogleCloudDataplexV1DataDomain;
5304
+ resource: GoogleCloudDataplexV1DataProduct;
4998
5305
  }): Request<GoogleLongrunningOperation>;
4999
5306
  patch(
5000
5307
  request: {
@@ -5010,7 +5317,7 @@ declare namespace gapi.client {
5010
5317
  fields?: string;
5011
5318
  /** 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. */
5012
5319
  key?: string;
5013
- /** Identifier. The relative resource name of the DataDomain, of the form: projects/{project_id_or_number}/locations/{location_id}/dataDomains/{data_domain_id} */
5320
+ /** Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}. */
5014
5321
  name: string;
5015
5322
  /** OAuth 2.0 token for the current user. */
5016
5323
  oauth_token?: string;
@@ -5018,17 +5325,75 @@ declare namespace gapi.client {
5018
5325
  prettyPrint?: boolean;
5019
5326
  /** 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. */
5020
5327
  quotaUser?: string;
5021
- /** Optional. Mask of fields to update. */
5328
+ /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5022
5329
  updateMask?: string;
5023
5330
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5024
5331
  upload_protocol?: string;
5025
5332
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5026
5333
  uploadType?: string;
5027
- /** Optional. Only validate the request, but do not perform mutations. */
5334
+ /** Optional. Validates the request without actually updating the data product. Default: false. */
5028
5335
  validateOnly?: boolean;
5029
5336
  },
5030
- body: GoogleCloudDataplexV1DataDomain,
5337
+ body: GoogleCloudDataplexV1DataProduct,
5031
5338
  ): Request<GoogleLongrunningOperation>;
5339
+ /** Requests access to a data product. This will trigger an access approval workflow, and the requester will need to wait for the approval to be granted before they will be able to access the data product assets. */
5340
+ requestAccess(request: {
5341
+ /** V1 error format. */
5342
+ '$.xgafv'?: '1' | '2';
5343
+ /** OAuth access token. */
5344
+ access_token?: string;
5345
+ /** Data format for response. */
5346
+ alt?: 'json' | 'media' | 'proto';
5347
+ /** JSONP */
5348
+ callback?: string;
5349
+ /** Selector specifying which fields to include in a partial response. */
5350
+ fields?: string;
5351
+ /** 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. */
5352
+ key?: string;
5353
+ /** OAuth 2.0 token for the current user. */
5354
+ oauth_token?: string;
5355
+ /** Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} */
5356
+ parent: string;
5357
+ /** Returns response with indentations and line breaks. */
5358
+ prettyPrint?: boolean;
5359
+ /** 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. */
5360
+ quotaUser?: string;
5361
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5362
+ upload_protocol?: string;
5363
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5364
+ uploadType?: string;
5365
+ /** Request body */
5366
+ resource: GoogleCloudDataplexV1RequestDataProductAccessRequest;
5367
+ }): Request<GoogleCloudDataplexV1RequestDataProductAccessResponse>;
5368
+ requestAccess(
5369
+ request: {
5370
+ /** V1 error format. */
5371
+ '$.xgafv'?: '1' | '2';
5372
+ /** OAuth access token. */
5373
+ access_token?: string;
5374
+ /** Data format for response. */
5375
+ alt?: 'json' | 'media' | 'proto';
5376
+ /** JSONP */
5377
+ callback?: string;
5378
+ /** Selector specifying which fields to include in a partial response. */
5379
+ fields?: string;
5380
+ /** 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. */
5381
+ key?: string;
5382
+ /** OAuth 2.0 token for the current user. */
5383
+ oauth_token?: string;
5384
+ /** Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} */
5385
+ parent: string;
5386
+ /** Returns response with indentations and line breaks. */
5387
+ prettyPrint?: boolean;
5388
+ /** 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. */
5389
+ quotaUser?: string;
5390
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5391
+ upload_protocol?: string;
5392
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5393
+ uploadType?: string;
5394
+ },
5395
+ body: GoogleCloudDataplexV1RequestDataProductAccessRequest,
5396
+ ): Request<GoogleCloudDataplexV1RequestDataProductAccessResponse>;
5032
5397
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
5033
5398
  setIamPolicy(
5034
5399
  request: {
@@ -5089,11 +5454,11 @@ declare namespace gapi.client {
5089
5454
  },
5090
5455
  body: GoogleIamV1TestIamPermissionsRequest,
5091
5456
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
5092
- bindings: BindingsResource;
5457
+ dataAssets: DataAssetsResource;
5093
5458
  }
5094
- interface DataAssetsResource {
5095
- /** Creates a data asset. */
5096
- create(request: {
5459
+ interface JobsResource {
5460
+ /** Cancels a running/pending DataScan job. */
5461
+ cancel(request: {
5097
5462
  /** V1 error format. */
5098
5463
  '$.xgafv'?: '1' | '2';
5099
5464
  /** OAuth access token. */
@@ -5102,16 +5467,14 @@ declare namespace gapi.client {
5102
5467
  alt?: 'json' | 'media' | 'proto';
5103
5468
  /** JSONP */
5104
5469
  callback?: string;
5105
- /** Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5106
- dataAssetId?: string;
5107
5470
  /** Selector specifying which fields to include in a partial response. */
5108
5471
  fields?: string;
5109
5472
  /** 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. */
5110
5473
  key?: string;
5474
+ /** Required. The resource name of the DataScanJob: projects/{project_id_or_number}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project_id_or_number refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5475
+ name: string;
5111
5476
  /** OAuth 2.0 token for the current user. */
5112
5477
  oauth_token?: string;
5113
- /** Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
5114
- parent: string;
5115
5478
  /** Returns response with indentations and line breaks. */
5116
5479
  prettyPrint?: boolean;
5117
5480
  /** 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. */
@@ -5120,12 +5483,10 @@ declare namespace gapi.client {
5120
5483
  upload_protocol?: string;
5121
5484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5122
5485
  uploadType?: string;
5123
- /** Optional. Validates the request without actually creating the data asset. Defaults to false. */
5124
- validateOnly?: boolean;
5125
5486
  /** Request body */
5126
- resource: GoogleCloudDataplexV1DataAsset;
5127
- }): Request<GoogleLongrunningOperation>;
5128
- create(
5487
+ resource: GoogleCloudDataplexV1CancelDataScanJobRequest;
5488
+ }): Request<{}>;
5489
+ cancel(
5129
5490
  request: {
5130
5491
  /** V1 error format. */
5131
5492
  '$.xgafv'?: '1' | '2';
@@ -5135,16 +5496,14 @@ declare namespace gapi.client {
5135
5496
  alt?: 'json' | 'media' | 'proto';
5136
5497
  /** JSONP */
5137
5498
  callback?: string;
5138
- /** Optional. The ID of the data asset to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5139
- dataAssetId?: string;
5140
5499
  /** Selector specifying which fields to include in a partial response. */
5141
5500
  fields?: string;
5142
5501
  /** 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. */
5143
5502
  key?: string;
5503
+ /** Required. The resource name of the DataScanJob: projects/{project_id_or_number}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project_id_or_number refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5504
+ name: string;
5144
5505
  /** OAuth 2.0 token for the current user. */
5145
5506
  oauth_token?: string;
5146
- /** Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
5147
- parent: string;
5148
5507
  /** Returns response with indentations and line breaks. */
5149
5508
  prettyPrint?: boolean;
5150
5509
  /** 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. */
@@ -5153,13 +5512,11 @@ declare namespace gapi.client {
5153
5512
  upload_protocol?: string;
5154
5513
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5155
5514
  uploadType?: string;
5156
- /** Optional. Validates the request without actually creating the data asset. Defaults to false. */
5157
- validateOnly?: boolean;
5158
5515
  },
5159
- body: GoogleCloudDataplexV1DataAsset,
5160
- ): Request<GoogleLongrunningOperation>;
5161
- /** Deletes a data asset. */
5162
- delete(request?: {
5516
+ body: GoogleCloudDataplexV1CancelDataScanJobRequest,
5517
+ ): Request<{}>;
5518
+ /** Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan. */
5519
+ generateDataQualityRules(request: {
5163
5520
  /** V1 error format. */
5164
5521
  '$.xgafv'?: '1' | '2';
5165
5522
  /** OAuth access token. */
@@ -5168,13 +5525,11 @@ declare namespace gapi.client {
5168
5525
  alt?: 'json' | 'media' | 'proto';
5169
5526
  /** JSONP */
5170
5527
  callback?: string;
5171
- /** Optional. The etag of the data asset. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. */
5172
- etag?: string;
5173
5528
  /** Selector specifying which fields to include in a partial response. */
5174
5529
  fields?: string;
5175
5530
  /** 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. */
5176
5531
  key?: string;
5177
- /** Required. The name of the data asset to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5532
+ /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5178
5533
  name: string;
5179
5534
  /** OAuth 2.0 token for the current user. */
5180
5535
  oauth_token?: string;
@@ -5186,26 +5541,55 @@ declare namespace gapi.client {
5186
5541
  upload_protocol?: string;
5187
5542
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5188
5543
  uploadType?: string;
5189
- /** Optional. Validates the request without actually deleting the data asset. Defaults to false. */
5190
- validateOnly?: boolean;
5191
- }): Request<GoogleLongrunningOperation>;
5192
- /** Gets a data asset. */
5193
- get(request?: {
5194
- /** V1 error format. */
5195
- '$.xgafv'?: '1' | '2';
5196
- /** OAuth access token. */
5197
- access_token?: string;
5198
- /** Data format for response. */
5199
- alt?: 'json' | 'media' | 'proto';
5200
- /** JSONP */
5201
- callback?: string;
5202
- /** Selector specifying which fields to include in a partial response. */
5203
- fields?: string;
5204
- /** 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. */
5205
- key?: string;
5206
- /** Required. The name of the data asset to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5207
- name: string;
5208
- /** OAuth 2.0 token for the current user. */
5544
+ /** Request body */
5545
+ resource: GoogleCloudDataplexV1GenerateDataQualityRulesRequest;
5546
+ }): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5547
+ generateDataQualityRules(
5548
+ request: {
5549
+ /** V1 error format. */
5550
+ '$.xgafv'?: '1' | '2';
5551
+ /** OAuth access token. */
5552
+ access_token?: string;
5553
+ /** Data format for response. */
5554
+ alt?: 'json' | 'media' | 'proto';
5555
+ /** JSONP */
5556
+ callback?: string;
5557
+ /** Selector specifying which fields to include in a partial response. */
5558
+ fields?: string;
5559
+ /** 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. */
5560
+ key?: string;
5561
+ /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5562
+ name: string;
5563
+ /** OAuth 2.0 token for the current user. */
5564
+ oauth_token?: string;
5565
+ /** Returns response with indentations and line breaks. */
5566
+ prettyPrint?: boolean;
5567
+ /** 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. */
5568
+ quotaUser?: string;
5569
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5570
+ upload_protocol?: string;
5571
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5572
+ uploadType?: string;
5573
+ },
5574
+ body: GoogleCloudDataplexV1GenerateDataQualityRulesRequest,
5575
+ ): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5576
+ /** Gets a DataScanJob resource. */
5577
+ get(request?: {
5578
+ /** V1 error format. */
5579
+ '$.xgafv'?: '1' | '2';
5580
+ /** OAuth access token. */
5581
+ access_token?: string;
5582
+ /** Data format for response. */
5583
+ alt?: 'json' | 'media' | 'proto';
5584
+ /** JSONP */
5585
+ callback?: string;
5586
+ /** Selector specifying which fields to include in a partial response. */
5587
+ fields?: string;
5588
+ /** 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. */
5589
+ key?: string;
5590
+ /** Required. The resource name of the DataScanJob: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5591
+ name: string;
5592
+ /** OAuth 2.0 token for the current user. */
5209
5593
  oauth_token?: string;
5210
5594
  /** Returns response with indentations and line breaks. */
5211
5595
  prettyPrint?: boolean;
@@ -5215,8 +5599,10 @@ declare namespace gapi.client {
5215
5599
  upload_protocol?: string;
5216
5600
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5217
5601
  uploadType?: string;
5218
- }): Request<GoogleCloudDataplexV1DataAsset>;
5219
- /** Lists data assets for a given data product. */
5602
+ /** Optional. Select the DataScanJob view to return. Defaults to BASIC. */
5603
+ view?: 'DATA_SCAN_JOB_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
5604
+ }): Request<GoogleCloudDataplexV1DataScanJob>;
5605
+ /** Lists DataScanJobs under the given DataScan. */
5220
5606
  list(request?: {
5221
5607
  /** V1 error format. */
5222
5608
  '$.xgafv'?: '1' | '2';
@@ -5228,19 +5614,17 @@ declare namespace gapi.client {
5228
5614
  callback?: string;
5229
5615
  /** Selector specifying which fields to include in a partial response. */
5230
5616
  fields?: string;
5231
- /** Optional. Filter expression that filters data assets listed in the response. */
5617
+ /** Optional. An expression for filtering the results of the ListDataScanJobs request.If unspecified, all datascan jobs will be returned. Multiple filters can be applied (with AND, OR logical operators). Filters are case-sensitive.Allowed fields are: start_time end_timestart_time and end_time expect RFC-3339 formatted strings (e.g. 2018-10-08T18:30:00-07:00).For instance, 'start_time > 2018-10-08T00:00:00.123456789Z AND end_time < 2018-10-09T00:00:00.123456789Z' limits results to DataScanJobs between specified start and end times. */
5232
5618
  filter?: string;
5233
5619
  /** 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. */
5234
5620
  key?: string;
5235
5621
  /** OAuth 2.0 token for the current user. */
5236
5622
  oauth_token?: string;
5237
- /** Optional. Order by expression that orders data assets listed in the response.Supported order_by fields are: name or create_time.If not specified, the ordering is undefined. */
5238
- orderBy?: string;
5239
- /** Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
5623
+ /** Optional. Maximum number of DataScanJobs to return. The service may return fewer than this value. If unspecified, at most 10 DataScanJobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
5240
5624
  pageSize?: number;
5241
- /** Optional. A page token, received from a previous ListDataAssets call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataAssets must match the call that provided the page token. */
5625
+ /** Optional. Page token received from a previous ListDataScanJobs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataScanJobs must match the call that provided the page token. */
5242
5626
  pageToken?: string;
5243
- /** Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
5627
+ /** Required. The resource name of the parent environment: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5244
5628
  parent: string;
5245
5629
  /** Returns response with indentations and line breaks. */
5246
5630
  prettyPrint?: boolean;
@@ -5250,9 +5634,11 @@ declare namespace gapi.client {
5250
5634
  upload_protocol?: string;
5251
5635
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5252
5636
  uploadType?: string;
5253
- }): Request<GoogleCloudDataplexV1ListDataAssetsResponse>;
5254
- /** Updates a data asset. */
5255
- patch(request: {
5637
+ }): Request<GoogleCloudDataplexV1ListDataScanJobsResponse>;
5638
+ }
5639
+ interface DataScansResource {
5640
+ /** Creates a DataScan resource. */
5641
+ create(request: {
5256
5642
  /** V1 error format. */
5257
5643
  '$.xgafv'?: '1' | '2';
5258
5644
  /** OAuth access token. */
@@ -5261,30 +5647,30 @@ declare namespace gapi.client {
5261
5647
  alt?: 'json' | 'media' | 'proto';
5262
5648
  /** JSONP */
5263
5649
  callback?: string;
5650
+ /** Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only 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 project / location. */
5651
+ dataScanId?: string;
5264
5652
  /** Selector specifying which fields to include in a partial response. */
5265
5653
  fields?: string;
5266
5654
  /** 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. */
5267
5655
  key?: string;
5268
- /** Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5269
- name: string;
5270
5656
  /** OAuth 2.0 token for the current user. */
5271
5657
  oauth_token?: string;
5658
+ /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5659
+ parent: string;
5272
5660
  /** Returns response with indentations and line breaks. */
5273
5661
  prettyPrint?: boolean;
5274
5662
  /** 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. */
5275
5663
  quotaUser?: string;
5276
- /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5277
- updateMask?: string;
5278
5664
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5279
5665
  upload_protocol?: string;
5280
5666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5281
5667
  uploadType?: string;
5282
- /** Optional. Validates the request without actually updating the data asset. Defaults to false. */
5668
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5283
5669
  validateOnly?: boolean;
5284
5670
  /** Request body */
5285
- resource: GoogleCloudDataplexV1DataAsset;
5671
+ resource: GoogleCloudDataplexV1DataScan;
5286
5672
  }): Request<GoogleLongrunningOperation>;
5287
- patch(
5673
+ create(
5288
5674
  request: {
5289
5675
  /** V1 error format. */
5290
5676
  '$.xgafv'?: '1' | '2';
@@ -5294,33 +5680,31 @@ declare namespace gapi.client {
5294
5680
  alt?: 'json' | 'media' | 'proto';
5295
5681
  /** JSONP */
5296
5682
  callback?: string;
5683
+ /** Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only 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 project / location. */
5684
+ dataScanId?: string;
5297
5685
  /** Selector specifying which fields to include in a partial response. */
5298
5686
  fields?: string;
5299
5687
  /** 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. */
5300
5688
  key?: string;
5301
- /** Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id} */
5302
- name: string;
5303
5689
  /** OAuth 2.0 token for the current user. */
5304
5690
  oauth_token?: string;
5691
+ /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5692
+ parent: string;
5305
5693
  /** Returns response with indentations and line breaks. */
5306
5694
  prettyPrint?: boolean;
5307
5695
  /** 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. */
5308
5696
  quotaUser?: string;
5309
- /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5310
- updateMask?: string;
5311
5697
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5312
5698
  upload_protocol?: string;
5313
5699
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5314
5700
  uploadType?: string;
5315
- /** Optional. Validates the request without actually updating the data asset. Defaults to false. */
5701
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5316
5702
  validateOnly?: boolean;
5317
5703
  },
5318
- body: GoogleCloudDataplexV1DataAsset,
5704
+ body: GoogleCloudDataplexV1DataScan,
5319
5705
  ): Request<GoogleLongrunningOperation>;
5320
- }
5321
- interface DataProductsResource {
5322
- /** Creates a data product. */
5323
- create(request: {
5706
+ /** Deletes a DataScan resource. */
5707
+ delete(request?: {
5324
5708
  /** V1 error format. */
5325
5709
  '$.xgafv'?: '1' | '2';
5326
5710
  /** OAuth access token. */
@@ -5329,16 +5713,16 @@ declare namespace gapi.client {
5329
5713
  alt?: 'json' | 'media' | 'proto';
5330
5714
  /** JSONP */
5331
5715
  callback?: string;
5332
- /** Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5333
- dataProductId?: string;
5334
5716
  /** Selector specifying which fields to include in a partial response. */
5335
5717
  fields?: string;
5718
+ /** Optional. If set to true, any child resources of this data scan will also be deleted. (Otherwise, the request will only work if the data scan has no child resources.) */
5719
+ force?: boolean;
5336
5720
  /** 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. */
5337
5721
  key?: string;
5722
+ /** Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5723
+ name: string;
5338
5724
  /** OAuth 2.0 token for the current user. */
5339
5725
  oauth_token?: string;
5340
- /** Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
5341
- parent: string;
5342
5726
  /** Returns response with indentations and line breaks. */
5343
5727
  prettyPrint?: boolean;
5344
5728
  /** 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. */
@@ -5347,12 +5731,37 @@ declare namespace gapi.client {
5347
5731
  upload_protocol?: string;
5348
5732
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5349
5733
  uploadType?: string;
5350
- /** Optional. Validates the request without actually creating the data product. Default: false. */
5351
- validateOnly?: boolean;
5352
- /** Request body */
5353
- resource: GoogleCloudDataplexV1DataProduct;
5354
5734
  }): Request<GoogleLongrunningOperation>;
5355
- create(
5735
+ /** Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan. */
5736
+ generateDataQualityRules(request: {
5737
+ /** V1 error format. */
5738
+ '$.xgafv'?: '1' | '2';
5739
+ /** OAuth access token. */
5740
+ access_token?: string;
5741
+ /** Data format for response. */
5742
+ alt?: 'json' | 'media' | 'proto';
5743
+ /** JSONP */
5744
+ callback?: string;
5745
+ /** Selector specifying which fields to include in a partial response. */
5746
+ fields?: string;
5747
+ /** 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. */
5748
+ key?: string;
5749
+ /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5750
+ name: string;
5751
+ /** OAuth 2.0 token for the current user. */
5752
+ oauth_token?: string;
5753
+ /** Returns response with indentations and line breaks. */
5754
+ prettyPrint?: boolean;
5755
+ /** 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. */
5756
+ quotaUser?: string;
5757
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5758
+ upload_protocol?: string;
5759
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5760
+ uploadType?: string;
5761
+ /** Request body */
5762
+ resource: GoogleCloudDataplexV1GenerateDataQualityRulesRequest;
5763
+ }): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5764
+ generateDataQualityRules(
5356
5765
  request: {
5357
5766
  /** V1 error format. */
5358
5767
  '$.xgafv'?: '1' | '2';
@@ -5362,16 +5771,14 @@ declare namespace gapi.client {
5362
5771
  alt?: 'json' | 'media' | 'proto';
5363
5772
  /** JSONP */
5364
5773
  callback?: string;
5365
- /** Optional. The ID of the data product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ If not provided, a system generated ID will be used. */
5366
- dataProductId?: string;
5367
5774
  /** Selector specifying which fields to include in a partial response. */
5368
5775
  fields?: string;
5369
5776
  /** 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. */
5370
5777
  key?: string;
5778
+ /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5779
+ name: string;
5371
5780
  /** OAuth 2.0 token for the current user. */
5372
5781
  oauth_token?: string;
5373
- /** Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
5374
- parent: string;
5375
5782
  /** Returns response with indentations and line breaks. */
5376
5783
  prettyPrint?: boolean;
5377
5784
  /** 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. */
@@ -5380,43 +5787,10 @@ declare namespace gapi.client {
5380
5787
  upload_protocol?: string;
5381
5788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5382
5789
  uploadType?: string;
5383
- /** Optional. Validates the request without actually creating the data product. Default: false. */
5384
- validateOnly?: boolean;
5385
5790
  },
5386
- body: GoogleCloudDataplexV1DataProduct,
5387
- ): Request<GoogleLongrunningOperation>;
5388
- /** Deletes a data product. The deletion will fail if the data product is not empty (i.e. contains at least one data asset). */
5389
- delete(request?: {
5390
- /** V1 error format. */
5391
- '$.xgafv'?: '1' | '2';
5392
- /** OAuth access token. */
5393
- access_token?: string;
5394
- /** Data format for response. */
5395
- alt?: 'json' | 'media' | 'proto';
5396
- /** JSONP */
5397
- callback?: string;
5398
- /** Optional. The etag of the data product.If an etag is provided and does not match the current etag of the data product, then the deletion will be blocked and an ABORTED error will be returned. */
5399
- etag?: string;
5400
- /** Selector specifying which fields to include in a partial response. */
5401
- fields?: string;
5402
- /** 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. */
5403
- key?: string;
5404
- /** Required. The name of the data product to delete. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
5405
- name: string;
5406
- /** OAuth 2.0 token for the current user. */
5407
- oauth_token?: string;
5408
- /** Returns response with indentations and line breaks. */
5409
- prettyPrint?: boolean;
5410
- /** 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. */
5411
- quotaUser?: string;
5412
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5413
- upload_protocol?: string;
5414
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5415
- uploadType?: string;
5416
- /** Optional. Validates the request without actually deleting the data product. Default: false. */
5417
- validateOnly?: boolean;
5418
- }): Request<GoogleLongrunningOperation>;
5419
- /** Gets a data product. */
5791
+ body: GoogleCloudDataplexV1GenerateDataQualityRulesRequest,
5792
+ ): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5793
+ /** Gets a DataScan resource. */
5420
5794
  get(request?: {
5421
5795
  /** V1 error format. */
5422
5796
  '$.xgafv'?: '1' | '2';
@@ -5430,7 +5804,7 @@ declare namespace gapi.client {
5430
5804
  fields?: string;
5431
5805
  /** 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. */
5432
5806
  key?: string;
5433
- /** Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} */
5807
+ /** Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5434
5808
  name: string;
5435
5809
  /** OAuth 2.0 token for the current user. */
5436
5810
  oauth_token?: string;
@@ -5442,7 +5816,9 @@ declare namespace gapi.client {
5442
5816
  upload_protocol?: string;
5443
5817
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5444
5818
  uploadType?: string;
5445
- }): Request<GoogleCloudDataplexV1DataProduct>;
5819
+ /** Optional. Select the DataScan view to return. Defaults to BASIC. */
5820
+ view?: 'DATA_SCAN_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
5821
+ }): Request<GoogleCloudDataplexV1DataScan>;
5446
5822
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
5447
5823
  getIamPolicy(request?: {
5448
5824
  /** V1 error format. */
@@ -5472,7 +5848,7 @@ declare namespace gapi.client {
5472
5848
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5473
5849
  uploadType?: string;
5474
5850
  }): Request<GoogleIamV1Policy>;
5475
- /** Lists data products for a given project. */
5851
+ /** Lists DataScans. */
5476
5852
  list(request?: {
5477
5853
  /** V1 error format. */
5478
5854
  '$.xgafv'?: '1' | '2';
@@ -5484,19 +5860,19 @@ declare namespace gapi.client {
5484
5860
  callback?: string;
5485
5861
  /** Selector specifying which fields to include in a partial response. */
5486
5862
  fields?: string;
5487
- /** Optional. Filter expression that filters data products listed in the response.Example of using this filter is: display_name="my-data-product" */
5863
+ /** Optional. Filter request. */
5488
5864
  filter?: string;
5489
5865
  /** 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. */
5490
5866
  key?: string;
5491
5867
  /** OAuth 2.0 token for the current user. */
5492
5868
  oauth_token?: string;
5493
- /** Optional. Order by expression that orders data products listed in the response.Supported Order by fields are: name or create_time.If not specified, the ordering is undefined.Ordering by create_time is not supported when listing resources across locations (i.e. when request contains /locations/-). */
5869
+ /** Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined. */
5494
5870
  orderBy?: string;
5495
- /** Optional. The maximum number of data products to return. The service may return fewer than this value. If unspecified, at most 50 data products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
5871
+ /** Optional. Maximum number of dataScans to return. The service may return fewer than this value. If unspecified, at most 500 scans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
5496
5872
  pageSize?: number;
5497
- /** Optional. A page token, received from a previous ListDataProducts call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListDataProducts must match the call that provided the page token. */
5873
+ /** Optional. Page token received from a previous ListDataScans call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataScans must match the call that provided the page token. */
5498
5874
  pageToken?: string;
5499
- /** Required. The parent, which has this collection of data products.Format: projects/{project_id_or_number}/locations/{location_id}.Supports listing across all locations with the wildcard - (hyphen) character. Example: projects/{project_id_or_number}/locations/- */
5875
+ /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5500
5876
  parent: string;
5501
5877
  /** Returns response with indentations and line breaks. */
5502
5878
  prettyPrint?: boolean;
@@ -5506,8 +5882,8 @@ declare namespace gapi.client {
5506
5882
  upload_protocol?: string;
5507
5883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5508
5884
  uploadType?: string;
5509
- }): Request<GoogleCloudDataplexV1ListDataProductsResponse>;
5510
- /** Updates a data product. */
5885
+ }): Request<GoogleCloudDataplexV1ListDataScansResponse>;
5886
+ /** Updates a DataScan resource. */
5511
5887
  patch(request: {
5512
5888
  /** V1 error format. */
5513
5889
  '$.xgafv'?: '1' | '2';
@@ -5521,7 +5897,7 @@ declare namespace gapi.client {
5521
5897
  fields?: string;
5522
5898
  /** 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. */
5523
5899
  key?: string;
5524
- /** Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}. */
5900
+ /** Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5525
5901
  name: string;
5526
5902
  /** OAuth 2.0 token for the current user. */
5527
5903
  oauth_token?: string;
@@ -5529,16 +5905,16 @@ declare namespace gapi.client {
5529
5905
  prettyPrint?: boolean;
5530
5906
  /** 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. */
5531
5907
  quotaUser?: string;
5532
- /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5908
+ /** Optional. Mask of fields to update. */
5533
5909
  updateMask?: string;
5534
5910
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5535
5911
  upload_protocol?: string;
5536
5912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5537
5913
  uploadType?: string;
5538
- /** Optional. Validates the request without actually updating the data product. Default: false. */
5914
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5539
5915
  validateOnly?: boolean;
5540
5916
  /** Request body */
5541
- resource: GoogleCloudDataplexV1DataProduct;
5917
+ resource: GoogleCloudDataplexV1DataScan;
5542
5918
  }): Request<GoogleLongrunningOperation>;
5543
5919
  patch(
5544
5920
  request: {
@@ -5554,7 +5930,7 @@ declare namespace gapi.client {
5554
5930
  fields?: string;
5555
5931
  /** 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. */
5556
5932
  key?: string;
5557
- /** Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}. */
5933
+ /** Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5558
5934
  name: string;
5559
5935
  /** OAuth 2.0 token for the current user. */
5560
5936
  oauth_token?: string;
@@ -5562,19 +5938,19 @@ declare namespace gapi.client {
5562
5938
  prettyPrint?: boolean;
5563
5939
  /** 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. */
5564
5940
  quotaUser?: string;
5565
- /** Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated. */
5941
+ /** Optional. Mask of fields to update. */
5566
5942
  updateMask?: string;
5567
5943
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5568
5944
  upload_protocol?: string;
5569
5945
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5570
5946
  uploadType?: string;
5571
- /** Optional. Validates the request without actually updating the data product. Default: false. */
5947
+ /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5572
5948
  validateOnly?: boolean;
5573
5949
  },
5574
- body: GoogleCloudDataplexV1DataProduct,
5950
+ body: GoogleCloudDataplexV1DataScan,
5575
5951
  ): Request<GoogleLongrunningOperation>;
5576
- /** Requests access to a data product. This will trigger an access approval workflow, and the requester will need to wait for the approval to be granted before they will be able to access the data product assets. */
5577
- requestAccess(request: {
5952
+ /** Runs an on-demand execution of a DataScan */
5953
+ run(request: {
5578
5954
  /** V1 error format. */
5579
5955
  '$.xgafv'?: '1' | '2';
5580
5956
  /** OAuth access token. */
@@ -5587,10 +5963,10 @@ declare namespace gapi.client {
5587
5963
  fields?: string;
5588
5964
  /** 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. */
5589
5965
  key?: string;
5966
+ /** Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a Google Cloud region.Only OnDemand data scans are allowed. */
5967
+ name: string;
5590
5968
  /** OAuth 2.0 token for the current user. */
5591
5969
  oauth_token?: string;
5592
- /** Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} */
5593
- parent: string;
5594
5970
  /** Returns response with indentations and line breaks. */
5595
5971
  prettyPrint?: boolean;
5596
5972
  /** 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. */
@@ -5600,9 +5976,9 @@ declare namespace gapi.client {
5600
5976
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5601
5977
  uploadType?: string;
5602
5978
  /** Request body */
5603
- resource: GoogleCloudDataplexV1RequestDataProductAccessRequest;
5604
- }): Request<GoogleCloudDataplexV1RequestDataProductAccessResponse>;
5605
- requestAccess(
5979
+ resource: GoogleCloudDataplexV1RunDataScanRequest;
5980
+ }): Request<GoogleCloudDataplexV1RunDataScanResponse>;
5981
+ run(
5606
5982
  request: {
5607
5983
  /** V1 error format. */
5608
5984
  '$.xgafv'?: '1' | '2';
@@ -5616,10 +5992,10 @@ declare namespace gapi.client {
5616
5992
  fields?: string;
5617
5993
  /** 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. */
5618
5994
  key?: string;
5995
+ /** Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a Google Cloud region.Only OnDemand data scans are allowed. */
5996
+ name: string;
5619
5997
  /** OAuth 2.0 token for the current user. */
5620
5998
  oauth_token?: string;
5621
- /** Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id} */
5622
- parent: string;
5623
5999
  /** Returns response with indentations and line breaks. */
5624
6000
  prettyPrint?: boolean;
5625
6001
  /** 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. */
@@ -5629,8 +6005,8 @@ declare namespace gapi.client {
5629
6005
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5630
6006
  uploadType?: string;
5631
6007
  },
5632
- body: GoogleCloudDataplexV1RequestDataProductAccessRequest,
5633
- ): Request<GoogleCloudDataplexV1RequestDataProductAccessResponse>;
6008
+ body: GoogleCloudDataplexV1RunDataScanRequest,
6009
+ ): Request<GoogleCloudDataplexV1RunDataScanResponse>;
5634
6010
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
5635
6011
  setIamPolicy(
5636
6012
  request: {
@@ -5691,810 +6067,11 @@ declare namespace gapi.client {
5691
6067
  },
5692
6068
  body: GoogleIamV1TestIamPermissionsRequest,
5693
6069
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
5694
- dataAssets: DataAssetsResource;
6070
+ jobs: JobsResource;
5695
6071
  }
5696
- interface JobsResource {
5697
- /** Cancels a running/pending DataScan job. */
5698
- cancel(request: {
5699
- /** V1 error format. */
5700
- '$.xgafv'?: '1' | '2';
5701
- /** OAuth access token. */
5702
- access_token?: string;
5703
- /** Data format for response. */
5704
- alt?: 'json' | 'media' | 'proto';
5705
- /** JSONP */
5706
- callback?: string;
5707
- /** Selector specifying which fields to include in a partial response. */
5708
- fields?: string;
5709
- /** 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. */
5710
- key?: string;
5711
- /** Required. The resource name of the DataScanJob: projects/{project_id_or_number}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project_id_or_number refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5712
- name: string;
5713
- /** OAuth 2.0 token for the current user. */
5714
- oauth_token?: string;
5715
- /** Returns response with indentations and line breaks. */
5716
- prettyPrint?: boolean;
5717
- /** 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. */
5718
- quotaUser?: string;
5719
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5720
- upload_protocol?: string;
5721
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5722
- uploadType?: string;
5723
- /** Request body */
5724
- resource: GoogleCloudDataplexV1CancelDataScanJobRequest;
5725
- }): Request<{}>;
5726
- cancel(
5727
- request: {
5728
- /** V1 error format. */
5729
- '$.xgafv'?: '1' | '2';
5730
- /** OAuth access token. */
5731
- access_token?: string;
5732
- /** Data format for response. */
5733
- alt?: 'json' | 'media' | 'proto';
5734
- /** JSONP */
5735
- callback?: string;
5736
- /** Selector specifying which fields to include in a partial response. */
5737
- fields?: string;
5738
- /** 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. */
5739
- key?: string;
5740
- /** Required. The resource name of the DataScanJob: projects/{project_id_or_number}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project_id_or_number refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5741
- name: string;
5742
- /** OAuth 2.0 token for the current user. */
5743
- oauth_token?: string;
5744
- /** Returns response with indentations and line breaks. */
5745
- prettyPrint?: boolean;
5746
- /** 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. */
5747
- quotaUser?: string;
5748
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5749
- upload_protocol?: string;
5750
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5751
- uploadType?: string;
5752
- },
5753
- body: GoogleCloudDataplexV1CancelDataScanJobRequest,
5754
- ): Request<{}>;
5755
- /** Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan. */
5756
- generateDataQualityRules(request: {
5757
- /** V1 error format. */
5758
- '$.xgafv'?: '1' | '2';
5759
- /** OAuth access token. */
5760
- access_token?: string;
5761
- /** Data format for response. */
5762
- alt?: 'json' | 'media' | 'proto';
5763
- /** JSONP */
5764
- callback?: string;
5765
- /** Selector specifying which fields to include in a partial response. */
5766
- fields?: string;
5767
- /** 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. */
5768
- key?: string;
5769
- /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5770
- name: string;
5771
- /** OAuth 2.0 token for the current user. */
5772
- oauth_token?: string;
5773
- /** Returns response with indentations and line breaks. */
5774
- prettyPrint?: boolean;
5775
- /** 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. */
5776
- quotaUser?: string;
5777
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5778
- upload_protocol?: string;
5779
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5780
- uploadType?: string;
5781
- /** Request body */
5782
- resource: GoogleCloudDataplexV1GenerateDataQualityRulesRequest;
5783
- }): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5784
- generateDataQualityRules(
5785
- request: {
5786
- /** V1 error format. */
5787
- '$.xgafv'?: '1' | '2';
5788
- /** OAuth access token. */
5789
- access_token?: string;
5790
- /** Data format for response. */
5791
- alt?: 'json' | 'media' | 'proto';
5792
- /** JSONP */
5793
- callback?: string;
5794
- /** Selector specifying which fields to include in a partial response. */
5795
- fields?: string;
5796
- /** 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. */
5797
- key?: string;
5798
- /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5799
- name: string;
5800
- /** OAuth 2.0 token for the current user. */
5801
- oauth_token?: string;
5802
- /** Returns response with indentations and line breaks. */
5803
- prettyPrint?: boolean;
5804
- /** 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. */
5805
- quotaUser?: string;
5806
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5807
- upload_protocol?: string;
5808
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5809
- uploadType?: string;
5810
- },
5811
- body: GoogleCloudDataplexV1GenerateDataQualityRulesRequest,
5812
- ): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
5813
- /** Gets a DataScanJob resource. */
5814
- get(request?: {
5815
- /** V1 error format. */
5816
- '$.xgafv'?: '1' | '2';
5817
- /** OAuth access token. */
5818
- access_token?: string;
5819
- /** Data format for response. */
5820
- alt?: 'json' | 'media' | 'proto';
5821
- /** JSONP */
5822
- callback?: string;
5823
- /** Selector specifying which fields to include in a partial response. */
5824
- fields?: string;
5825
- /** 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. */
5826
- key?: string;
5827
- /** Required. The resource name of the DataScanJob: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5828
- name: string;
5829
- /** OAuth 2.0 token for the current user. */
5830
- oauth_token?: string;
5831
- /** Returns response with indentations and line breaks. */
5832
- prettyPrint?: boolean;
5833
- /** 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. */
5834
- quotaUser?: string;
5835
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5836
- upload_protocol?: string;
5837
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5838
- uploadType?: string;
5839
- /** Optional. Select the DataScanJob view to return. Defaults to BASIC. */
5840
- view?: 'DATA_SCAN_JOB_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
5841
- }): Request<GoogleCloudDataplexV1DataScanJob>;
5842
- /** Lists DataScanJobs under the given DataScan. */
5843
- list(request?: {
5844
- /** V1 error format. */
5845
- '$.xgafv'?: '1' | '2';
5846
- /** OAuth access token. */
5847
- access_token?: string;
5848
- /** Data format for response. */
5849
- alt?: 'json' | 'media' | 'proto';
5850
- /** JSONP */
5851
- callback?: string;
5852
- /** Selector specifying which fields to include in a partial response. */
5853
- fields?: string;
5854
- /** Optional. An expression for filtering the results of the ListDataScanJobs request.If unspecified, all datascan jobs will be returned. Multiple filters can be applied (with AND, OR logical operators). Filters are case-sensitive.Allowed fields are: start_time end_timestart_time and end_time expect RFC-3339 formatted strings (e.g. 2018-10-08T18:30:00-07:00).For instance, 'start_time > 2018-10-08T00:00:00.123456789Z AND end_time < 2018-10-09T00:00:00.123456789Z' limits results to DataScanJobs between specified start and end times. */
5855
- filter?: string;
5856
- /** 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. */
5857
- key?: string;
5858
- /** OAuth 2.0 token for the current user. */
5859
- oauth_token?: string;
5860
- /** Optional. Maximum number of DataScanJobs to return. The service may return fewer than this value. If unspecified, at most 10 DataScanJobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
5861
- pageSize?: number;
5862
- /** Optional. Page token received from a previous ListDataScanJobs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataScanJobs must match the call that provided the page token. */
5863
- pageToken?: string;
5864
- /** Required. The resource name of the parent environment: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5865
- parent: string;
5866
- /** Returns response with indentations and line breaks. */
5867
- prettyPrint?: boolean;
5868
- /** 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. */
5869
- quotaUser?: string;
5870
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5871
- upload_protocol?: string;
5872
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5873
- uploadType?: string;
5874
- }): Request<GoogleCloudDataplexV1ListDataScanJobsResponse>;
5875
- }
5876
- interface DataScansResource {
5877
- /** Creates a DataScan resource. */
5878
- create(request: {
5879
- /** V1 error format. */
5880
- '$.xgafv'?: '1' | '2';
5881
- /** OAuth access token. */
5882
- access_token?: string;
5883
- /** Data format for response. */
5884
- alt?: 'json' | 'media' | 'proto';
5885
- /** JSONP */
5886
- callback?: string;
5887
- /** Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only 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 project / location. */
5888
- dataScanId?: string;
5889
- /** Selector specifying which fields to include in a partial response. */
5890
- fields?: string;
5891
- /** 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. */
5892
- key?: string;
5893
- /** OAuth 2.0 token for the current user. */
5894
- oauth_token?: string;
5895
- /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5896
- parent: string;
5897
- /** Returns response with indentations and line breaks. */
5898
- prettyPrint?: boolean;
5899
- /** 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. */
5900
- quotaUser?: string;
5901
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5902
- upload_protocol?: string;
5903
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5904
- uploadType?: string;
5905
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5906
- validateOnly?: boolean;
5907
- /** Request body */
5908
- resource: GoogleCloudDataplexV1DataScan;
5909
- }): Request<GoogleLongrunningOperation>;
5910
- create(
5911
- request: {
5912
- /** V1 error format. */
5913
- '$.xgafv'?: '1' | '2';
5914
- /** OAuth access token. */
5915
- access_token?: string;
5916
- /** Data format for response. */
5917
- alt?: 'json' | 'media' | 'proto';
5918
- /** JSONP */
5919
- callback?: string;
5920
- /** Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only 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 project / location. */
5921
- dataScanId?: string;
5922
- /** Selector specifying which fields to include in a partial response. */
5923
- fields?: string;
5924
- /** 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. */
5925
- key?: string;
5926
- /** OAuth 2.0 token for the current user. */
5927
- oauth_token?: string;
5928
- /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5929
- parent: string;
5930
- /** Returns response with indentations and line breaks. */
5931
- prettyPrint?: boolean;
5932
- /** 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. */
5933
- quotaUser?: string;
5934
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5935
- upload_protocol?: string;
5936
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5937
- uploadType?: string;
5938
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
5939
- validateOnly?: boolean;
5940
- },
5941
- body: GoogleCloudDataplexV1DataScan,
5942
- ): Request<GoogleLongrunningOperation>;
5943
- /** Deletes a DataScan resource. */
5944
- delete(request?: {
5945
- /** V1 error format. */
5946
- '$.xgafv'?: '1' | '2';
5947
- /** OAuth access token. */
5948
- access_token?: string;
5949
- /** Data format for response. */
5950
- alt?: 'json' | 'media' | 'proto';
5951
- /** JSONP */
5952
- callback?: string;
5953
- /** Selector specifying which fields to include in a partial response. */
5954
- fields?: string;
5955
- /** Optional. If set to true, any child resources of this data scan will also be deleted. (Otherwise, the request will only work if the data scan has no child resources.) */
5956
- force?: boolean;
5957
- /** 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. */
5958
- key?: string;
5959
- /** Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
5960
- name: string;
5961
- /** OAuth 2.0 token for the current user. */
5962
- oauth_token?: string;
5963
- /** Returns response with indentations and line breaks. */
5964
- prettyPrint?: boolean;
5965
- /** 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. */
5966
- quotaUser?: string;
5967
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5968
- upload_protocol?: string;
5969
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5970
- uploadType?: string;
5971
- }): Request<GoogleLongrunningOperation>;
5972
- /** Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan. */
5973
- generateDataQualityRules(request: {
5974
- /** V1 error format. */
5975
- '$.xgafv'?: '1' | '2';
5976
- /** OAuth access token. */
5977
- access_token?: string;
5978
- /** Data format for response. */
5979
- alt?: 'json' | 'media' | 'proto';
5980
- /** JSONP */
5981
- callback?: string;
5982
- /** Selector specifying which fields to include in a partial response. */
5983
- fields?: string;
5984
- /** 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. */
5985
- key?: string;
5986
- /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
5987
- name: string;
5988
- /** OAuth 2.0 token for the current user. */
5989
- oauth_token?: string;
5990
- /** Returns response with indentations and line breaks. */
5991
- prettyPrint?: boolean;
5992
- /** 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. */
5993
- quotaUser?: string;
5994
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5995
- upload_protocol?: string;
5996
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5997
- uploadType?: string;
5998
- /** Request body */
5999
- resource: GoogleCloudDataplexV1GenerateDataQualityRulesRequest;
6000
- }): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
6001
- generateDataQualityRules(
6002
- request: {
6003
- /** V1 error format. */
6004
- '$.xgafv'?: '1' | '2';
6005
- /** OAuth access token. */
6006
- access_token?: string;
6007
- /** Data format for response. */
6008
- alt?: 'json' | 'media' | 'proto';
6009
- /** JSONP */
6010
- callback?: string;
6011
- /** Selector specifying which fields to include in a partial response. */
6012
- fields?: string;
6013
- /** 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. */
6014
- key?: string;
6015
- /** Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling) */
6016
- name: string;
6017
- /** OAuth 2.0 token for the current user. */
6018
- oauth_token?: string;
6019
- /** Returns response with indentations and line breaks. */
6020
- prettyPrint?: boolean;
6021
- /** 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. */
6022
- quotaUser?: string;
6023
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6024
- upload_protocol?: string;
6025
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6026
- uploadType?: string;
6027
- },
6028
- body: GoogleCloudDataplexV1GenerateDataQualityRulesRequest,
6029
- ): Request<GoogleCloudDataplexV1GenerateDataQualityRulesResponse>;
6030
- /** Gets a DataScan resource. */
6031
- get(request?: {
6032
- /** V1 error format. */
6033
- '$.xgafv'?: '1' | '2';
6034
- /** OAuth access token. */
6035
- access_token?: string;
6036
- /** Data format for response. */
6037
- alt?: 'json' | 'media' | 'proto';
6038
- /** JSONP */
6039
- callback?: string;
6040
- /** Selector specifying which fields to include in a partial response. */
6041
- fields?: string;
6042
- /** 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. */
6043
- key?: string;
6044
- /** Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
6045
- name: string;
6046
- /** OAuth 2.0 token for the current user. */
6047
- oauth_token?: string;
6048
- /** Returns response with indentations and line breaks. */
6049
- prettyPrint?: boolean;
6050
- /** 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. */
6051
- quotaUser?: string;
6052
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6053
- upload_protocol?: string;
6054
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6055
- uploadType?: string;
6056
- /** Optional. Select the DataScan view to return. Defaults to BASIC. */
6057
- view?: 'DATA_SCAN_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
6058
- }): Request<GoogleCloudDataplexV1DataScan>;
6059
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
6060
- getIamPolicy(request?: {
6061
- /** V1 error format. */
6062
- '$.xgafv'?: '1' | '2';
6063
- /** OAuth access token. */
6064
- access_token?: string;
6065
- /** Data format for response. */
6066
- alt?: 'json' | 'media' | 'proto';
6067
- /** JSONP */
6068
- callback?: string;
6069
- /** Selector specifying which fields to include in a partial response. */
6070
- fields?: string;
6071
- /** 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. */
6072
- key?: string;
6073
- /** OAuth 2.0 token for the current user. */
6074
- oauth_token?: string;
6075
- /** 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). */
6076
- 'options.requestedPolicyVersion'?: number;
6077
- /** Returns response with indentations and line breaks. */
6078
- prettyPrint?: boolean;
6079
- /** 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. */
6080
- quotaUser?: string;
6081
- /** 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. */
6082
- resource: string;
6083
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6084
- upload_protocol?: string;
6085
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6086
- uploadType?: string;
6087
- }): Request<GoogleIamV1Policy>;
6088
- /** Lists DataScans. */
6089
- list(request?: {
6090
- /** V1 error format. */
6091
- '$.xgafv'?: '1' | '2';
6092
- /** OAuth access token. */
6093
- access_token?: string;
6094
- /** Data format for response. */
6095
- alt?: 'json' | 'media' | 'proto';
6096
- /** JSONP */
6097
- callback?: string;
6098
- /** Selector specifying which fields to include in a partial response. */
6099
- fields?: string;
6100
- /** Optional. Filter request. */
6101
- filter?: string;
6102
- /** 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. */
6103
- key?: string;
6104
- /** OAuth 2.0 token for the current user. */
6105
- oauth_token?: string;
6106
- /** Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined. */
6107
- orderBy?: string;
6108
- /** Optional. Maximum number of dataScans to return. The service may return fewer than this value. If unspecified, at most 500 scans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
6109
- pageSize?: number;
6110
- /** Optional. Page token received from a previous ListDataScans call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataScans must match the call that provided the page token. */
6111
- pageToken?: string;
6112
- /** Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
6113
- parent: string;
6114
- /** Returns response with indentations and line breaks. */
6115
- prettyPrint?: boolean;
6116
- /** 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. */
6117
- quotaUser?: string;
6118
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6119
- upload_protocol?: string;
6120
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6121
- uploadType?: string;
6122
- }): Request<GoogleCloudDataplexV1ListDataScansResponse>;
6123
- /** Updates a DataScan resource. */
6124
- patch(request: {
6125
- /** V1 error format. */
6126
- '$.xgafv'?: '1' | '2';
6127
- /** OAuth access token. */
6128
- access_token?: string;
6129
- /** Data format for response. */
6130
- alt?: 'json' | 'media' | 'proto';
6131
- /** JSONP */
6132
- callback?: string;
6133
- /** Selector specifying which fields to include in a partial response. */
6134
- fields?: string;
6135
- /** 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. */
6136
- key?: string;
6137
- /** Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
6138
- name: string;
6139
- /** OAuth 2.0 token for the current user. */
6140
- oauth_token?: string;
6141
- /** Returns response with indentations and line breaks. */
6142
- prettyPrint?: boolean;
6143
- /** 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. */
6144
- quotaUser?: string;
6145
- /** Optional. Mask of fields to update. */
6146
- updateMask?: string;
6147
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6148
- upload_protocol?: string;
6149
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6150
- uploadType?: string;
6151
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6152
- validateOnly?: boolean;
6153
- /** Request body */
6154
- resource: GoogleCloudDataplexV1DataScan;
6155
- }): Request<GoogleLongrunningOperation>;
6156
- patch(
6157
- request: {
6158
- /** V1 error format. */
6159
- '$.xgafv'?: '1' | '2';
6160
- /** OAuth access token. */
6161
- access_token?: string;
6162
- /** Data format for response. */
6163
- alt?: 'json' | 'media' | 'proto';
6164
- /** JSONP */
6165
- callback?: string;
6166
- /** Selector specifying which fields to include in a partial response. */
6167
- fields?: string;
6168
- /** 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. */
6169
- key?: string;
6170
- /** Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a Google Cloud region. */
6171
- name: string;
6172
- /** OAuth 2.0 token for the current user. */
6173
- oauth_token?: string;
6174
- /** Returns response with indentations and line breaks. */
6175
- prettyPrint?: boolean;
6176
- /** 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. */
6177
- quotaUser?: string;
6178
- /** Optional. Mask of fields to update. */
6179
- updateMask?: string;
6180
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6181
- upload_protocol?: string;
6182
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6183
- uploadType?: string;
6184
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6185
- validateOnly?: boolean;
6186
- },
6187
- body: GoogleCloudDataplexV1DataScan,
6188
- ): Request<GoogleLongrunningOperation>;
6189
- /** Runs an on-demand execution of a DataScan */
6190
- run(request: {
6191
- /** V1 error format. */
6192
- '$.xgafv'?: '1' | '2';
6193
- /** OAuth access token. */
6194
- access_token?: string;
6195
- /** Data format for response. */
6196
- alt?: 'json' | 'media' | 'proto';
6197
- /** JSONP */
6198
- callback?: string;
6199
- /** Selector specifying which fields to include in a partial response. */
6200
- fields?: string;
6201
- /** 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. */
6202
- key?: string;
6203
- /** Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a Google Cloud region.Only OnDemand data scans are allowed. */
6204
- name: string;
6205
- /** OAuth 2.0 token for the current user. */
6206
- oauth_token?: string;
6207
- /** Returns response with indentations and line breaks. */
6208
- prettyPrint?: boolean;
6209
- /** 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. */
6210
- quotaUser?: string;
6211
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6212
- upload_protocol?: string;
6213
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6214
- uploadType?: string;
6215
- /** Request body */
6216
- resource: GoogleCloudDataplexV1RunDataScanRequest;
6217
- }): Request<GoogleCloudDataplexV1RunDataScanResponse>;
6218
- run(
6219
- request: {
6220
- /** V1 error format. */
6221
- '$.xgafv'?: '1' | '2';
6222
- /** OAuth access token. */
6223
- access_token?: string;
6224
- /** Data format for response. */
6225
- alt?: 'json' | 'media' | 'proto';
6226
- /** JSONP */
6227
- callback?: string;
6228
- /** Selector specifying which fields to include in a partial response. */
6229
- fields?: string;
6230
- /** 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. */
6231
- key?: string;
6232
- /** Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a Google Cloud region.Only OnDemand data scans are allowed. */
6233
- name: string;
6234
- /** OAuth 2.0 token for the current user. */
6235
- oauth_token?: string;
6236
- /** Returns response with indentations and line breaks. */
6237
- prettyPrint?: boolean;
6238
- /** 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. */
6239
- quotaUser?: string;
6240
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6241
- upload_protocol?: string;
6242
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6243
- uploadType?: string;
6244
- },
6245
- body: GoogleCloudDataplexV1RunDataScanRequest,
6246
- ): Request<GoogleCloudDataplexV1RunDataScanResponse>;
6247
- /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6248
- setIamPolicy(
6249
- request: {
6250
- /** V1 error format. */
6251
- '$.xgafv'?: '1' | '2';
6252
- /** OAuth access token. */
6253
- access_token?: string;
6254
- /** Data format for response. */
6255
- alt?: 'json' | 'media' | 'proto';
6256
- /** JSONP */
6257
- callback?: string;
6258
- /** Selector specifying which fields to include in a partial response. */
6259
- fields?: string;
6260
- /** 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. */
6261
- key?: string;
6262
- /** OAuth 2.0 token for the current user. */
6263
- oauth_token?: string;
6264
- /** Returns response with indentations and line breaks. */
6265
- prettyPrint?: boolean;
6266
- /** 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. */
6267
- quotaUser?: string;
6268
- /** 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. */
6269
- resource: string;
6270
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6271
- upload_protocol?: string;
6272
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6273
- uploadType?: string;
6274
- },
6275
- body: GoogleIamV1SetIamPolicyRequest,
6276
- ): Request<GoogleIamV1Policy>;
6277
- /** 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. */
6278
- testIamPermissions(
6279
- request: {
6280
- /** V1 error format. */
6281
- '$.xgafv'?: '1' | '2';
6282
- /** OAuth access token. */
6283
- access_token?: string;
6284
- /** Data format for response. */
6285
- alt?: 'json' | 'media' | 'proto';
6286
- /** JSONP */
6287
- callback?: string;
6288
- /** Selector specifying which fields to include in a partial response. */
6289
- fields?: string;
6290
- /** 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. */
6291
- key?: string;
6292
- /** OAuth 2.0 token for the current user. */
6293
- oauth_token?: string;
6294
- /** Returns response with indentations and line breaks. */
6295
- prettyPrint?: boolean;
6296
- /** 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. */
6297
- quotaUser?: string;
6298
- /** 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. */
6299
- resource: string;
6300
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6301
- upload_protocol?: string;
6302
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6303
- uploadType?: string;
6304
- },
6305
- body: GoogleIamV1TestIamPermissionsRequest,
6306
- ): Request<GoogleIamV1TestIamPermissionsResponse>;
6307
- jobs: JobsResource;
6308
- }
6309
- interface AttributesResource {
6310
- /** Create a DataAttribute resource. */
6311
- create(request: {
6312
- /** V1 error format. */
6313
- '$.xgafv'?: '1' | '2';
6314
- /** OAuth access token. */
6315
- access_token?: string;
6316
- /** Data format for response. */
6317
- alt?: 'json' | 'media' | 'proto';
6318
- /** JSONP */
6319
- callback?: string;
6320
- /** Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy. */
6321
- dataAttributeId?: string;
6322
- /** Selector specifying which fields to include in a partial response. */
6323
- fields?: string;
6324
- /** 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. */
6325
- key?: string;
6326
- /** OAuth 2.0 token for the current user. */
6327
- oauth_token?: string;
6328
- /** Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id} */
6329
- parent: string;
6330
- /** Returns response with indentations and line breaks. */
6331
- prettyPrint?: boolean;
6332
- /** 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. */
6333
- quotaUser?: string;
6334
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6335
- upload_protocol?: string;
6336
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6337
- uploadType?: string;
6338
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6339
- validateOnly?: boolean;
6340
- /** Request body */
6341
- resource: GoogleCloudDataplexV1DataAttribute;
6342
- }): Request<GoogleLongrunningOperation>;
6343
- create(
6344
- request: {
6345
- /** V1 error format. */
6346
- '$.xgafv'?: '1' | '2';
6347
- /** OAuth access token. */
6348
- access_token?: string;
6349
- /** Data format for response. */
6350
- alt?: 'json' | 'media' | 'proto';
6351
- /** JSONP */
6352
- callback?: string;
6353
- /** Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy. */
6354
- dataAttributeId?: string;
6355
- /** Selector specifying which fields to include in a partial response. */
6356
- fields?: string;
6357
- /** 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. */
6358
- key?: string;
6359
- /** OAuth 2.0 token for the current user. */
6360
- oauth_token?: string;
6361
- /** Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id} */
6362
- parent: string;
6363
- /** Returns response with indentations and line breaks. */
6364
- prettyPrint?: boolean;
6365
- /** 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. */
6366
- quotaUser?: string;
6367
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6368
- upload_protocol?: string;
6369
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6370
- uploadType?: string;
6371
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6372
- validateOnly?: boolean;
6373
- },
6374
- body: GoogleCloudDataplexV1DataAttribute,
6375
- ): Request<GoogleLongrunningOperation>;
6376
- /** Deletes a Data Attribute resource. */
6377
- delete(request?: {
6378
- /** V1 error format. */
6379
- '$.xgafv'?: '1' | '2';
6380
- /** OAuth access token. */
6381
- access_token?: string;
6382
- /** Data format for response. */
6383
- alt?: 'json' | 'media' | 'proto';
6384
- /** JSONP */
6385
- callback?: string;
6386
- /** Optional. If the client provided etag value does not match the current etag value, the DeleteDataAttribute method returns an ABORTED error response. */
6387
- etag?: string;
6388
- /** Selector specifying which fields to include in a partial response. */
6389
- fields?: string;
6390
- /** 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. */
6391
- key?: string;
6392
- /** Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} */
6393
- name: string;
6394
- /** OAuth 2.0 token for the current user. */
6395
- oauth_token?: string;
6396
- /** Returns response with indentations and line breaks. */
6397
- prettyPrint?: boolean;
6398
- /** 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. */
6399
- quotaUser?: string;
6400
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6401
- upload_protocol?: string;
6402
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6403
- uploadType?: string;
6404
- }): Request<GoogleLongrunningOperation>;
6405
- /** Retrieves a Data Attribute resource. */
6406
- get(request?: {
6407
- /** V1 error format. */
6408
- '$.xgafv'?: '1' | '2';
6409
- /** OAuth access token. */
6410
- access_token?: string;
6411
- /** Data format for response. */
6412
- alt?: 'json' | 'media' | 'proto';
6413
- /** JSONP */
6414
- callback?: string;
6415
- /** Selector specifying which fields to include in a partial response. */
6416
- fields?: string;
6417
- /** 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. */
6418
- key?: string;
6419
- /** Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} */
6420
- name: string;
6421
- /** OAuth 2.0 token for the current user. */
6422
- oauth_token?: string;
6423
- /** Returns response with indentations and line breaks. */
6424
- prettyPrint?: boolean;
6425
- /** 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. */
6426
- quotaUser?: string;
6427
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6428
- upload_protocol?: string;
6429
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6430
- uploadType?: string;
6431
- }): Request<GoogleCloudDataplexV1DataAttribute>;
6432
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
6433
- getIamPolicy(request?: {
6434
- /** V1 error format. */
6435
- '$.xgafv'?: '1' | '2';
6436
- /** OAuth access token. */
6437
- access_token?: string;
6438
- /** Data format for response. */
6439
- alt?: 'json' | 'media' | 'proto';
6440
- /** JSONP */
6441
- callback?: string;
6442
- /** Selector specifying which fields to include in a partial response. */
6443
- fields?: string;
6444
- /** 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. */
6445
- key?: string;
6446
- /** OAuth 2.0 token for the current user. */
6447
- oauth_token?: string;
6448
- /** 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). */
6449
- 'options.requestedPolicyVersion'?: number;
6450
- /** Returns response with indentations and line breaks. */
6451
- prettyPrint?: boolean;
6452
- /** 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. */
6453
- quotaUser?: string;
6454
- /** 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. */
6455
- resource: string;
6456
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6457
- upload_protocol?: string;
6458
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6459
- uploadType?: string;
6460
- }): Request<GoogleIamV1Policy>;
6461
- /** Lists Data Attribute resources in a DataTaxonomy. */
6462
- list(request?: {
6463
- /** V1 error format. */
6464
- '$.xgafv'?: '1' | '2';
6465
- /** OAuth access token. */
6466
- access_token?: string;
6467
- /** Data format for response. */
6468
- alt?: 'json' | 'media' | 'proto';
6469
- /** JSONP */
6470
- callback?: string;
6471
- /** Selector specifying which fields to include in a partial response. */
6472
- fields?: string;
6473
- /** Optional. Filter request. */
6474
- filter?: string;
6475
- /** 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. */
6476
- key?: string;
6477
- /** OAuth 2.0 token for the current user. */
6478
- oauth_token?: string;
6479
- /** Optional. Order by fields for the result. */
6480
- orderBy?: string;
6481
- /** Optional. Maximum number of DataAttributes to return. The service may return fewer than this value. If unspecified, at most 10 dataAttributes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
6482
- pageSize?: number;
6483
- /** Optional. Page token received from a previous ListDataAttributes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataAttributes must match the call that provided the page token. */
6484
- pageToken?: string;
6485
- /** Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id} */
6486
- parent: string;
6487
- /** Returns response with indentations and line breaks. */
6488
- prettyPrint?: boolean;
6489
- /** 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. */
6490
- quotaUser?: string;
6491
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6492
- upload_protocol?: string;
6493
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6494
- uploadType?: string;
6495
- }): Request<GoogleCloudDataplexV1ListDataAttributesResponse>;
6496
- /** Updates a DataAttribute resource. */
6497
- patch(request: {
6072
+ interface AttributesResource {
6073
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
6074
+ getIamPolicy(request?: {
6498
6075
  /** V1 error format. */
6499
6076
  '$.xgafv'?: '1' | '2';
6500
6077
  /** OAuth access token. */
@@ -6507,58 +6084,21 @@ declare namespace gapi.client {
6507
6084
  fields?: string;
6508
6085
  /** 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. */
6509
6086
  key?: string;
6510
- /** Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. */
6511
- name: string;
6512
6087
  /** OAuth 2.0 token for the current user. */
6513
6088
  oauth_token?: string;
6089
+ /** 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). */
6090
+ 'options.requestedPolicyVersion'?: number;
6514
6091
  /** Returns response with indentations and line breaks. */
6515
6092
  prettyPrint?: boolean;
6516
6093
  /** 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. */
6517
6094
  quotaUser?: string;
6518
- /** Required. Mask of fields to update. */
6519
- updateMask?: string;
6095
+ /** 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. */
6096
+ resource: string;
6520
6097
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6521
6098
  upload_protocol?: string;
6522
6099
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6523
6100
  uploadType?: string;
6524
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6525
- validateOnly?: boolean;
6526
- /** Request body */
6527
- resource: GoogleCloudDataplexV1DataAttribute;
6528
- }): Request<GoogleLongrunningOperation>;
6529
- patch(
6530
- request: {
6531
- /** V1 error format. */
6532
- '$.xgafv'?: '1' | '2';
6533
- /** OAuth access token. */
6534
- access_token?: string;
6535
- /** Data format for response. */
6536
- alt?: 'json' | 'media' | 'proto';
6537
- /** JSONP */
6538
- callback?: string;
6539
- /** Selector specifying which fields to include in a partial response. */
6540
- fields?: string;
6541
- /** 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. */
6542
- key?: string;
6543
- /** Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. */
6544
- name: string;
6545
- /** OAuth 2.0 token for the current user. */
6546
- oauth_token?: string;
6547
- /** Returns response with indentations and line breaks. */
6548
- prettyPrint?: boolean;
6549
- /** 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. */
6550
- quotaUser?: string;
6551
- /** Required. Mask of fields to update. */
6552
- updateMask?: string;
6553
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6554
- upload_protocol?: string;
6555
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6556
- uploadType?: string;
6557
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6558
- validateOnly?: boolean;
6559
- },
6560
- body: GoogleCloudDataplexV1DataAttribute,
6561
- ): Request<GoogleLongrunningOperation>;
6101
+ }): Request<GoogleIamV1Policy>;
6562
6102
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6563
6103
  setIamPolicy(
6564
6104
  request: {
@@ -6621,125 +6161,6 @@ declare namespace gapi.client {
6621
6161
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
6622
6162
  }
6623
6163
  interface DataTaxonomiesResource {
6624
- /** Create a DataTaxonomy resource. */
6625
- create(request: {
6626
- /** V1 error format. */
6627
- '$.xgafv'?: '1' | '2';
6628
- /** OAuth access token. */
6629
- access_token?: string;
6630
- /** Data format for response. */
6631
- alt?: 'json' | 'media' | 'proto';
6632
- /** JSONP */
6633
- callback?: string;
6634
- /** Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project. */
6635
- dataTaxonomyId?: string;
6636
- /** Selector specifying which fields to include in a partial response. */
6637
- fields?: string;
6638
- /** 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. */
6639
- key?: string;
6640
- /** OAuth 2.0 token for the current user. */
6641
- oauth_token?: string;
6642
- parent: string;
6643
- /** Returns response with indentations and line breaks. */
6644
- prettyPrint?: boolean;
6645
- /** 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. */
6646
- quotaUser?: string;
6647
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6648
- upload_protocol?: string;
6649
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6650
- uploadType?: string;
6651
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6652
- validateOnly?: boolean;
6653
- /** Request body */
6654
- resource: GoogleCloudDataplexV1DataTaxonomy;
6655
- }): Request<GoogleLongrunningOperation>;
6656
- create(
6657
- request: {
6658
- /** V1 error format. */
6659
- '$.xgafv'?: '1' | '2';
6660
- /** OAuth access token. */
6661
- access_token?: string;
6662
- /** Data format for response. */
6663
- alt?: 'json' | 'media' | 'proto';
6664
- /** JSONP */
6665
- callback?: string;
6666
- /** Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project. */
6667
- dataTaxonomyId?: string;
6668
- /** Selector specifying which fields to include in a partial response. */
6669
- fields?: string;
6670
- /** 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. */
6671
- key?: string;
6672
- /** OAuth 2.0 token for the current user. */
6673
- oauth_token?: string;
6674
- parent: string;
6675
- /** Returns response with indentations and line breaks. */
6676
- prettyPrint?: boolean;
6677
- /** 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. */
6678
- quotaUser?: string;
6679
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6680
- upload_protocol?: string;
6681
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6682
- uploadType?: string;
6683
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6684
- validateOnly?: boolean;
6685
- },
6686
- body: GoogleCloudDataplexV1DataTaxonomy,
6687
- ): Request<GoogleLongrunningOperation>;
6688
- /** Deletes a DataTaxonomy resource. All attributes within the DataTaxonomy must be deleted before the DataTaxonomy can be deleted. */
6689
- delete(request?: {
6690
- /** V1 error format. */
6691
- '$.xgafv'?: '1' | '2';
6692
- /** OAuth access token. */
6693
- access_token?: string;
6694
- /** Data format for response. */
6695
- alt?: 'json' | 'media' | 'proto';
6696
- /** JSONP */
6697
- callback?: string;
6698
- /** Optional. If the client provided etag value does not match the current etag value,the DeleteDataTaxonomy method returns an ABORTED error. */
6699
- etag?: string;
6700
- /** Selector specifying which fields to include in a partial response. */
6701
- fields?: string;
6702
- /** 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. */
6703
- key?: string;
6704
- /** Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id} */
6705
- name: string;
6706
- /** OAuth 2.0 token for the current user. */
6707
- oauth_token?: string;
6708
- /** Returns response with indentations and line breaks. */
6709
- prettyPrint?: boolean;
6710
- /** 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. */
6711
- quotaUser?: string;
6712
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6713
- upload_protocol?: string;
6714
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6715
- uploadType?: string;
6716
- }): Request<GoogleLongrunningOperation>;
6717
- /** Retrieves a DataTaxonomy resource. */
6718
- get(request?: {
6719
- /** V1 error format. */
6720
- '$.xgafv'?: '1' | '2';
6721
- /** OAuth access token. */
6722
- access_token?: string;
6723
- /** Data format for response. */
6724
- alt?: 'json' | 'media' | 'proto';
6725
- /** JSONP */
6726
- callback?: string;
6727
- /** Selector specifying which fields to include in a partial response. */
6728
- fields?: string;
6729
- /** 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. */
6730
- key?: string;
6731
- name: string;
6732
- /** OAuth 2.0 token for the current user. */
6733
- oauth_token?: string;
6734
- /** Returns response with indentations and line breaks. */
6735
- prettyPrint?: boolean;
6736
- /** 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. */
6737
- quotaUser?: string;
6738
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6739
- upload_protocol?: string;
6740
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6741
- uploadType?: string;
6742
- }): Request<GoogleCloudDataplexV1DataTaxonomy>;
6743
6164
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
6744
6165
  getIamPolicy(request?: {
6745
6166
  /** V1 error format. */
@@ -6769,107 +6190,6 @@ declare namespace gapi.client {
6769
6190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6770
6191
  uploadType?: string;
6771
6192
  }): Request<GoogleIamV1Policy>;
6772
- /** Lists DataTaxonomy resources in a project and location. */
6773
- list(request?: {
6774
- /** V1 error format. */
6775
- '$.xgafv'?: '1' | '2';
6776
- /** OAuth access token. */
6777
- access_token?: string;
6778
- /** Data format for response. */
6779
- alt?: 'json' | 'media' | 'proto';
6780
- /** JSONP */
6781
- callback?: string;
6782
- /** Selector specifying which fields to include in a partial response. */
6783
- fields?: string;
6784
- /** Optional. Filter request. */
6785
- filter?: string;
6786
- /** 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. */
6787
- key?: string;
6788
- /** OAuth 2.0 token for the current user. */
6789
- oauth_token?: string;
6790
- /** Optional. Order by fields for the result. */
6791
- orderBy?: string;
6792
- /** Optional. Maximum number of DataTaxonomies to return. The service may return fewer than this value. If unspecified, at most 10 DataTaxonomies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
6793
- pageSize?: number;
6794
- /** Optional. Page token received from a previous ListDataTaxonomies call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataTaxonomies must match the call that provided the page token. */
6795
- pageToken?: string;
6796
- /** Required. The resource name of the DataTaxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region. */
6797
- parent: string;
6798
- /** Returns response with indentations and line breaks. */
6799
- prettyPrint?: boolean;
6800
- /** 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. */
6801
- quotaUser?: string;
6802
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6803
- upload_protocol?: string;
6804
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6805
- uploadType?: string;
6806
- }): Request<GoogleCloudDataplexV1ListDataTaxonomiesResponse>;
6807
- /** Updates a DataTaxonomy resource. */
6808
- patch(request: {
6809
- /** V1 error format. */
6810
- '$.xgafv'?: '1' | '2';
6811
- /** OAuth access token. */
6812
- access_token?: string;
6813
- /** Data format for response. */
6814
- alt?: 'json' | 'media' | 'proto';
6815
- /** JSONP */
6816
- callback?: string;
6817
- /** Selector specifying which fields to include in a partial response. */
6818
- fields?: string;
6819
- /** 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. */
6820
- key?: string;
6821
- /** Output only. The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}. */
6822
- name: string;
6823
- /** OAuth 2.0 token for the current user. */
6824
- oauth_token?: string;
6825
- /** Returns response with indentations and line breaks. */
6826
- prettyPrint?: boolean;
6827
- /** 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. */
6828
- quotaUser?: string;
6829
- /** Required. Mask of fields to update. */
6830
- updateMask?: string;
6831
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6832
- upload_protocol?: string;
6833
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6834
- uploadType?: string;
6835
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6836
- validateOnly?: boolean;
6837
- /** Request body */
6838
- resource: GoogleCloudDataplexV1DataTaxonomy;
6839
- }): Request<GoogleLongrunningOperation>;
6840
- patch(
6841
- request: {
6842
- /** V1 error format. */
6843
- '$.xgafv'?: '1' | '2';
6844
- /** OAuth access token. */
6845
- access_token?: string;
6846
- /** Data format for response. */
6847
- alt?: 'json' | 'media' | 'proto';
6848
- /** JSONP */
6849
- callback?: string;
6850
- /** Selector specifying which fields to include in a partial response. */
6851
- fields?: string;
6852
- /** 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. */
6853
- key?: string;
6854
- /** Output only. The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}. */
6855
- name: string;
6856
- /** OAuth 2.0 token for the current user. */
6857
- oauth_token?: string;
6858
- /** Returns response with indentations and line breaks. */
6859
- prettyPrint?: boolean;
6860
- /** 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. */
6861
- quotaUser?: string;
6862
- /** Required. Mask of fields to update. */
6863
- updateMask?: string;
6864
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6865
- upload_protocol?: string;
6866
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6867
- uploadType?: string;
6868
- /** Optional. Only validate the request, but do not perform mutations. The default is false. */
6869
- validateOnly?: boolean;
6870
- },
6871
- body: GoogleCloudDataplexV1DataTaxonomy,
6872
- ): Request<GoogleLongrunningOperation>;
6873
6193
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6874
6194
  setIamPolicy(
6875
6195
  request: {
@@ -11839,6 +11159,7 @@ declare namespace gapi.client {
11839
11159
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11840
11160
  uploadType?: string;
11841
11161
  }): Request<GoogleCloudDataplexV1SearchEntriesResponse>;
11162
+ agentTasks: AgentTasksResource;
11842
11163
  aspectTypes: AspectTypesResource;
11843
11164
  changeRequests: ChangeRequestsResource;
11844
11165
  dataAttributeBindings: DataAttributeBindingsResource;