google-cloud-bigquery-data_policies-v1 1.1.0 → 1.2.1

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: d0380b4cd9cbf0123140c56f668d2366e57d6d358cde4704fc3d75d6ebc2d60f
4
- data.tar.gz: 885f428382241f1812e287d2e94436572abf41afbc5d479b1611c35eaffbf417
3
+ metadata.gz: 8c5e56b2931aa829e7c79e69fbbc572041cf2071a91e36b8aa6b72fb7b3da9a3
4
+ data.tar.gz: 0c1d2f60fe4ad7f17a65bdf71830b1d5ff340e0c6a814c3ebcfd72cab709db66
5
5
  SHA512:
6
- metadata.gz: 82cc63844b271eb76a65bc9ae60fb2279056e467988e2fc94faf70fc18f9f4921b005b12d72f0a7c34c35b58cfbb7844ab382577d06e2e93d286128d0302dd58
7
- data.tar.gz: dfcad32f1137e661609dff9ac6ec656c160f33bb59fa13373cce485d905a7ad2143ac7f6caf04ceed65dc2a6998712bc3c5e9b92fa82fddf9cdaac8aff281f65
6
+ metadata.gz: 4f92b2da7f8d1b3f5222e37d222de62e12924478f36811441a71f48cd645785801c6db0f66c50e09b45dc0007371de6b806ed2747489a4b2d33a7d2da0626870
7
+ data.tar.gz: 7dba06db4ca20016256b98976ffec9c92d81b243332fd1490f853293f8c7801ce97642adae59b710026ab999260159c08ffa21396efd4ade3b3920d22560a3d1
@@ -1095,8 +1095,6 @@ module Google
1095
1095
  # @return [::String,nil]
1096
1096
  # @!attribute [rw] credentials
1097
1097
  # Credentials to send with calls. You may provide any of the following types:
1098
- # * (`String`) The path to a service account key file in JSON format
1099
- # * (`Hash`) A service account key as a Hash
1100
1098
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1101
1099
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1102
1100
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1105,7 +1103,26 @@ module Google
1105
1103
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1106
1104
  # * (`nil`) indicating no credentials
1107
1105
  #
1108
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1106
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1107
+ # is deprecated. Providing an unvalidated credential configuration to
1108
+ # Google APIs can compromise the security of your systems and data.
1109
+ #
1110
+ # @example
1111
+ #
1112
+ # # The recommended way to provide credentials is to use the `make_creds` method
1113
+ # # on the appropriate credentials class for your environment.
1114
+ #
1115
+ # require "googleauth"
1116
+ #
1117
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1118
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1119
+ # )
1120
+ #
1121
+ # client = ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicyService::Client.new do |config|
1122
+ # config.credentials = credentials
1123
+ # end
1124
+ #
1125
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1109
1126
  # external source for authentication to Google Cloud, you must validate it before
1110
1127
  # providing it to a Google API client library. Providing an unvalidated credential
1111
1128
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataPolicies
24
24
  module V1
25
- VERSION = "1.1.0"
25
+ VERSION = "1.2.1"
26
26
  end
27
27
  end
28
28
  end
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_policies-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.6.8
111
+ rubygems_version: 3.6.9
112
112
  specification_version: 4
113
113
  summary: Allows users to manage BigQuery data policies.
114
114
  test_files: []