google-apis-dlp_v2 0.56.0 → 0.57.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fe67d72492ec0e4748a1a26da5177fe27a78fbbdc25aa5e058fe965c1ff4ffc
4
- data.tar.gz: b8adb99367262b5a8c781f0f0fe670bad4d53a5bdef496397509ebaa6649e174
3
+ metadata.gz: 8142e2d02446ce8c73ceb4c28c4164c2133fe179df04d4cbdc9699eb313a93c4
4
+ data.tar.gz: ee25a15669e25dab91ca20ef42abc78b7a04f81d3097efd6bc9a7bf818ac2216
5
5
  SHA512:
6
- metadata.gz: b580e891ddf8903d51132a0fbb86e9059cde3df373d1aeaae569fad0f3b289e5f4880a4e390c9728282ef35ff244ac6f6e8c80aacdc6bf60a97cec2f6f3164b3
7
- data.tar.gz: 9bc5cee02df6939aa170e0d584c9caf83a0ebf8f6dfea828a7553571038f1be84dd436fe1a61aa7c09cec155dda752ea7322d9d5172c2545731c216ae791d925
6
+ metadata.gz: b48adec011611bf34c73256ba8726e4e7dfd07438fa6d20f046a3119deef7789c33964fd8bec7a0cafa59928eadcbbca6a7149685a1e6d156e7ce7892ada357c
7
+ data.tar.gz: 16ebaa2742562eddbfba59a243929c0add08f1d719baf2eceb1d168a1b151af8b744f40efee8c571fd20fa2e8aecb446b4a95622357e9abdde0759fec5d072de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.56.0 (2023-12-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20231210
@@ -2198,6 +2198,26 @@ module Google
2198
2198
  end
2199
2199
  end
2200
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
+
2201
2221
  # Record key for a finding in Cloud Datastore.
2202
2222
  class GooglePrivacyDlpV2DatastoreKey
2203
2223
  include Google::Apis::Core::Hashable
@@ -7605,6 +7625,11 @@ module Google
7605
7625
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
7606
7626
  attr_accessor :data_risk_level
7607
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
+
7608
7633
  # The BigQuery dataset ID.
7609
7634
  # Corresponds to the JSON property `datasetId`
7610
7635
  # @return [String]
@@ -7729,6 +7754,7 @@ module Google
7729
7754
  @config_snapshot = args[:config_snapshot] if args.key?(:config_snapshot)
7730
7755
  @create_time = args[:create_time] if args.key?(:create_time)
7731
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)
7732
7758
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
7733
7759
  @dataset_location = args[:dataset_location] if args.key?(:dataset_location)
7734
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.56.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.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231210"
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
 
@@ -2152,6 +2158,13 @@ module Google
2152
2158
  end
2153
2159
  end
2154
2160
 
2161
+ class GooglePrivacyDlpV2DataSourceType
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ property :data_source, as: 'dataSource'
2165
+ end
2166
+ end
2167
+
2155
2168
  class GooglePrivacyDlpV2DatastoreKey
2156
2169
  # @private
2157
2170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3806,6 +3819,8 @@ module Google
3806
3819
  property :create_time, as: 'createTime'
3807
3820
  property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
3808
3821
 
3822
+ property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
3823
+
3809
3824
  property :dataset_id, as: 'datasetId'
3810
3825
  property :dataset_location, as: 'datasetLocation'
3811
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('https://dlp.googleapis.com/', '',
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 cancelled.
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.56.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: 2023-12-17 00:00:00.000000000 Z
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.11.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.11.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.56.0
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.4.19
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