google-apis-spanner_v1 0.33.0 → 0.34.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9690840da97002a01747a49e2d16b6f86a8a2edd25e0ebd551293801bce67bf3
|
4
|
+
data.tar.gz: caf06b123f2ba67f54caaae8054bf242500066d97d180d8c50217e584bcc48ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24be8acd6f107b988be951d8e3125bcfa7304044c21aa185caed9518ea676b1699dd1a895412197355a7a282af8febc0f752e54d861a9a693cd2ef988b37fc8a
|
7
|
+
data.tar.gz: c5c9955189c7c6f6f7cc17f1b48326e99b41c433d43e39ea5e6249c9c9622639814a64e392dc473bd1ce913c3ef503eaf9aa7298c9642f2f6dafce76bedf1cb4
|
data/CHANGELOG.md
CHANGED
@@ -1752,6 +1752,44 @@ module Google
|
|
1752
1752
|
end
|
1753
1753
|
end
|
1754
1754
|
|
1755
|
+
# Free instance specific metadata that is kept even after an instance has been
|
1756
|
+
# upgraded for tracking purposes.
|
1757
|
+
class FreeInstanceMetadata
|
1758
|
+
include Google::Apis::Core::Hashable
|
1759
|
+
|
1760
|
+
# Specifies the expiration behavior of a free instance. The default of
|
1761
|
+
# ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or
|
1762
|
+
# after creation, and before expiration.
|
1763
|
+
# Corresponds to the JSON property `expireBehavior`
|
1764
|
+
# @return [String]
|
1765
|
+
attr_accessor :expire_behavior
|
1766
|
+
|
1767
|
+
# Output only. Timestamp after which the instance will either be upgraded or
|
1768
|
+
# scheduled for deletion after a grace period. ExpireBehavior is used to choose
|
1769
|
+
# between upgrading or scheduling the free instance for deletion. This timestamp
|
1770
|
+
# is set during the creation of a free instance.
|
1771
|
+
# Corresponds to the JSON property `expireTime`
|
1772
|
+
# @return [String]
|
1773
|
+
attr_accessor :expire_time
|
1774
|
+
|
1775
|
+
# Output only. If present, the timestamp at which the free instance was upgraded
|
1776
|
+
# to a provisioned instance.
|
1777
|
+
# Corresponds to the JSON property `upgradeTime`
|
1778
|
+
# @return [String]
|
1779
|
+
attr_accessor :upgrade_time
|
1780
|
+
|
1781
|
+
def initialize(**args)
|
1782
|
+
update!(**args)
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# Update properties of this object
|
1786
|
+
def update!(**args)
|
1787
|
+
@expire_behavior = args[:expire_behavior] if args.key?(:expire_behavior)
|
1788
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1789
|
+
@upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
|
1790
|
+
end
|
1791
|
+
end
|
1792
|
+
|
1755
1793
|
# The response for GetDatabaseDdl.
|
1756
1794
|
class GetDatabaseDdlResponse
|
1757
1795
|
include Google::Apis::Core::Hashable
|
@@ -1888,6 +1926,17 @@ module Google
|
|
1888
1926
|
# @return [Array<String>]
|
1889
1927
|
attr_accessor :endpoint_uris
|
1890
1928
|
|
1929
|
+
# Free instance specific metadata that is kept even after an instance has been
|
1930
|
+
# upgraded for tracking purposes.
|
1931
|
+
# Corresponds to the JSON property `freeInstanceMetadata`
|
1932
|
+
# @return [Google::Apis::SpannerV1::FreeInstanceMetadata]
|
1933
|
+
attr_accessor :free_instance_metadata
|
1934
|
+
|
1935
|
+
# The `InstanceType` of the current instance.
|
1936
|
+
# Corresponds to the JSON property `instanceType`
|
1937
|
+
# @return [String]
|
1938
|
+
attr_accessor :instance_type
|
1939
|
+
|
1891
1940
|
# Cloud Labels are a flexible and lightweight mechanism for organizing cloud
|
1892
1941
|
# resources into groups that reflect a customer's organizational needs and
|
1893
1942
|
# deployment strategies. Cloud Labels can be used to filter collections of
|
@@ -1956,6 +2005,8 @@ module Google
|
|
1956
2005
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1957
2006
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1958
2007
|
@endpoint_uris = args[:endpoint_uris] if args.key?(:endpoint_uris)
|
2008
|
+
@free_instance_metadata = args[:free_instance_metadata] if args.key?(:free_instance_metadata)
|
2009
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
1959
2010
|
@labels = args[:labels] if args.key?(:labels)
|
1960
2011
|
@name = args[:name] if args.key?(:name)
|
1961
2012
|
@node_count = args[:node_count] if args.key?(:node_count)
|
@@ -1975,6 +2026,12 @@ module Google
|
|
1975
2026
|
# @return [String]
|
1976
2027
|
attr_accessor :display_name
|
1977
2028
|
|
2029
|
+
# Output only. Describes whether free instances are available to be created in
|
2030
|
+
# this instance config.
|
2031
|
+
# Corresponds to the JSON property `freeInstanceAvailability`
|
2032
|
+
# @return [String]
|
2033
|
+
attr_accessor :free_instance_availability
|
2034
|
+
|
1978
2035
|
# Allowed values of the "default_leader" schema option for databases in
|
1979
2036
|
# instances that use this instance configuration.
|
1980
2037
|
# Corresponds to the JSON property `leaderOptions`
|
@@ -2000,6 +2057,7 @@ module Google
|
|
2000
2057
|
# Update properties of this object
|
2001
2058
|
def update!(**args)
|
2002
2059
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2060
|
+
@free_instance_availability = args[:free_instance_availability] if args.key?(:free_instance_availability)
|
2003
2061
|
@leader_options = args[:leader_options] if args.key?(:leader_options)
|
2004
2062
|
@name = args[:name] if args.key?(:name)
|
2005
2063
|
@replicas = args[:replicas] if args.key?(:replicas)
|
@@ -2893,11 +2951,14 @@ module Google
|
|
2893
2951
|
# suppose a streaming SQL query is yielding a result set whose rows contain a
|
2894
2952
|
# single string field. The following `PartialResultSet`s might be yielded: ` "
|
2895
2953
|
# metadata": ` ... ` "values": ["Hello", "W"] "chunked_value": true "
|
2896
|
-
# resume_token": "Af65..." ` ` "values": ["orl"] "chunked_value": true "
|
2897
|
-
#
|
2898
|
-
#
|
2899
|
-
#
|
2900
|
-
#
|
2954
|
+
# resume_token": "Af65..." ` ` "values": ["orl"] "chunked_value": true ` ` "
|
2955
|
+
# values": ["d"] "resume_token": "Zx1B..." ` This sequence of `PartialResultSet`
|
2956
|
+
# s encodes two rows, one containing the field value `"Hello"`, and a second
|
2957
|
+
# containing the field value `"World" = "W" + "orl" + "d"`. Not all `
|
2958
|
+
# PartialResultSet`s contain a `resume_token`. Execution can only be resumed
|
2959
|
+
# from a previously yielded `resume_token`. For the above sequence of `
|
2960
|
+
# PartialResultSet`s, resuming the query with `"resume_token": "Af65..."` will
|
2961
|
+
# yield results from the `PartialResultSet` with value `["orl"]`.
|
2901
2962
|
# Corresponds to the JSON property `values`
|
2902
2963
|
# @return [Array<Object>]
|
2903
2964
|
attr_accessor :values
|
@@ -220,6 +220,12 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class FreeInstanceMetadata
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
223
229
|
class GetDatabaseDdlResponse
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
@@ -1011,6 +1017,15 @@ module Google
|
|
1011
1017
|
end
|
1012
1018
|
end
|
1013
1019
|
|
1020
|
+
class FreeInstanceMetadata
|
1021
|
+
# @private
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1023
|
+
property :expire_behavior, as: 'expireBehavior'
|
1024
|
+
property :expire_time, as: 'expireTime'
|
1025
|
+
property :upgrade_time, as: 'upgradeTime'
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1014
1029
|
class GetDatabaseDdlResponse
|
1015
1030
|
# @private
|
1016
1031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1055,6 +1070,9 @@ module Google
|
|
1055
1070
|
property :create_time, as: 'createTime'
|
1056
1071
|
property :display_name, as: 'displayName'
|
1057
1072
|
collection :endpoint_uris, as: 'endpointUris'
|
1073
|
+
property :free_instance_metadata, as: 'freeInstanceMetadata', class: Google::Apis::SpannerV1::FreeInstanceMetadata, decorator: Google::Apis::SpannerV1::FreeInstanceMetadata::Representation
|
1074
|
+
|
1075
|
+
property :instance_type, as: 'instanceType'
|
1058
1076
|
hash :labels, as: 'labels'
|
1059
1077
|
property :name, as: 'name'
|
1060
1078
|
property :node_count, as: 'nodeCount'
|
@@ -1068,6 +1086,7 @@ module Google
|
|
1068
1086
|
# @private
|
1069
1087
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1070
1088
|
property :display_name, as: 'displayName'
|
1089
|
+
property :free_instance_availability, as: 'freeInstanceAvailability'
|
1071
1090
|
collection :leader_options, as: 'leaderOptions'
|
1072
1091
|
property :name, as: 'name'
|
1073
1092
|
collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
|
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.34.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-
|
11
|
+
date: 2022-08-01 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/main/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.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|