google-apis-spanner_v1 0.22.0 → 0.23.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: 126d7648a42f2a6d43bf9ae2fba6a8cfac3fc9e8afd82c99ce6a18e22f36ecc9
|
4
|
+
data.tar.gz: ed38b3054fbf167f4e0288f64055c71d5b21899a76f098b7db857882f473aa1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adfa1a8bf6924ecd49dc4825b4b5b38f1e72b51a376ab564ab48966fee6edc4d686521b1b91456bd4cf55a212fe0cce282ba18a33df5c059c9afd03a4e9f819b
|
7
|
+
data.tar.gz: 82329684f02b484b621efd96f046474a105208563ba8ae68750de9c17df2de5bf89a05343f691fb41cb4d13bac331afa95bdc2f54344dd794f296692e00ecb5e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-spanner_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2022-02-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220124
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.22.0 (2021-12-16)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20211203
|
@@ -40,6 +40,11 @@ module Google
|
|
40
40
|
# @return [String]
|
41
41
|
attr_accessor :database
|
42
42
|
|
43
|
+
# Output only. The database dialect information for the backup.
|
44
|
+
# Corresponds to the JSON property `databaseDialect`
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :database_dialect
|
47
|
+
|
43
48
|
# Encryption information for a Cloud Spanner database or backup.
|
44
49
|
# Corresponds to the JSON property `encryptionInfo`
|
45
50
|
# @return [Google::Apis::SpannerV1::EncryptionInfo]
|
@@ -100,6 +105,7 @@ module Google
|
|
100
105
|
def update!(**args)
|
101
106
|
@create_time = args[:create_time] if args.key?(:create_time)
|
102
107
|
@database = args[:database] if args.key?(:database)
|
108
|
+
@database_dialect = args[:database_dialect] if args.key?(:database_dialect)
|
103
109
|
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
|
104
110
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
105
111
|
@name = args[:name] if args.key?(:name)
|
@@ -864,6 +870,11 @@ module Google
|
|
864
870
|
# @return [String]
|
865
871
|
attr_accessor :create_statement
|
866
872
|
|
873
|
+
# Optional. The dialect of the Cloud Spanner Database.
|
874
|
+
# Corresponds to the JSON property `databaseDialect`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :database_dialect
|
877
|
+
|
867
878
|
# Encryption configuration for a Cloud Spanner database.
|
868
879
|
# Corresponds to the JSON property `encryptionConfig`
|
869
880
|
# @return [Google::Apis::SpannerV1::EncryptionConfig]
|
@@ -884,6 +895,7 @@ module Google
|
|
884
895
|
# Update properties of this object
|
885
896
|
def update!(**args)
|
886
897
|
@create_statement = args[:create_statement] if args.key?(:create_statement)
|
898
|
+
@database_dialect = args[:database_dialect] if args.key?(:database_dialect)
|
887
899
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
888
900
|
@extra_statements = args[:extra_statements] if args.key?(:extra_statements)
|
889
901
|
end
|
@@ -982,6 +994,11 @@ module Google
|
|
982
994
|
# @return [String]
|
983
995
|
attr_accessor :create_time
|
984
996
|
|
997
|
+
# Output only. The dialect of the Cloud Spanner Database.
|
998
|
+
# Corresponds to the JSON property `databaseDialect`
|
999
|
+
# @return [String]
|
1000
|
+
attr_accessor :database_dialect
|
1001
|
+
|
985
1002
|
# Output only. The read-write region which contains the database's leader
|
986
1003
|
# replicas. This is the same as the value of default_leader database option set
|
987
1004
|
# using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not
|
@@ -1046,6 +1063,7 @@ module Google
|
|
1046
1063
|
# Update properties of this object
|
1047
1064
|
def update!(**args)
|
1048
1065
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1066
|
+
@database_dialect = args[:database_dialect] if args.key?(:database_dialect)
|
1049
1067
|
@default_leader = args[:default_leader] if args.key?(:default_leader)
|
1050
1068
|
@earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
|
1051
1069
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
@@ -1984,11 +2002,12 @@ module Google
|
|
1984
2002
|
attr_accessor :next_page_token
|
1985
2003
|
|
1986
2004
|
# The list of matching backup long-running operations. Each operation's name
|
1987
|
-
# will be prefixed by the backup's name
|
1988
|
-
#
|
1989
|
-
# or have completed/failed/canceled within the
|
1990
|
-
# are ordered by `operation.metadata.value.
|
1991
|
-
# order starting from the most recently
|
2005
|
+
# will be prefixed by the backup's name. The operation's metadata field type `
|
2006
|
+
# metadata.type_url` describes the type of the metadata. Operations returned
|
2007
|
+
# include those that are pending or have completed/failed/canceled within the
|
2008
|
+
# last 7 days. Operations returned are ordered by `operation.metadata.value.
|
2009
|
+
# progress.start_time` in descending order starting from the most recently
|
2010
|
+
# started operation.
|
1992
2011
|
# Corresponds to the JSON property `operations`
|
1993
2012
|
# @return [Array<Google::Apis::SpannerV1::Operation>]
|
1994
2013
|
attr_accessor :operations
|
@@ -4583,6 +4602,16 @@ module Google
|
|
4583
4602
|
# @return [Google::Apis::SpannerV1::StructType]
|
4584
4603
|
attr_accessor :struct_type
|
4585
4604
|
|
4605
|
+
# The TypeAnnotationCode that disambiguates SQL type that Spanner will use to
|
4606
|
+
# represent values of this type during query processing. This is necessary for
|
4607
|
+
# some type codes because a single TypeCode can be mapped to different SQL types
|
4608
|
+
# depending on the SQL dialect. type_annotation typically is not needed to
|
4609
|
+
# process the content of a value (it doesn't affect serialization) and clients
|
4610
|
+
# can ignore it on the read path.
|
4611
|
+
# Corresponds to the JSON property `typeAnnotation`
|
4612
|
+
# @return [String]
|
4613
|
+
attr_accessor :type_annotation
|
4614
|
+
|
4586
4615
|
def initialize(**args)
|
4587
4616
|
update!(**args)
|
4588
4617
|
end
|
@@ -4592,6 +4621,7 @@ module Google
|
|
4592
4621
|
@array_element_type = args[:array_element_type] if args.key?(:array_element_type)
|
4593
4622
|
@code = args[:code] if args.key?(:code)
|
4594
4623
|
@struct_type = args[:struct_type] if args.key?(:struct_type)
|
4624
|
+
@type_annotation = args[:type_annotation] if args.key?(:type_annotation)
|
4595
4625
|
end
|
4596
4626
|
end
|
4597
4627
|
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220124"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -639,6 +639,7 @@ module Google
|
|
639
639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
640
640
|
property :create_time, as: 'createTime'
|
641
641
|
property :database, as: 'database'
|
642
|
+
property :database_dialect, as: 'databaseDialect'
|
642
643
|
property :encryption_info, as: 'encryptionInfo', class: Google::Apis::SpannerV1::EncryptionInfo, decorator: Google::Apis::SpannerV1::EncryptionInfo::Representation
|
643
644
|
|
644
645
|
property :expire_time, as: 'expireTime'
|
@@ -769,6 +770,7 @@ module Google
|
|
769
770
|
# @private
|
770
771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
771
772
|
property :create_statement, as: 'createStatement'
|
773
|
+
property :database_dialect, as: 'databaseDialect'
|
772
774
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
|
773
775
|
|
774
776
|
collection :extra_statements, as: 'extraStatements'
|
@@ -807,6 +809,7 @@ module Google
|
|
807
809
|
# @private
|
808
810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
809
811
|
property :create_time, as: 'createTime'
|
812
|
+
property :database_dialect, as: 'databaseDialect'
|
810
813
|
property :default_leader, as: 'defaultLeader'
|
811
814
|
property :earliest_version_time, as: 'earliestVersionTime'
|
812
815
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
|
@@ -1622,6 +1625,7 @@ module Google
|
|
1622
1625
|
property :code, as: 'code'
|
1623
1626
|
property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
|
1624
1627
|
|
1628
|
+
property :type_annotation, as: 'typeAnnotation'
|
1625
1629
|
end
|
1626
1630
|
end
|
1627
1631
|
|
@@ -482,20 +482,23 @@ module Google
|
|
482
482
|
# long-running operation * `done` - False if the operation is in progress, else
|
483
483
|
# true. * `metadata.@type` - the type of metadata. For example, the type string
|
484
484
|
# for CreateBackupMetadata is `type.googleapis.com/google.spanner.admin.database.
|
485
|
-
# v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value.
|
486
|
-
#
|
487
|
-
# the
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
485
|
+
# v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value. `
|
486
|
+
# metadata.type_url` must be specified if filtering on metadata fields. * `error`
|
487
|
+
# - Error associated with the long-running operation. * `response.@type` - the
|
488
|
+
# type of response. * `response.` - any field in response.value. You can combine
|
489
|
+
# multiple expressions by enclosing each expression in parentheses. By default,
|
490
|
+
# expressions are combined with AND logic, but you can specify AND, OR, and NOT
|
491
|
+
# logic explicitly. Here are a few examples: * `done:true` - The operation is
|
492
|
+
# complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.
|
493
|
+
# v1.CreateBackupMetadata) AND` \ `metadata.database:prod` - Returns operations
|
494
|
+
# where: * The operation's metadata type is CreateBackupMetadata. * The database
|
495
|
+
# the backup was taken from has a name containing the string "prod". * `(
|
496
|
+
# metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.
|
497
|
+
# CreateBackupMetadata) AND` \ `(metadata.name:howl) AND` \ `(metadata.progress.
|
498
|
+
# start_time < \"2018-03-28T14:50:00Z\") AND` \ `(error:*)` - Returns operations
|
499
|
+
# where: * The operation's metadata type is CreateBackupMetadata. * The backup
|
500
|
+
# name contains the string "howl". * The operation started before 2018-03-28T14:
|
501
|
+
# 50:00Z. * The operation resulted in an error.
|
499
502
|
# @param [Fixnum] page_size
|
500
503
|
# Number of operations to be returned in the response. If 0 or less, defaults to
|
501
504
|
# the server's maximum allowed page size.
|
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.23.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-02-07 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.23.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Spanner API V1
|