google-cloud-bare_metal_solution-v2 1.3.0 → 1.3.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: cadb36ec2b1755b3640aa5de48cf09b7f46d91844a0dd31a5b2cbd0629d52e7f
4
- data.tar.gz: 68af4bf7178539c67ebf505bcea85431cf398e08ca16e4757aa2ea0ae48615fe
3
+ metadata.gz: 9dc70f49b13b0e25c313da5dac64a9be3a07501951bc7dde416a0c42a1cc06cf
4
+ data.tar.gz: 296fe9498ea5b4976bcd6a6604d4e5b70ce1385b0c9658ca1f324322b1cbd7bd
5
5
  SHA512:
6
- metadata.gz: 1f149ebb3b615f7b9ec7f917457979cf2081bd8726a5fc547e99456c1f8edb46965a70ed1694e5651e5311bc0c40e751a72d56770d4f2b779a4582e1b0895d15
7
- data.tar.gz: 842e3fecdfbd6285d4396902456d7826a1411150aca6fe88f74e7eb70aa544ed5b7799a6ca8836f3e7c855fa92e068fccb7d6671d2c8b9fd24cc1533f152980f
6
+ metadata.gz: ef7cd81c5ba40037c2f85ec6cd6213d0bb68a883383adba826b4efa07922f92486f18e8a42fbaee3804c63994817c0cf3b028767bafcb376db9b6711827dbc2a
7
+ data.tar.gz: 763f072bd1920e3c094be6e17ac9c40080c54c274fd944bb59736b5baf5b6b81486365f87d1783a445d55c82868d934c03ce2ca13188e4d348f76094a91e2fd4
@@ -4364,8 +4364,6 @@ module Google
4364
4364
  # @return [::String,nil]
4365
4365
  # @!attribute [rw] credentials
4366
4366
  # Credentials to send with calls. You may provide any of the following types:
4367
- # * (`String`) The path to a service account key file in JSON format
4368
- # * (`Hash`) A service account key as a Hash
4369
4367
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4370
4368
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4371
4369
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4374,7 +4372,26 @@ module Google
4374
4372
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4375
4373
  # * (`nil`) indicating no credentials
4376
4374
  #
4377
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4375
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4376
+ # is deprecated. Providing an unvalidated credential configuration to
4377
+ # Google APIs can compromise the security of your systems and data.
4378
+ #
4379
+ # @example
4380
+ #
4381
+ # # The recommended way to provide credentials is to use the `make_creds` method
4382
+ # # on the appropriate credentials class for your environment.
4383
+ #
4384
+ # require "googleauth"
4385
+ #
4386
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4387
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4388
+ # )
4389
+ #
4390
+ # client = ::Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Client.new do |config|
4391
+ # config.credentials = credentials
4392
+ # end
4393
+ #
4394
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4378
4395
  # external source for authentication to Google Cloud, you must validate it before
4379
4396
  # providing it to a Google API client library. Providing an unvalidated credential
4380
4397
  # 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 BareMetalSolution
23
23
  module V2
24
- VERSION = "1.3.0"
24
+ VERSION = "1.3.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-bare_metal_solution-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC