google-cloud-talent-v4beta1 0.17.0 → 0.17.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: 9301184f646ec16b88932059ee1dd5b25771ba7b3963991e440bce491c289e2f
4
- data.tar.gz: '081699eac135818f48c6e84575d383bbba3e5a188134ae11efa141c9c1443886'
3
+ metadata.gz: 8232fb832126a74a4c87cb15ada26ddd7d27567362395dfc0ea515e83fdaefe7
4
+ data.tar.gz: e26bddac834c3e9fc3375ea009559e0f2cad2f971847a1275e96028669e51082
5
5
  SHA512:
6
- metadata.gz: '09694fb4a7d22e311d196eaf77dcae511fc42854f96fa9562bde7b502db48ab3ef46e2bc20a3e6f09b91268df4d305ac7114aefdf3937a8ad023484053d08c3c'
7
- data.tar.gz: 6bedc9f1adc68176c74c60e1de02c2db45f045f919c357b2d1e0fa6e28b89ef6c58d25e4a09dc57a264ec3259ae3de8fa6a54d895b89619f1c7f3468cb43536b
6
+ metadata.gz: e3eeee747048e29042130440ca72a7ad19ee1da2bf371015da4cf0c15441d061967582af3862d5e9e9bbbec5223623a4b71a966e7691597fd699524b66273460
7
+ data.tar.gz: f8418d44f7dc7f72307fd2d4ae9f7451d50b9b918b8371b8afde357d7282107e3751a957fedb9bcd5faf5dc4a18fff6a65a251cc5a565b80f0935a1e6f4df2aa
@@ -721,8 +721,6 @@ module Google
721
721
  # @return [::String,nil]
722
722
  # @!attribute [rw] credentials
723
723
  # Credentials to send with calls. You may provide any of the following types:
724
- # * (`String`) The path to a service account key file in JSON format
725
- # * (`Hash`) A service account key as a Hash
726
724
  # * (`Google::Auth::Credentials`) A googleauth credentials object
727
725
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
728
726
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -731,7 +729,26 @@ module Google
731
729
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
732
730
  # * (`nil`) indicating no credentials
733
731
  #
734
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
732
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
733
+ # is deprecated. Providing an unvalidated credential configuration to
734
+ # Google APIs can compromise the security of your systems and data.
735
+ #
736
+ # @example
737
+ #
738
+ # # The recommended way to provide credentials is to use the `make_creds` method
739
+ # # on the appropriate credentials class for your environment.
740
+ #
741
+ # require "googleauth"
742
+ #
743
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
744
+ # json_key_io: ::File.open("/path/to/keyfile.json")
745
+ # )
746
+ #
747
+ # client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new do |config|
748
+ # config.credentials = credentials
749
+ # end
750
+ #
751
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
735
752
  # external source for authentication to Google Cloud, you must validate it before
736
753
  # providing it to a Google API client library. Providing an unvalidated credential
737
754
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -345,8 +345,6 @@ module Google
345
345
  # @return [::String,nil]
346
346
  # @!attribute [rw] credentials
347
347
  # Credentials to send with calls. You may provide any of the following types:
348
- # * (`String`) The path to a service account key file in JSON format
349
- # * (`Hash`) A service account key as a Hash
350
348
  # * (`Google::Auth::Credentials`) A googleauth credentials object
351
349
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
352
350
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -355,7 +353,26 @@ module Google
355
353
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
356
354
  # * (`nil`) indicating no credentials
357
355
  #
358
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
356
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
357
+ # is deprecated. Providing an unvalidated credential configuration to
358
+ # Google APIs can compromise the security of your systems and data.
359
+ #
360
+ # @example
361
+ #
362
+ # # The recommended way to provide credentials is to use the `make_creds` method
363
+ # # on the appropriate credentials class for your environment.
364
+ #
365
+ # require "googleauth"
366
+ #
367
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
368
+ # json_key_io: ::File.open("/path/to/keyfile.json")
369
+ # )
370
+ #
371
+ # client = ::Google::Cloud::Talent::V4beta1::Completion::Client.new do |config|
372
+ # config.credentials = credentials
373
+ # end
374
+ #
375
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
359
376
  # external source for authentication to Google Cloud, you must validate it before
360
377
  # providing it to a Google API client library. Providing an unvalidated credential
