@google-cloud/dlp 6.3.0 → 6.5.0

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.
@@ -1624,6 +1624,25 @@ message RedactImageRequest {
1624
1624
 
1625
1625
  // The content must be PNG, JPEG, SVG or BMP.
1626
1626
  ByteContentItem byte_item = 7;
1627
+
1628
+ // The full resource name of the inspection template to use. Settings in the
1629
+ // main `inspect_config` field override the corresponding settings in this
1630
+ // inspection template.
1631
+ //
1632
+ // The merge behavior is as follows:
1633
+ //
1634
+ // - Singular field: The main field's value replaces the value of the
1635
+ // corresponding field in the template.
1636
+ // - Repeated fields: The field values are appended to the list defined in
1637
+ // the template.
1638
+ // - Sub-messages and groups: The fields are recursively merged.
1639
+ string inspect_template = 9;
1640
+
1641
+ // The full resource name of the de-identification template to use. Settings
1642
+ // in the main `image_redaction_configs` field override the corresponding
1643
+ // settings in this de-identification template. The request fails if the
1644
+ // type of the template's deidentify_config is not image_transformations.
1645
+ string deidentify_template = 10;
1627
1646
  }
1628
1647
 
1629
1648
  // Represents a color in the RGB color space.
@@ -1881,6 +1900,19 @@ message OutputStorageConfig {
1881
1900
  // compute a different privacy metric, or use different sets of
1882
1901
  // quasi-identifiers, cannot store their results in the same table.
1883
1902
  BigQueryTable table = 1;
1903
+
1904
+ // Store findings in an existing Cloud Storage bucket. Files will be
1905
+ // generated with the job ID and file part number as the filename and will
1906
+ // contain findings in textproto format as
1907
+ // [SaveToGcsFindingsOutput][google.privacy.dlp.v2.SaveToGcsFindingsOutput].
1908
+ // The filename will follow the naming convention `<job_id>-<shard_number>`.
1909
+ // Example: `my-job-id-2`.
1910
+ //
1911
+ // Supported for [Inspect jobs][google.privacy.dlp.v2.InspectJobConfig]. The
1912
+ // bucket must not be the same as the bucket being inspected. If storing
1913
+ // findings to Cloud Storage, the output schema field should not be set. If
1914
+ // set, it will be ignored.
1915
+ CloudStoragePath storage_path = 5;
1884
1916
  }
1885
1917
 
1886
1918
  // Schema used for writing the findings for Inspect jobs. This field is only
@@ -1917,7 +1949,7 @@ message InspectDataSourceDetails {
1917
1949
  InspectJobConfig job_config = 3;
1918
1950
  }
1919
1951
 
