grafeas-v1 1.5.0 → 1.5.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: 9c34d2befd294d2d6bf0f49312f53370962f877f1dfbc3b27a63aeca2921e8bc
4
- data.tar.gz: a18ec889bf467386e2e445414390a88c2d1c0fdcaeaa601ba67ae364e99b285e
3
+ metadata.gz: 9c5ce9659a7247af30e46c632f30f94506ede734b02cc2bb6e5f0589a1eeced2
4
+ data.tar.gz: ce0784b351f09ba1de7dcc5b0b6c388aa1edaee6a6a438aac15ee203d74c6d1c
5
5
  SHA512:
6
- metadata.gz: 145b8152ffc597848730e7681f6a2a66aab022db627bc2d896177f27a2bc2c90cdfa318c8b951a0425991265d7f60ef45ef0f19e9c37435dfe47fbfab9259208
7
- data.tar.gz: 4eb48c2d8a321e2cea7d5ef10503f9a4de64effefb3b3f6b26daa3679ccf6e28e197469c195c58578ac5eb4d1af55058245cb968a891405e75b211a3daea78af
6
+ metadata.gz: 506960e6d6c156afc276c9020701b698cf8c8cf40f1a1695181f3b48a0324aaae106a5aef7398ade9752be2318ed9b291c97ae454680bc9392dd3801ed57e276
7
+ data.tar.gz: 54910ace8a24eaabae11c48badf3e0180730d0a13c42dc93e12088f51225c5be787f32994a6cd93d2ed54f197326cefe693dcfbc4a9bd16606bc058b614eee65
@@ -1536,8 +1536,6 @@ module Grafeas
1536
1536
  # @return [::String,nil]
1537
1537
  # @!attribute [rw] credentials
1538
1538
  # Credentials to send with calls. You may provide any of the following types:
1539
- # * (`String`) The path to a service account key file in JSON format
1540
- # * (`Hash`) A service account key as a Hash
1541
1539
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1542
1540
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1543
1541
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1546,7 +1544,26 @@ module Grafeas
1546
1544
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1547
1545
  # * (`nil`) indicating no credentials
1548
1546
  #
1549
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1547
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1548
+ # is deprecated. Providing an unvalidated credential configuration to
1549
+ # Google APIs can compromise the security of your systems and data.
1550
+ #
1551
+ # @example
1552
+ #
1553
+ # # The recommended way to provide credentials is to use the `make_creds` method
1554
+ # # on the appropriate credentials class for your environment.
1555
+ #
1556
+ # require "googleauth"
1557
+ #
1558
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1559
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1560
+ # )
1561
+ #
1562
+ # client = ::Grafeas::V1::Grafeas::Client.new do |config|
1563
+ # config.credentials = credentials
1564
+ # end
1565
+ #
1566
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1550
1567
  # external source for authentication to Google Cloud, you must validate it before
1551
1568
  # providing it to a Google API client library. Providing an unvalidated credential
1552
1569
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Grafeas
21
21
  module V1
22
- VERSION = "1.5.0"
22
+ VERSION = "1.5.1"
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafeas-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC