google-cloud-spanner-v1 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 074ba65a11b32fc7a462954b0a1a2b551bd9524646028884a7f91a3053f7e085
4
- data.tar.gz: df7f103b0d1af51be718cecd31706b65a90cf94a635793af3ac6f37fdcb4b697
3
+ metadata.gz: 80f73bcf0c62d9e0ac8b3180009f47be2bfdd94e4bb8257c5b1d0069fe8f9b77
4
+ data.tar.gz: c820527330eba17eb8cb8cf57e6bd86316fd02173ef08e636afda74b8e583741
5
5
  SHA512:
6
- metadata.gz: d9a2738f844a34f499c8743d8fb368776f7a9d374353a2d1c91b1ab7a7d77fd0a4c7704c668c858347b0ef99db0f8abfbf165fd3e4e4fe0d654d6c811cb3e0fb
7
- data.tar.gz: c8f2f845cd7be339fece8b0a62ff1be451afaf08296e7b275485823cc2639b75bb8fcb331ea779684944cf3a3c545e76da139bfa5be71f2fac9bb3593273c3f2
6
+ metadata.gz: 40aadd7fb3c257b75747a38915e60549d4a3ab7088dc7464d6a5be497bc8d38eb6bb8b5f6d2a6c6dd9201478644b25cb30709caa71507efa3cb382879f989a29
7
+ data.tar.gz: b4089e4023583b4d4cf99551b75056a1eb5c732c87e71506902a1355a4c4366c766aaa81c32500867075e1b128ffb02b701535ed825ad2017f3b9225688273fe
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Spanner
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.0"
25
25
  end
26
26
  end
27
27
  end
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  add_message "google.spanner.v1.ResultSetMetadata" do
26
26
  optional :row_type, :message, 1, "google.spanner.v1.StructType"
27
27
  optional :transaction, :message, 2, "google.spanner.v1.Transaction"
28
+ optional :undeclared_parameters, :message, 3, "google.spanner.v1.StructType"
28
29
  end
29
30
  add_message "google.spanner.v1.ResultSetStats" do
30
31
  optional :query_plan, :message, 1, "google.spanner.v1.QueryPlan"
@@ -171,6 +171,18 @@ module Google
171
171
  # @return [::Google::Cloud::Spanner::V1::Transaction]
172
172
  # If the read or SQL query began a transaction as a side-effect, the
173
173
  # information about the new transaction is yielded here.
174
+ # @!attribute [rw] undeclared_parameters
175
+ # @return [::Google::Cloud::Spanner::V1::StructType]
176
+ # A SQL query can be parameterized. In PLAN mode, these parameters can be
177
+ # undeclared. This indicates the field names and types for those undeclared
178
+ # parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
179
+ # Users where UserId = @userId and UserName = @userName "` could return a
180
+ # `undeclared_parameters` value like:
181
+ #
182
+ # "fields": [
183
+ # { "name": "UserId", "type": { "code": "INT64" } },
184
+ # { "name": "UserName", "type": { "code": "STRING" } },
185
+ # ]
174
186
  class ResultSetMetadata
175
187
  include ::Google::Protobuf::MessageExts
176
188
  extend ::Google::Protobuf::MessageExts::ClassMethods
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: 0.11.0
4
+ version: 0.12.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: 2022-08-29 00:00:00.000000000 Z
11
+ date: 2022-10-18 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.10'
19
+ version: '0.12'
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.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a