google-cloud-bigquery-migration-v2 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1 -0
- data/lib/google/cloud/bigquery/migration/v2/migration_service/client.rb +17 -21
- data/lib/google/cloud/bigquery/migration/v2/migration_service.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/translation_config_pb.rb +5 -0
- 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 +324 -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 +15 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/error_details.rb +102 -66
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77355fc57baa2cc83fc44793cab95d7292e989660efd8d0a0d75c1f49a91f0ea
|
4
|
+
data.tar.gz: ee074e23054d6d8cdef585b3dc98b763fc04beac2eae6d82d395df938e3aa393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c82ebec4ceb708b8d7ad098bc46703eea18b53debba7ddde88d155fe710a1eb42ac58b4584a65ce29aabd1fffd575c39ac9c1c0a1920f458ac14d4126d4e984a
|
7
|
+
data.tar.gz: 0740c69f152b14cf4fd74ecc25871dda983fc6ab1eb425f4f19ce22576db9ae012fbb89ff9fdf16c2253fa29ba9e9da9ce18741ef229443b090e770c43212c2b
|
data/AUTHENTICATION.md
CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
|
|
112
112
|
To configure your system for this, simply:
|
113
113
|
|
114
114
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
115
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
115
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
116
116
|
3. Write code as if already authenticated.
|
117
117
|
|
118
118
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the BigQuery Migration V2 API
|
2
2
|
|
3
|
-
|
3
|
+
The migration service, exposing apis for migration jobs operations, and agent management.
|
4
4
|
|
5
5
|
The BigQuery Migration Service is a comprehensive solution for migrating your data warehouse to BigQuery.
|
6
6
|
|
@@ -46,8 +46,8 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -393,13 +393,11 @@ module Google
|
|
393
393
|
# # Call the list_migration_workflows method.
|
394
394
|
# result = client.list_migration_workflows request
|
395
395
|
#
|
396
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
397
|
-
# #
|
398
|
-
#
|
399
|
-
# # methods are also available for managing paging directly.
|
400
|
-
# result.each do |response|
|
396
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
397
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
398
|
+
# result.each do |item|
|
401
399
|
# # Each element is of type ::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow.
|
402
|
-
# p
|
400
|
+
# p item
|
403
401
|
# end
|
404
402
|
#
|
405
403
|
def list_migration_workflows request, options = nil
|
@@ -731,18 +729,18 @@ module Google
|
|
731
729
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
732
730
|
# Optional. The list of fields to be retrieved.
|
733
731
|
# @param page_size [::Integer]
|
734
|
-
# Optional. The maximum number of migration tasks to return. The service may
|
735
|
-
# fewer than this number.
|
732
|
+
# Optional. The maximum number of migration tasks to return. The service may
|
733
|
+
# return fewer than this number.
|
736
734
|
# @param page_token [::String]
|
737
|
-
# Optional. A page token, received from previous `ListMigrationSubtasks`
|
738
|
-
# Provide this to retrieve the subsequent page.
|
735
|
+
# Optional. A page token, received from previous `ListMigrationSubtasks`
|
736
|
+
# call. Provide this to retrieve the subsequent page.
|
739
737
|
#
|
740
738
|
# When paginating, all other parameters provided to `ListMigrationSubtasks`
|
741
739
|
# must match the call that provided the page token.
|
742
740
|
# @param filter [::String]
|
743
|
-
# Optional. The filter to apply. This can be used to get the subtasks of a
|
744
|
-
# tasks in a workflow, e.g. `migration_task = "ab012"` where
|
745
|
-
# task ID (not the name in the named map).
|
741
|
+
# Optional. The filter to apply. This can be used to get the subtasks of a
|
742
|
+
# specific tasks in a workflow, e.g. `migration_task = "ab012"` where
|
743
|
+
# `"ab012"` is the task ID (not the name in the named map).
|
746
744
|
#
|
747
745
|
# @yield [response, operation] Access the result along with the RPC operation
|
748
746
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigquery::Migration::V2::MigrationSubtask>]
|
@@ -764,13 +762,11 @@ module Google
|
|
764
762
|
# # Call the list_migration_subtasks method.
|
765
763
|
# result = client.list_migration_subtasks request
|
766
764
|
#
|
767
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
768
|
-
# #
|
769
|
-
#
|
770
|
-
# # methods are also available for managing paging directly.
|
771
|
-
# result.each do |response|
|
765
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
766
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
767
|
+
# result.each do |item|
|
772
768
|
# # Each element is of type ::Google::Cloud::Bigquery::Migration::V2::MigrationSubtask.
|
773
|
-
# p
|
769
|
+
# p item
|
774
770
|
# end
|
775
771
|
#
|
776
772
|
def list_migration_subtasks request, options = nil
|
@@ -853,9 +849,9 @@ module Google
|
|
853
849
|
# * (`String`) The path to a service account key file in JSON format
|
854
850
|
# * (`Hash`) A service account key as a Hash
|
855
851
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
856
|
-
# (see the [googleauth docs](https://
|
852
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
857
853
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
858
|
-
# (see the [signet docs](https://
|
854
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
859
855
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
860
856
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
861
857
|
# * (`nil`) indicating no credentials
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# Service to handle EDW migrations.
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/bigquery/migration/v2/migration_service"
|
40
40
|
# client = ::Google::Cloud::Bigquery::Migration::V2::MigrationService::Client.new
|
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
optional :source_dialect, :message, 3, "google.cloud.bigquery.migration.v2.Dialect"
|
10
10
|
optional :target_dialect, :message, 4, "google.cloud.bigquery.migration.v2.Dialect"
|
11
11
|
optional :source_env, :message, 6, "google.cloud.bigquery.migration.v2.SourceEnv"
|
12
|
+
optional :request_source, :string, 8
|
12
13
|
oneof :source_location do
|
13
14
|
optional :gcs_source_path, :string, 1
|
14
15
|
end
|
@@ -34,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
34
35
|
optional :sql_server_dialect, :message, 11, "google.cloud.bigquery.migration.v2.SQLServerDialect"
|
35
36
|
optional :postgresql_dialect, :message, 12, "google.cloud.bigquery.migration.v2.PostgresqlDialect"
|
36
37
|
optional :presto_dialect, :message, 13, "google.cloud.bigquery.migration.v2.PrestoDialect"
|
38
|
+
optional :mysql_dialect, :message, 14, "google.cloud.bigquery.migration.v2.MySQLDialect"
|
37
39
|
end
|
38
40
|
end
|
39
41
|
add_message "google.cloud.bigquery.migration.v2.BigQueryDialect" do
|
@@ -68,6 +70,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
68
70
|
end
|
69
71
|
add_message "google.cloud.bigquery.migration.v2.PrestoDialect" do
|
70
72
|
end
|
73
|
+
add_message "google.cloud.bigquery.migration.v2.MySQLDialect" do
|
74
|
+
end
|
71
75
|
add_message "google.cloud.bigquery.migration.v2.ObjectNameMappingList" do
|
72
76
|
repeated :name_map, :message, 1, "google.cloud.bigquery.migration.v2.ObjectNameMapping"
|
73
77
|
end
|
@@ -126,6 +130,7 @@ module Google
|
|
126
130
|
SQLServerDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.SQLServerDialect").msgclass
|
127
131
|
PostgresqlDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PostgresqlDialect").msgclass
|
128
132
|
PrestoDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.PrestoDialect").msgclass
|
133
|
+
MySQLDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.MySQLDialect").msgclass
|
129
134
|
ObjectNameMappingList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMappingList").msgclass
|
130
135
|
ObjectNameMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.ObjectNameMapping").msgclass
|
131
136
|
NameMappingKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.NameMappingKey").msgclass
|
@@ -24,9 +24,9 @@ module Google
|
|
24
24
|
module Bigquery
|
25
25
|
module Migration
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/bigquery/migration/v2"
|
32
32
|
# client = ::Google::Cloud::Bigquery::Migration::V2::MigrationService::Client.new
|
@@ -0,0 +1,324 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Required information for every language.
|
23
|
+
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @return [::String]
|
25
|
+
# Link to automatically generated reference documentation. Example:
|
26
|
+
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
27
|
+
# @!attribute [rw] destinations
|
28
|
+
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
29
|
+
# The destination where API teams want this client library to be published.
|
30
|
+
class CommonLanguageSettings
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Details about how and where to publish client libraries.
|
36
|
+
# @!attribute [rw] version
|
37
|
+
# @return [::String]
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
41
|
+
# @!attribute [rw] launch_stage
|
42
|
+
# @return [::Google::Api::LaunchStage]
|
43
|
+
# Launch stage of this version of the API.
|
44
|
+
# @!attribute [rw] rest_numeric_enums
|
45
|
+
# @return [::Boolean]
|
46
|
+
# When using transport=rest, the client request will encode enums as
|
47
|
+
# numbers rather than strings.
|
48
|
+
# @!attribute [rw] java_settings
|
49
|
+
# @return [::Google::Api::JavaSettings]
|
50
|
+
# Settings for legacy Java features, supported in the Service YAML.
|
51
|
+
# @!attribute [rw] cpp_settings
|
52
|
+
# @return [::Google::Api::CppSettings]
|
53
|
+
# Settings for C++ client libraries.
|
54
|
+
# @!attribute [rw] php_settings
|
55
|
+
# @return [::Google::Api::PhpSettings]
|
56
|
+
# Settings for PHP client libraries.
|
57
|
+
# @!attribute [rw] python_settings
|
58
|
+
# @return [::Google::Api::PythonSettings]
|
59
|
+
# Settings for Python client libraries.
|
60
|
+
# @!attribute [rw] node_settings
|
61
|
+
# @return [::Google::Api::NodeSettings]
|
62
|
+
# Settings for Node client libraries.
|
63
|
+
# @!attribute [rw] dotnet_settings
|
64
|
+
# @return [::Google::Api::DotnetSettings]
|
65
|
+
# Settings for .NET client libraries.
|
66
|
+
# @!attribute [rw] ruby_settings
|
67
|
+
# @return [::Google::Api::RubySettings]
|
68
|
+
# Settings for Ruby client libraries.
|
69
|
+
# @!attribute [rw] go_settings
|
70
|
+
# @return [::Google::Api::GoSettings]
|
71
|
+
# Settings for Go client libraries.
|
72
|
+
class ClientLibrarySettings
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
end
|
76
|
+
|
77
|
+
# This message configures the settings for publishing [Google Cloud Client
|
78
|
+
# libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
|
79
|
+
# generated from the service config.
|
80
|
+
# @!attribute [rw] method_settings
|
81
|
+
# @return [::Array<::Google::Api::MethodSettings>]
|
82
|
+
# A list of API method settings, e.g. the behavior for methods that use the
|
83
|
+
# long-running operation pattern.
|
84
|
+
# @!attribute [rw] new_issue_uri
|
85
|
+
# @return [::String]
|
86
|
+
# Link to a place that API users can report issues. Example:
|
87
|
+
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
|
+
# @!attribute [rw] documentation_uri
|
89
|
+
# @return [::String]
|
90
|
+
# Link to product home page. Example:
|
91
|
+
# https://cloud.google.com/asset-inventory/docs/overview
|
92
|
+
# @!attribute [rw] api_short_name
|
93
|
+
# @return [::String]
|
94
|
+
# Used as a tracking tag when collecting data about the APIs developer
|
95
|
+
# relations artifacts like docs, packages delivered to package managers,
|
96
|
+
# etc. Example: "speech".
|
97
|
+
# @!attribute [rw] github_label
|
98
|
+
# @return [::String]
|
99
|
+
# GitHub label to apply to issues and pull requests opened for this API.
|
100
|
+
# @!attribute [rw] codeowner_github_teams
|
101
|
+
# @return [::Array<::String>]
|
102
|
+
# GitHub teams to be added to CODEOWNERS in the directory in GitHub
|
103
|
+
# containing source code for the client libraries for this API.
|
104
|
+
# @!attribute [rw] doc_tag_prefix
|
105
|
+
# @return [::String]
|
106
|
+
# A prefix used in sample code when demarking regions to be included in
|
107
|
+
# documentation.
|
108
|
+
# @!attribute [rw] organization
|
109
|
+
# @return [::Google::Api::ClientLibraryOrganization]
|
110
|
+
# For whom the client library is being published.
|
111
|
+
# @!attribute [rw] library_settings
|
112
|
+
# @return [::Array<::Google::Api::ClientLibrarySettings>]
|
113
|
+
# Client library settings. If the same version string appears multiple
|
114
|
+
# times in this list, then the last one wins. Settings from earlier
|
115
|
+
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
120
|
+
class Publishing
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# Settings for Java client libraries.
|
126
|
+
# @!attribute [rw] library_package
|
127
|
+
# @return [::String]
|
128
|
+
# The package name to use in Java. Clobbers the java_package option
|
129
|
+
# set in the protobuf. This should be used **only** by APIs
|
130
|
+
# who have already set the language_settings.java.package_name" field
|
131
|
+
# in gapic.yaml. API teams should use the protobuf java_package option
|
132
|
+
# where possible.
|
133
|
+
#
|
134
|
+
# Example of a YAML configuration::
|
135
|
+
#
|
136
|
+
# publishing:
|
137
|
+
# java_settings:
|
138
|
+
# library_package: com.google.cloud.pubsub.v1
|
139
|
+
# @!attribute [rw] service_class_names
|
140
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
141
|
+
# Configure the Java class name to use instead of the service's for its
|
142
|
+
# corresponding generated GAPIC client. Keys are fully-qualified
|
143
|
+
# service names as they appear in the protobuf (including the full
|
144
|
+
# the language_settings.java.interface_names" field in gapic.yaml. API
|
145
|
+
# teams should otherwise use the service name as it appears in the
|
146
|
+
# protobuf.
|
147
|
+
#
|
148
|
+
# Example of a YAML configuration::
|
149
|
+
#
|
150
|
+
# publishing:
|
151
|
+
# java_settings:
|
152
|
+
# service_class_names:
|
153
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
154
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
155
|
+
# @!attribute [rw] common
|
156
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
157
|
+
# Some settings.
|
158
|
+
class JavaSettings
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
|
162
|
+
# @!attribute [rw] key
|
163
|
+
# @return [::String]
|
164
|
+
# @!attribute [rw] value
|
165
|
+
# @return [::String]
|
166
|
+
class ServiceClassNamesEntry
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# Settings for C++ client libraries.
|
173
|
+
# @!attribute [rw] common
|
174
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
175
|
+
# Some settings.
|
176
|
+
class CppSettings
|
177
|
+
include ::Google::Protobuf::MessageExts
|
178
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
|
+
end
|
180
|
+
|
181
|
+
# Settings for Php client libraries.
|
182
|
+
# @!attribute [rw] common
|
183
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
184
|
+
# Some settings.
|
185
|
+
class PhpSettings
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
|
190
|
+
# Settings for Python client libraries.
|
191
|
+
# @!attribute [rw] common
|
192
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
193
|
+
# Some settings.
|
194
|
+
class PythonSettings
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
end
|
198
|
+
|
199
|
+
# Settings for Node client libraries.
|
200
|
+
# @!attribute [rw] common
|
201
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
202
|
+
# Some settings.
|
203
|
+
class NodeSettings
|
204
|
+
include ::Google::Protobuf::MessageExts
|
205
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
|
+
end
|
207
|
+
|
208
|
+
# Settings for Dotnet client libraries.
|
209
|
+
# @!attribute [rw] common
|
210
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
211
|
+
# Some settings.
|
212
|
+
class DotnetSettings
|
213
|
+
include ::Google::Protobuf::MessageExts
|
214
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
215
|
+
end
|
216
|
+
|
217
|
+
# Settings for Ruby client libraries.
|
218
|
+
# @!attribute [rw] common
|
219
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
220
|
+
# Some settings.
|
221
|
+
class RubySettings
|
222
|
+
include ::Google::Protobuf::MessageExts
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
224
|
+
end
|
225
|
+
|
226
|
+
# Settings for Go client libraries.
|
227
|
+
# @!attribute [rw] common
|
228
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
229
|
+
# Some settings.
|
230
|
+
class GoSettings
|
231
|
+
include ::Google::Protobuf::MessageExts
|
232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
233
|
+
end
|
234
|
+
|
235
|
+
# Describes the generator configuration for a method.
|
236
|
+
# @!attribute [rw] selector
|
237
|
+
# @return [::String]
|
238
|
+
# The fully qualified name of the method, for which the options below apply.
|
239
|
+
# This is used to find the method to apply the options.
|
240
|
+
# @!attribute [rw] long_running
|
241
|
+
# @return [::Google::Api::MethodSettings::LongRunning]
|
242
|
+
# Describes settings to use for long-running operations when generating
|
243
|
+
# API methods for RPCs. Complements RPCs that use the annotations in
|
244
|
+
# google/longrunning/operations.proto.
|
245
|
+
#
|
246
|
+
# Example of a YAML configuration::
|
247
|
+
#
|
248
|
+
# publishing:
|
249
|
+
# method_settings:
|
250
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
251
|
+
# long_running:
|
252
|
+
# initial_poll_delay:
|
253
|
+
# seconds: 60 # 1 minute
|
254
|
+
# poll_delay_multiplier: 1.5
|
255
|
+
# max_poll_delay:
|
256
|
+
# seconds: 360 # 6 minutes
|
257
|
+
# total_poll_timeout:
|
258
|
+
# seconds: 54000 # 90 minutes
|
259
|
+
class MethodSettings
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
|
263
|
+
# Describes settings to use when generating API methods that use the
|
264
|
+
# long-running operation pattern.
|
265
|
+
# All default values below are from those used in the client library
|
266
|
+
# generators (e.g.
|
267
|
+
# [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
|
268
|
+
# @!attribute [rw] initial_poll_delay
|
269
|
+
# @return [::Google::Protobuf::Duration]
|
270
|
+
# Initial delay after which the first poll request will be made.
|
271
|
+
# Default value: 5 seconds.
|
272
|
+
# @!attribute [rw] poll_delay_multiplier
|
273
|
+
# @return [::Float]
|
274
|
+
# Multiplier to gradually increase delay between subsequent polls until it
|
275
|
+
# reaches max_poll_delay.
|
276
|
+
# Default value: 1.5.
|
277
|
+
# @!attribute [rw] max_poll_delay
|
278
|
+
# @return [::Google::Protobuf::Duration]
|
279
|
+
# Maximum time between two subsequent poll requests.
|
280
|
+
# Default value: 45 seconds.
|
281
|
+
# @!attribute [rw] total_poll_timeout
|
282
|
+
# @return [::Google::Protobuf::Duration]
|
283
|
+
# Total polling timeout.
|
284
|
+
# Default value: 5 minutes.
|
285
|
+
class LongRunning
|
286
|
+
include ::Google::Protobuf::MessageExts
|
287
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# The organization for which the client libraries are being published.
|
292
|
+
# Affects the url where generated docs are published, etc.
|
293
|
+
module ClientLibraryOrganization
|
294
|
+
# Not useful.
|
295
|
+
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
|
296
|
+
|
297
|
+
# Google Cloud Platform Org.
|
298
|
+
CLOUD = 1
|
299
|
+
|
300
|
+
# Ads (Advertising) Org.
|
301
|
+
ADS = 2
|
302
|
+
|
303
|
+
# Photos Org.
|
304
|
+
PHOTOS = 3
|
305
|
+
|
306
|
+
# Street View Org.
|
307
|
+
STREET_VIEW = 4
|
308
|
+
end
|
309
|
+
|
310
|
+
# To where should client libraries be published?
|
311
|
+
module ClientLibraryDestination
|
312
|
+
# Client libraries will neither be generated nor published to package
|
313
|
+
# managers.
|
314
|
+
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
|
315
|
+
|
316
|
+
# Generate the client library in a repo under github.com/googleapis,
|
317
|
+
# but don't publish it to package managers.
|
318
|
+
GITHUB = 10
|
319
|
+
|
320
|
+
# Publish the library to package managers like nuget.org and npmjs.com.
|
321
|
+
PACKAGE_MANAGER = 20
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|
@@ -20,7 +20,7 @@
|
|
20
20
|
module Google
|
21
21
|
module Api
|
22
22
|
# The launch stage as defined by [Google Cloud Platform
|
23
|
-
# Launch Stages](
|
23
|
+
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
24
24
|
module LaunchStage
|
25
25
|
# Do not use this default value.
|
26
26
|
LAUNCH_STAGE_UNSPECIFIED = 0
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# for widespread use. By Alpha, all significant design issues are resolved
|
43
43
|
# and we are in the process of verifying functionality. Alpha customers
|
44
44
|
# need to apply for access, agree to applicable terms, and have their
|
45
|
-
# projects allowlisted. Alpha releases don
|
45
|
+
# projects allowlisted. Alpha releases don't have to be feature complete,
|
46
46
|
# no SLAs are provided, and there are no technical support obligations, but
|
47
47
|
# they will be far enough along that customers can actually use them in
|
48
48
|
# test environments or for limited-use tests -- just like they would in
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
GA = 4
|
62
62
|
|
63
63
|
# Deprecated features are scheduled to be shut down and removed. For more
|
64
|
-
# information, see the
|
64
|
+
# information, see the "Deprecation Policy" section of our [Terms of
|
65
65
|
# Service](https://cloud.google.com/terms/)
|
66
66
|
# and the [Google Cloud Platform Subject to the Deprecation
|
67
67
|
# Policy](https://cloud.google.com/terms/deprecation) documentation.
|
@@ -174,9 +174,10 @@ module Google
|
|
174
174
|
# @return [::Array<::String>]
|
175
175
|
# Read-only. If present, then a [time
|
176
176
|
# series][google.monitoring.v3.TimeSeries], which is identified partially by
|
177
|
-
# a metric type and a
|
178
|
-
#
|
179
|
-
#
|
177
|
+
# a metric type and a
|
178
|
+
# [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
|
179
|
+
# is associated with this metric type can only be associated with one of the
|
180
|
+
# monitored resource types listed here.
|
180
181
|
class MetricDescriptor
|
181
182
|
include ::Google::Protobuf::MessageExts
|
182
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -184,7 +185,9 @@ module Google
|
|
184
185
|
# Additional annotations that can be used to guide the usage of a metric.
|
185
186
|
# @!attribute [rw] launch_stage
|
186
187
|
# @return [::Google::Api::LaunchStage]
|
187
|
-
# Deprecated. Must use the
|
188
|
+
# Deprecated. Must use the
|
189
|
+
# {::Google::Api::MetricDescriptor#launch_stage MetricDescriptor.launch_stage}
|
190
|
+
# instead.
|
188
191
|
# @!attribute [rw] sample_period
|
189
192
|
# @return [::Google::Protobuf::Duration]
|
190
193
|
# The sampling period of metric data points. For metrics which are written
|
@@ -253,8 +256,9 @@ module Google
|
|
253
256
|
# labels of a {::Google::Api::MetricDescriptor `MetricDescriptor`}.
|
254
257
|
# @!attribute [rw] type
|
255
258
|
# @return [::String]
|
256
|
-
# An existing metric type, see
|
257
|
-
# For example,
|
259
|
+
# An existing metric type, see
|
260
|
+
# {::Google::Api::MetricDescriptor google.api.MetricDescriptor}. For example,
|
261
|
+
# `custom.googleapis.com/invoice/paid/amount`.
|
258
262
|
# @!attribute [rw] labels
|
259
263
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
260
264
|
# The set of label values that uniquely identify this metric. All
|
@@ -100,7 +100,8 @@ module Google
|
|
100
100
|
# Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
|
101
101
|
# Translation_Snowflake2BQ, Translation_Netezza2BQ,
|
102
102
|
# Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
|
103
|
-
# Translation_SQLServer2BQ, Translation_Presto2BQ
|
103
|
+
# Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
|
104
|
+
# Translation_Postgresql2BQ.
|
104
105
|
# @!attribute [r] state
|
105
106
|
# @return [::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State]
|
106
107
|
# Output only. The current state of the task.
|
@@ -213,6 +214,10 @@ module Google
|
|
213
214
|
# The subtask is paused, i.e., it will not be scheduled. If it was already
|
214
215
|
# assigned,it might still finish but no new lease renewals will be granted.
|
215
216
|
PAUSED = 5
|
217
|
+
|
218
|
+
# The subtask is pending a dependency. It will be scheduled once its
|
219
|
+
# dependencies are done.
|
220
|
+
PENDING_DEPENDENCY = 6
|
216
221
|
end
|
217
222
|
end
|
218
223
|
end
|
@@ -31,8 +31,8 @@ module Google
|
|
31
31
|
# Required. The error details for the resource.
|
32
32
|
# @!attribute [rw] error_count
|
33
33
|
# @return [::Integer]
|
34
|
-
# Required. How many errors there are in total for the resource. Truncation
|
35
|
-
# indicated by having an `error_count` that is higher than the size of
|
34
|
+
# Required. How many errors there are in total for the resource. Truncation
|
35
|
+
# can be indicated by having an `error_count` that is higher than the size of
|
36
36
|
# `error_details`.
|
37
37
|
class ResourceErrorDetail
|
38
38
|
include ::Google::Protobuf::MessageExts
|
@@ -55,12 +55,12 @@ module Google
|
|
55
55
|
# Holds information about where the error is located.
|
56
56
|
# @!attribute [rw] line
|
57
57
|
# @return [::Integer]
|
58
|
-
# Optional. If applicable, denotes the line where the error occurred. A zero
|
59
|
-
# means that there is no line information.
|
58
|
+
# Optional. If applicable, denotes the line where the error occurred. A zero
|
59
|
+
# value means that there is no line information.
|
60
60
|
# @!attribute [rw] column
|
61
61
|
# @return [::Integer]
|
62
|
-
# Optional. If applicable, denotes the column where the error occurred. A
|
63
|
-
# means that there is no columns information.
|
62
|
+
# Optional. If applicable, denotes the column where the error occurred. A
|
63
|
+
# zero value means that there is no columns information.
|
64
64
|
class ErrorLocation
|
65
65
|
include ::Google::Protobuf::MessageExts
|
66
66
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -41,8 +41,8 @@ module Google
|
|
41
41
|
# either `GAUGE` (the default) or `CUMULATIVE`.
|
42
42
|
# @!attribute [rw] points
|
43
43
|
# @return [::Array<::Google::Cloud::Bigquery::Migration::V2::Point>]
|
44
|
-
# Required. The data points of this time series. When listing time series,
|
45
|
-
# returned in reverse time order.
|
44
|
+
# Required. The data points of this time series. When listing time series,
|
45
|
+
# points are returned in reverse time order.
|
46
46
|
#
|
47
47
|
# When creating a time series, this field must contain exactly one point and
|
48
48
|
# the point's type must be the same as the value type of the associated
|
@@ -128,20 +128,20 @@ module Google
|
|
128
128
|
# Optional. The list of fields to be retrieved.
|
129
129
|
# @!attribute [rw] page_size
|
130
130
|
# @return [::Integer]
|
131
|
-
# Optional. The maximum number of migration tasks to return. The service may
|
132
|
-
# fewer than this number.
|
131
|
+
# Optional. The maximum number of migration tasks to return. The service may
|
132
|
+
# return fewer than this number.
|
133
133
|
# @!attribute [rw] page_token
|
134
134
|
# @return [::String]
|
135
|
-
# Optional. A page token, received from previous `ListMigrationSubtasks`
|
136
|
-
# Provide this to retrieve the subsequent page.
|
135
|
+
# Optional. A page token, received from previous `ListMigrationSubtasks`
|
136
|
+
# call. Provide this to retrieve the subsequent page.
|
137
137
|
#
|
138
138
|
# When paginating, all other parameters provided to `ListMigrationSubtasks`
|
139
139
|
# must match the call that provided the page token.
|
140
140
|
# @!attribute [rw] filter
|
141
141
|
# @return [::String]
|
142
|
-
# Optional. The filter to apply. This can be used to get the subtasks of a
|
143
|
-
# tasks in a workflow, e.g. `migration_task = "ab012"` where
|
144
|
-
# task ID (not the name in the named map).
|
142
|
+
# Optional. The filter to apply. This can be used to get the subtasks of a
|
143
|
+
# specific tasks in a workflow, e.g. `migration_task = "ab012"` where
|
144
|
+
# `"ab012"` is the task ID (not the name in the named map).
|
145
145
|
class ListMigrationSubtasksRequest
|
146
146
|
include ::Google::Protobuf::MessageExts
|
147
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -30,18 +30,21 @@ module Google
|
|
30
30
|
# @!attribute [rw] gcs_target_path
|
31
31
|
# @return [::String]
|
32
32
|
# The Cloud Storage path to write back the corresponding input files to.
|
33
|
+
# @!attribute [rw] name_mapping_list
|
34
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::ObjectNameMappingList]
|
35
|
+
# The mapping of objects to their desired output names in list form.
|
33
36
|
# @!attribute [rw] source_dialect
|
34
37
|
# @return [::Google::Cloud::Bigquery::Migration::V2::Dialect]
|
35
38
|
# The dialect of the input files.
|
36
39
|
# @!attribute [rw] target_dialect
|
37
40
|
# @return [::Google::Cloud::Bigquery::Migration::V2::Dialect]
|
38
41
|
# The target dialect for the engine to translate the input to.
|
39
|
-
# @!attribute [rw] name_mapping_list
|
40
|
-
# @return [::Google::Cloud::Bigquery::Migration::V2::ObjectNameMappingList]
|
41
|
-
# The mapping of objects to their desired output names in list form.
|
42
42
|
# @!attribute [rw] source_env
|
43
43
|
# @return [::Google::Cloud::Bigquery::Migration::V2::SourceEnv]
|
44
44
|
# The default source environment values for the translation.
|
45
|
+
# @!attribute [rw] request_source
|
46
|
+
# @return [::String]
|
47
|
+
# The indicator to show translation request initiator.
|
45
48
|
class TranslationConfigDetails
|
46
49
|
include ::Google::Protobuf::MessageExts
|
47
50
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,6 +90,9 @@ module Google
|
|
87
90
|
# @!attribute [rw] presto_dialect
|
88
91
|
# @return [::Google::Cloud::Bigquery::Migration::V2::PrestoDialect]
|
89
92
|
# The Presto dialect
|
93
|
+
# @!attribute [rw] mysql_dialect
|
94
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::MySQLDialect]
|
95
|
+
# The MySQL dialect
|
90
96
|
class Dialect
|
91
97
|
include ::Google::Protobuf::MessageExts
|
92
98
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -185,6 +191,12 @@ module Google
|
|
185
191
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
192
|
end
|
187
193
|
|
194
|
+
# The dialect definition for MySQL.
|
195
|
+
class MySQLDialect
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
end
|
199
|
+
|
188
200
|
# Represents a map of name mappings using a list of key:value proto messages of
|
189
201
|
# existing name to desired output name.
|
190
202
|
# @!attribute [rw] name_map
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.6.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-03-24 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.18.0
|
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.18.0
|
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: []
|