google-apis-spanner_v1 0.33.0 → 0.36.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: 9b526eb69eddffb97a1c22ac334802a20f8b6096eb10bdcddf00263c731dc878
|
4
|
+
data.tar.gz: 3e8212b7a7b9e2432ee4cf39b7ae52adbd3062e8efd8f2f7a19c267e29617048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96ea3e78b1b60eac1d4647ae7f0ca7c5226f10869efb6bd66b0cec46be3a8fa187767c0fa2e370d5d7a417475b5ebb8c510614943833808992ee3f507ae67f0
|
7
|
+
data.tar.gz: 6c069b56105a94efebaa7361dfba17b81ebdcacf30e545bc92ffa87da76852e0ef07984f4c32eedb177a6bfe23d61c106d02a2d1122a0af3f0f3c1461ef60995
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-spanner_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2022-08-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220812
|
6
|
+
|
7
|
+
### v0.35.0 (2022-08-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220726
|
10
|
+
|
11
|
+
### v0.34.0 (2022-07-27)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
3
15
|
### v0.33.0 (2022-07-23)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220718
|
@@ -465,25 +465,28 @@ module Google
|
|
465
465
|
# anyone who is authenticated with a Google account or a service account. * `
|
466
466
|
# user:`emailid``: An email address that represents a specific Google account.
|
467
467
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
468
|
-
# address that represents a service account. For example, `my-other-app@
|
469
|
-
# gserviceaccount.com`. * `
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
# emailid
|
480
|
-
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
468
|
+
# address that represents a Google service account. For example, `my-other-app@
|
469
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
470
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
471
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
472
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
473
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
474
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
475
|
+
# email address (plus unique identifier) representing a user that has been
|
476
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
477
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
478
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
479
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
480
|
+
# representing a service account that has been recently deleted. For example, `
|
481
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
482
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
483
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
484
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
485
|
+
# representing a Google group that has been recently deleted. For example, `
|
486
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
487
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
488
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
489
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
487
490
|
# Corresponds to the JSON property `members`
|
488
491
|
# @return [Array<String>]
|
489
492
|
attr_accessor :members
|
@@ -1216,11 +1219,12 @@ module Google
|
|
1216
1219
|
attr_accessor :encryption_config
|
1217
1220
|
|
1218
1221
|
# Output only. For databases that are using customer managed encryption, this
|
1219
|
-
# field contains the encryption information for the database, such as
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
#
|
1222
|
+
# field contains the encryption information for the database, such as all Cloud
|
1223
|
+
# KMS key versions that are in use. The `encryption_status' field inside of each
|
1224
|
+
# `EncryptionInfo` is not populated. For databases that are using Google default
|
1225
|
+
# or other types of encryption, this field is empty. This field is propagated
|
1226
|
+
# lazily from the backend. There might be a delay from when a key version is
|
1227
|
+
# being used and when it appears in this field.
|
1224
1228
|
# Corresponds to the JSON property `encryptionInfo`
|
1225
1229
|
# @return [Array<Google::Apis::SpannerV1::EncryptionInfo>]
|
1226
1230
|
attr_accessor :encryption_info
|
@@ -1274,9 +1278,8 @@ module Google
|
|
1274
1278
|
include Google::Apis::Core::Hashable
|
1275
1279
|
|
1276
1280
|
# Required. The name of the database role. Values are of the form `projects//
|
1277
|
-
# instances//databases//databaseRoles/
|
1278
|
-
# CREATE ROLE` DDL statement.
|
1279
|
-
# methods to identify the database role.
|
1281
|
+
# instances//databases//databaseRoles/ `, where `` is as specified in the `
|
1282
|
+
# CREATE ROLE` DDL statement.
|
1280
1283
|
# Corresponds to the JSON property `name`
|
1281
1284
|
# @return [String]
|
1282
1285
|
attr_accessor :name
|
@@ -1752,6 +1755,44 @@ module Google
|
|
1752
1755
|
end
|
1753
1756
|
end
|
1754
1757
|
|
1758
|
+
# Free instance specific metadata that is kept even after an instance has been
|
1759
|
+
# upgraded for tracking purposes.
|
1760
|
+
class FreeInstanceMetadata
|
1761
|
+
include Google::Apis::Core::Hashable
|
1762
|
+
|
1763
|
+
# Specifies the expiration behavior of a free instance. The default of
|
1764
|
+
# ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or
|
1765
|
+
# after creation, and before expiration.
|
1766
|
+
# Corresponds to the JSON property `expireBehavior`
|
1767
|
+
# @return [String]
|
1768
|
+
attr_accessor :expire_behavior
|
1769
|
+
|
1770
|
+
# Output only. Timestamp after which the instance will either be upgraded or
|
1771
|
+
# scheduled for deletion after a grace period. ExpireBehavior is used to choose
|
1772
|
+
# between upgrading or scheduling the free instance for deletion. This timestamp
|
1773
|
+
# is set during the creation of a free instance.
|
1774
|
+
# Corresponds to the JSON property `expireTime`
|
1775
|
+
# @return [String]
|
1776
|
+
attr_accessor :expire_time
|
1777
|
+
|
1778
|
+
# Output only. If present, the timestamp at which the free instance was upgraded
|
1779
|
+
# to a provisioned instance.
|
1780
|
+
# Corresponds to the JSON property `upgradeTime`
|
1781
|
+
# @return [String]
|
1782
|
+
attr_accessor :upgrade_time
|
1783
|
+
|
1784
|
+
def initialize(**args)
|
1785
|
+
update!(**args)
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
# Update properties of this object
|
1789
|
+
def update!(**args)
|
1790
|
+
@expire_behavior = args[:expire_behavior] if args.key?(:expire_behavior)
|
1791
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1792
|
+
@upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1755
1796
|
# The response for GetDatabaseDdl.
|
1756
1797
|
class GetDatabaseDdlResponse
|
1757
1798
|
include Google::Apis::Core::Hashable
|
@@ -1888,6 +1929,17 @@ module Google
|
|
1888
1929
|
# @return [Array<String>]
|
1889
1930
|
attr_accessor :endpoint_uris
|
1890
1931
|
|
1932
|
+
# Free instance specific metadata that is kept even after an instance has been
|
1933
|
+
# upgraded for tracking purposes.
|
1934
|
+
# Corresponds to the JSON property `freeInstanceMetadata`
|
1935
|
+
# @return [Google::Apis::SpannerV1::FreeInstanceMetadata]
|
1936
|
+
attr_accessor :free_instance_metadata
|
1937
|
+
|
1938
|
+
# The `InstanceType` of the current instance.
|
1939
|
+
# Corresponds to the JSON property `instanceType`
|
1940
|
+
# @return [String]
|
1941
|
+
attr_accessor :instance_type
|
1942
|
+
|
1891
1943
|
# Cloud Labels are a flexible and lightweight mechanism for organizing cloud
|
1892
1944
|
# resources into groups that reflect a customer's organizational needs and
|
1893
1945
|
# deployment strategies. Cloud Labels can be used to filter collections of
|
@@ -1956,6 +2008,8 @@ module Google
|
|
1956
2008
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1957
2009
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1958
2010
|
@endpoint_uris = args[:endpoint_uris] if args.key?(:endpoint_uris)
|
2011
|
+
@free_instance_metadata = args[:free_instance_metadata] if args.key?(:free_instance_metadata)
|
2012
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
1959
2013
|
@labels = args[:labels] if args.key?(:labels)
|
1960
2014
|
@name = args[:name] if args.key?(:name)
|
1961
2015
|
@node_count = args[:node_count] if args.key?(:node_count)
|
@@ -1975,6 +2029,12 @@ module Google
|
|
1975
2029
|
# @return [String]
|
1976
2030
|
attr_accessor :display_name
|
1977
2031
|
|
2032
|
+
# Output only. Describes whether free instances are available to be created in
|
2033
|
+
# this instance config.
|
2034
|
+
# Corresponds to the JSON property `freeInstanceAvailability`
|
2035
|
+
# @return [String]
|
2036
|
+
attr_accessor :free_instance_availability
|
2037
|
+
|
1978
2038
|
# Allowed values of the "default_leader" schema option for databases in
|
1979
2039
|
# instances that use this instance configuration.
|
1980
2040
|
# Corresponds to the JSON property `leaderOptions`
|
@@ -2000,6 +2060,7 @@ module Google
|
|
2000
2060
|
# Update properties of this object
|
2001
2061
|
def update!(**args)
|
2002
2062
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2063
|
+
@free_instance_availability = args[:free_instance_availability] if args.key?(:free_instance_availability)
|
2003
2064
|
@leader_options = args[:leader_options] if args.key?(:leader_options)
|
2004
2065
|
@name = args[:name] if args.key?(:name)
|
2005
2066
|
@replicas = args[:replicas] if args.key?(:replicas)
|
@@ -2893,11 +2954,14 @@ module Google
|
|
2893
2954
|
# suppose a streaming SQL query is yielding a result set whose rows contain a
|
2894
2955
|
# single string field. The following `PartialResultSet`s might be yielded: ` "
|
2895
2956
|
# metadata": ` ... ` "values": ["Hello", "W"] "chunked_value": true "
|
2896
|
-
# resume_token": "Af65..." ` ` "values": ["orl"] "chunked_value": true "
|
2897
|
-
#
|
2898
|
-
#
|
2899
|
-
#
|
2900
|
-
#
|
2957
|
+
# resume_token": "Af65..." ` ` "values": ["orl"] "chunked_value": true ` ` "
|
2958
|
+
# values": ["d"] "resume_token": "Zx1B..." ` This sequence of `PartialResultSet`
|
2959
|
+
# s encodes two rows, one containing the field value `"Hello"`, and a second
|
2960
|
+
# containing the field value `"World" = "W" + "orl" + "d"`. Not all `
|
2961
|
+
# PartialResultSet`s contain a `resume_token`. Execution can only be resumed
|
2962
|
+
# from a previously yielded `resume_token`. For the above sequence of `
|
2963
|
+
# PartialResultSet`s, resuming the query with `"resume_token": "Af65..."` will
|
2964
|
+
# yield results from the `PartialResultSet` with value `["orl"]`.
|
2901
2965
|
# Corresponds to the JSON property `values`
|
2902
2966
|
# @return [Array<Object>]
|
2903
2967
|
attr_accessor :values
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220812"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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
|
@@ -1720,7 +1720,7 @@ module Google
|
|
1720
1720
|
# Lists Cloud Spanner database roles.
|
1721
1721
|
# @param [String] parent
|
1722
1722
|
# Required. The database whose roles should be listed. Values are of the form `
|
1723
|
-
# projects//instances//databases
|
1723
|
+
# projects//instances//databases/`.
|
1724
1724
|
# @param [Fixnum] page_size
|
1725
1725
|
# Number of database roles to be returned in the response. If 0 or less,
|
1726
1726
|
# defaults to 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.36.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-22 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.36.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: []
|