google-apis-bigquerydatapolicy_v1 0.6.0 → 0.7.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: c9324ba41ab1ccc6b8b639b10fa014a722ade872550e5056445be016a0e3c853
4
- data.tar.gz: fe20c0dae52790676df2e8eed62eebb9667ebdb5424a4ab45b3c89af9f28ed73
3
+ metadata.gz: fadd52fc7f3a656fa06b2b05bd5d5a313080d81fb7f206becc1370295a2cdc17
4
+ data.tar.gz: be2735741b92067869061776952f3fed787fc0be210b773d0425bff78211eda1
5
5
  SHA512:
6
- metadata.gz: 7dfec14a368d47ddd6c311c45b16278e3cd3628894e9d2fd4ec99a89fa75c3542443adcd5633963d5240b5b68961ff12d041b84e4d866413535d89b17ee57e44
7
- data.tar.gz: b9ef506675554bf73499ddc9cc8ec8434751f09abce9b5b9bd53d90dcb966484b8e8bf35e98288fd4a01bac8c67627279b604738d7faa9646df83d71c79d7b2d
6
+ metadata.gz: 5caa6796e279385fe3b1ff0989a46da16f04b3d947d3c0a131cb373cc2e7c928ba44940bc128d51af70d3f52276ad1cf3531b12fc17b41a9c4043e1fffbd8ee7
7
+ data.tar.gz: a0b873dddb6eb8951f3b0fe9512ed5f458667b68e3358c960848238b086ddcf2fe06fdf953217dfded4f50231540a4ff34e4d622f02b4404408e91a20261d6a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigquerydatapolicy_v1
2
2
 
3
+ ### v0.7.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240806
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.6.0 (2024-05-19)
4
9
 
5
10
  * Regenerated using generator version 0.15.0
@@ -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.7.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.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20240806"
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,14 @@
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.7.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-bigquerydatapolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatapolicy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []