google-apis-bigquerydatapolicy_v1 0.6.0 → 0.8.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: c9324ba41ab1ccc6b8b639b10fa014a722ade872550e5056445be016a0e3c853
4
- data.tar.gz: fe20c0dae52790676df2e8eed62eebb9667ebdb5424a4ab45b3c89af9f28ed73
3
+ metadata.gz: 05e78b674e1fef5b673833d9c0f197f06c4ffe8efd601e162220fec92421f8e5
4
+ data.tar.gz: 4681499a199e7407eb4bfb0cce7d0de516f5225f2565e287263845223282931c
5
5
  SHA512:
6
- metadata.gz: 7dfec14a368d47ddd6c311c45b16278e3cd3628894e9d2fd4ec99a89fa75c3542443adcd5633963d5240b5b68961ff12d041b84e4d866413535d89b17ee57e44
7
- data.tar.gz: b9ef506675554bf73499ddc9cc8ec8434751f09abce9b5b9bd53d90dcb966484b8e8bf35e98288fd4a01bac8c67627279b604738d7faa9646df83d71c79d7b2d
6
+ metadata.gz: 9daa690ef33717db136f46e7381c086f537c9ea1bb2f8311b5679e594cbaf21f804131f20e50ab23bc91a590932811fc05ed727439ccbc4b4c8d84b7ee132694
7
+ data.tar.gz: 6b54e8e5a596b0540789daafe819f9ffee513180547bc6096b3c35c01fd78678a1558d5e53e4d5be1654fbfbced1cb249a85605aa7330927fbbbd2dc91c8e03a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-bigquerydatapolicy_v1
2
2
 
3
+ ### v0.8.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250317
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.7.0 (2024-08-11)
9
+
10
+ * Regenerated from discovery document revision 20240806
11
+ * Regenerated using generator version 0.15.1
12
+
3
13
  ### v0.6.0 (2024-05-19)
4
14
 
5
15
  * Regenerated using generator version 0.15.0
@@ -236,7 +236,7 @@ module Google
236
236
  # @return [String]
237
237
  attr_accessor :data_policy_id
238
238
 
239
- # Type of data policy.
239
+ # Required. Data policy type. Type of data policy.
240
240
  # Corresponds to the JSON property `dataPolicyType`
241
241
  # @return [String]
242
242
  attr_accessor :data_policy_type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigquerydatapolicyV1
18
18
  # Version of the google-apis-bigquerydatapolicy_v1 gem
19
- GEM_VERSION = "0.6.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.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20250317"
26
26
  end
27
27
  end
28
28
  end
@@ -90,6 +90,9 @@ module Google
90
90
  # @param [String] name
91
91
  # Required. Resource name of the data policy to delete. Format is `projects/`
92
92
  # project_number`/locations/`location_id`/dataPolicies/`data_policy_id``.
93
+ # @param [Boolean] force
94
+ # Optional. If true, the data policy will be deleted even when it is referenced
95
+ # by one or more table columns.
93
96
  # @param [String] fields
94
97
  # Selector specifying which fields to include in a partial response.
95
98
  # @param [String] quota_user
@@ -107,11 +110,12 @@ module Google
107
110
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
111
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
112
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def delete_project_location_data_policy(name, fields: nil, quota_user: nil, options: nil, &block)
113
+ def delete_project_location_data_policy(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
111
114
  command = make_simple_command(:delete, 'v1/{+name}', options)
112
115
  command.response_representation = Google::Apis::BigquerydatapolicyV1::Empty::Representation
113
116
  command.response_class = Google::Apis::BigquerydatapolicyV1::Empty
114
117
  command.params['name'] = name unless name.nil?
118
+ command.query['force'] = force unless force.nil?
115
119
  command.query['fields'] = fields unless fields.nil?
116
120
  command.query['quotaUser'] = quota_user unless quota_user.nil?
117
121
  execute_or_queue_command(command, &block)
@@ -236,6 +240,9 @@ module Google
236
240
  # Output only. Resource name of this data policy, in the format of `projects/`
237
241
  # project_number`/locations/`location_id`/dataPolicies/`data_policy_id``.
238
242
  # @param [Google::Apis::BigquerydatapolicyV1::DataPolicy] data_policy_object
243
+ # @param [Boolean] allow_missing
244
+ # Optional. If set to true, and the data policy is not found, a new data policy
245
+ # will be created. In this situation, update_mask is ignored.
239
246
  # @param [String] update_mask
240
247
  # The update mask applies to the resource. For the `FieldMask` definition, see
241
248
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
@@ -258,13 +265,14 @@ module Google
258
265
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
266
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
267
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def patch_project_location_data_policy(name, data_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
268
+ def patch_project_location_data_policy(name, data_policy_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
262
269
  command = make_simple_command(:patch, 'v1/{+name}', options)
263
270
  command.request_representation = Google::Apis::BigquerydatapolicyV1::DataPolicy::Representation
264
271
  command.request_object = data_policy_object
265
272
  command.response_representation = Google::Apis::BigquerydatapolicyV1::DataPolicy::Representation
266
273
  command.response_class = Google::Apis::BigquerydatapolicyV1::DataPolicy
267
274
  command.params['name'] = name unless name.nil?
275
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
268
276
  command.query['updateMask'] = update_mask unless update_mask.nil?
269
277
  command.query['fields'] = fields unless fields.nil?
270
278
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquerydatapolicy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatapolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v1/v0.6.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v1/v0.8.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatapolicy_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for BigQuery Data Policy API V1
82
79
  test_files: []