google-cloud-bigquery-data_transfer-v1 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +71 -0
- data/lib/google-cloud-bigquery-data_transfer-v1.rb +21 -0
- data/lib/google/cloud/bigquery/data_transfer/v1.rb +37 -0
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service.rb +54 -0
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/client.rb +1567 -0
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/credentials.rb +53 -0
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/paths.rb +193 -0
- data/lib/google/cloud/bigquery/data_transfer/v1/version.rb +30 -0
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_pb.rb +217 -0
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +92 -0
- data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +104 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +646 -0
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/transfer.rb +276 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +183 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Bigquery
|
24
|
+
module DataTransfer
|
25
|
+
module V1
|
26
|
+
module DataTransferService
|
27
|
+
# Credentials for the DataTransferService API.
|
28
|
+
class Credentials < Google::Auth::Credentials
|
29
|
+
self.scope = [
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
31
|
+
]
|
32
|
+
self.env_vars = [
|
33
|
+
"DATA_TRANSFER_CREDENTIALS",
|
34
|
+
"DATA_TRANSFER_KEYFILE",
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
37
|
+
"GCLOUD_KEYFILE",
|
38
|
+
"DATA_TRANSFER_CREDENTIALS_JSON",
|
39
|
+
"DATA_TRANSFER_KEYFILE_JSON",
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
43
|
+
]
|
44
|
+
self.paths = [
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
+
]
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,193 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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 Cloud
|
22
|
+
module Bigquery
|
23
|
+
module DataTransfer
|
24
|
+
module V1
|
25
|
+
module DataTransferService
|
26
|
+
# Path helper methods for the DataTransferService API.
|
27
|
+
module Paths
|
28
|
+
##
|
29
|
+
# Create a fully-qualified DataSource resource string.
|
30
|
+
#
|
31
|
+
# @overload data_source_path(project:, data_source:)
|
32
|
+
# The resource will be in the following format:
|
33
|
+
#
|
34
|
+
# `projects/{project}/dataSources/{data_source}`
|
35
|
+
#
|
36
|
+
# @param project [String]
|
37
|
+
# @param data_source [String]
|
38
|
+
#
|
39
|
+
# @overload data_source_path(project:, location:, data_source:)
|
40
|
+
# The resource will be in the following format:
|
41
|
+
#
|
42
|
+
# `projects/{project}/locations/{location}/dataSources/{data_source}`
|
43
|
+
#
|
44
|
+
# @param project [String]
|
45
|
+
# @param location [String]
|
46
|
+
# @param data_source [String]
|
47
|
+
#
|
48
|
+
# @return [String]
|
49
|
+
def data_source_path **args
|
50
|
+
resources = {
|
51
|
+
"data_source:project" => (proc do |project:, data_source:|
|
52
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
53
|
+
|
54
|
+
"projects/#{project}/dataSources/#{data_source}"
|
55
|
+
end),
|
56
|
+
"data_source:location:project" => (proc do |project:, location:, data_source:|
|
57
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
58
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
59
|
+
|
60
|
+
"projects/#{project}/locations/#{location}/dataSources/#{data_source}"
|
61
|
+
end)
|
62
|
+
}
|
63
|
+
|
64
|
+
resource = resources[args.keys.sort.join(":")]
|
65
|
+
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
66
|
+
resource.call(**args)
|
67
|
+
end
|
68
|
+
|
69
|
+
##
|
70
|
+
# Create a fully-qualified Location resource string.
|
71
|
+
#
|
72
|
+
# The resource will be in the following format:
|
73
|
+
#
|
74
|
+
# `projects/{project}/locations/{location}`
|
75
|
+
#
|
76
|
+
# @param project [String]
|
77
|
+
# @param location [String]
|
78
|
+
#
|
79
|
+
# @return [String]
|
80
|
+
def location_path project:, location:
|
81
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
82
|
+
|
83
|
+
"projects/#{project}/locations/#{location}"
|
84
|
+
end
|
85
|
+
|
86
|
+
##
|
87
|
+
# Create a fully-qualified Project resource string.
|
88
|
+
#
|
89
|
+
# The resource will be in the following format:
|
90
|
+
#
|
91
|
+
# `projects/{project}`
|
92
|
+
#
|
93
|
+
# @param project [String]
|
94
|
+
#
|
95
|
+
# @return [String]
|
96
|
+
def project_path project:
|
97
|
+
"projects/#{project}"
|
98
|
+
end
|
99
|
+
|
100
|
+
##
|
101
|
+
# Create a fully-qualified Run resource string.
|
102
|
+
#
|
103
|
+
# @overload run_path(project:, transfer_config:, run:)
|
104
|
+
# The resource will be in the following format:
|
105
|
+
#
|
106
|
+
# `projects/{project}/transferConfigs/{transfer_config}/runs/{run}`
|
107
|
+
#
|
108
|
+
# @param project [String]
|
109
|
+
# @param transfer_config [String]
|
110
|
+
# @param run [String]
|
111
|
+
#
|
112
|
+
# @overload run_path(project:, location:, transfer_config:, run:)
|
113
|
+
# The resource will be in the following format:
|
114
|
+
#
|
115
|
+
# `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}`
|
116
|
+
#
|
117
|
+
# @param project [String]
|
118
|
+
# @param location [String]
|
119
|
+
# @param transfer_config [String]
|
120
|
+
# @param run [String]
|
121
|
+
#
|
122
|
+
# @return [String]
|
123
|
+
def run_path **args
|
124
|
+
resources = {
|
125
|
+
"project:run:transfer_config" => (proc do |project:, transfer_config:, run:|
|
126
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
127
|
+
raise ArgumentError, "transfer_config cannot contain /" if transfer_config.to_s.include? "/"
|
128
|
+
|
129
|
+
"projects/#{project}/transferConfigs/#{transfer_config}/runs/#{run}"
|
130
|
+
end),
|
131
|
+
"location:project:run:transfer_config" => (proc do |project:, location:, transfer_config:, run:|
|
132
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
133
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
134
|
+
raise ArgumentError, "transfer_config cannot contain /" if transfer_config.to_s.include? "/"
|
135
|
+
|
136
|
+
"projects/#{project}/locations/#{location}/transferConfigs/#{transfer_config}/runs/#{run}"
|
137
|
+
end)
|
138
|
+
}
|
139
|
+
|
140
|
+
resource = resources[args.keys.sort.join(":")]
|
141
|
+
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
142
|
+
resource.call(**args)
|
143
|
+
end
|
144
|
+
|
145
|
+
##
|
146
|
+
# Create a fully-qualified TransferConfig resource string.
|
147
|
+
#
|
148
|
+
# @overload transfer_config_path(project:, transfer_config:)
|
149
|
+
# The resource will be in the following format:
|
150
|
+
#
|
151
|
+
# `projects/{project}/transferConfigs/{transfer_config}`
|
152
|
+
#
|
153
|
+
# @param project [String]
|
154
|
+
# @param transfer_config [String]
|
155
|
+
#
|
156
|
+
# @overload transfer_config_path(project:, location:, transfer_config:)
|
157
|
+
# The resource will be in the following format:
|
158
|
+
#
|
159
|
+
# `projects/{project}/locations/{location}/transferConfigs/{transfer_config}`
|
160
|
+
#
|
161
|
+
# @param project [String]
|
162
|
+
# @param location [String]
|
163
|
+
# @param transfer_config [String]
|
164
|
+
#
|
165
|
+
# @return [String]
|
166
|
+
def transfer_config_path **args
|
167
|
+
resources = {
|
168
|
+
"project:transfer_config" => (proc do |project:, transfer_config:|
|
169
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
170
|
+
|
171
|
+
"projects/#{project}/transferConfigs/#{transfer_config}"
|
172
|
+
end),
|
173
|
+
"location:project:transfer_config" => (proc do |project:, location:, transfer_config:|
|
174
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
175
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
176
|
+
|
177
|
+
"projects/#{project}/locations/#{location}/transferConfigs/#{transfer_config}"
|
178
|
+
end)
|
179
|
+
}
|
180
|
+
|
181
|
+
resource = resources[args.keys.sort.join(":")]
|
182
|
+
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
183
|
+
resource.call(**args)
|
184
|
+
end
|
185
|
+
|
186
|
+
extend self
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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 Cloud
|
22
|
+
module Bigquery
|
23
|
+
module DataTransfer
|
24
|
+
module V1
|
25
|
+
VERSION = "0.1.0"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,217 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/bigquery/datatransfer/v1/transfer_pb'
|
11
|
+
require 'google/protobuf/duration_pb'
|
12
|
+
require 'google/protobuf/empty_pb'
|
13
|
+
require 'google/protobuf/field_mask_pb'
|
14
|
+
require 'google/protobuf/timestamp_pb'
|
15
|
+
require 'google/protobuf/wrappers_pb'
|
16
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
|
+
add_file("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", :syntax => :proto3) do
|
18
|
+
add_message "google.cloud.bigquery.datatransfer.v1.DataSourceParameter" do
|
19
|
+
optional :param_id, :string, 1
|
20
|
+
optional :display_name, :string, 2
|
21
|
+
optional :description, :string, 3
|
22
|
+
optional :type, :enum, 4, "google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type"
|
23
|
+
optional :required, :bool, 5
|
24
|
+
optional :repeated, :bool, 6
|
25
|
+
optional :validation_regex, :string, 7
|
26
|
+
repeated :allowed_values, :string, 8
|
27
|
+
optional :min_value, :message, 9, "google.protobuf.DoubleValue"
|
28
|
+
optional :max_value, :message, 10, "google.protobuf.DoubleValue"
|
29
|
+
repeated :fields, :message, 11, "google.cloud.bigquery.datatransfer.v1.DataSourceParameter"
|
30
|
+
optional :validation_description, :string, 12
|
31
|
+
optional :validation_help_url, :string, 13
|
32
|
+
optional :immutable, :bool, 14
|
33
|
+
optional :recurse, :bool, 15
|
34
|
+
optional :deprecated, :bool, 20
|
35
|
+
end
|
36
|
+
add_enum "google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type" do
|
37
|
+
value :TYPE_UNSPECIFIED, 0
|
38
|
+
value :STRING, 1
|
39
|
+
value :INTEGER, 2
|
40
|
+
value :DOUBLE, 3
|
41
|
+
value :BOOLEAN, 4
|
42
|
+
value :RECORD, 5
|
43
|
+
value :PLUS_PAGE, 6
|
44
|
+
end
|
45
|
+
add_message "google.cloud.bigquery.datatransfer.v1.DataSource" do
|
46
|
+
optional :name, :string, 1
|
47
|
+
optional :data_source_id, :string, 2
|
48
|
+
optional :display_name, :string, 3
|
49
|
+
optional :description, :string, 4
|
50
|
+
optional :client_id, :string, 5
|
51
|
+
repeated :scopes, :string, 6
|
52
|
+
optional :transfer_type, :enum, 7, "google.cloud.bigquery.datatransfer.v1.TransferType"
|
53
|
+
optional :supports_multiple_transfers, :bool, 8
|
54
|
+
optional :update_deadline_seconds, :int32, 9
|
55
|
+
optional :default_schedule, :string, 10
|
56
|
+
optional :supports_custom_schedule, :bool, 11
|
57
|
+
repeated :parameters, :message, 12, "google.cloud.bigquery.datatransfer.v1.DataSourceParameter"
|
58
|
+
optional :help_url, :string, 13
|
59
|
+
optional :authorization_type, :enum, 14, "google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType"
|
60
|
+
optional :data_refresh_type, :enum, 15, "google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType"
|
61
|
+
optional :default_data_refresh_window_days, :int32, 16
|
62
|
+
optional :manual_runs_disabled, :bool, 17
|
63
|
+
optional :minimum_schedule_interval, :message, 18, "google.protobuf.Duration"
|
64
|
+
end
|
65
|
+
add_enum "google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType" do
|
66
|
+
value :AUTHORIZATION_TYPE_UNSPECIFIED, 0
|
67
|
+
value :AUTHORIZATION_CODE, 1
|
68
|
+
value :GOOGLE_PLUS_AUTHORIZATION_CODE, 2
|
69
|
+
value :FIRST_PARTY_OAUTH, 3
|
70
|
+
end
|
71
|
+
add_enum "google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType" do
|
72
|
+
value :DATA_REFRESH_TYPE_UNSPECIFIED, 0
|
73
|
+
value :SLIDING_WINDOW, 1
|
74
|
+
value :CUSTOM_SLIDING_WINDOW, 2
|
75
|
+
end
|
76
|
+
add_message "google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest" do
|
77
|
+
optional :name, :string, 1
|
78
|
+
end
|
79
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest" do
|
80
|
+
optional :parent, :string, 1
|
81
|
+
optional :page_token, :string, 3
|
82
|
+
optional :page_size, :int32, 4
|
83
|
+
end
|
84
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse" do
|
85
|
+
repeated :data_sources, :message, 1, "google.cloud.bigquery.datatransfer.v1.DataSource"
|
86
|
+
optional :next_page_token, :string, 2
|
87
|
+
end
|
88
|
+
add_message "google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest" do
|
89
|
+
optional :parent, :string, 1
|
90
|
+
optional :transfer_config, :message, 2, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
91
|
+
optional :authorization_code, :string, 3
|
92
|
+
optional :version_info, :string, 5
|
93
|
+
optional :service_account_name, :string, 6
|
94
|
+
end
|
95
|
+
add_message "google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest" do
|
96
|
+
optional :transfer_config, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
97
|
+
optional :authorization_code, :string, 3
|
98
|
+
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
99
|
+
optional :version_info, :string, 5
|
100
|
+
optional :service_account_name, :string, 6
|
101
|
+
end
|
102
|
+
add_message "google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest" do
|
103
|
+
optional :name, :string, 1
|
104
|
+
end
|
105
|
+
add_message "google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest" do
|
106
|
+
optional :name, :string, 1
|
107
|
+
end
|
108
|
+
add_message "google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest" do
|
109
|
+
optional :name, :string, 1
|
110
|
+
end
|
111
|
+
add_message "google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest" do
|
112
|
+
optional :name, :string, 1
|
113
|
+
end
|
114
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest" do
|
115
|
+
optional :parent, :string, 1
|
116
|
+
repeated :data_source_ids, :string, 2
|
117
|
+
optional :page_token, :string, 3
|
118
|
+
optional :page_size, :int32, 4
|
119
|
+
end
|
120
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse" do
|
121
|
+
repeated :transfer_configs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferConfig"
|
122
|
+
optional :next_page_token, :string, 2
|
123
|
+
end
|
124
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest" do
|
125
|
+
optional :parent, :string, 1
|
126
|
+
repeated :states, :enum, 2, "google.cloud.bigquery.datatransfer.v1.TransferState"
|
127
|
+
optional :page_token, :string, 3
|
128
|
+
optional :page_size, :int32, 4
|
129
|
+
optional :run_attempt, :enum, 5, "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt"
|
130
|
+
end
|
131
|
+
add_enum "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt" do
|
132
|
+
value :RUN_ATTEMPT_UNSPECIFIED, 0
|
133
|
+
value :LATEST, 1
|
134
|
+
end
|
135
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse" do
|
136
|
+
repeated :transfer_runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
137
|
+
optional :next_page_token, :string, 2
|
138
|
+
end
|
139
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest" do
|
140
|
+
optional :parent, :string, 1
|
141
|
+
optional :page_token, :string, 4
|
142
|
+
optional :page_size, :int32, 5
|
143
|
+
repeated :message_types, :enum, 6, "google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity"
|
144
|
+
end
|
145
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse" do
|
146
|
+
repeated :transfer_messages, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferMessage"
|
147
|
+
optional :next_page_token, :string, 2
|
148
|
+
end
|
149
|
+
add_message "google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest" do
|
150
|
+
optional :name, :string, 1
|
151
|
+
end
|
152
|
+
add_message "google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse" do
|
153
|
+
optional :has_valid_creds, :bool, 1
|
154
|
+
end
|
155
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest" do
|
156
|
+
optional :parent, :string, 1
|
157
|
+
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
158
|
+
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
159
|
+
end
|
160
|
+
add_message "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse" do
|
161
|
+
repeated :runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
162
|
+
end
|
163
|
+
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest" do
|
164
|
+
optional :parent, :string, 1
|
165
|
+
oneof :time do
|
166
|
+
optional :requested_time_range, :message, 3, "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange"
|
167
|
+
optional :requested_run_time, :message, 4, "google.protobuf.Timestamp"
|
168
|
+
end
|
169
|
+
end
|
170
|
+
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange" do
|
171
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
172
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
173
|
+
end
|
174
|
+
add_message "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse" do
|
175
|
+
repeated :runs, :message, 1, "google.cloud.bigquery.datatransfer.v1.TransferRun"
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
module Google
|
181
|
+
module Cloud
|
182
|
+
module Bigquery
|
183
|
+
module DataTransfer
|
184
|
+
module V1
|
185
|
+
DataSourceParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter").msgclass
|
186
|
+
DataSourceParameter::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type").enummodule
|
187
|
+
DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource").msgclass
|
188
|
+
DataSource::AuthorizationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType").enummodule
|
189
|
+
DataSource::DataRefreshType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType").enummodule
|
190
|
+
GetDataSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest").msgclass
|
191
|
+
ListDataSourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest").msgclass
|
192
|
+
ListDataSourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse").msgclass
|
193
|
+
CreateTransferConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest").msgclass
|
194
|
+
UpdateTransferConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest").msgclass
|
195
|
+
GetTransferConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest").msgclass
|
196
|
+
DeleteTransferConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest").msgclass
|
197
|
+
GetTransferRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest").msgclass
|
198
|
+
DeleteTransferRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest").msgclass
|
199
|
+
ListTransferConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest").msgclass
|
200
|
+
ListTransferConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse").msgclass
|
201
|
+
ListTransferRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest").msgclass
|
202
|
+
ListTransferRunsRequest::RunAttempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt").enummodule
|
203
|
+
ListTransferRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse").msgclass
|
204
|
+
ListTransferLogsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest").msgclass
|
205
|
+
ListTransferLogsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse").msgclass
|
206
|
+
CheckValidCredsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest").msgclass
|
207
|
+
CheckValidCredsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse").msgclass
|
208
|
+
ScheduleTransferRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest").msgclass
|
209
|
+
ScheduleTransferRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse").msgclass
|
210
|
+
StartManualTransferRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest").msgclass
|
211
|
+
StartManualTransferRunsRequest::TimeRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange").msgclass
|
212
|
+
StartManualTransferRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse").msgclass
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|