361
378
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -318,8 +318,6 @@ module Google
318
318
  # @return [::String,nil]
319
319
  # @!attribute [rw] credentials
320
320
  # Credentials to send with calls. You may provide any of the following types:
321
- # * (`String`) The path to a service account key file in JSON format
322
- # * (`Hash`) A service account key as a Hash
323
321
  # * (`Google::Auth::Credentials`) A googleauth credentials object
324
322
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
325
323
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -328,7 +326,26 @@ module Google
328
326
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
329
327
  # * (`nil`) indicating no credentials
330
328
  #
331
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
329
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
330
+ # is deprecated. Providing an unvalidated credential configuration to
331
+ # Google APIs can compromise the security of your systems and data.
332
+ #
333
+ # @example
334
+ #
335
+ # # The recommended way to provide credentials is to use the `make_creds` method
336
+ # # on the appropriate credentials class for your environment.
337
+ #
338
+ # require "googleauth"
339
+ #
340
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
341
+ # json_key_io: ::File.open("/path/to/keyfile.json")
342
+ # )
343
+ #
344
+ # client = ::Google::Cloud::Talent::V4beta1::EventService::Client.new do |config|
345
+ # config.credentials = credentials
346
+ # end
347
+ #
348
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
332
349
  # external source for authentication to Google Cloud, you must validate it before
333
350
  # providing it to a Google API client library. Providing an unvalidated credential
334
351
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1849,8 +1849,6 @@ module Google
1849
1849
  # @return [::String,nil]
1850
1850
  # @!attribute [rw] credentials
1851
1851
  # Credentials to send with calls. You may provide any of the following types:
1852
- # * (`String`) The path to a service account key file in JSON format
1853
- # * (`Hash`) A service account key as a Hash
1854
1852
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1855
1853
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1856
1854
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1859,7 +1857,26 @@ module Google
1859
1857
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1860
1858
  # * (`nil`) indicating no credentials
1861
1859
  #
1862
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1860
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1861
+ # is deprecated. Providing an unvalidated credential configuration to
1862
+ # Google APIs can compromise the security of your systems and data.
1863
+ #
1864
+ # @example
1865
+ #
1866
+ # # The recommended way to provide credentials is to use the `make_creds` method
1867
+ # # on the appropriate credentials class for your environment.
1868
+ #
1869
+ # require "googleauth"
1870
+ #
1871
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1872
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1873
+ # )
1874
+ #
1875
+ # client = ::Google::Cloud::Talent::V4beta1::JobService::Client.new do |config|
1876
+ # config.credentials = credentials
1877
+ # end
1878
+ #
1879
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1863
1880
  # external source for authentication to Google Cloud, you must validate it before
1864
1881
  # providing it to a Google API client library. Providing an unvalidated credential
1865
1882
  # 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.
@@ -700,8 +700,6 @@ module Google
700
700
  # @return [::String,nil]
701
701
  # @!attribute [rw] credentials
702
702
  # Credentials to send with calls. You may provide any of the following types:
703
- # * (`String`) The path to a service account key file in JSON format
704
- # * (`Hash`) A service account key as a Hash
705
703
  # * (`Google::Auth::Credentials`) A googleauth credentials object
706
704
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
707
705
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -710,7 +708,26 @@ module Google
710
708
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
711
709
  # * (`nil`) indicating no credentials
712
710
  #
713
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
711
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
712
+ # is deprecated. Providing an unvalidated credential configuration to
713
+ # Google APIs can compromise the security of your systems and data.
714
+ #
715
+ # @example
716
+ #
717
+ # # The recommended way to provide credentials is to use the `make_creds` method
718
+ # # on the appropriate credentials class for your environment.
719
+ #
720
+ # require "googleauth"
721
+ #
722
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
723
+ # json_key_io: ::File.open("/path/to/keyfile.json")
724
+ # )
725
+ #
726
+ # client = ::Google::Cloud::Talent::V4beta1::TenantService::Client.new do |config|
727
+ # config.credentials = credentials
728
+ # end
729
+ #
730
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
714
731
  # external source for authentication to Google Cloud, you must validate it before
715
732
  # providing it to a Google API client library. Providing an unvalidated credential
716
733
  # 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 Talent
23
23
  module V4beta1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.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-talent-v4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC