@google-cloud/dlp 6.3.0 → 6.4.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.
@@ -1917,7 +1917,7 @@ message InspectDataSourceDetails {
1917
1917
  InspectJobConfig job_config = 3;
1918
1918
  }
1919
1919
 
1920
- // All result fields mentioned below are updated while the job is processing.
1920
+ // All Result fields are updated while the job is processing.
1921
1921
  message Result {
1922
1922
  // Total size in bytes that were processed.
1923
1923
  int64 processed_bytes = 1;
@@ -2024,6 +2024,29 @@ message DeidentifyDataSourceDetails {
2024
2024
  DeidentifyDataSourceStats deidentify_stats = 2;
2025
2025
  }
2026
2026
 
2027
+ // Locations at which a feature can be used.
2028
+ message LocationSupport {
2029
+ // The location scope for a feature.
2030
+ enum RegionalizationScope {
2031
+ // Invalid.
2032
+ REGIONALIZATION_SCOPE_UNSPECIFIED = 0;
2033
+
2034
+ // Feature may be used with one or more regions. See locations for details.
2035
+ REGIONAL = 1;
2036
+
2037
+ // Feature may be used anywhere. Default value.
2038
+ ANY_LOCATION = 2;
2039
+ }
2040
+
2041
+ // The current scope for location on this feature. This may expand over time.
2042
+ RegionalizationScope regionalization_scope = 1;
2043
+
2044
+ // Specific locations where the feature may be used.
2045
+ // Examples: us-central1, us, asia, global
2046
+ // If scope is ANY_LOCATION, no regions will be listed.
2047
+ repeated string locations = 2;
2048
+ }
2049
+
2027
2050
  // InfoType description.
2028
2051
  message InfoTypeDescription {
2029
2052
  // Internal name of the infoType.
@@ -2039,6 +2062,9 @@ message InfoTypeDescription {
2039
2062
  // request.
2040
2063
  string description = 4;
2041
2064
 
2065
+ // Locations at which this feature can be used. May change over time.
2066
+ LocationSupport location_support = 6;
2067
+
2042
2068
  // A sample that is a true positive for this infoType.
2043
2069
  string example = 8;
2044
2070
 
@@ -2081,6 +2107,9 @@ message InfoTypeCategory {
2081
2107
  // The infoType is typically used in Australia.
2082
2108
  AUSTRALIA = 3;
2083
2109
 
2110
+ // The infoType is typically used in Austria.
2111
+ AUSTRIA = 53;
2112
+
2084
2113
  // The infoType is typically used in Azerbaijan.
2085
2114
  AZERBAIJAN = 48;
2086
2115
 
@@ -2358,7 +2387,7 @@ message QuasiId {
2358
2387
 
2359
2388
  // A column can be tagged with a custom tag. In this case, the user must
2360
2389
  // indicate an auxiliary table that contains statistical information on
2361
- // the possible values of this column (below).
2390
+ // the possible values of this column.
2362
2391
  string custom_tag = 3;
2363
2392
 
2364
2393
  // If no semantic tag is indicated, we infer the statistical model from
@@ -2383,7 +2412,7 @@ message StatisticalTable {
2383
2412
 
2384
2413
  // A column can be tagged with a custom tag. In this case, the user must
2385
2414
  // indicate an auxiliary table that contains statistical information on
2386
- // the possible values of this column (below).
2415
+ // the possible values of this column.
2387
2416
  string custom_tag = 2;
2388
2417
  }
2389
2418
 
@@ -2477,7 +2506,7 @@ message PrivacyMetric {
2477
2506
 
2478
2507
  // A column can be tagged with a custom tag. In this case, the user must
2479
2508
  // indicate an auxiliary table that contains statistical information on
2480
- // the possible values of this column (below).
2509
+ // the possible values of this column.
2481
2510
  string custom_tag = 3;
2482
2511
 
2483
2512
  // If no semantic tag is indicated, we infer the statistical model from
@@ -4287,12 +4316,12 @@ message Action {
4287
4316
  }
4288
4317
 
4289
4318
  // 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.
4319
+ // the files with these file types are transformed. If empty, all
4320
+ // supported files are transformed. Supported types may be automatically
4321
+ // added over time. Any unsupported file types that are set in this field
4322
+ // are excluded from de-identification. An error is recorded for each
4323
+ // unsupported file in the TransformationDetails output table. Currently the
4324
+ // only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.
4296
4325
  repeated FileType file_types_to_transform = 8;
4297
4326
  }
4298
4327
 
@@ -7363,6 +7392,7 @@ message ListTableDataProfilesRequest {
7363
7392
  // - `resource_visibility`: PUBLIC|RESTRICTED
7364
7393
  // - `status_code` - an RPC status code as defined in
7365
7394
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
7395
+ //
7366
7396
  // * The operator must be `=` or `!=`.
7367
7397
  //
7368
7398
  // Examples:
@@ -7628,7 +7658,8 @@ message TableDataProfile {
7628
7658
  // May be empty if the profile is still being generated.
7629
7659
  ProfileStatus profile_status = 21;
7630
7660
 
7631
- // State of a profile.
7661
+ // State of a profile. This will always be set to DONE when the table data
7662
+ // profile is written to another service like BigQuery or Pub/Sub.
7632
7663
  State state = 22;
7633
7664
 
7634
7665
  // The sensitivity score of this table.
@@ -7690,6 +7721,9 @@ message TableDataProfile {
7690
7721
 
7691
7722
  // Resources related to this profile.
7692
7723
  repeated RelatedResource related_resources = 41;
7724
+
7725
+ // Domains associated with the profile.
7726
+ repeated Domain domains = 47;
7693
7727
  }
7694
7728
 
7695
7729
  // Success or errors for the profile generation.
@@ -8069,6 +8103,9 @@ message FileStoreDataProfile {
8069
8103
 
8070
8104
  // Resources related to this profile.
8071
8105
  repeated RelatedResource related_resources = 26;
8106
+
8107
+ // Domains associated with the profile.
8108
+ repeated Domain domains = 27;
8072
8109
  }
8073
8110
 
8074
8111
  // A tag associated with a resource.
@@ -8234,6 +8271,7 @@ message ListFileStoreDataProfilesRequest {
8234
8271
  // - `resource_visibility`: PUBLIC|RESTRICTED
8235
8272
  // - `status_code` - an RPC status code as defined in
8236
8273
  // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
8274
+ //
8237
8275
  // * The operator must be `=` or `!=`.
8238
8276
  //
8239
8277
  // Examples:
@@ -8679,32 +8717,102 @@ message FileClusterType {
8679
8717
  // image OCR is only provided in limited regions but configuring
8680
8718
  // ProcessingLocation will redirect OCR to a location where OCR is provided.
8681
8719
  message ProcessingLocation {
8682
- // Processing will happen in a multi-region that contains the current region
8720
+ // Processing occurs in a multi-region that contains the current region
8683
8721
  // if available.
8684
8722
  message MultiRegionProcessing {}
8685
8723
 
8686
- // Processing will happen in the global region.
8724
+ // Processing occurs in the global region.
8687
8725
  message GlobalProcessing {}
8688
8726
 
8689
- // Configure image processing to fall back to the configured processing option
8690
- // below if unavailable in the request location.
8727
+ // Configure image processing to fall back to any of the following processing
8728
+ // options if image processing is unavailable in the original request
8729
+ // location.
8691
8730
  message ImageFallbackLocation {
8692
- // Processing will happen in a multi-region that contains the current region
8731
+ // Processing occurs in a multi-region that contains the current region
8693
8732
  // if available.
8694
8733
  MultiRegionProcessing multi_region_processing = 100;
8695
8734
 
8696
- // Processing will happen in the global region.
8735
+ // Processing occurs in the global region.
8697
8736
  GlobalProcessing global_processing = 200;
8698
8737
  }
8699
8738
 
8700
- // Image processing will fall back using this configuration.
8739
+ // Configure document processing to fall back to any of the following
8740
+ // processing options if document processing is unavailable in the original
8741
+ // request location.
8742
+ message DocumentFallbackLocation {
8743
+ // Processing occurs in a multi-region that contains the current region
8744
+ // if available.
8745
+ MultiRegionProcessing multi_region_processing = 100;
8746
+
8747
+ // Processing occurs in the global region.
8748
+ GlobalProcessing global_processing = 200;
8749
+ }
8750
+
8751
+ // Image processing falls back using this configuration.
8701
8752
  ImageFallbackLocation image_fallback_location = 1;
8753
+
8754
+ // Document processing falls back using this configuration.
8755
+ DocumentFallbackLocation document_fallback_location = 2;
8702
8756
  }
8703
8757
 
8704
8758
  // Collection of findings saved to a Cloud Storage bucket. This is used as the
8705
8759
  // proto schema for textproto files created when specifying a cloud storage
8706
- // path to save inspection findings.
8760
+ // path to save Inspect findings.
8707
8761
  message SaveToGcsFindingsOutput {
8708
8762
  // List of findings.
8709
8763
  repeated Finding findings = 1;
8710
8764
  }
8765
+
8766
+ // A domain represents a thematic category that a data profile can fall under.
8767
+ message Domain {
8768
+ // This enum defines the various domain categories a data profile can fall
8769
+ // under.
8770
+ enum Category {
8771
+ // Category unspecified.
8772
+ CATEGORY_UNSPECIFIED = 0;
8773
+
8774
+ // Indicates that the data profile is related to artificial intelligence.
8775
+ // When set, all findings stored to Security Command Center will set the
8776
+ // corresponding AI domain field of `Finding` objects.
8777
+ AI = 1;
8778
+
8779
+ // Indicates that the data profile is related to code.
8780
+ CODE = 2;
8781
+ }
8782
+
8783
+ // The signal used to determine the category.
8784
+ // This list may increase over time.
8785
+ enum Signal {
8786
+ // Unused.
8787
+ SIGNAL_UNSPECIFIED = 0;
8788
+
8789
+ // One or more machine learning models are present.
8790
+ MODEL = 1;
8791
+
8792
+ // A table appears to be a text embedding.
8793
+ TEXT_EMBEDDING = 2;
8794
+
8795
+ // The [Cloud SQL Vertex
8796
+ // AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai)
8797
+ // plugin is installed on the database.
8798
+ VERTEX_PLUGIN = 3;
8799
+
8800
+ // Support for [Cloud SQL vector
8801
+ // embeddings](https://cloud.google.com/sql/docs/mysql/enable-vector-search)
8802
+ // is enabled on the database.
8803
+ VECTOR_PLUGIN = 4;
8804
+
8805
+ // Source code is present.
8806
+ SOURCE_CODE = 5;
8807
+
8808
+ // If the service determines the category type. For example, Vertex AI
8809
+ // assets would always have a `Category` of `AI`.
8810
+ SERVICE = 6;
8811
+ }
8812
+
8813
+ // A domain category that this profile is related to.
8814
+ Category category = 1;
8815
+
8816
+ // The collection of signals that influenced selection of the category.
8817
+ repeated Signal signals = 2;
8818
+ }