google-cloud-bigquery-migration-v2 0.5.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/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/cloud/bigquery/migration/v2/migration_entities_pb.rb +29 -56
- data/lib/google/cloud/bigquery/migration/v2/migration_error_details_pb.rb +25 -14
- data/lib/google/cloud/bigquery/migration/v2/migration_metrics_pb.rb +26 -24
- data/lib/google/cloud/bigquery/migration/v2/migration_service/client.rb +21 -23
- data/lib/google/cloud/bigquery/migration/v2/migration_service.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service_pb.rb +26 -40
- data/lib/google/cloud/bigquery/migration/v2/translation_config_pb.rb +24 -101
- data/lib/google/cloud/bigquery/migration/v2/version.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2.rb +2 -2
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/distribution.rb +2 -0
- data/proto_docs/google/api/launch_stage.rb +3 -3
- data/proto_docs/google/api/metric.rb +10 -6
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_entities.rb +6 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_error_details.rb +6 -6
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb +2 -2
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_service.rb +7 -7
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_config.rb +6 -3
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/error_details.rb +102 -66
- metadata +10 -8
@@ -19,6 +19,69 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Rpc
|
22
|
+
# Describes the cause of the error with structured details.
|
23
|
+
#
|
24
|
+
# Example of an error when contacting the "pubsub.googleapis.com" API when it
|
25
|
+
# is not enabled:
|
26
|
+
#
|
27
|
+
# { "reason": "API_DISABLED"
|
28
|
+
# "domain": "googleapis.com"
|
29
|
+
# "metadata": {
|
30
|
+
# "resource": "projects/123",
|
31
|
+
# "service": "pubsub.googleapis.com"
|
32
|
+
# }
|
33
|
+
# }
|
34
|
+
#
|
35
|
+
# This response indicates that the pubsub.googleapis.com API is not enabled.
|
36
|
+
#
|
37
|
+
# Example of an error that is returned when attempting to create a Spanner
|
38
|
+
# instance in a region that is out of stock:
|
39
|
+
#
|
40
|
+
# { "reason": "STOCKOUT"
|
41
|
+
# "domain": "spanner.googleapis.com",
|
42
|
+
# "metadata": {
|
43
|
+
# "availableRegions": "us-central1,us-east2"
|
44
|
+
# }
|
45
|
+
# }
|
46
|
+
# @!attribute [rw] reason
|
47
|
+
# @return [::String]
|
48
|
+
# The reason of the error. This is a constant value that identifies the
|
49
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
50
|
+
# domain of errors. This should be at most 63 characters and match a
|
51
|
+
# regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
|
52
|
+
# UPPER_SNAKE_CASE.
|
53
|
+
# @!attribute [rw] domain
|
54
|
+
# @return [::String]
|
55
|
+
# The logical grouping to which the "reason" belongs. The error domain
|
56
|
+
# is typically the registered service name of the tool or product that
|
57
|
+
# generates the error. Example: "pubsub.googleapis.com". If the error is
|
58
|
+
# generated by some common infrastructure, the error domain must be a
|
59
|
+
# globally unique value that identifies the infrastructure. For Google API
|
60
|
+
# infrastructure, the error domain is "googleapis.com".
|
61
|
+
# @!attribute [rw] metadata
|
62
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
63
|
+
# Additional structured details about this error.
|
64
|
+
#
|
65
|
+
# Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
|
66
|
+
# length. When identifying the current value of an exceeded limit, the units
|
67
|
+
# should be contained in the key, not the value. For example, rather than
|
68
|
+
# \\{"instanceLimit": "100/request"}, should be returned as,
|
69
|
+
# \\{"instanceLimitPerRequest": "100"}, if the client exceeds the number of
|
70
|
+
# instances that can be created in a single (batch) request.
|
71
|
+
class ErrorInfo
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
|
75
|
+
# @!attribute [rw] key
|
76
|
+
# @return [::String]
|
77
|
+
# @!attribute [rw] value
|
78
|
+
# @return [::String]
|
79
|
+
class MetadataEntry
|
80
|
+
include ::Google::Protobuf::MessageExts
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
22
85
|
# Describes when the clients can retry a failed request. Clients could ignore
|
23
86
|
# the recommendation here or retry when this information is missing from error
|
24
87
|
# responses.
|
@@ -92,68 +155,6 @@ module Google
|
|
92
155
|
end
|
93
156
|
end
|
94
157
|
|
95
|
-
# Describes the cause of the error with structured details.
|
96
|
-
#
|
97
|
-
# Example of an error when contacting the "pubsub.googleapis.com" API when it
|
98
|
-
# is not enabled:
|
99
|
-
#
|
100
|
-
# { "reason": "API_DISABLED"
|
101
|
-
# "domain": "googleapis.com"
|
102
|
-
# "metadata": {
|
103
|
-
# "resource": "projects/123",
|
104
|
-
# "service": "pubsub.googleapis.com"
|
105
|
-
# }
|
106
|
-
# }
|
107
|
-
#
|
108
|
-
# This response indicates that the pubsub.googleapis.com API is not enabled.
|
109
|
-
#
|
110
|
-
# Example of an error that is returned when attempting to create a Spanner
|
111
|
-
# instance in a region that is out of stock:
|
112
|
-
#
|
113
|
-
# { "reason": "STOCKOUT"
|
114
|
-
# "domain": "spanner.googleapis.com",
|
115
|
-
# "metadata": {
|
116
|
-
# "availableRegions": "us-central1,us-east2"
|
117
|
-
# }
|
118
|
-
# }
|
119
|
-
# @!attribute [rw] reason
|
120
|
-
# @return [::String]
|
121
|
-
# The reason of the error. This is a constant value that identifies the
|
122
|
-
# proximate cause of the error. Error reasons are unique within a particular
|
123
|
-
# domain of errors. This should be at most 63 characters and match
|
124
|
-
# /[A-Z0-9_]+/.
|
125
|
-
# @!attribute [rw] domain
|
126
|
-
# @return [::String]
|
127
|
-
# The logical grouping to which the "reason" belongs. The error domain
|
128
|
-
# is typically the registered service name of the tool or product that
|
129
|
-
# generates the error. Example: "pubsub.googleapis.com". If the error is
|
130
|
-
# generated by some common infrastructure, the error domain must be a
|
131
|
-
# globally unique value that identifies the infrastructure. For Google API
|
132
|
-
# infrastructure, the error domain is "googleapis.com".
|
133
|
-
# @!attribute [rw] metadata
|
134
|
-
# @return [::Google::Protobuf::Map{::String => ::String}]
|
135
|
-
# Additional structured details about this error.
|
136
|
-
#
|
137
|
-
# Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
|
138
|
-
# length. When identifying the current value of an exceeded limit, the units
|
139
|
-
# should be contained in the key, not the value. For example, rather than
|
140
|
-
# \\{"instanceLimit": "100/request"}, should be returned as,
|
141
|
-
# \\{"instanceLimitPerRequest": "100"}, if the client exceeds the number of
|
142
|
-
# instances that can be created in a single (batch) request.
|
143
|
-
class ErrorInfo
|
144
|
-
include ::Google::Protobuf::MessageExts
|
145
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
-
|
147
|
-
# @!attribute [rw] key
|
148
|
-
# @return [::String]
|
149
|
-
# @!attribute [rw] value
|
150
|
-
# @return [::String]
|
151
|
-
class MetadataEntry
|
152
|
-
include ::Google::Protobuf::MessageExts
|
153
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
158
|
# Describes what preconditions have failed.
|
158
159
|
#
|
159
160
|
# For example, if an RPC failed because it required the Terms of Service to be
|
@@ -201,9 +202,43 @@ module Google
|
|
201
202
|
# A message type used to describe a single bad request field.
|
202
203
|
# @!attribute [rw] field
|
203
204
|
# @return [::String]
|
204
|
-
# A path
|
205
|
+
# A path that leads to a field in the request body. The value will be a
|
205
206
|
# sequence of dot-separated identifiers that identify a protocol buffer
|
206
|
-
# field.
|
207
|
+
# field.
|
208
|
+
#
|
209
|
+
# Consider the following:
|
210
|
+
#
|
211
|
+
# message CreateContactRequest {
|
212
|
+
# message EmailAddress {
|
213
|
+
# enum Type {
|
214
|
+
# TYPE_UNSPECIFIED = 0;
|
215
|
+
# HOME = 1;
|
216
|
+
# WORK = 2;
|
217
|
+
# }
|
218
|
+
#
|
219
|
+
# optional string email = 1;
|
220
|
+
# repeated EmailType type = 2;
|
221
|
+
# }
|
222
|
+
#
|
223
|
+
# string full_name = 1;
|
224
|
+
# repeated EmailAddress email_addresses = 2;
|
225
|
+
# }
|
226
|
+
#
|
227
|
+
# In this example, in proto `field` could take one of the following values:
|
228
|
+
#
|
229
|
+
# * `full_name` for a violation in the `full_name` value
|
230
|
+
# * `email_addresses[1].email` for a violation in the `email` field of the
|
231
|
+
# first `email_addresses` message
|
232
|
+
# * `email_addresses[3].type[2]` for a violation in the second `type`
|
233
|
+
# value in the third `email_addresses` message.
|
234
|
+
#
|
235
|
+
# In JSON, the same values are represented as:
|
236
|
+
#
|
237
|
+
# * `fullName` for a violation in the `fullName` value
|
238
|
+
# * `emailAddresses[1].email` for a violation in the `email` field of the
|
239
|
+
# first `emailAddresses` message
|
240
|
+
# * `emailAddresses[3].type[2]` for a violation in the second `type`
|
241
|
+
# value in the third `emailAddresses` message.
|
207
242
|
# @!attribute [rw] description
|
208
243
|
# @return [::String]
|
209
244
|
# A description of why the request element is bad.
|
@@ -238,7 +273,8 @@ module Google
|
|
238
273
|
# @return [::String]
|
239
274
|
# The name of the resource being accessed. For example, a shared calendar
|
240
275
|
# name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
|
241
|
-
# error is
|
276
|
+
# error is
|
277
|
+
# [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
|
242
278
|
# @!attribute [rw] owner
|
243
279
|
# @return [::String]
|
244
280
|
# The owner of the resource (optional).
|
@@ -284,7 +320,7 @@ module Google
|
|
284
320
|
# @!attribute [rw] locale
|
285
321
|
# @return [::String]
|
286
322
|
# The locale used following the specification defined at
|
287
|
-
#
|
323
|
+
# https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
288
324
|
# Examples are: "en-US", "fr-CH", "es-MX"
|
289
325
|
# @!attribute [rw] message
|
290
326
|
# @return [::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-migration-v2
|
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:
|
11
|
+
date: 2023-06-06 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:
|
19
|
+
version: 0.19.1
|
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:
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,6 +184,7 @@ files:
|
|
184
184
|
- lib/google/cloud/bigquery/migration/v2/translation_config_pb.rb
|
185
185
|
- lib/google/cloud/bigquery/migration/v2/version.rb
|
186
186
|
- proto_docs/README.md
|
187
|
+
- proto_docs/google/api/client.rb
|
187
188
|
- proto_docs/google/api/distribution.rb
|
188
189
|
- proto_docs/google/api/field_behavior.rb
|
189
190
|
- proto_docs/google/api/label.rb
|
@@ -220,8 +221,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
221
|
- !ruby/object:Gem::Version
|
221
222
|
version: '0'
|
222
223
|
requirements: []
|
223
|
-
rubygems_version: 3.
|
224
|
+
rubygems_version: 3.4.2
|
224
225
|
signing_key:
|
225
226
|
specification_version: 4
|
226
|
-
summary:
|
227
|
+
summary: The migration service, exposing apis for migration jobs operations, and agent
|
228
|
+
management.
|
227
229
|
test_files: []
|