google-cloud-language-v1beta2 0.14.0 → 0.15.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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 8987e2a626d2ceb11dbfb213f13b86c6cb661e062c40c43d3899719e020c47a5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d90c8b72b750a54639f7276d30fbe8811adc1cd1f90b2e451be668fb52bfaa1c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6ca84128af85dae882fd10d1b8cdb034f6d43c5aaf0a8c79e1861977e79125b619e00d3c5ae90049baa4b2f9fc4e54063084d1111d571e2e4edf15248aa7121a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cc922009ea961e974283c9d1650a2fcdbf68b6b6f90ecfdcfcd7f1aea21c3f726b4b797df368e3be6d33fc6e53971b453e53b87d01711443a89c7fb915c4b226
         
     | 
| 
         @@ -810,8 +810,6 @@ module Google 
     | 
|
| 
       810 
810 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       811 
811 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       812 
812 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       813 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       814 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       815 
813 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       816 
814 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       817 
815 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -820,7 +818,26 @@ module Google 
     | 
|
| 
       820 
818 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       821 
819 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       822 
820 
     | 
    
         
             
                        #
         
     | 
| 
       823 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 821 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 822 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 823 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 824 
     | 
    
         
            +
                        #
         
     | 
| 
      
 825 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 826 
     | 
    
         
            +
                        #
         
     | 
| 
      
 827 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 828 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 829 
     | 
    
         
            +
                        #
         
     | 
| 
      
 830 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 831 
     | 
    
         
            +
                        #
         
     | 
| 
      
 832 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 833 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 834 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 835 
     | 
    
         
            +
                        #
         
     | 
| 
      
 836 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new do |config|
         
     | 
| 
      
 837 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 838 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 839 
     | 
    
         
            +
                        #
         
     | 
| 
      
 840 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       824 
841 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       825 
842 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       826 
843 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-language-v1beta2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.15.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. 
     | 
| 
      
 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. 
     | 
| 
      
 25 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       26 
26 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       27 
27 
     | 
    
         
             
              name: google-cloud-errors
         
     | 
| 
       28 
28 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       88 
88 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       89 
89 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       90 
90 
     | 
    
         
             
            requirements: []
         
     | 
| 
       91 
     | 
    
         
            -
            rubygems_version: 3.6. 
     | 
| 
      
 91 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       92 
92 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       93 
93 
     | 
    
         
             
            summary: Provides natural language understanding technologies, such as sentiment analysis,
         
     | 
| 
       94 
94 
     | 
    
         
             
              entity recognition, entity sentiment analysis, and other text annotations, to developers.
         
     |