google-cloud-spanner-v1 1.3.0 → 1.5.0
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/README.md +30 -20
 - data/lib/google/cloud/spanner/v1/spanner/client.rb +28 -17
 - data/lib/google/cloud/spanner/v1/version.rb +1 -1
 - data/lib/google/spanner/v1/type_pb.rb +1 -1
 - data/proto_docs/google/api/client.rb +19 -0
 - data/proto_docs/google/spanner/v1/type.rb +4 -0
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 30491544a9cee28d7b28d3ddc25097db8bb8289cb9b2c1b19e333ac3f9c1a3b3
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 07632e9e7590d1dff77707dac90aba899c80476684346df58b5382983fbe6fda
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 871fc2729d63b8df0b4166735de5ec86e73a715b4bbfa437f85f1d75173788a560a4628a6b27f7692c753b306c1adacaa3d5b9e585adcd725c7012a73eb2fb6d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 5bf61407575d29405288136ea494d7d00baff111d9210fc22c0d2f935e8f54793818255c17cf3659b458acde56da5df72d9530094f15065a4f42d5cac034e694
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -42,33 +42,43 @@ for class and method documentation. 
     | 
|
| 
       42 
42 
     | 
    
         
             
            See also the [Product Documentation](https://cloud.google.com/spanner)
         
     | 
| 
       43 
43 
     | 
    
         
             
            for general usage information.
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
     | 
    
         
            -
            ##  
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
      
 45 
     | 
    
         
            +
            ## Debug Logging
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            This library comes with opt-in Debug Logging that can help you troubleshoot
         
     | 
| 
      
 48 
     | 
    
         
            +
            your application's integration with the API. When logging is activated, key
         
     | 
| 
      
 49 
     | 
    
         
            +
            events such as requests and responses, along with data payloads and metadata
         
     | 
| 
      
 50 
     | 
    
         
            +
            such as headers and client configuration, are logged to the standard error
         
     | 
| 
      
 51 
     | 
    
         
            +
            stream.
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
            **WARNING:** Client Library Debug Logging includes your data payloads in
         
     | 
| 
      
 54 
     | 
    
         
            +
            plaintext, which could include sensitive data such as PII for yourself or your
         
     | 
| 
      
 55 
     | 
    
         
            +
            customers, private keys, or other security data that could be compromising if
         
     | 
| 
      
 56 
     | 
    
         
            +
            leaked. Always practice good data hygiene with your application logs, and follow
         
     | 
| 
      
 57 
     | 
    
         
            +
            the principle of least access. Google also recommends that Client Library Debug
         
     | 
| 
      
 58 
     | 
    
         
            +
            Logging be enabled only temporarily during active debugging, and not used
         
     | 
| 
      
 59 
     | 
    
         
            +
            permanently in production.
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
         
     | 
| 
      
 62 
     | 
    
         
            +
            to the value `all`. Alternatively, you can set the value to a comma-delimited
         
     | 
| 
      
 63 
     | 
    
         
            +
            list of client library gem names. This will select the default logging behavior,
         
     | 
| 
      
 64 
     | 
    
         
            +
            which writes logs to the standard error stream. On a local workstation, this may
         
     | 
| 
      
 65 
     | 
    
         
            +
            result in logs appearing on the console. When running on a Google Cloud hosting
         
     | 
| 
      
 66 
     | 
    
         
            +
            service such as [Google Cloud Run](https://cloud.google.com/run), this generally
         
     | 
| 
      
 67 
     | 
    
         
            +
            results in logs appearing alongside your application logs in the
         
     | 
| 
      
 68 
     | 
    
         
            +
            [Google Cloud Logging](https://cloud.google.com/logging/) service.
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
            You can customize logging by modifying the `logger` configuration when
         
     | 
| 
      
 71 
     | 
    
         
            +
            constructing a client object. For example:
         
     | 
| 
       54 
72 
     | 
    
         | 
| 
       55 
73 
     | 
    
         
             
            ```ruby
         
     | 
| 
      
 74 
     | 
    
         
            +
            require "google/cloud/spanner/v1"
         
     | 
| 
       56 
75 
     | 
    
         
             
            require "logger"
         
     | 
| 
       57 
76 
     | 
    
         | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
               
     | 
| 
       60 
     | 
    
         
            -
              def logger
         
     | 
| 
       61 
     | 
    
         
            -
                LOGGER
         
     | 
| 
       62 
     | 
    
         
            -
              end
         
     | 
| 
       63 
     | 
    
         
            -
            end
         
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
            # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
         
     | 
| 
       66 
     | 
    
         
            -
            module GRPC
         
     | 
| 
       67 
     | 
    
         
            -
              extend MyLogger
         
     | 
| 
      
 77 
     | 
    
         
            +
            client = ::Google::Cloud::Spanner::V1::Spanner::Client.new do |config|
         
     | 
| 
      
 78 
     | 
    
         
            +
              config.logger = Logger.new "my-app.log"
         
     | 
| 
       68 
79 
     | 
    
         
             
            end
         
     | 
| 
       69 
80 
     | 
    
         
             
            ```
         
     | 
| 
       70 
81 
     | 
    
         | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
82 
     | 
    
         
             
            ## Google Cloud Samples
         
     | 
| 
       73 
83 
     | 
    
         | 
| 
       74 
84 
     | 
    
         
             
            To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
         
     | 
| 
         @@ -231,8 +231,28 @@ module Google 
     | 
|
| 
       231 
231 
     | 
    
         
             
                            universe_domain: @config.universe_domain,
         
     | 
| 
       232 
232 
     | 
    
         
             
                            channel_args: @config.channel_args,
         
     | 
| 
       233 
233 
     | 
    
         
             
                            interceptors: @config.interceptors,
         
     | 
| 
       234 
     | 
    
         
            -
                            channel_pool_config: @config.channel_pool
         
     | 
| 
      
 234 
     | 
    
         
            +
                            channel_pool_config: @config.channel_pool,
         
     | 
| 
      
 235 
     | 
    
         
            +
                            logger: @config.logger
         
     | 
| 
       235 
236 
     | 
    
         
             
                          )
         
     | 
| 
      
 237 
     | 
    
         
            +
             
     | 
| 
      
 238 
     | 
    
         
            +
                          @spanner_stub.stub_logger&.info do |entry|
         
     | 
| 
      
 239 
     | 
    
         
            +
                            entry.set_system_name
         
     | 
| 
      
 240 
     | 
    
         
            +
                            entry.set_service
         
     | 
| 
      
 241 
     | 
    
         
            +
                            entry.message = "Created client for #{entry.service}"
         
     | 
| 
      
 242 
     | 
    
         
            +
                            entry.set_credentials_fields credentials
         
     | 
| 
      
 243 
     | 
    
         
            +
                            entry.set "customEndpoint", @config.endpoint if @config.endpoint
         
     | 
| 
      
 244 
     | 
    
         
            +
                            entry.set "defaultTimeout", @config.timeout if @config.timeout
         
     | 
| 
      
 245 
     | 
    
         
            +
                            entry.set "quotaProject", @quota_project_id if @quota_project_id
         
     | 
| 
      
 246 
     | 
    
         
            +
                          end
         
     | 
| 
      
 247 
     | 
    
         
            +
                        end
         
     | 
| 
      
 248 
     | 
    
         
            +
             
     | 
| 
      
 249 
     | 
    
         
            +
                        ##
         
     | 
| 
      
 250 
     | 
    
         
            +
                        # The logger used for request/response debug logging.
         
     | 
| 
      
 251 
     | 
    
         
            +
                        #
         
     | 
| 
      
 252 
     | 
    
         
            +
                        # @return [Logger]
         
     | 
| 
      
 253 
     | 
    
         
            +
                        #
         
     | 
| 
      
 254 
     | 
    
         
            +
                        def logger
         
     | 
| 
      
 255 
     | 
    
         
            +
                          @spanner_stub.logger
         
     | 
| 
       236 
256 
     | 
    
         
             
                        end
         
     | 
| 
       237 
257 
     | 
    
         | 
| 
       238 
258 
     | 
    
         
             
                        # Service calls
         
     | 
| 
         @@ -337,7 +357,6 @@ module Google 
     | 
|
| 
       337 
357 
     | 
    
         | 
| 
       338 
358 
     | 
    
         
             
                          @spanner_stub.call_rpc :create_session, request, options: options do |response, operation|
         
     | 
| 
       339 
359 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       340 
     | 
    
         
            -
                            return response
         
     | 
| 
       341 
360 
     | 
    
         
             
                          end
         
     | 
| 
       342 
361 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       343 
362 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -435,7 +454,6 @@ module Google 
     | 
|
| 
       435 
454 
     | 
    
         | 
| 
       436 
455 
     | 
    
         
             
                          @spanner_stub.call_rpc :batch_create_sessions, request, options: options do |response, operation|
         
     | 
| 
       437 
456 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       438 
     | 
    
         
            -
                            return response
         
     | 
| 
       439 
457 
     | 
    
         
             
                          end
         
     | 
| 
       440 
458 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       441 
459 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -523,7 +541,6 @@ module Google 
     | 
|
| 
       523 
541 
     | 
    
         | 
| 
       524 
542 
     | 
    
         
             
                          @spanner_stub.call_rpc :get_session, request, options: options do |response, operation|
         
     | 
| 
       525 
543 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       526 
     | 
    
         
            -
                            return response
         
     | 
| 
       527 
544 
     | 
    
         
             
                          end
         
     | 
| 
       528 
545 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       529 
546 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -633,7 +650,7 @@ module Google 
     | 
|
| 
       633 
650 
     | 
    
         
             
                          @spanner_stub.call_rpc :list_sessions, request, options: options do |response, operation|
         
     | 
| 
       634 
651 
     | 
    
         
             
                            response = ::Gapic::PagedEnumerable.new @spanner_stub, :list_sessions, request, response, operation, options
         
     | 
| 
       635 
652 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       636 
     | 
    
         
            -
                             
     | 
| 
      
 653 
     | 
    
         
            +
                            throw :response, response
         
     | 
| 
       637 
654 
     | 
    
         
             
                          end
         
     | 
| 
       638 
655 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       639 
656 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -721,7 +738,6 @@ module Google 
     | 
|
| 
       721 
738 
     | 
    
         | 
| 
       722 
739 
     | 
    
         
             
                          @spanner_stub.call_rpc :delete_session, request, options: options do |response, operation|
         
     | 
| 
       723 
740 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       724 
     | 
    
         
            -
                            return response
         
     | 
| 
       725 
741 
     | 
    
         
             
                          end
         
     | 
| 
       726 
742 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       727 
743 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -908,7 +924,6 @@ module Google 
     | 
|
| 
       908 
924 
     | 
    
         | 
| 
       909 
925 
     | 
    
         
             
                          @spanner_stub.call_rpc :execute_sql, request, options: options do |response, operation|
         
     | 
| 
       910 
926 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       911 
     | 
    
         
            -
                            return response
         
     | 
| 
       912 
927 
     | 
    
         
             
                          end
         
     | 
| 
       913 
928 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       914 
929 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1090,7 +1105,6 @@ module Google 
     | 
|
| 
       1090 
1105 
     | 
    
         | 
| 
       1091 
1106 
     | 
    
         
             
                          @spanner_stub.call_rpc :execute_streaming_sql, request, options: options do |response, operation|
         
     | 
| 
       1092 
1107 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1093 
     | 
    
         
            -
                            return response
         
     | 
| 
       1094 
1108 
     | 
    
         
             
                          end
         
     | 
| 
       1095 
1109 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1096 
1110 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1221,7 +1235,6 @@ module Google 
     | 
|
| 
       1221 
1235 
     | 
    
         | 
| 
       1222 
1236 
     | 
    
         
             
                          @spanner_stub.call_rpc :execute_batch_dml, request, options: options do |response, operation|
         
     | 
| 
       1223 
1237 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1224 
     | 
    
         
            -
                            return response
         
     | 
| 
       1225 
1238 
     | 
    
         
             
                          end
         
     | 
| 
       1226 
1239 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1227 
1240 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1389,7 +1402,6 @@ module Google 
     | 
|
| 
       1389 
1402 
     | 
    
         | 
| 
       1390 
1403 
     | 
    
         
             
                          @spanner_stub.call_rpc :read, request, options: options do |response, operation|
         
     | 
| 
       1391 
1404 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1392 
     | 
    
         
            -
                            return response
         
     | 
| 
       1393 
1405 
     | 
    
         
             
                          end
         
     | 
| 
       1394 
1406 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1395 
1407 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1551,7 +1563,6 @@ module Google 
     | 
|
| 
       1551 
1563 
     | 
    
         | 
| 
       1552 
1564 
     | 
    
         
             
                          @spanner_stub.call_rpc :streaming_read, request, options: options do |response, operation|
         
     | 
| 
       1553 
1565 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1554 
     | 
    
         
            -
                            return response
         
     | 
| 
       1555 
1566 
     | 
    
         
             
                          end
         
     | 
| 
       1556 
1567 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1557 
1568 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1656,7 +1667,6 @@ module Google 
     | 
|
| 
       1656 
1667 
     | 
    
         | 
| 
       1657 
1668 
     | 
    
         
             
                          @spanner_stub.call_rpc :begin_transaction, request, options: options do |response, operation|
         
     | 
| 
       1658 
1669 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1659 
     | 
    
         
            -
                            return response
         
     | 
| 
       1660 
1670 
     | 
    
         
             
                          end
         
     | 
| 
       1661 
1671 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1662 
1672 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1790,7 +1800,6 @@ module Google 
     | 
|
| 
       1790 
1800 
     | 
    
         | 
| 
       1791 
1801 
     | 
    
         
             
                          @spanner_stub.call_rpc :commit, request, options: options do |response, operation|
         
     | 
| 
       1792 
1802 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1793 
     | 
    
         
            -
                            return response
         
     | 
| 
       1794 
1803 
     | 
    
         
             
                          end
         
     | 
| 
       1795 
1804 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1796 
1805 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -1886,7 +1895,6 @@ module Google 
     | 
|
| 
       1886 
1895 
     | 
    
         | 
| 
       1887 
1896 
     | 
    
         
             
                          @spanner_stub.call_rpc :rollback, request, options: options do |response, operation|
         
     | 
| 
       1888 
1897 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       1889 
     | 
    
         
            -
                            return response
         
     | 
| 
       1890 
1898 
     | 
    
         
             
                          end
         
     | 
| 
       1891 
1899 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       1892 
1900 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -2024,7 +2032,6 @@ module Google 
     | 
|
| 
       2024 
2032 
     | 
    
         | 
| 
       2025 
2033 
     | 
    
         
             
                          @spanner_stub.call_rpc :partition_query, request, options: options do |response, operation|
         
     | 
| 
       2026 
2034 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       2027 
     | 
    
         
            -
                            return response
         
     | 
| 
       2028 
2035 
     | 
    
         
             
                          end
         
     | 
| 
       2029 
2036 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       2030 
2037 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -2151,7 +2158,6 @@ module Google 
     | 
|
| 
       2151 
2158 
     | 
    
         | 
| 
       2152 
2159 
     | 
    
         
             
                          @spanner_stub.call_rpc :partition_read, request, options: options do |response, operation|
         
     | 
| 
       2153 
2160 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       2154 
     | 
    
         
            -
                            return response
         
     | 
| 
       2155 
2161 
     | 
    
         
             
                          end
         
     | 
| 
       2156 
2162 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       2157 
2163 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -2271,7 +2277,6 @@ module Google 
     | 
|
| 
       2271 
2277 
     | 
    
         | 
| 
       2272 
2278 
     | 
    
         
             
                          @spanner_stub.call_rpc :batch_write, request, options: options do |response, operation|
         
     | 
| 
       2273 
2279 
     | 
    
         
             
                            yield response, operation if block_given?
         
     | 
| 
       2274 
     | 
    
         
            -
                            return response
         
     | 
| 
       2275 
2280 
     | 
    
         
             
                          end
         
     | 
| 
       2276 
2281 
     | 
    
         
             
                        rescue ::GRPC::BadStatus => e
         
     | 
| 
       2277 
2282 
     | 
    
         
             
                          raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
         @@ -2360,6 +2365,11 @@ module Google 
     | 
|
| 
       2360 
2365 
     | 
    
         
             
                        #   default endpoint URL. The default value of nil uses the environment
         
     | 
| 
       2361 
2366 
     | 
    
         
             
                        #   universe (usually the default "googleapis.com" universe).
         
     | 
| 
       2362 
2367 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
      
 2368 
     | 
    
         
            +
                        # @!attribute [rw] logger
         
     | 
| 
      
 2369 
     | 
    
         
            +
                        #   A custom logger to use for request/response debug logging, or the value
         
     | 
| 
      
 2370 
     | 
    
         
            +
                        #   `:default` (the default) to construct a default logger, or `nil` to
         
     | 
| 
      
 2371 
     | 
    
         
            +
                        #   explicitly disable logging.
         
     | 
| 
      
 2372 
     | 
    
         
            +
                        #   @return [::Logger,:default,nil]
         
     | 
| 
       2363 
2373 
     | 
    
         
             
                        #
         
     | 
| 
       2364 
2374 
     | 
    
         
             
                        class Configuration
         
     | 
| 
       2365 
2375 
     | 
    
         
             
                          extend ::Gapic::Config
         
     | 
| 
         @@ -2384,6 +2394,7 @@ module Google 
     | 
|
| 
       2384 
2394 
     | 
    
         
             
                          config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
         
     | 
| 
       2385 
2395 
     | 
    
         
             
                          config_attr :quota_project, nil, ::String, nil
         
     | 
| 
       2386 
2396 
     | 
    
         
             
                          config_attr :universe_domain, nil, ::String, nil
         
     | 
| 
      
 2397 
     | 
    
         
            +
                          config_attr :logger, :default, ::Logger, nil, :default
         
     | 
| 
       2387 
2398 
     | 
    
         | 
| 
       2388 
2399 
     | 
    
         
             
                          # @private
         
     | 
| 
       2389 
2400 
     | 
    
         
             
                          def initialize parent_config = nil
         
     | 
| 
         @@ -7,7 +7,7 @@ require 'google/protobuf' 
     | 
|
| 
       7 
7 
     | 
    
         
             
            require 'google/api/field_behavior_pb'
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            descriptor_data = "\n\x1cgoogle/spanner/v1/type.proto\x12\x11google.spanner.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xf7\x01\n\x04Type\x12.\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1b.google.spanner.v1.TypeCodeB\x03\xe0\x41\x02\x12\x33\n\x12\x61rray_element_type\x18\x02 \x01(\x0b\x32\x17.google.spanner.v1.Type\x12\x32\n\x0bstruct_type\x18\x03 \x01(\x0b\x32\x1d.google.spanner.v1.StructType\x12>\n\x0ftype_annotation\x18\x04 \x01(\x0e\x32%.google.spanner.v1.TypeAnnotationCode\x12\x16\n\x0eproto_type_fqn\x18\x05 \x01(\t\"\x7f\n\nStructType\x12\x33\n\x06\x66ields\x18\x01 \x03(\x0b\x32#.google.spanner.v1.StructType.Field\x1a<\n\x05\x46ield\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x04type\x18\x02 \x01(\x0b\x32\x17.google.spanner.v1.Type*\ 
     | 
| 
      
 10 
     | 
    
         
            +
            descriptor_data = "\n\x1cgoogle/spanner/v1/type.proto\x12\x11google.spanner.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xf7\x01\n\x04Type\x12.\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1b.google.spanner.v1.TypeCodeB\x03\xe0\x41\x02\x12\x33\n\x12\x61rray_element_type\x18\x02 \x01(\x0b\x32\x17.google.spanner.v1.Type\x12\x32\n\x0bstruct_type\x18\x03 \x01(\x0b\x32\x1d.google.spanner.v1.StructType\x12>\n\x0ftype_annotation\x18\x04 \x01(\x0e\x32%.google.spanner.v1.TypeAnnotationCode\x12\x16\n\x0eproto_type_fqn\x18\x05 \x01(\t\"\x7f\n\nStructType\x12\x33\n\x06\x66ields\x18\x01 \x03(\x0b\x32#.google.spanner.v1.StructType.Field\x1a<\n\x05\x46ield\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x04type\x18\x02 \x01(\x0b\x32\x17.google.spanner.v1.Type*\xdf\x01\n\x08TypeCode\x12\x19\n\x15TYPE_CODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\t\n\x05INT64\x10\x02\x12\x0b\n\x07\x46LOAT64\x10\x03\x12\x0b\n\x07\x46LOAT32\x10\x0f\x12\r\n\tTIMESTAMP\x10\x04\x12\x08\n\x04\x44\x41TE\x10\x05\x12\n\n\x06STRING\x10\x06\x12\t\n\x05\x42YTES\x10\x07\x12\t\n\x05\x41RRAY\x10\x08\x12\n\n\x06STRUCT\x10\t\x12\x0b\n\x07NUMERIC\x10\n\x12\x08\n\x04JSON\x10\x0b\x12\t\n\x05PROTO\x10\r\x12\x08\n\x04\x45NUM\x10\x0e\x12\x0c\n\x08INTERVAL\x10\x10\x12\x08\n\x04UUID\x10\x11*d\n\x12TypeAnnotationCode\x12$\n TYPE_ANNOTATION_CODE_UNSPECIFIED\x10\x00\x12\x0e\n\nPG_NUMERIC\x10\x02\x12\x0c\n\x08PG_JSONB\x10\x03\x12\n\n\x06PG_OID\x10\x04\x42\xac\x01\n\x15\x63om.google.spanner.v1B\tTypeProtoP\x01Z5cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb\xaa\x02\x17Google.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1\xea\x02\x1aGoogle::Cloud::Spanner::V1b\x06proto3"
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
         @@ -306,9 +306,28 @@ module Google 
     | 
|
| 
       306 
306 
     | 
    
         
             
                # @!attribute [rw] common
         
     | 
| 
       307 
307 
     | 
    
         
             
                #   @return [::Google::Api::CommonLanguageSettings]
         
     | 
| 
       308 
308 
     | 
    
         
             
                #     Some settings.
         
     | 
| 
      
 309 
     | 
    
         
            +
                # @!attribute [rw] renamed_services
         
     | 
| 
      
 310 
     | 
    
         
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         
     | 
| 
      
 311 
     | 
    
         
            +
                #     Map of service names to renamed services. Keys are the package relative
         
     | 
| 
      
 312 
     | 
    
         
            +
                #     service names and values are the name to be used for the service client
         
     | 
| 
      
 313 
     | 
    
         
            +
                #     and call options.
         
     | 
| 
      
 314 
     | 
    
         
            +
                #
         
     | 
| 
      
 315 
     | 
    
         
            +
                #     publishing:
         
     | 
| 
      
 316 
     | 
    
         
            +
                #       go_settings:
         
     | 
| 
      
 317 
     | 
    
         
            +
                #         renamed_services:
         
     | 
| 
      
 318 
     | 
    
         
            +
                #           Publisher: TopicAdmin
         
     | 
| 
       309 
319 
     | 
    
         
             
                class GoSettings
         
     | 
| 
       310 
320 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       311 
321 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 322 
     | 
    
         
            +
             
     | 
| 
      
 323 
     | 
    
         
            +
                  # @!attribute [rw] key
         
     | 
| 
      
 324 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 325 
     | 
    
         
            +
                  # @!attribute [rw] value
         
     | 
| 
      
 326 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 327 
     | 
    
         
            +
                  class RenamedServicesEntry
         
     | 
| 
      
 328 
     | 
    
         
            +
                    include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 329 
     | 
    
         
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 330 
     | 
    
         
            +
                  end
         
     | 
| 
       312 
331 
     | 
    
         
             
                end
         
     | 
| 
       313 
332 
     | 
    
         | 
| 
       314 
333 
     | 
    
         
             
                # Describes the generator configuration for a method.
         
     | 
| 
         @@ -179,6 +179,10 @@ module Google 
     | 
|
| 
       179 
179 
     | 
    
         
             
                      # For example, `P1Y2M3DT4H5M6.5S` represents time duration of 1 year, 2
         
     | 
| 
       180 
180 
     | 
    
         
             
                      # months, 3 days, 4 hours, 5 minutes, and 6.5 seconds.
         
     | 
| 
       181 
181 
     | 
    
         
             
                      INTERVAL = 16
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
                      # Encoded as `string`, in lower-case hexa-decimal format, as described
         
     | 
| 
      
 184 
     | 
    
         
            +
                      # in RFC 9562, section 4.
         
     | 
| 
      
 185 
     | 
    
         
            +
                      UUID = 17
         
     | 
| 
       182 
186 
     | 
    
         
             
                    end
         
     | 
| 
       183 
187 
     | 
    
         | 
| 
       184 
188 
     | 
    
         
             
                    # `TypeAnnotationCode` is used as a part of {::Google::Cloud::Spanner::V1::Type Type} to
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-spanner-v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.5.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024-12- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-12-11 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: gapic-common
         
     | 
| 
         @@ -16,7 +16,7 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 0.24.0
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
22 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -26,7 +26,7 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
27 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.24.0
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       111 
111 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       112 
112 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       113 
113 
     | 
    
         
             
            requirements: []
         
     | 
| 
       114 
     | 
    
         
            -
            rubygems_version: 3.5. 
     | 
| 
      
 114 
     | 
    
         
            +
            rubygems_version: 3.5.23
         
     | 
| 
       115 
115 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       116 
116 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       117 
117 
     | 
    
         
             
            summary: Cloud Spanner is a managed, mission-critical, globally consistent and scalable
         
     |