google-apis-spanner_v1 0.13.0 → 0.17.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: 9f64da38486d04149fd47e3d7f8c4b8e4bdb0568873bb25be9c15a38a698d6cc
|
4
|
+
data.tar.gz: 5e62ddb4822ea2d3c947eb23a8fec73f017a45a6a96d7a5a7b90a64f598d0d0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03aa8e9905cfbcb28bf6290ac22728d53600e76bbc1a6dd96fff62823f2579adff3fd91f154d422ed271113aa0ff7c7691700891b3a61d2818ec833d1b90a448
|
7
|
+
data.tar.gz: 4896b71dce9056003e548e23375b93c00df274c53681e2027c37d9b9772fba3a4a4b259e34e2a8ae52a736d57d34901d53ac872960a4c2140285c9e17a2729b4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-spanner_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-08-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210816
|
6
|
+
|
7
|
+
### v0.16.0 (2021-07-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210723
|
10
|
+
|
11
|
+
### v0.15.0 (2021-07-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210703
|
14
|
+
|
15
|
+
### v0.14.0 (2021-07-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210624
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.13.0 (2021-06-17)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20210611
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# Administer your Spanner databases
|
@@ -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)
|
@@ -1664,17 +1673,20 @@ module Google
|
|
1664
1673
|
# @return [String]
|
1665
1674
|
attr_accessor :name
|
1666
1675
|
|
1667
|
-
# The number of nodes allocated to this instance.
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
#
|
1676
|
+
# The number of nodes allocated to this instance. At most one of either
|
1677
|
+
# node_count or processing_units should be present in the message. This may be
|
1678
|
+
# zero in API responses for instances that are not yet in state `READY`. See [
|
1679
|
+
# the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
|
1680
|
+
# more information about nodes and processing units.
|
1671
1681
|
# Corresponds to the JSON property `nodeCount`
|
1672
1682
|
# @return [Fixnum]
|
1673
1683
|
attr_accessor :node_count
|
1674
1684
|
|
1675
1685
|
# The number of processing units allocated to this instance. At most one of
|
1676
1686
|
# processing_units or node_count should be present in the message. This may be
|
1677
|
-
# zero in API responses for instances that are not yet in state `READY`.
|
1687
|
+
# zero in API responses for instances that are not yet in state `READY`. See [
|
1688
|
+
# the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
|
1689
|
+
# more information about nodes and processing units.
|
1678
1690
|
# Corresponds to the JSON property `processingUnits`
|
1679
1691
|
# @return [Fixnum]
|
1680
1692
|
attr_accessor :processing_units
|
@@ -1713,6 +1725,12 @@ module Google
|
|
1713
1725
|
# @return [String]
|
1714
1726
|
attr_accessor :display_name
|
1715
1727
|
|
1728
|
+
# Allowed values of the “default_leader” schema option for databases in
|
1729
|
+
# instances that use this instance configuration.
|
1730
|
+
# Corresponds to the JSON property `leaderOptions`
|
1731
|
+
# @return [Array<String>]
|
1732
|
+
attr_accessor :leader_options
|
1733
|
+
|
1716
1734
|
# A unique identifier for the instance configuration. Values are of the form `
|
1717
1735
|
# projects//instanceConfigs/a-z*`
|
1718
1736
|
# Corresponds to the JSON property `name`
|
@@ -1732,6 +1750,7 @@ module Google
|
|
1732
1750
|
# Update properties of this object
|
1733
1751
|
def update!(**args)
|
1734
1752
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1753
|
+
@leader_options = args[:leader_options] if args.key?(:leader_options)
|
1735
1754
|
@name = args[:name] if args.key?(:name)
|
1736
1755
|
@replicas = args[:replicas] if args.key?(:replicas)
|
1737
1756
|
end
|
@@ -1847,6 +1866,11 @@ module Google
|
|
1847
1866
|
# @return [Fixnum]
|
1848
1867
|
attr_accessor :start_key_index
|
1849
1868
|
|
1869
|
+
# The time offset. This is the time since the start of the time interval.
|
1870
|
+
# Corresponds to the JSON property `timeOffset`
|
1871
|
+
# @return [String]
|
1872
|
+
attr_accessor :time_offset
|
1873
|
+
|
1850
1874
|
# A message representing a user-facing string whose value may need to be
|
1851
1875
|
# translated before being displayed.
|
1852
1876
|
# Corresponds to the JSON property `unit`
|
@@ -1870,6 +1894,7 @@ module Google
|
|
1870
1894
|
@keys_count = args[:keys_count] if args.key?(:keys_count)
|
1871
1895
|
@metric = args[:metric] if args.key?(:metric)
|
1872
1896
|
@start_key_index = args[:start_key_index] if args.key?(:start_key_index)
|
1897
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
1873
1898
|
@unit = args[:unit] if args.key?(:unit)
|
1874
1899
|
@value = args[:value] if args.key?(:value)
|
1875
1900
|
end
|
@@ -2912,7 +2937,7 @@ module Google
|
|
2912
2937
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
2913
2938
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
2914
2939
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
2915
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2940
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
2916
2941
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
2917
2942
|
# google.com/iam/docs/).
|
2918
2943
|
class Policy
|
@@ -3313,7 +3338,8 @@ module Google
|
|
3313
3338
|
# requests where it's not applicable (e.g. CommitRequest). Legal characters for `
|
3314
3339
|
# request_tag` values are all printable characters (ASCII 32 - 126) and the
|
3315
3340
|
# length of a request_tag is limited to 50 characters. Values that exceed this
|
3316
|
-
# limit are truncated.
|
3341
|
+
# limit are truncated. Any leading underscore (_) characters will be removed
|
3342
|
+
# from the string.
|
3317
3343
|
# Corresponds to the JSON property `requestTag`
|
3318
3344
|
# @return [String]
|
3319
3345
|
attr_accessor :request_tag
|
@@ -3325,7 +3351,8 @@ module Google
|
|
3325
3351
|
# transaction, transaction_tag will be ignored. Legal characters for `
|
3326
3352
|
# transaction_tag` values are all printable characters (ASCII 32 - 126) and the
|
3327
3353
|
# length of a transaction_tag is limited to 50 characters. Values that exceed
|
3328
|
-
# this limit are truncated.
|
3354
|
+
# this limit are truncated. Any leading underscore (_) characters will be
|
3355
|
+
# removed from the string.
|
3329
3356
|
# Corresponds to the JSON property `transactionTag`
|
3330
3357
|
# @return [String]
|
3331
3358
|
attr_accessor :transaction_tag
|
@@ -3764,7 +3791,7 @@ module Google
|
|
3764
3791
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3765
3792
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3766
3793
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
3767
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
3794
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
3768
3795
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3769
3796
|
# google.com/iam/docs/).
|
3770
3797
|
# Corresponds to the JSON property `policy`
|
@@ -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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210816"
|
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
|
|
@@ -1021,6 +1023,7 @@ module Google
|
|
1021
1023
|
property :metric, as: 'metric', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1022
1024
|
|
1023
1025
|
property :start_key_index, as: 'startKeyIndex'
|
1026
|
+
property :time_offset, as: 'timeOffset'
|
1024
1027
|
property :unit, as: 'unit', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1025
1028
|
|
1026
1029
|
property :value, as: 'value'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.17.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-
|
11
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Spanner API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.17.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|