google-apis-dlp_v2 0.55.0 → 0.57.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8142e2d02446ce8c73ceb4c28c4164c2133fe179df04d4cbdc9699eb313a93c4
|
4
|
+
data.tar.gz: ee25a15669e25dab91ca20ef42abc78b7a04f81d3097efd6bc9a7bf818ac2216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48adec011611bf34c73256ba8726e4e7dfd07438fa6d20f046a3119deef7789c33964fd8bec7a0cafa59928eadcbbca6a7149685a1e6d156e7ce7892ada357c
|
7
|
+
data.tar.gz: 16ebaa2742562eddbfba59a243929c0add08f1d719baf2eceb1d168a1b151af8b744f40efee8c571fd20fa2e8aecb446b4a95622357e9abdde0759fec5d072de
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.57.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240113
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.56.0 (2023-12-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231210
|
11
|
+
|
3
12
|
### v0.55.0 (2023-12-03)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231127
|
@@ -2030,6 +2030,14 @@ module Google
|
|
2030
2030
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig]
|
2031
2031
|
attr_accessor :data_profile_job
|
2032
2032
|
|
2033
|
+
# Configuration for discovery to scan resources for profile generation. Only one
|
2034
|
+
# discovery configuration may exist per organization, folder, or project. The
|
2035
|
+
# generated data profiles are retained according to the [data retention policy] (
|
2036
|
+
# https://cloud.google.com/dlp/docs/data-profiles#retention).
|
2037
|
+
# Corresponds to the JSON property `discoveryConfig`
|
2038
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig]
|
2039
|
+
attr_accessor :discovery_config
|
2040
|
+
|
2033
2041
|
# Configuration description of the scanning process. When used with
|
2034
2042
|
# redactContent only info_types and min_likelihood are currently used.
|
2035
2043
|
# Corresponds to the JSON property `inspectConfig`
|
@@ -2043,6 +2051,7 @@ module Google
|
|
2043
2051
|
# Update properties of this object
|
2044
2052
|
def update!(**args)
|
2045
2053
|
@data_profile_job = args[:data_profile_job] if args.key?(:data_profile_job)
|
2054
|
+
@discovery_config = args[:discovery_config] if args.key?(:discovery_config)
|
2046
2055
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
2047
2056
|
end
|
2048
2057
|
end
|
@@ -2189,6 +2198,26 @@ module Google
|
|
2189
2198
|
end
|
2190
2199
|
end
|
2191
2200
|
|
2201
|
+
# Message used to identify the type of resource being profiled.
|
2202
|
+
class GooglePrivacyDlpV2DataSourceType
|
2203
|
+
include Google::Apis::Core::Hashable
|
2204
|
+
|
2205
|
+
# Output only. An identifying string to the type of resource being profiled.
|
2206
|
+
# Current values: google/bigquery/table, google/project
|
2207
|
+
# Corresponds to the JSON property `dataSource`
|
2208
|
+
# @return [String]
|
2209
|
+
attr_accessor :data_source
|
2210
|
+
|
2211
|
+
def initialize(**args)
|
2212
|
+
update!(**args)
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
# Update properties of this object
|
2216
|
+
def update!(**args)
|
2217
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
2218
|
+
end
|
2219
|
+
end
|
2220
|
+
|
2192
2221
|
# Record key for a finding in Cloud Datastore.
|
2193
2222
|
class GooglePrivacyDlpV2DatastoreKey
|
2194
2223
|
include Google::Apis::Core::Hashable
|
@@ -7596,6 +7625,11 @@ module Google
|
|
7596
7625
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
7597
7626
|
attr_accessor :data_risk_level
|
7598
7627
|
|
7628
|
+
# Message used to identify the type of resource being profiled.
|
7629
|
+
# Corresponds to the JSON property `dataSourceType`
|
7630
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType]
|
7631
|
+
attr_accessor :data_source_type
|
7632
|
+
|
7599
7633
|
# The BigQuery dataset ID.
|
7600
7634
|
# Corresponds to the JSON property `datasetId`
|
7601
7635
|
# @return [String]
|
@@ -7720,6 +7754,7 @@ module Google
|
|
7720
7754
|
@config_snapshot = args[:config_snapshot] if args.key?(:config_snapshot)
|
7721
7755
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7722
7756
|
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
7757
|
+
@data_source_type = args[:data_source_type] if args.key?(:data_source_type)
|
7723
7758
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
7724
7759
|
@dataset_location = args[:dataset_location] if args.key?(:dataset_location)
|
7725
7760
|
@dataset_project_id = args[:dataset_project_id] if args.key?(:dataset_project_id)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DlpV2
|
18
18
|
# Version of the google-apis-dlp_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240113"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -364,6 +364,12 @@ module Google
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
365
365
|
end
|
366
366
|
|
367
|
+
class GooglePrivacyDlpV2DataSourceType
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
367
373
|
class GooglePrivacyDlpV2DatastoreKey
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
375
|
|
@@ -2101,6 +2107,8 @@ module Google
|
|
2101
2107
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2102
2108
|
property :data_profile_job, as: 'dataProfileJob', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig::Representation
|
2103
2109
|
|
2110
|
+
property :discovery_config, as: 'discoveryConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation
|
2111
|
+
|
2104
2112
|
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
|
2105
2113
|
|
2106
2114
|
end
|
@@ -2150,6 +2158,13 @@ module Google
|
|
2150
2158
|
end
|
2151
2159
|
end
|
2152
2160
|
|
2161
|
+
class GooglePrivacyDlpV2DataSourceType
|
2162
|
+
# @private
|
2163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2164
|
+
property :data_source, as: 'dataSource'
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
2153
2168
|
class GooglePrivacyDlpV2DatastoreKey
|
2154
2169
|
# @private
|
2155
2170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3804,6 +3819,8 @@ module Google
|
|
3804
3819
|
property :create_time, as: 'createTime'
|
3805
3820
|
property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
|
3806
3821
|
|
3822
|
+
property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
|
3823
|
+
|
3807
3824
|
property :dataset_id, as: 'datasetId'
|
3808
3825
|
property :dataset_location, as: 'datasetLocation'
|
3809
3826
|
property :dataset_project_id, as: 'datasetProjectId'
|
@@ -34,6 +34,8 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/dlp/docs/
|
36
36
|
class DLPService < Google::Apis::Core::BaseService
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://dlp.$UNIVERSE_DOMAIN$/"
|
38
|
+
|
37
39
|
# @return [String]
|
38
40
|
# API key. Your API key identifies your project and provides you with API access,
|
39
41
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -45,7 +47,7 @@ module Google
|
|
45
47
|
attr_accessor :quota_user
|
46
48
|
|
47
49
|
def initialize
|
48
|
-
super(
|
50
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
51
|
client_name: 'google-apis-dlp_v2',
|
50
52
|
client_version: Google::Apis::DlpV2::GEM_VERSION)
|
51
53
|
@batch_path = 'batch'
|
@@ -3570,7 +3572,7 @@ module Google
|
|
3570
3572
|
# Finish a running hybrid DlpJob. Triggers the finalization steps and running of
|
3571
3573
|
# any enabled actions that have not yet run.
|
3572
3574
|
# @param [String] name
|
3573
|
-
# Required. The name of the DlpJob resource to be
|
3575
|
+
# Required. The name of the DlpJob resource to be finished.
|
3574
3576
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2FinishDlpJobRequest] google_privacy_dlp_v2_finish_dlp_job_request_object
|
3575
3577
|
# @param [String] fields
|
3576
3578
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dlp_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.57.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Data Loss Prevention (DLP) V2
|