google-apis-spanner_v1 0.14.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 841f47e49585a9b462f1914af15f5e329bc3bdb97ee9f964dee6044b72259bd6
|
4
|
+
data.tar.gz: 0f2c84cd89461e41a82d96403472dd72a68b1fb2850255f5fb290d10ac96a1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddb44f893976b7f56b2d08d77d11e87666f93c00a0a25dba96c12904b1bd160e4aba2c574e72f1019f26df022a10bfebe8cfd80c4902cfd2c69f32110fdfed7c
|
7
|
+
data.tar.gz: b0430f0754171790362e5611f3c70ddbe4621a04f503df2d127a06fe844d2d19b9cab533bf0780bdd20473a47cb1abad608f4696e22bdf527c50c209dda778ac
|
data/CHANGELOG.md
CHANGED
@@ -980,6 +980,14 @@ module Google
|
|
980
980
|
# @return [String]
|
981
981
|
attr_accessor :create_time
|
982
982
|
|
983
|
+
# Output only. The read-write region which contains the database's leader
|
984
|
+
# replicas. This is the same as the value of default_leader database option set
|
985
|
+
# using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not
|
986
|
+
# explicitly set, this is empty.
|
987
|
+
# Corresponds to the JSON property `defaultLeader`
|
988
|
+
# @return [String]
|
989
|
+
attr_accessor :default_leader
|
990
|
+
|
983
991
|
# Output only. Earliest timestamp at which older versions of the data can be
|
984
992
|
# read. This value is continuously updated by Cloud Spanner and becomes stale
|
985
993
|
# the moment it is queried. If you are using this value to recover data, make
|
@@ -1036,6 +1044,7 @@ module Google
|
|
1036
1044
|
# Update properties of this object
|
1037
1045
|
def update!(**args)
|
1038
1046
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1047
|
+
@default_leader = args[:default_leader] if args.key?(:default_leader)
|
1039
1048
|
@earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
|
1040
1049
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
1041
1050
|
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
|
@@ -1713,6 +1722,12 @@ module Google
|
|
1713
1722
|
# @return [String]
|
1714
1723
|
attr_accessor :display_name
|
1715
1724
|
|
1725
|
+
# Allowed values of the “default_leader” schema option for databases in
|
1726
|
+
# instances that use this instance configuration.
|
1727
|
+
# Corresponds to the JSON property `leaderOptions`
|
1728
|
+
# @return [Array<String>]
|
1729
|
+
attr_accessor :leader_options
|
1730
|
+
|
1716
1731
|
# A unique identifier for the instance configuration. Values are of the form `
|
1717
1732
|
# projects//instanceConfigs/a-z*`
|
1718
1733
|
# Corresponds to the JSON property `name`
|
@@ -1732,6 +1747,7 @@ module Google
|
|
1732
1747
|
# Update properties of this object
|
1733
1748
|
def update!(**args)
|
1734
1749
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1750
|
+
@leader_options = args[:leader_options] if args.key?(:leader_options)
|
1735
1751
|
@name = args[:name] if args.key?(:name)
|
1736
1752
|
@replicas = args[:replicas] if args.key?(:replicas)
|
1737
1753
|
end
|
@@ -3319,7 +3335,8 @@ module Google
|
|
3319
3335
|
# requests where it's not applicable (e.g. CommitRequest). Legal characters for `
|
3320
3336
|
# request_tag` values are all printable characters (ASCII 32 - 126) and the
|
3321
3337
|
# length of a request_tag is limited to 50 characters. Values that exceed this
|
3322
|
-
# limit are truncated.
|
3338
|
+
# limit are truncated. Any leading underscore (_) characters will be removed
|
3339
|
+
# from the string.
|
3323
3340
|
# Corresponds to the JSON property `requestTag`
|
3324
3341
|
# @return [String]
|
3325
3342
|
attr_accessor :request_tag
|
@@ -3331,7 +3348,8 @@ module Google
|
|
3331
3348
|
# transaction, transaction_tag will be ignored. Legal characters for `
|
3332
3349
|
# transaction_tag` values are all printable characters (ASCII 32 - 126) and the
|
3333
3350
|
# length of a transaction_tag is limited to 50 characters. Values that exceed
|
3334
|
-
# this limit are truncated.
|
3351
|
+
# this limit are truncated. Any leading underscore (_) characters will be
|
3352
|
+
# removed from the string.
|
3335
3353
|
# Corresponds to the JSON property `transactionTag`
|
3336
3354
|
# @return [String]
|
3337
3355
|
attr_accessor :transaction_tag
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210703"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -807,6 +807,7 @@ module Google
|
|
807
807
|
# @private
|
808
808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
809
809
|
property :create_time, as: 'createTime'
|
810
|
+
property :default_leader, as: 'defaultLeader'
|
810
811
|
property :earliest_version_time, as: 'earliestVersionTime'
|
811
812
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
|
812
813
|
|
@@ -993,6 +994,7 @@ module Google
|
|
993
994
|
# @private
|
994
995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
995
996
|
property :display_name, as: 'displayName'
|
997
|
+
collection :leader_options, as: 'leaderOptions'
|
996
998
|
property :name, as: 'name'
|
997
999
|
collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
|
998
1000
|
|
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.
|
4
|
+
version: 0.15.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-07-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|