google-cloud-bigquery-data_transfer-v1 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/client.rb +2 -1
- data/lib/google/cloud/bigquery/data_transfer/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/datatransfer/v1/datatransfer_services_pb.rb +2 -1
- data/lib/google/cloud/bigquery/datatransfer/v1/transfer_pb.rb +1 -0
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/datatransfer.rb +5 -7
- data/proto_docs/google/cloud/bigquery/datatransfer/v1/transfer.rb +25 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58a018d821207c28605f8c2288b168ac51c496e676a0bd26036b51cb5aabb70e
|
4
|
+
data.tar.gz: b067a3dfdfa53209b06a1bfa0554a2755906de0f1e3be65204a09d4e85c58d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67f666a9d4e67640172723fcf3c327224a84874483742f7ac77d625c0375524b3aeaac280febf86a3ab057f5ff1f954f4cacfdd1026388582671ca3a8ff10ea3
|
7
|
+
data.tar.gz: d91f2bae8a81c92abcb20ee095462709929bcb3ed05f51d6e497153d5fe110b69d260e33f38add6790d0698837a751f8b94e3b05d3d21ed1a594037c7da2770e
|
@@ -700,7 +700,8 @@ module Google
|
|
700
700
|
end
|
701
701
|
|
702
702
|
##
|
703
|
-
# Returns information about all
|
703
|
+
# Returns information about all transfer configs owned by a project in the
|
704
|
+
# specified location.
|
704
705
|
#
|
705
706
|
# @overload list_transfer_configs(request, options = nil)
|
706
707
|
# Pass arguments to `list_transfer_configs` via a request object, either of type
|
@@ -53,7 +53,8 @@ module Google
|
|
53
53
|
rpc :DeleteTransferConfig, ::Google::Cloud::Bigquery::DataTransfer::V1::DeleteTransferConfigRequest, ::Google::Protobuf::Empty
|
54
54
|
# Returns information about a data transfer config.
|
55
55
|
rpc :GetTransferConfig, ::Google::Cloud::Bigquery::DataTransfer::V1::GetTransferConfigRequest, ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig
|
56
|
-
# Returns information about all
|
56
|
+
# Returns information about all transfer configs owned by a project in the
|
57
|
+
# specified location.
|
57
58
|
rpc :ListTransferConfigs, ::Google::Cloud::Bigquery::DataTransfer::V1::ListTransferConfigsRequest, ::Google::Cloud::Bigquery::DataTransfer::V1::ListTransferConfigsResponse
|
58
59
|
# Creates transfer runs for a time range [start_time, end_time].
|
59
60
|
# For each date - or whatever granularity the data source supports - in the
|
@@ -195,9 +195,7 @@ module Google
|
|
195
195
|
# exchanged for a refresh token on the backend.
|
196
196
|
GOOGLE_PLUS_AUTHORIZATION_CODE = 2
|
197
197
|
|
198
|
-
# Use First Party
|
199
|
-
# refresh token to get an offline access token. Instead, it uses a
|
200
|
-
# client-signed JWT assertion to retrieve an access token.
|
198
|
+
# Use First Party OAuth.
|
201
199
|
FIRST_PARTY_OAUTH = 3
|
202
200
|
end
|
203
201
|
|
@@ -617,14 +615,14 @@ module Google
|
|
617
615
|
# @return [::Google::Protobuf::Timestamp]
|
618
616
|
# Start time of the range of transfer runs. For example,
|
619
617
|
# `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
|
620
|
-
# the end_time. Creates transfer runs where run_time is in the range
|
621
|
-
# start_time (inclusive) and end_time (
|
618
|
+
# the end_time. Creates transfer runs where run_time is in the range
|
619
|
+
# between start_time (inclusive) and end_time (exclusive).
|
622
620
|
# @!attribute [rw] end_time
|
623
621
|
# @return [::Google::Protobuf::Timestamp]
|
624
622
|
# End time of the range of transfer runs. For example,
|
625
623
|
# `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
|
626
|
-
# Creates transfer runs where run_time is in the range
|
627
|
-
# (inclusive) and end_time (
|
624
|
+
# Creates transfer runs where run_time is in the range between start_time
|
625
|
+
# (inclusive) and end_time (exclusive).
|
628
626
|
class TimeRange
|
629
627
|
include ::Google::Protobuf::MessageExts
|
630
628
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -66,12 +66,11 @@ module Google
|
|
66
66
|
# @!attribute [rw] name
|
67
67
|
# @return [::String]
|
68
68
|
# The resource name of the transfer config.
|
69
|
-
# Transfer config names have the form
|
69
|
+
# Transfer config names have the form
|
70
70
|
# `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# required, will be generated for config_id.
|
71
|
+
# Where `config_id` is usually a uuid, even though it is not
|
72
|
+
# guaranteed or required. The name is ignored when creating a transfer
|
73
|
+
# config.
|
75
74
|
# @!attribute [rw] destination_dataset_id
|
76
75
|
# @return [::String]
|
77
76
|
# The BigQuery target dataset id.
|
@@ -83,7 +82,10 @@ module Google
|
|
83
82
|
# Data source id. Cannot be changed once data transfer is created.
|
84
83
|
# @!attribute [rw] params
|
85
84
|
# @return [::Google::Protobuf::Struct]
|
86
|
-
#
|
85
|
+
# Parameters specific to each data source. For more information see the
|
86
|
+
# bq tab in the 'Setting up a data transfer' section for each data source.
|
87
|
+
# For example the parameters for Cloud Storage transfers are listed here:
|
88
|
+
# https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
|
87
89
|
# @!attribute [rw] schedule
|
88
90
|
# @return [::String]
|
89
91
|
# Data transfer schedule.
|
@@ -132,6 +134,9 @@ module Google
|
|
132
134
|
# @return [::String]
|
133
135
|
# Pub/Sub topic where notifications will be sent after transfer runs
|
134
136
|
# associated with this transfer config finish.
|
137
|
+
#
|
138
|
+
# The format for specifying a pubsub topic is:
|
139
|
+
# `projects/{project}/topics/{topic}`
|
135
140
|
# @!attribute [rw] email_preferences
|
136
141
|
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::EmailPreferences]
|
137
142
|
# Email notifications will be sent according to these preferences
|
@@ -171,7 +176,10 @@ module Google
|
|
171
176
|
# Output only. Last time the data transfer run state was updated.
|
172
177
|
# @!attribute [r] params
|
173
178
|
# @return [::Google::Protobuf::Struct]
|
174
|
-
# Output only.
|
179
|
+
# Output only. Parameters specific to each data source. For more information see the
|
180
|
+
# bq tab in the 'Setting up a data transfer' section for each data source.
|
181
|
+
# For example the parameters for Cloud Storage transfers are listed here:
|
182
|
+
# https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
|
175
183
|
# @!attribute [r] destination_dataset_id
|
176
184
|
# @return [::String]
|
177
185
|
# Output only. The BigQuery target dataset id.
|
@@ -194,7 +202,10 @@ module Google
|
|
194
202
|
# @!attribute [r] notification_pubsub_topic
|
195
203
|
# @return [::String]
|
196
204
|
# Output only. Pub/Sub topic where a notification will be sent after this
|
197
|
-
# transfer run finishes
|
205
|
+
# transfer run finishes.
|
206
|
+
#
|
207
|
+
# The format for specifying a pubsub topic is:
|
208
|
+
# `projects/{project}/topics/{topic}`
|
198
209
|
# @!attribute [r] email_preferences
|
199
210
|
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::EmailPreferences]
|
200
211
|
# Output only. Email notifications will be sent according to these
|
@@ -250,23 +261,23 @@ module Google
|
|
250
261
|
|
251
262
|
# Represents data transfer run state.
|
252
263
|
module TransferState
|
253
|
-
# State placeholder.
|
264
|
+
# State placeholder (0).
|
254
265
|
TRANSFER_STATE_UNSPECIFIED = 0
|
255
266
|
|
256
267
|
# Data transfer is scheduled and is waiting to be picked up by
|
257
|
-
# data transfer backend.
|
268
|
+
# data transfer backend (2).
|
258
269
|
PENDING = 2
|
259
270
|
|
260
|
-
# Data transfer is in progress.
|
271
|
+
# Data transfer is in progress (3).
|
261
272
|
RUNNING = 3
|
262
273
|
|
263
|
-
# Data transfer completed successfully.
|
274
|
+
# Data transfer completed successfully (4).
|
264
275
|
SUCCEEDED = 4
|
265
276
|
|
266
|
-
# Data transfer failed.
|
277
|
+
# Data transfer failed (5).
|
267
278
|
FAILED = 5
|
268
279
|
|
269
|
-
# Data transfer is cancelled.
|
280
|
+
# Data transfer is cancelled (6).
|
270
281
|
CANCELLED = 6
|
271
282
|
end
|
272
283
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|