google-cloud-bigquery-data_policies-v1 0.9.0 → 0.10.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: d8f9f1c44bdde051e6d20708af1af13912e38849f19d832843efd0ccd71f1b98
4
- data.tar.gz: c443d97c785d2e85f7889892551436eedd7f24a5f4703a47e07b1bbf00f794cb
3
+ metadata.gz: d8680a56eb37d29fbf4d5acaeb70faced43d8b0a17fa28cb87168af09909d6d1
4
+ data.tar.gz: '0799271707b82888d624381bf47818791de44e56b5e92e7cd08ee2f075db54c3'
5
5
  SHA512:
6
- metadata.gz: 4b1758d5f92e4cabcfabcaa2cd292555a817619f914c2f47b490e1fda03a8dc1b6939a00ea7fbdee10aceb962eb08f58bf233f30cde7f04c57cea193e2311855
7
- data.tar.gz: c3caf0d67a2fbedd9a3421a9b85dc943def1f88d8173277bd1a031097c04b5d052f4a2c0b1879eff22e22da7e8c147bbc759eec16e3a49e9c3570bcc8caa1578
6
+ metadata.gz: 6a45e0021c07e035a0d92325f5d97d36b4920ed6d4a9fada27ab0c1fdbfa4c1686575f2216daa1b055c81bbfb3ff012639d0bf24186d842413fb8abde31cc25b
7
+ data.tar.gz: 604e89ca9a43e9b3a42ee9a48bd2d8de2ac3469074ace04d814e6edcc2f591165e34c63e3d7d2c1ca14f6749e2301e5e7acf5a82454ed73fc75f61489eeb2627
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1104,6 +1104,13 @@ module Google
1104
1104
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1105
1105
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1106
1106
  # * (`nil`) indicating no credentials
1107
+ #
1108
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1109
+ # external source for authentication to Google Cloud, you must validate it before
1110
+ # providing it to a Google API client library. Providing an unvalidated credential
1111
+ # configuration to Google APIs can compromise the security of your systems and data.
1112
+ # For more information, refer to [Validate credential configurations from external
1113
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1107
1114
  # @return [::Object]
1108
1115
  # @!attribute [rw] scope
1109
1116
  # The OAuth scopes
@@ -1032,6 +1032,13 @@ module Google
1032
1032
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1033
1033
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1034
1034
  # * (`nil`) indicating no credentials
1035
+ #
1036
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1037
+ # external source for authentication to Google Cloud, you must validate it before
1038
+ # providing it to a Google API client library. Providing an unvalidated credential
1039
+ # configuration to Google APIs can compromise the security of your systems and data.
1040
+ # For more information, refer to [Validate credential configurations from external
1041
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1035
1042
  # @return [::Object]
1036
1043
  # @!attribute [rw] scope
1037
1044
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataPolicies
24
24
  module V1
25
- VERSION = "0.9.0"
25
+ VERSION = "0.10.0"
26
26
  end
27
27
  end
28
28
  end
@@ -173,11 +173,15 @@ module Google
173
173
  # @!attribute [rw] predefined_expression
174
174
  # @return [::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression]
175
175
  # A predefined masking expression.
176
+ #
177
+ # Note: The following fields are mutually exclusive: `predefined_expression`, `routine`. If a field in that set is populated, all other fields in the set will automatically be cleared.
176
178
  # @!attribute [rw] routine
177
179
  # @return [::String]
178
180
  # The name of the BigQuery routine that contains the custom masking
179
181
  # routine, in the format of
180
182
  # `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.
183
+ #
184
+ # Note: The following fields are mutually exclusive: `routine`, `predefined_expression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
181
185
  class DataMaskingPolicy
182
186
  include ::Google::Protobuf::MessageExts
183
187
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_policies-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -101,7 +100,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
101
100
  licenses:
102
101
  - Apache-2.0
103
102
  metadata: {}
104
- post_install_message:
105
103
  rdoc_options: []
106
104
  require_paths:
107
105
  - lib
@@ -109,15 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
- version: '2.7'
110
+ version: '3.0'
113
111
  required_rubygems_version: !ruby/object:Gem::Requirement
114
112
  requirements:
115
113
  - - ">="
116
114
  - !ruby/object:Gem::Version
117
115
  version: '0'
118
116
  requirements: []
119
- rubygems_version: 3.5.23
120
- signing_key:
117
+ rubygems_version: 3.6.2
121
118
  specification_version: 4
122
119
  summary: Allows users to manage BigQuery data policies.
123
120
  test_files: []