google-apis-spanner_v1 0.5.0 → 0.6.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: 800f4bc36b1b24d281ee038f5d95920ef9321dd0469b6e55ab130507e31874ca
4
- data.tar.gz: 4baecda7cbeddf24c81e9ba9a66514aa9e0cbfdce5b1b365328f3f13b54e57a8
3
+ metadata.gz: f99ff9f6821502c873da0a908d418d033a1f6d9baff866c14287c1b6e5d4a1fb
4
+ data.tar.gz: ee944ff1114fdedcddf45fd62a9e5713e46118bfa87356193ca619f0b4ab54da
5
5
  SHA512:
6
- metadata.gz: 919a8ee4a4618bb4560f51ad70e19487efe42f401b8773905d58d7cf7bc8dedf80ef42286ae1724fec30951e56f85f7c3a53cbdd7ad83562a2564c0e7a6369d8
7
- data.tar.gz: e21cf255e2ffeb240a18c022a6ef6ed2f231e1a904ca16bb90ef24d104e8034fe814366db10e429957b2db458ba7c040626cfa62310edbfc30a45b3b1300c66c
6
+ metadata.gz: 3b00aa6d4ba8ed6403127765bb9f86126791f6a9ff3b3f20f65986d6304a295f4d50478d60639f459cc817920673a6db06a970c99f30302f86b1f18157edbbea
7
+ data.tar.gz: f2afbdbc190d30b4824c01f09ac50d841638e2b0fc6d9b61f505bc128fa1fd986091b753c92f256e9677da2e8dd12406ed50942ea63f96e9d0b46857dab61c88
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.6.0 (2021-03-13)
4
+
5
+ * Regenerated from discovery document revision 20210309
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.5.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -2493,18 +2493,33 @@ module Google
2493
2493
  class QueryOptions
2494
2494
  include Google::Apis::Core::Hashable
2495
2495
 
2496
+ # Query optimizer statistics package to use. This parameter allows individual
2497
+ # queries to use a different query optimizer statistics. Specifying `latest` as
2498
+ # a value instructs Cloud Spanner to use the latest generated statistics package.
2499
+ # If not specified, Cloud Spanner uses statistics package set at the database
2500
+ # level options, or latest if the database option is not set. The statistics
2501
+ # package requested by the query has to be exempt from garbage collection. This
2502
+ # can be achieved with the following DDL statement: ``` ALTER STATISTICS SET
2503
+ # OPTIONS (allow_gc=false) ``` The list of available statistics packages can be
2504
+ # queried from `SPANNER_SYS.OPTIMIZER_STATISTICS_PACKAGES`. Executing a SQL
2505
+ # statement with an invalid optimizer statistics package or with statistics
2506
+ # package that allows garbage collection fails with an `INVALID_ARGUMENT` error.
2507
+ # Corresponds to the JSON property `optimizerStatisticsPackage`
2508
+ # @return [String]
2509
+ attr_accessor :optimizer_statistics_package
2510
+
2496
2511
  # An option to control the selection of optimizer version. This parameter allows
2497
- # individual queries to pick different query optimizer versions. Specifying "
2498
- # latest" as a value instructs Cloud Spanner to use the latest supported query
2499
- # optimizer version. If not specified, Cloud Spanner uses optimizer version set
2500
- # at the database level options. Any other positive integer (from the list of
2501
- # supported optimizer versions) overrides the default optimizer version for
2512
+ # individual queries to pick different query optimizer versions. Specifying `
2513
+ # latest` as a value instructs Cloud Spanner to use the latest supported query
2514
+ # optimizer version. If not specified, Cloud Spanner uses the optimizer version
2515
+ # set at the database level options. Any other positive integer (from the list
2516
+ # of supported optimizer versions) overrides the default optimizer version for
2502
2517
  # query execution. The list of supported optimizer versions can be queried from
2503
2518
  # SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS. Executing a SQL statement with an
2504
- # invalid optimizer version will fail with a syntax error (`INVALID_ARGUMENT`)
2505
- # status. See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-
2506
- # optimizer for more information on managing the query optimizer. The `
2507
- # optimizer_version` statement hint has precedence over this setting.
2519
+ # invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://
2520
+ # cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more
2521
+ # information on managing the query optimizer. The `optimizer_version` statement
2522
+ # hint has precedence over this setting.
2508
2523
  # Corresponds to the JSON property `optimizerVersion`
2509
2524
  # @return [String]
2510
2525
  attr_accessor :optimizer_version
@@ -2515,6 +2530,7 @@ module Google
2515
2530
 
2516
2531
  # Update properties of this object
2517
2532
  def update!(**args)
2533
+ @optimizer_statistics_package = args[:optimizer_statistics_package] if args.key?(:optimizer_statistics_package)
2518
2534
  @optimizer_version = args[:optimizer_version] if args.key?(:optimizer_version)
2519
2535
  end
2520
2536
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpannerV1
18
18
  # Version of the google-apis-spanner_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210217"
25
+ REVISION = "20210309"
26
26
  end
27
27
  end
28
28
  end
@@ -1082,6 +1082,7 @@ module Google
1082
1082
  class QueryOptions
1083
1083
  # @private
1084
1084
  class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :optimizer_statistics_package, as: 'optimizerStatisticsPackage'
1085
1086
  property :optimizer_version, as: 'optimizerVersion'
1086
1087
  end
1087
1088
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-spanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
57
57
  post_install_message:
58
58
  rdoc_options: []