google-cloud-datastore-v1 1.4.1 → 1.5.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: ff42824bd8cacdfc12267d97967aa6e860e86245aeb569224584b47f3ab262eb
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c1d0fbbdfe75683472f9f69081336b4cffc34119ba1904775d84ef307551d884
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 3380590a236f8e9bb546ab3d135e70fbe8687cee1e3c6e6c8959c4c770337ff087342f44d57294533fd24215e1aaf0efd41d72f4ecbdd5ac3d8b1c04c287d48b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f0f5567c5a06460ea788188d83d7692c3415b815c69de73e76ed5bac9c41258b8d7f6d34b29dc04dcd50d4af10e471a2f1536f767cf7d2bfa0f5882500fce5eb
         
     | 
| 
         @@ -1089,8 +1089,6 @@ module Google 
     | 
|
| 
       1089 
1089 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1090 
1090 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1091 
1091 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1092 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1093 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1094 
1092 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1095 
1093 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1096 
1094 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1099,7 +1097,26 @@ module Google 
     | 
|
| 
       1099 
1097 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1100 
1098 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1101 
1099 
     | 
    
         
             
                        #
         
     | 
| 
       1102 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1100 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1101 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1102 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1103 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1104 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1105 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1106 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1107 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1108 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1109 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1110 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1111 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1112 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1113 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1114 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1115 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Datastore::V1::Datastore::Client.new do |config|
         
     | 
| 
      
 1116 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1117 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1118 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1119 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1103 
1120 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1104 
1121 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1105 
1122 
     | 
    
         
             
                        #   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-datastore-v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.5.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
         
     |