google-cloud-spanner-admin-instance-v1 0.6.0 → 0.7.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 +4 -4
- data/README.md +10 -5
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/client.rb +1 -1
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/operations.rb +3 -0
- data/lib/google/cloud/spanner/admin/instance/v1/version.rb +1 -1
- data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_pb.rb +4 -1
- data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_services_pb.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb +20 -8
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f45a2207cd5cb3f560c6504539bf0c22747bfc1fbf5b819a44b1e80a9b7e90dc
|
4
|
+
data.tar.gz: c841443d92e353ad58892d6d7d25295248f90d96df464e5b93cb12fec0092d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 537f49a02dfd99236269db589838019b206e7b2a9031a44e9ad2d0b8c97c9097dc5e6dda27e2d919b0b86327a12480d9d2760f83d1e9cf283bf4410c4314d0a3
|
7
|
+
data.tar.gz: d83793984ba607805e75c7fd34e5b808044338c78f0ebf2acbf03f84f0441ec8d5fe3858b51284431154edd054670dd98aecda2b8081f3e5bd5753c97142deb6
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -788,7 +788,7 @@ module Google
|
|
788
788
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance}, if successful.
|
789
789
|
#
|
790
790
|
# Authorization requires `spanner.instances.update` permission on
|
791
|
-
# resource {::Google::Cloud::Spanner::Admin::Instance::V1::Instance#name name}.
|
791
|
+
# the resource {::Google::Cloud::Spanner::Admin::Instance::V1::Instance#name name}.
|
792
792
|
#
|
793
793
|
# @overload update_instance(request, options = nil)
|
794
794
|
# Pass arguments to `update_instance` via a request object, either of type
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -11,7 +13,6 @@ require 'google/longrunning/operations_pb'
|
|
11
13
|
require 'google/protobuf/empty_pb'
|
12
14
|
require 'google/protobuf/field_mask_pb'
|
13
15
|
require 'google/protobuf/timestamp_pb'
|
14
|
-
require 'google/protobuf'
|
15
16
|
|
16
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
18
|
add_file("google/spanner/admin/instance/v1/spanner_instance_admin.proto", :syntax => :proto3) do
|
@@ -41,6 +42,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
42
|
optional :state, :enum, 6, "google.spanner.admin.instance.v1.Instance.State"
|
42
43
|
map :labels, :string, :string, 7
|
43
44
|
repeated :endpoint_uris, :string, 8
|
45
|
+
optional :create_time, :message, 11, "google.protobuf.Timestamp"
|
46
|
+
optional :update_time, :message, 12, "google.protobuf.Timestamp"
|
44
47
|
end
|
45
48
|
add_enum "google.spanner.admin.instance.v1.Instance.State" do
|
46
49
|
value :STATE_UNSPECIFIED, 0
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
# [Instance][google.spanner.admin.instance.v1.Instance], if successful.
|
138
138
|
#
|
139
139
|
# Authorization requires `spanner.instances.update` permission on
|
140
|
-
# resource [name][google.spanner.admin.instance.v1.Instance.name].
|
140
|
+
# the resource [name][google.spanner.admin.instance.v1.Instance.name].
|
141
141
|
rpc :UpdateInstance, ::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceRequest, ::Google::Longrunning::Operation
|
142
142
|
# Deletes an instance.
|
143
143
|
#
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# @return [::String]
|
81
81
|
# A unique identifier for the instance configuration. Values
|
82
82
|
# are of the form
|
83
|
-
# `projects/<project>/instanceConfigs/[a-z][-a-z0-9]
|
83
|
+
# `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`.
|
84
84
|
# @!attribute [rw] display_name
|
85
85
|
# @return [::String]
|
86
86
|
# The name of this instance configuration as it appears in UIs.
|
@@ -90,7 +90,7 @@ module Google
|
|
90
90
|
# replication properties.
|
91
91
|
# @!attribute [rw] leader_options
|
92
92
|
# @return [::Array<::String>]
|
93
|
-
# Allowed values of the
|
93
|
+
# Allowed values of the "default_leader" schema option for databases in
|
94
94
|
# instances that use this instance configuration.
|
95
95
|
class InstanceConfig
|
96
96
|
include ::Google::Protobuf::MessageExts
|
@@ -116,17 +116,23 @@ module Google
|
|
116
116
|
# Must be unique per project and between 4 and 30 characters in length.
|
117
117
|
# @!attribute [rw] node_count
|
118
118
|
# @return [::Integer]
|
119
|
-
#
|
120
|
-
#
|
119
|
+
# The number of nodes allocated to this instance. At most one of either
|
120
|
+
# node_count or processing_units should be present in the message. This
|
121
|
+
# may be zero in API responses for instances that are not yet in state
|
122
|
+
# `READY`.
|
121
123
|
#
|
122
124
|
# See [the
|
123
|
-
# documentation](https://cloud.google.com/spanner/docs/
|
124
|
-
# for more information about nodes.
|
125
|
+
# documentation](https://cloud.google.com/spanner/docs/compute-capacity)
|
126
|
+
# for more information about nodes and processing units.
|
125
127
|
# @!attribute [rw] processing_units
|
126
128
|
# @return [::Integer]
|
127
129
|
# The number of processing units allocated to this instance. At most one of
|
128
130
|
# processing_units or node_count should be present in the message. This may
|
129
131
|
# be zero in API responses for instances that are not yet in state `READY`.
|
132
|
+
#
|
133
|
+
# See [the
|
134
|
+
# documentation](https://cloud.google.com/spanner/docs/compute-capacity)
|
135
|
+
# for more information about nodes and processing units.
|
130
136
|
# @!attribute [r] state
|
131
137
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::Instance::State]
|
132
138
|
# Output only. The current instance state. For
|
@@ -144,9 +150,9 @@ module Google
|
|
144
150
|
# firewall, load balancing, etc.).
|
145
151
|
#
|
146
152
|
# * Label keys must be between 1 and 63 characters long and must conform to
|
147
|
-
# the following regular expression: `[a-z]
|
153
|
+
# the following regular expression: `[a-z][a-z0-9_-]{0,62}`.
|
148
154
|
# * Label values must be between 0 and 63 characters long and must conform
|
149
|
-
# to the regular expression `
|
155
|
+
# to the regular expression `[a-z0-9_-]{0,63}`.
|
150
156
|
# * No more than 64 labels can be associated with a given resource.
|
151
157
|
#
|
152
158
|
# See https://goo.gl/xmQnxf for more information on and examples of labels.
|
@@ -160,6 +166,12 @@ module Google
|
|
160
166
|
# @!attribute [rw] endpoint_uris
|
161
167
|
# @return [::Array<::String>]
|
162
168
|
# Deprecated. This field is not populated.
|
169
|
+
# @!attribute [r] create_time
|
170
|
+
# @return [::Google::Protobuf::Timestamp]
|
171
|
+
# Output only. The time at which the instance was created.
|
172
|
+
# @!attribute [r] update_time
|
173
|
+
# @return [::Google::Protobuf::Timestamp]
|
174
|
+
# Output only. The time at which the instance was most recently updated.
|
163
175
|
class Instance
|
164
176
|
include ::Google::Protobuf::MessageExts
|
165
177
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-admin-instance-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -64,28 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
67
|
+
version: 1.26.1
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.
|
74
|
+
version: 1.26.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '5.
|
81
|
+
version: '5.16'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
88
|
+
version: '5.16'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: minitest-focus
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '13.0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '13.0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: redcarpet
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,14 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
220
|
requirements:
|
221
221
|
- - ">="
|
222
222
|
- !ruby/object:Gem::Version
|
223
|
-
version: '2.
|
223
|
+
version: '2.6'
|
224
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
226
|
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
229
|
requirements: []
|
230
|
-
rubygems_version: 3.3.
|
230
|
+
rubygems_version: 3.3.14
|
231
231
|
signing_key:
|
232
232
|
specification_version: 4
|
233
233
|
summary: API Client library for the Cloud Spanner Instance Admin V1 API
|