google-apis-dlp_v2 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/dlp_v2.rb +1 -1
- data/lib/google/apis/dlp_v2/classes.rb +26 -21
- data/lib/google/apis/dlp_v2/gem_version.rb +3 -3
- data/lib/google/apis/dlp_v2/service.rb +12 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6962e9fcaa18894071ee14ae1bd5a50fae4521460d4f4a5a123c106212b66cdc
|
4
|
+
data.tar.gz: 4e6a4d2fe67a52c4ae192e8c03bc982ebf22b0e549e563d913c17b389b16b59b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f72d389997fd1f47e4b29c48aef0502df94be799bc4e286bcccf20d6f8a4fe5abeba90a2449de14ea679b8d02099f8f174a1ddc33452153634a9a9561602482
|
7
|
+
data.tar.gz: 021d61d4f8bcad3b5c4825cd71d445b9f44279ee50c15670183b4cb6c49e6397e02e163d8e5f2115efc41738471a3636fc8e6700e91863971538700cc8228930
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210604
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210522
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-05-13)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210508
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-24)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210319
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.3.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210220
|
data/lib/google/apis/dlp_v2.rb
CHANGED
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V2'
|
33
33
|
|
34
|
-
#
|
34
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
@@ -1012,8 +1012,8 @@ module Google
|
|
1012
1012
|
attr_accessor :byte_item
|
1013
1013
|
|
1014
1014
|
# Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
|
1015
|
-
# https://cloud.google.com/dlp/docs/inspecting-text#
|
1016
|
-
# more.
|
1015
|
+
# https://cloud.google.com/dlp/docs/inspecting-structured-text#
|
1016
|
+
# inspecting_a_table to learn more.
|
1017
1017
|
# Corresponds to the JSON property `table`
|
1018
1018
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]
|
1019
1019
|
attr_accessor :table
|
@@ -1354,9 +1354,10 @@ module Google
|
|
1354
1354
|
include Google::Apis::Core::Hashable
|
1355
1355
|
|
1356
1356
|
# Include to use an existing data crypto key wrapped by KMS. The wrapped key
|
1357
|
-
# must be a 128
|
1357
|
+
# must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM
|
1358
1358
|
# permissions when sending a request to perform a crypto transformation using a
|
1359
|
-
#
|
1359
|
+
# KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a
|
1360
|
+
# wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).
|
1360
1361
|
# Corresponds to the JSON property `kmsWrapped`
|
1361
1362
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KmsWrappedCryptoKey]
|
1362
1363
|
attr_accessor :kms_wrapped
|
@@ -2346,7 +2347,10 @@ module Google
|
|
2346
2347
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition]
|
2347
2348
|
attr_accessor :condition
|
2348
2349
|
|
2349
|
-
# Required. Input field(s) to apply the transformation to.
|
2350
|
+
# Required. Input field(s) to apply the transformation to. When you have columns
|
2351
|
+
# that reference their position within a list, omit the index from the FieldId.
|
2352
|
+
# FieldId name matching ignores the index. For example, instead of "contact.nums[
|
2353
|
+
# 0].type", use "contact.nums.type".
|
2350
2354
|
# Corresponds to the JSON property `fields`
|
2351
2355
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
|
2352
2356
|
attr_accessor :fields
|
@@ -2578,12 +2582,12 @@ module Google
|
|
2578
2582
|
# provide all of this functionality, but requires more configuration. This
|
2579
2583
|
# message is provided as a convenience to the user for simple bucketing
|
2580
2584
|
# strategies. The transformed value will be a hyphenated string of `lower_bound`-
|
2581
|
-
# `upper_bound
|
2582
|
-
# are within this bucket will be replaced with "10-20". This can be
|
2583
|
-
# of type: double, long. If the bound Value type differs from the
|
2584
|
-
# being transformed, we will first attempt converting the type of
|
2585
|
-
# transformed to match the type of the bound before comparing.
|
2586
|
-
# google.com/dlp/docs/concepts-bucketing to learn more.
|
2585
|
+
# `upper_bound`. For example, if lower_bound = 10 and upper_bound = 20, all
|
2586
|
+
# values that are within this bucket will be replaced with "10-20". This can be
|
2587
|
+
# used on data of type: double, long. If the bound Value type differs from the
|
2588
|
+
# type of data being transformed, we will first attempt converting the type of
|
2589
|
+
# the data to be transformed to match the type of the bound before comparing.
|
2590
|
+
# See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
|
2587
2591
|
class GooglePrivacyDlpV2FixedSizeBucketingConfig
|
2588
2592
|
include Google::Apis::Core::Hashable
|
2589
2593
|
|
@@ -3843,9 +3847,10 @@ module Google
|
|
3843
3847
|
end
|
3844
3848
|
|
3845
3849
|
# Include to use an existing data crypto key wrapped by KMS. The wrapped key
|
3846
|
-
# must be a 128
|
3850
|
+
# must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM
|
3847
3851
|
# permissions when sending a request to perform a crypto transformation using a
|
3848
|
-
#
|
3852
|
+
# KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a
|
3853
|
+
# wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).
|
3849
3854
|
class GooglePrivacyDlpV2KmsWrappedCryptoKey
|
3850
3855
|
include Google::Apis::Core::Hashable
|
3851
3856
|
|
@@ -4552,12 +4557,12 @@ module Google
|
|
4552
4557
|
# provide all of this functionality, but requires more configuration. This
|
4553
4558
|
# message is provided as a convenience to the user for simple bucketing
|
4554
4559
|
# strategies. The transformed value will be a hyphenated string of `lower_bound`-
|
4555
|
-
# `upper_bound
|
4556
|
-
# are within this bucket will be replaced with "10-20". This can be
|
4557
|
-
# of type: double, long. If the bound Value type differs from the
|
4558
|
-
# being transformed, we will first attempt converting the type of
|
4559
|
-
# transformed to match the type of the bound before comparing.
|
4560
|
-
# google.com/dlp/docs/concepts-bucketing to learn more.
|
4560
|
+
# `upper_bound`. For example, if lower_bound = 10 and upper_bound = 20, all
|
4561
|
+
# values that are within this bucket will be replaced with "10-20". This can be
|
4562
|
+
# used on data of type: double, long. If the bound Value type differs from the
|
4563
|
+
# type of data being transformed, we will first attempt converting the type of
|
4564
|
+
# the data to be transformed to match the type of the bound before comparing.
|
4565
|
+
# See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
|
4561
4566
|
# Corresponds to the JSON property `fixedSizeBucketingConfig`
|
4562
4567
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FixedSizeBucketingConfig]
|
4563
4568
|
attr_accessor :fixed_size_bucketing_config
|
@@ -5824,8 +5829,8 @@ module Google
|
|
5824
5829
|
end
|
5825
5830
|
|
5826
5831
|
# Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
|
5827
|
-
# https://cloud.google.com/dlp/docs/inspecting-text#
|
5828
|
-
# more.
|
5832
|
+
# https://cloud.google.com/dlp/docs/inspecting-structured-text#
|
5833
|
+
# inspecting_a_table to learn more.
|
5829
5834
|
class GooglePrivacyDlpV2Table
|
5830
5835
|
include Google::Apis::Core::Hashable
|
5831
5836
|
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210604"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1195,6 +1195,8 @@ module Google
|
|
1195
1195
|
# @param [String] page_token
|
1196
1196
|
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
|
1197
1197
|
# `order_by` field must not change for subsequent calls.
|
1198
|
+
# @param [String] type
|
1199
|
+
# The type of jobs. Will use `DlpJobType.INSPECT` if not set.
|
1198
1200
|
# @param [String] fields
|
1199
1201
|
# Selector specifying which fields to include in a partial response.
|
1200
1202
|
# @param [String] quota_user
|
@@ -1212,7 +1214,7 @@ module Google
|
|
1212
1214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1213
1215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1214
1216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1215
|
-
def list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1217
|
+
def list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1216
1218
|
command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
|
1217
1219
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
|
1218
1220
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
|
@@ -1222,6 +1224,7 @@ module Google
|
|
1222
1224
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1223
1225
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1224
1226
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1227
|
+
command.query['type'] = type unless type.nil?
|
1225
1228
|
command.query['fields'] = fields unless fields.nil?
|
1226
1229
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1227
1230
|
execute_or_queue_command(command, &block)
|
@@ -2678,6 +2681,8 @@ module Google
|
|
2678
2681
|
# @param [String] page_token
|
2679
2682
|
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
|
2680
2683
|
# `order_by` field must not change for subsequent calls.
|
2684
|
+
# @param [String] type
|
2685
|
+
# The type of jobs. Will use `DlpJobType.INSPECT` if not set.
|
2681
2686
|
# @param [String] fields
|
2682
2687
|
# Selector specifying which fields to include in a partial response.
|
2683
2688
|
# @param [String] quota_user
|
@@ -2695,7 +2700,7 @@ module Google
|
|
2695
2700
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2696
2701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2697
2702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2698
|
-
def list_project_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2703
|
+
def list_project_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2699
2704
|
command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
|
2700
2705
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
|
2701
2706
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
|
@@ -2705,6 +2710,7 @@ module Google
|
|
2705
2710
|
command.query['orderBy'] = order_by unless order_by.nil?
|
2706
2711
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2707
2712
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2713
|
+
command.query['type'] = type unless type.nil?
|
2708
2714
|
command.query['fields'] = fields unless fields.nil?
|
2709
2715
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2710
2716
|
execute_or_queue_command(command, &block)
|
@@ -3850,6 +3856,8 @@ module Google
|
|
3850
3856
|
# @param [String] page_token
|
3851
3857
|
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
|
3852
3858
|
# `order_by` field must not change for subsequent calls.
|
3859
|
+
# @param [String] type
|
3860
|
+
# The type of jobs. Will use `DlpJobType.INSPECT` if not set.
|
3853
3861
|
# @param [String] fields
|
3854
3862
|
# Selector specifying which fields to include in a partial response.
|
3855
3863
|
# @param [String] quota_user
|
@@ -3867,7 +3875,7 @@ module Google
|
|
3867
3875
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3868
3876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3869
3877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3870
|
-
def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3878
|
+
def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3871
3879
|
command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
|
3872
3880
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
|
3873
3881
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
|
@@ -3877,6 +3885,7 @@ module Google
|
|
3877
3885
|
command.query['orderBy'] = order_by unless order_by.nil?
|
3878
3886
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3879
3887
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3888
|
+
command.query['type'] = type unless type.nil?
|
3880
3889
|
command.query['fields'] = fields unless fields.nil?
|
3881
3890
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3882
3891
|
execute_or_queue_command(command, &block)
|
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.8.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: 2021-
|
11
|
+
date: 2021-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dlp_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dlp_v2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Data Loss Prevention (DLP) API V2
|