google-apis-bigquerydatapolicy_v2 0.1.0 → 0.2.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: 8fe913be55f587a13fec261332a8de19c8486848d3bdcdc975772d4fd4186ddb
4
- data.tar.gz: 2636f91c1a22bfee3594bad8e2d5a3673481107ab5f816f825a64936bdbe4c02
3
+ metadata.gz: 34f611e85cb8b3cba048ee74d767a9b9d730fcae207dfc33f08eab275271edf8
4
+ data.tar.gz: e55c11197e799d4efd6046b788377d62641435974a79294949276357b2500c19
5
5
  SHA512:
6
- metadata.gz: d9b0c2f65da6ee84892a95d5b5f208f8135b3903e19aba90ca3e0c501067195af99b2fbe281141a6b5b68fa80951ea9c1c736c83b4d0147360eff05818bf6a2e
7
- data.tar.gz: fe917030242d9b3cd4c589436eb82e5b2b322377185081fc2c3e36b78a2a9e9956d5547ae9c7f5c597a3582efa28a76c6b0dc4218efc264dc9b0a655e4ed01ec
6
+ metadata.gz: 3cee202e4f9fd365a0ad082308c417ac820dae80785959d7ab4c3cc6228c1965a46a4ee7ddb41b31321f3ca27f347519f8ff9e9fe03da37c83c72099a219703b
7
+ data.tar.gz: ee516c5fff61956634997c04f4a91df50ede003ab36afc22e385783aa389e354a7d6be0973fd8d6cf14f0dfcf009b90178fafccedf2716fe0574d1db9d1a2796
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquerydatapolicy_v2
2
2
 
3
+ ### v0.2.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260415
6
+
3
7
  ### v0.1.0 (2025-10-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20251001
@@ -244,6 +244,34 @@ module Google
244
244
  end
245
245
  end
246
246
 
247
+ # Data Governance tag This is a namespaced name specifying the key and the value.
248
+ # For example: `project-id/pii/sensitive`.
249
+ class DataGovernanceTag
250
+ include Google::Apis::Core::Hashable
251
+
252
+ # Optional. Tag keys are globally unique. Tag key is expected to be in the
253
+ # namespaced format, for example `parent-id/pii` where `parent-id` is the ID of
254
+ # the parent organization or project resource for this tag key.
255
+ # Corresponds to the JSON property `key`
256
+ # @return [String]
257
+ attr_accessor :key
258
+
259
+ # Optional. Specifies the tag value as the short name, for example `sensitive`.
260
+ # Corresponds to the JSON property `value`
261
+ # @return [String]
262
+ attr_accessor :value
263
+
264
+ def initialize(**args)
265
+ update!(**args)
266
+ end
267
+
268
+ # Update properties of this object
269
+ def update!(**args)
270
+ @key = args[:key] if args.key?(:key)
271
+ @value = args[:value] if args.key?(:value)
272
+ end
273
+ end
274
+
247
275
  # The policy used to specify data masking rule.
248
276
  class DataMaskingPolicy
249
277
  include Google::Apis::Core::Hashable
@@ -275,6 +303,12 @@ module Google
275
303
  class DataPolicy
276
304
  include Google::Apis::Core::Hashable
277
305
 
306
+ # Data Governance tag This is a namespaced name specifying the key and the value.
307
+ # For example: `project-id/pii/sensitive`.
308
+ # Corresponds to the JSON property `dataGovernanceTag`
309
+ # @return [Google::Apis::BigquerydatapolicyV2::DataGovernanceTag]
310
+ attr_accessor :data_governance_tag
311
+
278
312
  # The policy used to specify data masking rule.
279
313
  # Corresponds to the JSON property `dataMaskingPolicy`
280
314
  # @return [Google::Apis::BigquerydatapolicyV2::DataMaskingPolicy]
@@ -334,6 +368,7 @@ module Google
334
368
 
335
369
  # Update properties of this object
336
370
  def update!(**args)
371
+ @data_governance_tag = args[:data_governance_tag] if args.key?(:data_governance_tag)
337
372
  @data_masking_policy = args[:data_masking_policy] if args.key?(:data_masking_policy)
338
373
  @data_policy_id = args[:data_policy_id] if args.key?(:data_policy_id)
339
374
  @data_policy_type = args[:data_policy_type] if args.key?(:data_policy_type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigquerydatapolicyV2
18
18
  # Version of the google-apis-bigquerydatapolicy_v2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251001"
25
+ REVISION = "20260415"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class DataGovernanceTag
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class DataMaskingPolicy
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -167,6 +173,14 @@ module Google
167
173
  end
168
174
  end
169
175
 
176
+ class DataGovernanceTag
177
+ # @private
178
+ class Representation < Google::Apis::Core::JsonRepresentation
179
+ property :key, as: 'key'
180
+ property :value, as: 'value'
181
+ end
182
+ end
183
+
170
184
  class DataMaskingPolicy
171
185
  # @private
172
186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -178,6 +192,8 @@ module Google
178
192
  class DataPolicy
179
193
  # @private
180
194
  class Representation < Google::Apis::Core::JsonRepresentation
195
+ property :data_governance_tag, as: 'dataGovernanceTag', class: Google::Apis::BigquerydatapolicyV2::DataGovernanceTag, decorator: Google::Apis::BigquerydatapolicyV2::DataGovernanceTag::Representation
196
+
181
197
  property :data_masking_policy, as: 'dataMaskingPolicy', class: Google::Apis::BigquerydatapolicyV2::DataMaskingPolicy, decorator: Google::Apis::BigquerydatapolicyV2::DataMaskingPolicy::Representation
182
198
 
183
199
  property :data_policy_id, as: 'dataPolicyId'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquerydatapolicy_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatapolicy_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v2/v0.1.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v2/v0.2.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatapolicy_v2
62
62
  rdoc_options: []
63
63
  require_paths: