google-cloud-gdc_hardware_management-v1alpha 0.12.0 → 0.12.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: 69ed470f180f5b88bf9fd9b77fe3eb78af30d1fec5cbf1275694f4081b79301d
4
- data.tar.gz: ca2cf0c5dc1671f656c23f41144f293de303a1e02c909a786c90deef9c2a7071
3
+ metadata.gz: f7a1b77b85ddd8a8ff73662cfed3a22daedf226e2d812d7ff4dd7a94ae634068
4
+ data.tar.gz: bb07a9fb242e4675d9b3b2096c9ee1a954860259d867d8c25d07516c7124d1da
5
5
  SHA512:
6
- metadata.gz: 4c31352483d607701769c661f5def974affd8d3b30ac9240dc324b26d1dae25871f2a41f745b2740be7f460bb278196a0fd5088c3bc270ed6aeb4943e71b39c3
7
- data.tar.gz: 4ff7ec7dc12ff8fe8453de9365d2fc26746a3a9d56d91b41167bacecc36db10d6282a4276f6480f9668f80cf10f829fdc6846698b8109d1ef3d0a1366b13c019
6
+ metadata.gz: 81b2f6dba17572ac28e0cab9f58f6690b9d7fc9b2ae170c8538d4d80ab130e5e6df68c6766e160a791dca85b92630d8db47827129dd1435b84391bf8e01fec00
7
+ data.tar.gz: '08d17511b1d451d228072d7c959e6b303417619af15fd396bff79e7f851f769d0f09847ef2172ddccdd753ec6864de89e9344a0dd72f327b89bb76ff3e415242'
@@ -4076,8 +4076,6 @@ module Google
4076
4076
  # @return [::String,nil]
4077
4077
  # @!attribute [rw] credentials
4078
4078
  # Credentials to send with calls. You may provide any of the following types:
4079
- # * (`String`) The path to a service account key file in JSON format
4080
- # * (`Hash`) A service account key as a Hash
4081
4079
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4082
4080
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4083
4081
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4086,7 +4084,26 @@ module Google
4086
4084
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4087
4085
  # * (`nil`) indicating no credentials
4088
4086
  #
4089
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4087
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4088
+ # is deprecated. Providing an unvalidated credential configuration to
4089
+ # Google APIs can compromise the security of your systems and data.
4090
+ #
4091
+ # @example
4092
+ #
4093
+ # # The recommended way to provide credentials is to use the `make_creds` method
4094
+ # # on the appropriate credentials class for your environment.
4095
+ #
4096
+ # require "googleauth"
4097
+ #
4098
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4099
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4100
+ # )
4101
+ #
4102
+ # client = ::Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Client.new do |config|
4103
+ # config.credentials = credentials
4104
+ # end
4105
+ #
4106
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4090
4107
  # external source for authentication to Google Cloud, you must validate it before
4091
4108
  # providing it to a Google API client library. Providing an unvalidated credential
4092
4109
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GDCHardwareManagement
23
23
  module V1alpha
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gdc_hardware_management-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC