google-cloud-dlp-v2 1.14.0 → 1.15.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +93 -43
- data/lib/google/cloud/dlp/v2/dlp_service/rest/client.rb +93 -43
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +4 -1
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +200 -62
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 264f8ce115d98986f70da9a939715d117fcf3b218b80170a4c527ff31736a01e
|
4
|
+
data.tar.gz: 71ee3676a77530948215cfe8409c7d2efa50eaf0397665dc3b8240d8631146ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb23c592933036cb6f702f340a9766e54cad2266f372eb08e956e5e4ae7688978d6c03c30b69f569c78ffb57d60b4596ea7242a29f8d68cd5bbbfd1c1416134d
|
7
|
+
data.tar.gz: 1125b340f7fc51895cabae2d461600c1554b34868c2367ad0f0e33a2b2d7b46e77bea073cd33e04c62bec5d63e94ac41dca629492e2dc0c2abf6c25c8f66b1e0
|
@@ -542,7 +542,7 @@ module Google
|
|
542
542
|
# @param options [::Gapic::CallOptions, ::Hash]
|
543
543
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
544
544
|
#
|
545
|
-
# @overload redact_image(parent: nil, location_id: nil, inspect_config: nil, image_redaction_configs: nil, include_findings: nil, byte_item: nil)
|
545
|
+
# @overload redact_image(parent: nil, location_id: nil, inspect_config: nil, image_redaction_configs: nil, include_findings: nil, byte_item: nil, inspect_template: nil, deidentify_template: nil)
|
546
546
|
# Pass arguments to `redact_image` via keyword arguments. Note that at
|
547
547
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
548
548
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -575,6 +575,23 @@ module Google
|
|
575
575
|
# image.
|
576
576
|
# @param byte_item [::Google::Cloud::Dlp::V2::ByteContentItem, ::Hash]
|
577
577
|
# The content must be PNG, JPEG, SVG or BMP.
|
578
|
+
# @param inspect_template [::String]
|
579
|
+
# The full resource name of the inspection template to use. Settings in the
|
580
|
+
# main `inspect_config` field override the corresponding settings in this
|
581
|
+
# inspection template.
|
582
|
+
#
|
583
|
+
# The merge behavior is as follows:
|
584
|
+
#
|
585
|
+
# - Singular field: The main field's value replaces the value of the
|
586
|
+
# corresponding field in the template.
|
587
|
+
# - Repeated fields: The field values are appended to the list defined in
|
588
|
+
# the template.
|
589
|
+
# - Sub-messages and groups: The fields are recursively merged.
|
590
|
+
# @param deidentify_template [::String]
|
591
|
+
# The full resource name of the de-identification template to use. Settings
|
592
|
+
# in the main `image_redaction_configs` field override the corresponding
|
593
|
+
# settings in this de-identification template. The request fails if the
|
594
|
+
# type of the template's deidentify_config is not image_transformations.
|
578
595
|
#
|
579
596
|
# @yield [response, operation] Access the result along with the RPC operation
|
580
597
|
# @yieldparam response [::Google::Cloud::Dlp::V2::RedactImageResponse]
|
@@ -2522,6 +2539,8 @@ module Google
|
|
2522
2539
|
# - 'error_count' - Number of errors that have occurred while running.
|
2523
2540
|
# * The operator must be `=` or `!=` for status and inspected_storage.
|
2524
2541
|
#
|
2542
|
+
# The syntax is based on https://google.aip.dev/160.
|
2543
|
+
#
|
2525
2544
|
# Examples:
|
2526
2545
|
#
|
2527
2546
|
# * inspected_storage = cloud_storage AND status = HEALTHY
|
@@ -3454,6 +3473,8 @@ module Google
|
|
3454
3473
|
# - 'start_time` - Corresponds to the time the job finished.
|
3455
3474
|
# * The operator must be `=` or `!=`.
|
3456
3475
|
#
|
3476
|
+
# The syntax is based on https://google.aip.dev/160.
|
3477
|
+
#
|
3457
3478
|
# Examples:
|
3458
3479
|
#
|
3459
3480
|
# * inspected_storage = cloud_storage AND state = done
|
@@ -4389,13 +4410,13 @@ module Google
|
|
4389
4410
|
# * `project_id`
|
4390
4411
|
# * `sensitivity_level desc`
|
4391
4412
|
#
|
4392
|
-
# Supported fields
|
4413
|
+
# Supported fields:
|
4393
4414
|
#
|
4394
4415
|
# - `project_id`: Google Cloud project ID
|
4395
|
-
# - `sensitivity_level`: How sensitive the data in a project is, at most
|
4396
|
-
# - `data_risk_level`: How much risk is associated with this data
|
4397
|
-
# - `profile_last_generated`:
|
4398
|
-
#
|
4416
|
+
# - `sensitivity_level`: How sensitive the data in a project is, at most
|
4417
|
+
# - `data_risk_level`: How much risk is associated with this data
|
4418
|
+
# - `profile_last_generated`: Date and time (in epoch seconds) the profile
|
4419
|
+
# was last generated
|
4399
4420
|
# @param filter [::String]
|
4400
4421
|
# Allows filtering.
|
4401
4422
|
#
|
@@ -4405,17 +4426,24 @@ module Google
|
|
4405
4426
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4406
4427
|
# sequence of restrictions implicitly uses `AND`.
|
4407
4428
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4408
|
-
# * Supported fields
|
4409
|
-
# - `
|
4410
|
-
# - `
|
4411
|
-
# - `
|
4429
|
+
# * Supported fields:
|
4430
|
+
# - `project_id`: the Google Cloud project ID
|
4431
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4432
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4433
|
+
# - `status_code`: an RPC status code as defined in
|
4412
4434
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4413
|
-
#
|
4435
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4436
|
+
# generated
|
4437
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4438
|
+
# also supports `<` and `>`.
|
4439
|
+
#
|
4440
|
+
# The syntax is based on https://google.aip.dev/160.
|
4414
4441
|
#
|
4415
4442
|
# Examples:
|
4416
4443
|
#
|
4417
4444
|
# * `project_id = 12345 AND status_code = 1`
|
4418
4445
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4446
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4419
4447
|
#
|
4420
4448
|
# The length of this field should be no more than 500 characters.
|
4421
4449
|
#
|
@@ -4548,23 +4576,29 @@ module Google
|
|
4548
4576
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4549
4577
|
# sequence of restrictions implicitly uses `AND`.
|
4550
4578
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4551
|
-
# * Supported fields
|
4552
|
-
# - `project_id
|
4553
|
-
# - `dataset_id
|
4554
|
-
# - `table_id
|
4555
|
-
# - `sensitivity_level
|
4556
|
-
# - `data_risk_level
|
4579
|
+
# * Supported fields:
|
4580
|
+
# - `project_id`: The Google Cloud project ID
|
4581
|
+
# - `dataset_id`: The BigQuery dataset ID
|
4582
|
+
# - `table_id`: The ID of the BigQuery table
|
4583
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4584
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4557
4585
|
# - `resource_visibility`: PUBLIC|RESTRICTED
|
4558
|
-
# - `status_code
|
4586
|
+
# - `status_code`: an RPC status code as defined in
|
4559
4587
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4588
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4589
|
+
# generated
|
4560
4590
|
#
|
4561
|
-
# * The operator must be `=` or `!=`.
|
4591
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4592
|
+
# also supports `<` and `>`.
|
4593
|
+
#
|
4594
|
+
# The syntax is based on https://google.aip.dev/160.
|
4562
4595
|
#
|
4563
4596
|
# Examples:
|
4564
4597
|
#
|
4565
4598
|
# * `project_id = 12345 AND status_code = 1`
|
4566
4599
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4567
4600
|
# * `project_id = 12345 AND resource_visibility = PUBLIC`
|
4601
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4568
4602
|
#
|
4569
4603
|
# The length of this field should be no more than 500 characters.
|
4570
4604
|
#
|
@@ -4695,26 +4729,32 @@ module Google
|
|
4695
4729
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4696
4730
|
# sequence of restrictions implicitly uses `AND`.
|
4697
4731
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4698
|
-
# * Supported fields
|
4699
|
-
# - `table_data_profile_name
|
4700
|
-
# profile
|
4701
|
-
# - `project_id
|
4702
|
-
# - `dataset_id
|
4703
|
-
# - `table_id
|
4704
|
-
# - `field_id
|
4705
|
-
# - `info_type
|
4706
|
-
# - `sensitivity_level
|
4707
|
-
# - `data_risk_level`: How much risk is associated with this data
|
4708
|
-
# - `status_code
|
4732
|
+
# * Supported fields:
|
4733
|
+
# - `table_data_profile_name`: The name of the related table data
|
4734
|
+
# profile
|
4735
|
+
# - `project_id`: The Google Cloud project ID (REQUIRED)
|
4736
|
+
# - `dataset_id`: The BigQuery dataset ID (REQUIRED)
|
4737
|
+
# - `table_id`: The BigQuery table ID (REQUIRED)
|
4738
|
+
# - `field_id`: The ID of the BigQuery field
|
4739
|
+
# - `info_type`: The infotype detected in the resource
|
4740
|
+
# - `sensitivity_level`: HIGH|MEDIUM|LOW
|
4741
|
+
# - `data_risk_level`: How much risk is associated with this data
|
4742
|
+
# - `status_code`: An RPC status code as defined in
|
4709
4743
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4744
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4745
|
+
# generated
|
4710
4746
|
# * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
4711
|
-
# filters also support `!=`.
|
4747
|
+
# filters also support `!=`. The `profile_last_generated` filter also
|
4748
|
+
# supports `<` and `>`.
|
4749
|
+
#
|
4750
|
+
# The syntax is based on https://google.aip.dev/160.
|
4712
4751
|
#
|
4713
4752
|
# Examples:
|
4714
4753
|
#
|
4715
4754
|
# * project_id = 12345 AND status_code = 1
|
4716
4755
|
# * project_id = 12345 AND sensitivity_level = HIGH
|
4717
4756
|
# * project_id = 12345 AND info_type = STREET_ADDRESS
|
4757
|
+
# * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
4718
4758
|
#
|
4719
4759
|
# The length of this field should be no more than 500 characters.
|
4720
4760
|
#
|
@@ -4933,21 +4973,26 @@ module Google
|
|
4933
4973
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4934
4974
|
# sequence of restrictions implicitly uses `AND`.
|
4935
4975
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4936
|
-
# * Supported fields
|
4937
|
-
# - `project_id
|
4938
|
-
# - `account_id
|
4939
|
-
# - `file_store_path
|
4940
|
-
# - `data_source_type
|
4941
|
-
# "google/storage/bucket"
|
4942
|
-
# - `data_storage_location
|
4943
|
-
# stored, like "us-central1"
|
4944
|
-
# - `sensitivity_level
|
4945
|
-
# - `data_risk_level
|
4976
|
+
# * Supported fields:
|
4977
|
+
# - `project_id`: The Google Cloud project ID
|
4978
|
+
# - `account_id`: The AWS account ID
|
4979
|
+
# - `file_store_path`: The path like "gs://bucket"
|
4980
|
+
# - `data_source_type`: The profile's data source type, like
|
4981
|
+
# "google/storage/bucket"
|
4982
|
+
# - `data_storage_location`: The location where the file store's data is
|
4983
|
+
# stored, like "us-central1"
|
4984
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4985
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4946
4986
|
# - `resource_visibility`: PUBLIC|RESTRICTED
|
4947
|
-
# - `status_code
|
4987
|
+
# - `status_code`: an RPC status code as defined in
|
4948
4988
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4989
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4990
|
+
# generated
|
4949
4991
|
#
|
4950
|
-
# * The operator must be `=` or `!=`.
|
4992
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4993
|
+
# also supports `<` and `>`.
|
4994
|
+
#
|
4995
|
+
# The syntax is based on https://google.aip.dev/160.
|
4951
4996
|
#
|
4952
4997
|
# Examples:
|
4953
4998
|
#
|
@@ -4955,6 +5000,7 @@ module Google
|
|
4955
5000
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4956
5001
|
# * `project_id = 12345 AND resource_visibility = PUBLIC`
|
4957
5002
|
# * `file_store_path = "gs://mybucket"`
|
5003
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4958
5004
|
#
|
4959
5005
|
# The length of this field should be no more than 500 characters.
|
4960
5006
|
#
|
@@ -5846,6 +5892,8 @@ module Google
|
|
5846
5892
|
# @param filter [::String]
|
5847
5893
|
# Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
5848
5894
|
#
|
5895
|
+
# The syntax is based on https://google.aip.dev/160.
|
5896
|
+
#
|
5849
5897
|
# @yield [response, operation] Access the result along with the RPC operation
|
5850
5898
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::Connection>]
|
5851
5899
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -5946,6 +5994,8 @@ module Google
|
|
5946
5994
|
# @param filter [::String]
|
5947
5995
|
# Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
5948
5996
|
#
|
5997
|
+
# The syntax is based on https://google.aip.dev/160.
|
5998
|
+
#
|
5949
5999
|
# @yield [response, operation] Access the result along with the RPC operation
|
5950
6000
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dlp::V2::Connection>]
|
5951
6001
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -528,7 +528,7 @@ module Google
|
|
528
528
|
# @param options [::Gapic::CallOptions, ::Hash]
|
529
529
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
530
530
|
#
|
531
|
-
# @overload redact_image(parent: nil, location_id: nil, inspect_config: nil, image_redaction_configs: nil, include_findings: nil, byte_item: nil)
|
531
|
+
# @overload redact_image(parent: nil, location_id: nil, inspect_config: nil, image_redaction_configs: nil, include_findings: nil, byte_item: nil, inspect_template: nil, deidentify_template: nil)
|
532
532
|
# Pass arguments to `redact_image` via keyword arguments. Note that at
|
533
533
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
534
534
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -561,6 +561,23 @@ module Google
|
|
561
561
|
# image.
|
562
562
|
# @param byte_item [::Google::Cloud::Dlp::V2::ByteContentItem, ::Hash]
|
563
563
|
# The content must be PNG, JPEG, SVG or BMP.
|
564
|
+
# @param inspect_template [::String]
|
565
|
+
# The full resource name of the inspection template to use. Settings in the
|
566
|
+
# main `inspect_config` field override the corresponding settings in this
|
567
|
+
# inspection template.
|
568
|
+
#
|
569
|
+
# The merge behavior is as follows:
|
570
|
+
#
|
571
|
+
# - Singular field: The main field's value replaces the value of the
|
572
|
+
# corresponding field in the template.
|
573
|
+
# - Repeated fields: The field values are appended to the list defined in
|
574
|
+
# the template.
|
575
|
+
# - Sub-messages and groups: The fields are recursively merged.
|
576
|
+
# @param deidentify_template [::String]
|
577
|
+
# The full resource name of the de-identification template to use. Settings
|
578
|
+
# in the main `image_redaction_configs` field override the corresponding
|
579
|
+
# settings in this de-identification template. The request fails if the
|
580
|
+
# type of the template's deidentify_config is not image_transformations.
|
564
581
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
565
582
|
# @yieldparam result [::Google::Cloud::Dlp::V2::RedactImageResponse]
|
566
583
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -2390,6 +2407,8 @@ module Google
|
|
2390
2407
|
# - 'error_count' - Number of errors that have occurred while running.
|
2391
2408
|
# * The operator must be `=` or `!=` for status and inspected_storage.
|
2392
2409
|
#
|
2410
|
+
# The syntax is based on https://google.aip.dev/160.
|
2411
|
+
#
|
2393
2412
|
# Examples:
|
2394
2413
|
#
|
2395
2414
|
# * inspected_storage = cloud_storage AND status = HEALTHY
|
@@ -3259,6 +3278,8 @@ module Google
|
|
3259
3278
|
# - 'start_time` - Corresponds to the time the job finished.
|
3260
3279
|
# * The operator must be `=` or `!=`.
|
3261
3280
|
#
|
3281
|
+
# The syntax is based on https://google.aip.dev/160.
|
3282
|
+
#
|
3262
3283
|
# Examples:
|
3263
3284
|
#
|
3264
3285
|
# * inspected_storage = cloud_storage AND state = done
|
@@ -4131,13 +4152,13 @@ module Google
|
|
4131
4152
|
# * `project_id`
|
4132
4153
|
# * `sensitivity_level desc`
|
4133
4154
|
#
|
4134
|
-
# Supported fields
|
4155
|
+
# Supported fields:
|
4135
4156
|
#
|
4136
4157
|
# - `project_id`: Google Cloud project ID
|
4137
|
-
# - `sensitivity_level`: How sensitive the data in a project is, at most
|
4138
|
-
# - `data_risk_level`: How much risk is associated with this data
|
4139
|
-
# - `profile_last_generated`:
|
4140
|
-
#
|
4158
|
+
# - `sensitivity_level`: How sensitive the data in a project is, at most
|
4159
|
+
# - `data_risk_level`: How much risk is associated with this data
|
4160
|
+
# - `profile_last_generated`: Date and time (in epoch seconds) the profile
|
4161
|
+
# was last generated
|
4141
4162
|
# @param filter [::String]
|
4142
4163
|
# Allows filtering.
|
4143
4164
|
#
|
@@ -4147,17 +4168,24 @@ module Google
|
|
4147
4168
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4148
4169
|
# sequence of restrictions implicitly uses `AND`.
|
4149
4170
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4150
|
-
# * Supported fields
|
4151
|
-
# - `
|
4152
|
-
# - `
|
4153
|
-
# - `
|
4171
|
+
# * Supported fields:
|
4172
|
+
# - `project_id`: the Google Cloud project ID
|
4173
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4174
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4175
|
+
# - `status_code`: an RPC status code as defined in
|
4154
4176
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4155
|
-
#
|
4177
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4178
|
+
# generated
|
4179
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4180
|
+
# also supports `<` and `>`.
|
4181
|
+
#
|
4182
|
+
# The syntax is based on https://google.aip.dev/160.
|
4156
4183
|
#
|
4157
4184
|
# Examples:
|
4158
4185
|
#
|
4159
4186
|
# * `project_id = 12345 AND status_code = 1`
|
4160
4187
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4188
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4161
4189
|
#
|
4162
4190
|
# The length of this field should be no more than 500 characters.
|
4163
4191
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -4283,23 +4311,29 @@ module Google
|
|
4283
4311
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4284
4312
|
# sequence of restrictions implicitly uses `AND`.
|
4285
4313
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4286
|
-
# * Supported fields
|
4287
|
-
# - `project_id
|
4288
|
-
# - `dataset_id
|
4289
|
-
# - `table_id
|
4290
|
-
# - `sensitivity_level
|
4291
|
-
# - `data_risk_level
|
4314
|
+
# * Supported fields:
|
4315
|
+
# - `project_id`: The Google Cloud project ID
|
4316
|
+
# - `dataset_id`: The BigQuery dataset ID
|
4317
|
+
# - `table_id`: The ID of the BigQuery table
|
4318
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4319
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4292
4320
|
# - `resource_visibility`: PUBLIC|RESTRICTED
|
4293
|
-
# - `status_code
|
4321
|
+
# - `status_code`: an RPC status code as defined in
|
4294
4322
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4323
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4324
|
+
# generated
|
4295
4325
|
#
|
4296
|
-
# * The operator must be `=` or `!=`.
|
4326
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4327
|
+
# also supports `<` and `>`.
|
4328
|
+
#
|
4329
|
+
# The syntax is based on https://google.aip.dev/160.
|
4297
4330
|
#
|
4298
4331
|
# Examples:
|
4299
4332
|
#
|
4300
4333
|
# * `project_id = 12345 AND status_code = 1`
|
4301
4334
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4302
4335
|
# * `project_id = 12345 AND resource_visibility = PUBLIC`
|
4336
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4303
4337
|
#
|
4304
4338
|
# The length of this field should be no more than 500 characters.
|
4305
4339
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -4423,26 +4457,32 @@ module Google
|
|
4423
4457
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4424
4458
|
# sequence of restrictions implicitly uses `AND`.
|
4425
4459
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4426
|
-
# * Supported fields
|
4427
|
-
# - `table_data_profile_name
|
4428
|
-
# profile
|
4429
|
-
# - `project_id
|
4430
|
-
# - `dataset_id
|
4431
|
-
# - `table_id
|
4432
|
-
# - `field_id
|
4433
|
-
# - `info_type
|
4434
|
-
# - `sensitivity_level
|
4435
|
-
# - `data_risk_level`: How much risk is associated with this data
|
4436
|
-
# - `status_code
|
4460
|
+
# * Supported fields:
|
4461
|
+
# - `table_data_profile_name`: The name of the related table data
|
4462
|
+
# profile
|
4463
|
+
# - `project_id`: The Google Cloud project ID (REQUIRED)
|
4464
|
+
# - `dataset_id`: The BigQuery dataset ID (REQUIRED)
|
4465
|
+
# - `table_id`: The BigQuery table ID (REQUIRED)
|
4466
|
+
# - `field_id`: The ID of the BigQuery field
|
4467
|
+
# - `info_type`: The infotype detected in the resource
|
4468
|
+
# - `sensitivity_level`: HIGH|MEDIUM|LOW
|
4469
|
+
# - `data_risk_level`: How much risk is associated with this data
|
4470
|
+
# - `status_code`: An RPC status code as defined in
|
4437
4471
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4472
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4473
|
+
# generated
|
4438
4474
|
# * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
4439
|
-
# filters also support `!=`.
|
4475
|
+
# filters also support `!=`. The `profile_last_generated` filter also
|
4476
|
+
# supports `<` and `>`.
|
4477
|
+
#
|
4478
|
+
# The syntax is based on https://google.aip.dev/160.
|
4440
4479
|
#
|
4441
4480
|
# Examples:
|
4442
4481
|
#
|
4443
4482
|
# * project_id = 12345 AND status_code = 1
|
4444
4483
|
# * project_id = 12345 AND sensitivity_level = HIGH
|
4445
4484
|
# * project_id = 12345 AND info_type = STREET_ADDRESS
|
4485
|
+
# * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
4446
4486
|
#
|
4447
4487
|
# The length of this field should be no more than 500 characters.
|
4448
4488
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -4647,21 +4687,26 @@ module Google
|
|
4647
4687
|
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
4648
4688
|
# sequence of restrictions implicitly uses `AND`.
|
4649
4689
|
# * A restriction has the form of `{field} {operator} {value}`.
|
4650
|
-
# * Supported fields
|
4651
|
-
# - `project_id
|
4652
|
-
# - `account_id
|
4653
|
-
# - `file_store_path
|
4654
|
-
# - `data_source_type
|
4655
|
-
# "google/storage/bucket"
|
4656
|
-
# - `data_storage_location
|
4657
|
-
# stored, like "us-central1"
|
4658
|
-
# - `sensitivity_level
|
4659
|
-
# - `data_risk_level
|
4690
|
+
# * Supported fields:
|
4691
|
+
# - `project_id`: The Google Cloud project ID
|
4692
|
+
# - `account_id`: The AWS account ID
|
4693
|
+
# - `file_store_path`: The path like "gs://bucket"
|
4694
|
+
# - `data_source_type`: The profile's data source type, like
|
4695
|
+
# "google/storage/bucket"
|
4696
|
+
# - `data_storage_location`: The location where the file store's data is
|
4697
|
+
# stored, like "us-central1"
|
4698
|
+
# - `sensitivity_level`: HIGH|MODERATE|LOW
|
4699
|
+
# - `data_risk_level`: HIGH|MODERATE|LOW
|
4660
4700
|
# - `resource_visibility`: PUBLIC|RESTRICTED
|
4661
|
-
# - `status_code
|
4701
|
+
# - `status_code`: an RPC status code as defined in
|
4662
4702
|
# https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
4703
|
+
# - `profile_last_generated`: Date and time the profile was last
|
4704
|
+
# generated
|
4663
4705
|
#
|
4664
|
-
# * The operator must be `=` or `!=`.
|
4706
|
+
# * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
4707
|
+
# also supports `<` and `>`.
|
4708
|
+
#
|
4709
|
+
# The syntax is based on https://google.aip.dev/160.
|
4665
4710
|
#
|
4666
4711
|
# Examples:
|
4667
4712
|
#
|
@@ -4669,6 +4714,7 @@ module Google
|
|
4669
4714
|
# * `project_id = 12345 AND sensitivity_level = HIGH`
|
4670
4715
|
# * `project_id = 12345 AND resource_visibility = PUBLIC`
|
4671
4716
|
# * `file_store_path = "gs://mybucket"`
|
4717
|
+
# * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
4672
4718
|
#
|
4673
4719
|
# The length of this field should be no more than 500 characters.
|
4674
4720
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -5489,6 +5535,8 @@ module Google
|
|
5489
5535
|
# results. If set, all other request fields must match the original request.
|
5490
5536
|
# @param filter [::String]
|
5491
5537
|
# Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
5538
|
+
#
|
5539
|
+
# The syntax is based on https://google.aip.dev/160.
|
5492
5540
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
5493
5541
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dlp::V2::Connection>]
|
5494
5542
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -5582,6 +5630,8 @@ module Google
|
|
5582
5630
|
# results. If set, all other request fields must match the original request.
|
5583
5631
|
# @param filter [::String]
|
5584
5632
|
# Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
5633
|
+
#
|
5634
|
+
# The syntax is based on https://google.aip.dev/160.
|
5585
5635
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
5586
5636
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dlp::V2::Connection>]
|
5587
5637
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|