google-apis-bigquerydatapolicy_v1 0.5.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: d5973ff007014f071befa046a766be0845291c0b9bb6842934cc6c71502d0101
4
- data.tar.gz: 5de5d9225cbb858893b6fe032084db04b3166c6883dd6a36831a71bc66fada1a
3
+ metadata.gz: fadd52fc7f3a656fa06b2b05bd5d5a313080d81fb7f206becc1370295a2cdc17
4
+ data.tar.gz: be2735741b92067869061776952f3fed787fc0be210b773d0425bff78211eda1
5
5
  SHA512:
6
- metadata.gz: 4db0f0addf62eaac880b15a226bb40cc5541b351201a1678ce88f0922f420f5c0ef9fd047930719ac53c3d1d19e2de71a4ab70168aead15a8f36590ebb159ef6
7
- data.tar.gz: c94368a6866e33df87f980548b0183526881e3513ac008cb19d71bf25d5040f76dadb3fbb959f8065b175e5e30966575405966a9f2593faaf5d3dae1698d682f
6
+ metadata.gz: 5caa6796e279385fe3b1ff0989a46da16f04b3d947d3c0a131cb373cc2e7c928ba44940bc128d51af70d3f52276ad1cf3531b12fc17b41a9c4043e1fffbd8ee7
7
+ data.tar.gz: a0b873dddb6eb8951f3b0fe9512ed5f458667b68e3358c960848238b086ddcf2fe06fdf953217dfded4f50231540a4ff34e4d622f02b4404408e91a20261d6a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.6.0 (2024-05-19)
9
+
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.5.0 (2024-02-24)
4
13
 
5
14
  * Regenerated using generator version 0.14.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.5.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.14.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.5.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-02-25 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.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-bigquerydatapolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatapolicy_v1/v0.5.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: []