google-apis-dlp_v2 0.4.0 → 0.9.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: 7c8f30724330410e1aad062d246640678d621fb2b2223f43549cb198f1def95d
4
- data.tar.gz: 6e75c87ed95ba6fb7136acd9b3830fdff23fec3d7125e442ed510ddc2e67b6e9
3
+ metadata.gz: c2f5578ef5636e8101c15e5492a63a597a3606217d18ffd6a37bf5e9b211f51f
4
+ data.tar.gz: 9d675ea4d0bc483a6f62c6a8fd97c83f20a7ad846ca6503b267b363f72f43857
5
5
  SHA512:
6
- metadata.gz: 754569038b53ad437b2b7fc1f8dddcd498675ce026cc3702367db229bd016c72761b8ad9ab56a2a4632dfc41e22379334e20960e57b01e1542dc1e12407e0329
7
- data.tar.gz: 7dd4dc99d8ba2525e634e55e4d6c90db73424abd5b49deebf768f2fcebe5d43bcb0b6bee7b0759d3e402e91b29690c2640bad2d3cf6050eb0bd79467d1fdeb15
6
+ metadata.gz: 534589ef498f62baf15c528903b06068e79f054ce4b5e2b1ee83efce9d6a1a3e5400c3819ff0df6cf90a052fb9bd672c55b69383b277a05b4f4a720e22906f1b
7
+ data.tar.gz: 3328578cd0a1def97e62670fd0f5a4687e9796b0d03f15ac3d216205204e142a9e496a129debcb172db900c229e51ad11140126b00fc2bd3e37becf24877c78a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.9.0 (2021-06-24)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.8.0 (2021-06-09)
8
+
9
+ * Regenerated from discovery document revision 20210604
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.7.0 (2021-05-25)
13
+
14
+ * Regenerated from discovery document revision 20210522
15
+
16
+ ### v0.6.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.5.0 (2021-05-13)
21
+
22
+ * Regenerated from discovery document revision 20210508
23
+
3
24
  ### v0.4.0 (2021-03-24)
4
25
 
5
26
  * Regenerated from discovery document revision 20210319
@@ -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#inspecting_a_table to learn
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/192/256 bit key. Authorization requires the following IAM
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
- # kms-wrapped crypto key: dlp.kms.encrypt
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`, i.e if lower_bound = 10 and upper_bound = 20 all values that
2582
- # are within this bucket will be replaced with "10-20". This can be used on data
2583
- # of type: double, long. If the bound Value type differs from the type of data
2584
- # being transformed, we will first attempt converting the type of the data to be
2585
- # transformed to match the type of the bound before comparing. See https://cloud.
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/192/256 bit key. Authorization requires the following IAM
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
- # kms-wrapped crypto key: dlp.kms.encrypt
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`, i.e if lower_bound = 10 and upper_bound = 20 all values that
4556
- # are within this bucket will be replaced with "10-20". This can be used on data
4557
- # of type: double, long. If the bound Value type differs from the type of data
4558
- # being transformed, we will first attempt converting the type of the data to be
4559
- # transformed to match the type of the bound before comparing. See https://cloud.
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#inspecting_a_table to learn
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.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210319"
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Data Loss Prevention (DLP) API
28
34
  V2. Simple REST clients are Ruby client libraries that provide access to Google
29
35
  services via their HTTP REST API endpoints. These libraries are generated and updated
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dlp_v2
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Data Loss Prevention (DLP) API V2