google-cloud-talent-v4 1.6.0 → 1.6.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 +4 -4
 - data/lib/google/cloud/talent/v4/company_service/client.rb +20 -3
 - data/lib/google/cloud/talent/v4/completion/client.rb +20 -3
 - data/lib/google/cloud/talent/v4/event_service/client.rb +20 -3
 - data/lib/google/cloud/talent/v4/job_service/client.rb +20 -3
 - data/lib/google/cloud/talent/v4/job_service/operations.rb +20 -3
 - data/lib/google/cloud/talent/v4/tenant_service/client.rb +20 -3
 - data/lib/google/cloud/talent/v4/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a77068e80e39a37369b18a3b12869ebc1a694523ef9705a07d69623f01a9f3f3
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 2aa0ac0f7b38e898f1364979072e286ec11771866ca09923f0aa527099cd6905
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 340fb846f76363a4bb59b868a495024d607124663f4b30cafc5aa3eca13c95de15544ae52c50f11da6d0ab9dbdc434cedfb9abbfd93c94b32c4f1e398fdf1d33
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c6512e10b1f6147163bb0362f9de12ba2e3756a80ecc66583d329ddfae7515a2785778589c782b792441adbaab4b69b07598b38bd8c685256a9346c20b3478a7
         
     | 
| 
         @@ -710,8 +710,6 @@ module Google 
     | 
|
| 
       710 
710 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       711 
711 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       712 
712 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       713 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       714 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       715 
713 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       716 
714 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       717 
715 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -720,7 +718,26 @@ module Google 
     | 
|
| 
       720 
718 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       721 
719 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       722 
720 
     | 
    
         
             
                        #
         
     | 
| 
       723 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 721 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 722 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 723 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 724 
     | 
    
         
            +
                        #
         
     | 
| 
      
 725 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 726 
     | 
    
         
            +
                        #
         
     | 
| 
      
 727 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 728 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 729 
     | 
    
         
            +
                        #
         
     | 
| 
      
 730 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 731 
     | 
    
         
            +
                        #
         
     | 
| 
      
 732 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 733 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 734 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 735 
     | 
    
         
            +
                        #
         
     | 
| 
      
 736 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Talent::V4::CompanyService::Client.new do |config|
         
     | 
| 
      
 737 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 738 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 739 
     | 
    
         
            +
                        #
         
     | 
| 
      
 740 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       724 
741 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       725 
742 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       726 
743 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -339,8 +339,6 @@ module Google 
     | 
|
| 
       339 
339 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       340 
340 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       341 
341 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       342 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       343 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       344 
342 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       345 
343 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       346 
344 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -349,7 +347,26 @@ module Google 
     | 
|
| 
       349 
347 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       350 
348 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       351 
349 
     | 
    
         
             
                        #
         
     | 
| 
       352 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 350 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 351 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 352 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 353 
     | 
    
         
            +
                        #
         
     | 
| 
      
 354 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 355 
     | 
    
         
            +
                        #
         
     | 
| 
      
 356 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 357 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 358 
     | 
    
         
            +
                        #
         
     | 
| 
      
 359 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 360 
     | 
    
         
            +
                        #
         
     | 
| 
      
 361 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 362 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 363 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 364 
     | 
    
         
            +
                        #
         
     | 
| 
      
 365 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Talent::V4::Completion::Client.new do |config|
         
     | 
| 
      
 366 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 367 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 368 
     | 
    
         
            +
                        #
         
     | 
| 
      
 369 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       353 
370 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       354 
371 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       355 
372 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -317,8 +317,6 @@ module Google 
     | 
|
| 
       317 
317 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       318 
318 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       319 
319 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       320 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       321 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       322 
320 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       323 
321 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       324 
322 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -327,7 +325,26 @@ module Google 
     | 
|
| 
       327 
325 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       328 
326 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       329 
327 
     | 
    
         
             
                        #
         
     | 
| 
       330 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 328 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 329 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 330 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 331 
     | 
    
         
            +
                        #
         
     | 
| 
      
 332 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 333 
     | 
    
         
            +
                        #
         
     | 
| 
      
 334 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 335 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 336 
     | 
    
         
            +
                        #
         
     | 
| 
      
 337 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 338 
     | 
    
         
            +
                        #
         
     | 
| 
      
 339 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 340 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 341 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 342 
     | 
    
         
            +
                        #
         
     | 
| 
      
 343 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Talent::V4::EventService::Client.new do |config|
         
     | 
| 
      
 344 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 345 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 346 
     | 
    
         
            +
                        #
         
     | 
| 
      
 347 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       331 
348 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       332 
349 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       333 
350 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -1828,8 +1828,6 @@ module Google 
     | 
|
| 
       1828 
1828 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1829 
1829 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1830 
1830 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1831 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1832 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1833 
1831 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1834 
1832 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1835 
1833 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1838,7 +1836,26 @@ module Google 
     | 
|
| 
       1838 
1836 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1839 
1837 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1840 
1838 
     | 
    
         
             
                        #
         
     | 
| 
       1841 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1839 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1840 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1841 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1842 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1843 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1844 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1845 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1846 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1847 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1848 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1849 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1850 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1851 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1852 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1853 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1854 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Talent::V4::JobService::Client.new do |config|
         
     | 
| 
      
 1855 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1856 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1857 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1858 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1842 
1859 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1843 
1860 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1844 
1861 
     | 
    
         
             
                        #   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:  
     | 
| 
      
 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.
         
     | 
| 
         @@ -698,8 +698,6 @@ module Google 
     | 
|
| 
       698 
698 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       699 
699 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       700 
700 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       701 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       702 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       703 
701 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       704 
702 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       705 
703 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -708,7 +706,26 @@ module Google 
     | 
|
| 
       708 
706 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       709 
707 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       710 
708 
     | 
    
         
             
                        #
         
     | 
| 
       711 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 709 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 710 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 711 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 712 
     | 
    
         
            +
                        #
         
     | 
| 
      
 713 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 714 
     | 
    
         
            +
                        #
         
     | 
| 
      
 715 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 716 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 717 
     | 
    
         
            +
                        #
         
     | 
| 
      
 718 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 719 
     | 
    
         
            +
                        #
         
     | 
| 
      
 720 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 721 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 722 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 723 
     | 
    
         
            +
                        #
         
     | 
| 
      
 724 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Talent::V4::TenantService::Client.new do |config|
         
     | 
| 
      
 725 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 726 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 727 
     | 
    
         
            +
                        #
         
     | 
| 
      
 728 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       712 
729 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       713 
730 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       714 
731 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     |