grafeas-v1 1.4.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: 0d5420b23222253f750dcbf1d3dcb781bbc9ed5424a6f88bc8cf76700a7459dd
4
- data.tar.gz: cc3aba601a7dcf4b50bcfb8b80f47c3a707aaf4dae3a2f3f22668791ac54674f
3
+ metadata.gz: 9c5ce9659a7247af30e46c632f30f94506ede734b02cc2bb6e5f0589a1eeced2
4
+ data.tar.gz: ce0784b351f09ba1de7dcc5b0b6c388aa1edaee6a6a438aac15ee203d74c6d1c
5
5
  SHA512:
6
- metadata.gz: 37c3bf86e786af014eef5049ebce02e4a29e6244048ceaecf3926e932d116c0c9e225eb4678827321a707f460700638154fb31996f42358b587f31f8767a15e4
7
- data.tar.gz: c5d799967dc9539f9dc81c0221354af785b8ca1218bcb7330463bdf9204a1288d42062fec5ceb59f6d8209915075b7bd7887d804b0b5dce14e33f3e8e44c4956
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.4.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.4.0
4
+ version: 1.5.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
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.6.8
133
+ rubygems_version: 3.6.9
134
134
  specification_version: 4
135
135
  summary: An implementation of the Grafeas API, which stores, and enables querying
136
136
  and retrieval of critical metadata about all of your software artifacts.