google-cloud-bigquery-data_policies-v1beta1 0.8.0 → 0.9.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: 583fdd11607a5a82144fc8b300baf181704ea0ad800f3f823a28435d96bb27b0
4
- data.tar.gz: 29afda55feb40ed3d0520e615759739cbe81c6276c1c4e53e10519bc311f050d
3
+ metadata.gz: d191c9d7fa19c651709fc742168f801b0c8152d0155c2d6db6d7dcd692899e73
4
+ data.tar.gz: 7ffe9afb21c1d8e544adeef9aeb140f14f2d0de1f32d18b1f14457808396dd5e
5
5
  SHA512:
6
- metadata.gz: e5f639364ca20fdedb81248d81296d483e19d6e1caaad1b7fae0612a2def500b6defcc8cc9b9638dc352b9db98d7f158cf97d60dbdc464ab4c95973807a72056
7
- data.tar.gz: ae82cdd2a45c1087fe9be0ea966346ecbc2e915de273114fffbec783f47170ea2ea5980c3e63f029bc35682387d8da966bbcb44c1c131b42b9650d58a7edb2ea
6
+ metadata.gz: d9cefcb8e5058fab6740962912bb332475e835a5d83ac1a0ca18ae5a764c76ca824d10f80fd1d8400ecaa951a44ed2679c108f4ce02317d2ff5c3f6f75947322
7
+ data.tar.gz: 22ca1a393791923401813cacc50a54af974bac298745d1666aec8caebfe303676230d34fe93e9ceafb2897fd825b4194b88032f62083b7540621f6962bc1f9b0
@@ -993,8 +993,6 @@ module Google
993
993
  # @return [::String,nil]
994
994
  # @!attribute [rw] credentials
995
995
  # Credentials to send with calls. You may provide any of the following types:
996
- # * (`String`) The path to a service account key file in JSON format
997
- # * (`Hash`) A service account key as a Hash
998
996
  # * (`Google::Auth::Credentials`) A googleauth credentials object
999
997
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1000
998
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1003,7 +1001,26 @@ module Google
1003
1001
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1004
1002
  # * (`nil`) indicating no credentials
1005
1003
  #
1006
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1004
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1005
+ # is deprecated. Providing an unvalidated credential configuration to
1006
+ # Google APIs can compromise the security of your systems and data.
1007
+ #
1008
+ # @example
1009
+ #
1010
+ # # The recommended way to provide credentials is to use the `make_creds` method
1011
+ # # on the appropriate credentials class for your environment.
1012
+ #
1013
+ # require "googleauth"
1014
+ #
1015
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1016
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1017
+ # )
1018
+ #
1019
+ # client = ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicyService::Client.new do |config|
1020
+ # config.credentials = credentials
1021
+ # end
1022
+ #
1023
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1007
1024
  # external source for authentication to Google Cloud, you must validate it before
1008
1025
  # providing it to a Google API client library. Providing an unvalidated credential
1009
1026
  # 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 V1beta1
25
- VERSION = "0.8.0"
25
+ VERSION = "0.9.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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.6.8
107
+ rubygems_version: 3.6.9
108
108
  specification_version: 4
109
109
  summary: Allows users to manage BigQuery data policies.
110
110
  test_files: []