1920
- // All result fields mentioned below are updated while the job is processing.
1952
+ // All Result fields are updated while the job is processing.
1921
1953
  message Result {
1922
1954
  // Total size in bytes that were processed.
1923
1955
  int64 processed_bytes = 1;
@@ -2024,6 +2056,29 @@ message DeidentifyDataSourceDetails {
2024
2056
  DeidentifyDataSourceStats deidentify_stats = 2;
2025
2057
  }
2026
2058
 
2059
+ // Locations at which a feature can be used.
2060
+ message LocationSupport {
2061
+ // The location scope for a feature.
2062
+ enum RegionalizationScope {
2063
+ // Invalid.
2064
+ REGIONALIZATION_SCOPE_UNSPECIFIED = 0;
2065
+
2066
+ // Feature may be used with one or more regions. See locations for details.
2067
+ REGIONAL = 1;
2068
+
2069
+ // Feature may be used anywhere. Default value.
2070
+ ANY_LOCATION = 2;
2071
+ }
2072
+
2073
+ // The current scope for location on this feature. This may expand over time.
2074
+ RegionalizationScope regionalization_scope = 1;
2075
+
2076
+ // Specific locations where the feature may be used.
2077
+ // Examples: us-central1, us, asia, global
2078
+ // If scope is ANY_LOCATION, no regions will be listed.
2079
+ repeated string locations = 2;
2080
+ }
2081
+
2027
2082
  // InfoType description.
2028
2083
  message InfoTypeDescription {
2029
2084
  // Internal name of the infoType.
@@ -2039,6 +2094,9 @@ message InfoTypeDescription {
2039
2094
  // request.
2040
2095
  string description = 4;
2041
2096
 
2097
+ // Locations at which this feature can be used. May change over time.
2098
+ LocationSupport location_support = 6;
2099
+
2042
2100
  // A sample that is a true positive for this infoType.
2043
2101
  string example = 8;
2044
2102
 
@@ -2081,6 +2139,9 @@ message InfoTypeCategory {
2081
2139
  // The infoType is typically used in Australia.
2082
2140
  AUSTRALIA = 3;
2083
2141
 
2142
+ // The infoType is typically used in Austria.
2143
+ AUSTRIA = 53;
2144
+
2084
2145
  // The infoType is typically used in Azerbaijan.
2085
2146
  AZERBAIJAN = 48;
2086
2147
 
@@ -2358,7 +2419,7 @@ message QuasiId {
2358
2419
 
2359
2420
  // A column can be tagged with a custom tag. In this case, the user must
2360
2421
  // indicate an auxiliary table that contains statistical information on
2361
- // the possible values of this column (below).
2422
+ // the possible values of this column.
2362
2423
  string custom_tag = 3;
2363
2424
 
2364
2425
  // If no semantic tag is indicated, we infer the statistical model from
@@ -2383,7 +2444,7 @@ message StatisticalTable {
2383
2444
 
2384
2445
  // A column can be tagged with a custom tag. In this case, the user must
2385
2446
  // indicate an auxiliary table that contains statistical information on
2386
- // the possible values of this column (below).
2447
+ // the possible values of this column.
2387
2448
  string custom_tag = 2;
2388
2449
  }
2389
2450
 
@@ -2477,7 +2538,7 @@ message PrivacyMetric {
2477
2538
 
2478
2539
  // A column can be tagged with a custom tag. In this case, the user must
2479
2540
  // indicate an auxiliary table that contains statistical information on
2480
- // the possible values of this column (below).
2541
+ // the possible values of this column.
2481
2542
  string custom_tag = 3;
2482
2543
 
2483
2544
  // If no semantic tag is indicated, we infer the statistical model from
@@ -4199,6 +4260,21 @@ message Action {
4199
4260
  // Compatible with: Inspect
4200
4261
  message PublishFindingsToCloudDataCatalog {}
4201
4262
 
4263
+ // Publish findings of a DlpJob to Dataplex Universal Catalog as a
4264
+ // `sensitive-data-protection-job-result` aspect. For more information,
4265
+ // see [Send inspection results to Dataplex Universal Catalog as
4266
+ // aspects](https://cloud.google.com/sensitive-data-protection/docs/add-aspects-inspection-job).
4267
+ //
4268
+ // Aspects are stored in Dataplex Universal Catalog storage and are
4269
+ // governed by service-specific policies for Dataplex Universal Catalog. For
4270
+ // more information, see [Service Specific
4271
+ // Terms](https://cloud.google.com/terms/service-terms).
4272
+ //
4273
+ // Only a single instance of this action can be specified. This action is
4274
+ // allowed only if all resources being scanned are BigQuery tables.
4275
+ // Compatible with: Inspect
4276
+ message PublishFindingsToDataplexCatalog {}
4277
+
4202
4278
  // Create a de-identified copy of a storage bucket. Only compatible
4203
4279
  // with Cloud Storage buckets.
4204
4280
  //
@@ -4287,12 +4363,12 @@ message Action {
4287
4363
  }
4288
4364
 
4289
4365
  // List of user-specified file type groups to transform. If specified, only
4290
- // the files with these file types will be transformed. If empty, all
4291
- // supported files will be transformed. Supported types may be automatically
4292
- // added over time. If a file type is set in this field that isn't supported
4293
- // by the Deidentify action then the job will fail and will not be
4294
- // successfully created/started. Currently the only file types supported
4295
- // are: IMAGES, TEXT_FILES, CSV, TSV.
4366
+ // the files with these file types are transformed. If empty, all
4367
+ // supported files are transformed. Supported types may be automatically
4368
+ // added over time. Any unsupported file types that are set in this field
4369
+ // are excluded from de-identification. An error is recorded for each
4370
+ // unsupported file in the TransformationDetails output table. Currently the
4371
+ // only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.
4296
4372
  repeated FileType file_types_to_transform = 8;
4297
4373
  }
4298
4374
 
@@ -4322,6 +4398,9 @@ message Action {
4322
4398
  PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog =
4323
4399
  5;
4324
4400
 
4401
+ // Publish findings as an aspect to Dataplex Universal Catalog.
4402
+ PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;
4403
+
4325
4404
  // Create a de-identified copy of the input data.
4326
4405
  Deidentify deidentify = 7;
4327
4406
 
@@ -4831,6 +4910,8 @@ message ListJobTriggersRequest {
4831
4910
  // - 'error_count' - Number of errors that have occurred while running.
4832
4911
  // * The operator must be `=` or `!=` for status and inspected_storage.
4833
4912
  //
4913
+ // The syntax is based on https://google.aip.dev/160.
4914
+ //
4834
4915
  // Examples:
4835
4916
  //
4836
4917
  // * inspected_storage = cloud_storage AND status = HEALTHY
@@ -5004,15 +5085,16 @@ message DataProfileAction {
5004
5085
  // Center for each profile.
5005
5086
  message PublishToSecurityCommandCenter {}
5006
5087
 
5007
- // Create Dataplex Catalog aspects for profiled resources with the aspect type
5008
- // Sensitive Data Protection Profile. To learn more about aspects, see
5009
- // https://cloud.google.com/sensitive-data-protection/docs/add-aspects.
5088
+ // Create Dataplex Universal Catalog aspects for profiled resources with the
5089
+ // aspect type Sensitive Data Protection Profile. To learn more about aspects,
5090
+ // see https://cloud.google.com/sensitive-data-protection/docs/add-aspects.
5010
5091
  message PublishToDataplexCatalog {
5011
- // Whether creating a Dataplex Catalog aspect for a profiled resource should
5012
- // lower the risk of the profile for that resource. This also lowers the
5013
- // data risk of resources at the lower levels of the resource hierarchy. For
5014
- // example, reducing the data risk of a table data profile also reduces the
5015
- // data risk of the constituent column data profiles.
5092
+ // Whether creating a Dataplex Universal Catalog aspect for a profiled
5093
+ // resource should lower the risk of the profile for that resource. This
5094
+ // also lowers the data risk of resources at the lower levels of the
5095
+ // resource hierarchy. For example, reducing the data risk of a table data
5096
+ // profile also reduces the data risk of the constituent column data
5097
+ // profiles.
5016
5098
  bool lower_data_risk_to_low = 1;
5017
5099
  }
5018
5100
 
@@ -5043,7 +5125,8 @@ message DataProfileAction {
5043
5125
  oneof format {
5044
5126
  // The namespaced name for the tag value to attach to resources. Must be
5045
5127
  // in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for
5046
- // example, "123456/environment/prod".
5128
+ // example, "123456/environment/prod" for an organization parent, or
5129
+ // "my-project/environment/prod" for a project parent.
5047
5130
  string namespaced_value = 1;
5048
5131
  }
5049
5132
  }
@@ -5090,8 +5173,8 @@ message DataProfileAction {
5090
5173
  // Tags the profiled resources with the specified tag values.
5091
5174
  TagResources tag_resources = 8;
5092
5175
 
5093
- // Publishes a portion of each profile to Dataplex Catalog with the aspect
5094
- // type Sensitive Data Protection Profile.
5176
+ // Publishes a portion of each profile to Dataplex Universal Catalog with
5177
+ // the aspect type Sensitive Data Protection Profile.
5095
5178
  PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
5096
5179
  }
5097
5180
  }
@@ -5892,6 +5975,18 @@ message FileStoreCollection {
5892
5975
  FileStoreRegexes include_regexes = 1
5893
5976
  [(google.api.field_behavior) = OPTIONAL];
5894
5977
  }
5978
+
5979
+ // Optional. To be included in the collection, a resource must meet all of the
5980
+ // following requirements:
5981
+ //
5982
+ // - If tag filters are provided, match all provided tag filters.
5983
+ // - If one or more patterns are specified, match at least one pattern.
5984
+ //
5985
+ // For a resource to match the tag filters, the resource must have all of the
5986
+ // provided tags attached. Tags refer to Resource Manager tags bound to the
5987
+ // resource or its ancestors. For more information, see [Manage
5988
+ // schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
5989
+ TagFilters include_tags = 2 [(google.api.field_behavior) = OPTIONAL];
5895
5990
  }
5896
5991
 
5897
5992
  // A collection of regular expressions to determine what file store to match
@@ -6532,6 +6627,8 @@ message ListDlpJobsRequest {
6532
6627
  // - 'start_time` - Corresponds to the time the job finished.
6533
6628
  // * The operator must be `=` or `!=`.
6534
6629
  //
6630
+ // The syntax is based on https://google.aip.dev/160.
6631
+ //
6535
6632
  // Examples:
6536
6633
  //
6537
6634
  // * inspected_storage = cloud_storage AND state = done
@@ -7261,13 +7358,13 @@ message ListProjectDataProfilesRequest {
7261
7358
  // * `project_id`
7262
7359
  // * `sensitivity_level desc`
7263
7360
  //
7264
- // Supported fields are:
7361
+ // Supported fields:
7265
7362
  //
7266
7363
  // - `project_id`: Google Cloud project ID
7267
- // - `sensitivity_level`: How sensitive the data in a project is, at most.
7268
- // - `data_risk_level`: How much risk is associated with this data.
7269
- // - `profile_last_generated`: When the profile was last updated in epoch
7270
- // seconds.
7364
+ // - `sensitivity_level`: How sensitive the data in a project is, at most
7365
+ // - `data_risk_level`: How much risk is associated with this data
7366
+ // - `profile_last_generated`: Date and time (in epoch seconds) the profile
7367
+ // was last generated
7271
7368
  string order_by = 4;
7272
7369
 
7273
7370
  // Allows filtering.
@@ -7278,17 +7375,24 @@ message ListProjectDataProfilesRequest {
7278
7375
  // * Restrictions can be combined by `AND` or `OR` logical operators. A
7279
7376
  // sequence of restrictions implicitly uses `AND`.
7280
7377
  // * A restriction has the form of `{field} {operator} {value}`.
7281
- // * Supported fields/values:
7282
- // - `sensitivity_level` - HIGH|MODERATE|LOW
7283
- // - `data_risk_level` - HIGH|MODERATE|LOW
7284
- // - `status_code` - an RPC status code as defined in
7378
+ // * Supported fields:
7379
+ // - `project_id`: the Google Cloud project ID
7380
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
7381
+ // - `data_risk_level`: HIGH|MODERATE|LOW
7382
+ // - `status_code`: an RPC status code as defined in
7285
7383
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
7286
- // * The operator must be `=` or `!=`.
7384
+ // - `profile_last_generated`: Date and time the profile was last
7385
+ // generated
7386
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
7387
+ // also supports `<` and `>`.
7388
+ //
7389
+ // The syntax is based on https://google.aip.dev/160.
7287
7390
  //
7288
7391
  // Examples:
7289
7392
  //
7290
7393
  // * `project_id = 12345 AND status_code = 1`
7291
7394
  // * `project_id = 12345 AND sensitivity_level = HIGH`
7395
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
7292
7396
  //
7293
7397
  // The length of this field should be no more than 500 characters.
7294
7398
  string filter = 5;
@@ -7354,22 +7458,29 @@ message ListTableDataProfilesRequest {
7354
7458
  // * Restrictions can be combined by `AND` or `OR` logical operators. A
7355
7459
  // sequence of restrictions implicitly uses `AND`.
7356
7460
  // * A restriction has the form of `{field} {operator} {value}`.
7357
- // * Supported fields/values:
7358
- // - `project_id` - The Google Cloud project ID.
7359
- // - `dataset_id` - The BigQuery dataset ID.
7360
- // - `table_id` - The ID of the BigQuery table.
7361
- // - `sensitivity_level` - HIGH|MODERATE|LOW
7362
- // - `data_risk_level` - HIGH|MODERATE|LOW
7461
+ // * Supported fields:
7462
+ // - `project_id`: The Google Cloud project ID
7463
+ // - `dataset_id`: The BigQuery dataset ID
7464
+ // - `table_id`: The ID of the BigQuery table
7465
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
7466
+ // - `data_risk_level`: HIGH|MODERATE|LOW
7363
7467
  // - `resource_visibility`: PUBLIC|RESTRICTED
7364
- // - `status_code` - an RPC status code as defined in
7468
+ // - `status_code`: an RPC status code as defined in
7365
7469
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
7366
- // * The operator must be `=` or `!=`.
7470
+ // - `profile_last_generated`: Date and time the profile was last
7471
+ // generated
7472
+ //
7473
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
7474
+ // also supports `<` and `>`.
7475
+ //
7476
+ // The syntax is based on https://google.aip.dev/160.
7367
7477
  //
7368
7478
  // Examples:
7369
7479
  //
7370
7480
  // * `project_id = 12345 AND status_code = 1`
7371
7481
  // * `project_id = 12345 AND sensitivity_level = HIGH`
7372
7482
  // * `project_id = 12345 AND resource_visibility = PUBLIC`
7483
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
7373
7484
  //
7374
7485
  // The length of this field should be no more than 500 characters.
7375
7486
  string filter = 5;
@@ -7433,26 +7544,32 @@ message ListColumnDataProfilesRequest {
7433
7544
  // * Restrictions can be combined by `AND` or `OR` logical operators. A
7434
7545
  // sequence of restrictions implicitly uses `AND`.
7435
7546
  // * A restriction has the form of `{field} {operator} {value}`.
7436
- // * Supported fields/values:
7437
- // - `table_data_profile_name` - The name of the related table data
7438
- // profile.
7439
- // - `project_id` - The Google Cloud project ID. (REQUIRED)
7440
- // - `dataset_id` - The BigQuery dataset ID. (REQUIRED)
7441
- // - `table_id` - The BigQuery table ID. (REQUIRED)
7442
- // - `field_id` - The ID of the BigQuery field.
7443
- // - `info_type` - The infotype detected in the resource.
7444
- // - `sensitivity_level` - HIGH|MEDIUM|LOW
7445
- // - `data_risk_level`: How much risk is associated with this data.
7446
- // - `status_code` - an RPC status code as defined in
7547
+ // * Supported fields:
7548
+ // - `table_data_profile_name`: The name of the related table data
7549
+ // profile
7550
+ // - `project_id`: The Google Cloud project ID (REQUIRED)
7551
+ // - `dataset_id`: The BigQuery dataset ID (REQUIRED)
7552
+ // - `table_id`: The BigQuery table ID (REQUIRED)
7553
+ // - `field_id`: The ID of the BigQuery field
7554
+ // - `info_type`: The infotype detected in the resource
7555
+ // - `sensitivity_level`: HIGH|MEDIUM|LOW
7556
+ // - `data_risk_level`: How much risk is associated with this data
7557
+ // - `status_code`: An RPC status code as defined in
7447
7558
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
7559
+ // - `profile_last_generated`: Date and time the profile was last
7560
+ // generated
7448
7561
  // * The operator must be `=` for project_id, dataset_id, and table_id. Other
7449
- // filters also support `!=`.
7562
+ // filters also support `!=`. The `profile_last_generated` filter also
7563
+ // supports `<` and `>`.
7564
+ //
7565
+ // The syntax is based on https://google.aip.dev/160.
7450
7566
  //
7451
7567
  // Examples:
7452
7568
  //
7453
7569
  // * project_id = 12345 AND status_code = 1
7454
7570
  // * project_id = 12345 AND sensitivity_level = HIGH
7455
7571
  // * project_id = 12345 AND info_type = STREET_ADDRESS
7572
+ // * profile_last_generated < "2025-01-01T00:00:00.000Z"
7456
7573
  //
7457
7574
  // The length of this field should be no more than 500 characters.
7458
7575
  string filter = 5;
@@ -7628,7 +7745,8 @@ message TableDataProfile {
7628
7745
  // May be empty if the profile is still being generated.
7629
7746
  ProfileStatus profile_status = 21;
7630
7747
 
7631
- // State of a profile.
7748
+ // State of a profile. This will always be set to DONE when the table data
7749
+ // profile is written to another service like BigQuery or Pub/Sub.
7632
7750
  State state = 22;
7633
7751
 
7634
7752
  // The sensitivity score of this table.
@@ -7690,6 +7808,9 @@ message TableDataProfile {
7690
7808
 
7691
7809
  // Resources related to this profile.
7692
7810
  repeated RelatedResource related_resources = 41;
7811
+
7812
+ // Domains associated with the profile.
7813
+ repeated Domain domains = 47;
7693
7814
  }
7694
7815
 
7695
7816
  // Success or errors for the profile generation.
@@ -8069,14 +8190,18 @@ message FileStoreDataProfile {
8069
8190
 
8070
8191
  // Resources related to this profile.
8071
8192
  repeated RelatedResource related_resources = 26;
8193
+
8194
+ // Domains associated with the profile.
8195
+ repeated Domain domains = 27;
8072
8196
  }
8073
8197
 
8074
8198
  // A tag associated with a resource.
8075
8199
  message Tag {
8076
8200
  // The namespaced name for the tag value to attach to Google Cloud resources.
8077
8201
  // Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for
8078
- // example, "123456/environment/prod". This is only set for Google Cloud
8079
- // resources.
8202
+ // example, "123456/environment/prod" for an organization parent, or
8203
+ // "my-project/environment/prod" for a project parent. This is only set for
8204
+ // Google Cloud resources.
8080
8205
  string namespaced_tag_value = 1;
8081
8206
 
8082
8207
  // The key of a tag key-value pair. For Google Cloud resources, this is the
@@ -8088,6 +8213,31 @@ message Tag {
8088
8213
  string value = 3;
8089
8214
  }
8090
8215
 
8216
+ // Tags to match against for filtering.
8217
+ message TagFilters {
8218
+ // Required. A resource must match ALL of the specified tag filters to be
8219
+ // included in the collection.
8220
+ repeated TagFilter tag_filters = 1 [(google.api.field_behavior) = REQUIRED];
8221
+ }
8222
+
8223
+ // A single tag to filter against.
8224
+ message TagFilter {
8225
+ // Tag filter formats. Tags refer to Resource Manager tags bound to the
8226
+ // resource or its ancestors.
8227
+ oneof format {
8228
+ // The namespaced name for the tag value. Must be in the format
8229
+ // `{parent_id}/{tag_key_short_name}/{short_name}`, for example,
8230
+ // "123456/environment/prod" for an organization parent, or
8231
+ // "my-project/environment/prod" for a project parent.
8232
+ string namespaced_tag_value = 1;
8233
+
8234
+ // The namespaced name for the tag key. Must be in the format
8235
+ // `{parent_id}/{tag_key_short_name}`, for example, "123456/sensitive" for
8236
+ // an organization parent, or "my-project/sensitive" for a project parent.
8237
+ string namespaced_tag_key = 2;
8238
+ }
8239
+ }
8240
+
8091
8241
  // A related resource.
8092
8242
  // Examples:
8093
8243
  //
@@ -8221,20 +8371,26 @@ message ListFileStoreDataProfilesRequest {
8221
8371
  // * Restrictions can be combined by `AND` or `OR` logical operators. A
8222
8372
  // sequence of restrictions implicitly uses `AND`.
8223
8373
  // * A restriction has the form of `{field} {operator} {value}`.
8224
- // * Supported fields/values:
8225
- // - `project_id` - The Google Cloud project ID.
8226
- // - `account_id` - The AWS account ID.
8227
- // - `file_store_path` - The path like "gs://bucket".
8228
- // - `data_source_type` - The profile's data source type, like
8229
- // "google/storage/bucket".
8230
- // - `data_storage_location` - The location where the file store's data is
8231
- // stored, like "us-central1".
8232
- // - `sensitivity_level` - HIGH|MODERATE|LOW
8233
- // - `data_risk_level` - HIGH|MODERATE|LOW
8374
+ // * Supported fields:
8375
+ // - `project_id`: The Google Cloud project ID
8376
+ // - `account_id`: The AWS account ID
8377
+ // - `file_store_path`: The path like "gs://bucket"
8378
+ // - `data_source_type`: The profile's data source type, like
8379
+ // "google/storage/bucket"
8380
+ // - `data_storage_location`: The location where the file store's data is
8381
+ // stored, like "us-central1"
8382
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
8383
+ // - `data_risk_level`: HIGH|MODERATE|LOW
8234
8384
  // - `resource_visibility`: PUBLIC|RESTRICTED
8235
- // - `status_code` - an RPC status code as defined in
8385
+ // - `status_code`: an RPC status code as defined in
8236
8386
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
8237
- // * The operator must be `=` or `!=`.
8387
+ // - `profile_last_generated`: Date and time the profile was last
8388
+ // generated
8389
+ //
8390
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
8391
+ // also supports `<` and `>`.
8392
+ //
8393
+ // The syntax is based on https://google.aip.dev/160.
8238
8394
  //
8239
8395
  // Examples:
8240
8396
  //
@@ -8242,6 +8398,7 @@ message ListFileStoreDataProfilesRequest {
8242
8398
  // * `project_id = 12345 AND sensitivity_level = HIGH`
8243
8399
  // * `project_id = 12345 AND resource_visibility = PUBLIC`
8244
8400
  // * `file_store_path = "gs://mybucket"`
8401
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
8245
8402
  //
8246
8403
  // The length of this field should be no more than 500 characters.
8247
8404
  string filter = 5 [(google.api.field_behavior) = OPTIONAL];
@@ -8413,6 +8570,8 @@ message ListConnectionsRequest {
8413
8570
  string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
8414
8571
 
8415
8572
  // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
8573
+ //
8574
+ // The syntax is based on https://google.aip.dev/160.
8416
8575
  string filter = 4 [(google.api.field_behavior) = OPTIONAL];
8417
8576
  }
8418
8577
 
@@ -8436,6 +8595,8 @@ message SearchConnectionsRequest {
8436
8595
  string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
8437
8596
 
8438
8597
  // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
8598
+ //
8599
+ // The syntax is based on https://google.aip.dev/160.
8439
8600
  string filter = 4 [(google.api.field_behavior) = OPTIONAL];
8440
8601
  }
8441
8602
 
@@ -8679,32 +8840,102 @@ message FileClusterType {
8679
8840
  // image OCR is only provided in limited regions but configuring
8680
8841
  // ProcessingLocation will redirect OCR to a location where OCR is provided.
8681
8842
  message ProcessingLocation {
8682
- // Processing will happen in a multi-region that contains the current region
8843
+ // Processing occurs in a multi-region that contains the current region
8683
8844
  // if available.
8684
8845
  message MultiRegionProcessing {}
8685
8846
 
8686
- // Processing will happen in the global region.
8847
+ // Processing occurs in the global region.
8687
8848
  message GlobalProcessing {}
8688
8849
 
8689
- // Configure image processing to fall back to the configured processing option
8690
- // below if unavailable in the request location.
8850
+ // Configure image processing to fall back to any of the following processing
8851
+ // options if image processing is unavailable in the original request
8852
+ // location.
8691
8853
  message ImageFallbackLocation {
8692
- // Processing will happen in a multi-region that contains the current region
8854
+ // Processing occurs in a multi-region that contains the current region
8693
8855
  // if available.
8694
8856
  MultiRegionProcessing multi_region_processing = 100;
8695
8857
 
8696
- // Processing will happen in the global region.
8858
+ // Processing occurs in the global region.
8697
8859
  GlobalProcessing global_processing = 200;
8698
8860
  }
8699
8861
 
8700
- // Image processing will fall back using this configuration.
8862
+ // Configure document processing to fall back to any of the following
8863
+ // processing options if document processing is unavailable in the original
8864
+ // request location.
8865
+ message DocumentFallbackLocation {
8866
+ // Processing occurs in a multi-region that contains the current region
8867
+ // if available.
8868
+ MultiRegionProcessing multi_region_processing = 100;
8869
+
8870
+ // Processing occurs in the global region.
8871
+ GlobalProcessing global_processing = 200;
8872
+ }
8873
+
8874
+ // Image processing falls back using this configuration.
8701
8875
  ImageFallbackLocation image_fallback_location = 1;
8876
+
8877
+ // Document processing falls back using this configuration.
8878
+ DocumentFallbackLocation document_fallback_location = 2;
8702
8879
  }
8703
8880
 
8704
8881
  // Collection of findings saved to a Cloud Storage bucket. This is used as the
8705
8882
  // proto schema for textproto files created when specifying a cloud storage
8706
- // path to save inspection findings.
8883
+ // path to save Inspect findings.
8707
8884
  message SaveToGcsFindingsOutput {
8708
8885
  // List of findings.
8709
8886
  repeated Finding findings = 1;
8710
8887
  }
8888
+
8889
+ // A domain represents a thematic category that a data profile can fall under.
8890
+ message Domain {
8891
+ // This enum defines the various domain categories a data profile can fall
8892
+ // under.
8893
+ enum Category {
8894
+ // Category unspecified.
8895
+ CATEGORY_UNSPECIFIED = 0;
8896
+
8897
+ // Indicates that the data profile is related to artificial intelligence.
8898
+ // When set, all findings stored to Security Command Center will set the
8899
+ // corresponding AI domain field of `Finding` objects.
8900
+ AI = 1;
8901
+
8902
+ // Indicates that the data profile is related to code.
8903
+ CODE = 2;
8904
+ }
8905
+
8906
+ // The signal used to determine the category.
8907
+ // This list may increase over time.
8908
+ enum Signal {
8909
+ // Unused.
8910
+ SIGNAL_UNSPECIFIED = 0;
8911
+
8912
+ // One or more machine learning models are present.
8913
+ MODEL = 1;
8914
+
8915
+ // A table appears to be a text embedding.
8916
+ TEXT_EMBEDDING = 2;
8917
+
8918
+ // The [Cloud SQL Vertex
8919
+ // AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai)
8920
+ // plugin is installed on the database.
8921
+ VERTEX_PLUGIN = 3;
8922
+
8923
+ // Support for [Cloud SQL vector
8924
+ // embeddings](https://cloud.google.com/sql/docs/mysql/enable-vector-search)
8925
+ // is enabled on the database.
8926
+ VECTOR_PLUGIN = 4;
8927
+
8928
+ // Source code is present.
8929
+ SOURCE_CODE = 5;
8930
+
8931
+ // If the service determines the category type. For example, Vertex AI
8932
+ // assets would always have a `Category` of `AI`.
8933
+ SERVICE = 6;
8934
+ }
8935
+
8936
+ // A domain category that this profile is related to.
8937
+ Category category = 1;
8938
+
8939
+ // The collection of signals that influenced selection of the category.
8940
+ repeated Signal signals = 2;
8941
+ }