google-apis-storagetransfer_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 +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-storagetransfer_v1.rb +15 -0
- data/lib/google/apis/storagetransfer_v1.rb +37 -0
- data/lib/google/apis/storagetransfer_v1/classes.rb +1260 -0
- data/lib/google/apis/storagetransfer_v1/gem_version.rb +28 -0
- data/lib/google/apis/storagetransfer_v1/representations.rb +489 -0
- data/lib/google/apis/storagetransfer_v1/service.rb +432 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module StoragetransferV1
|
18
|
+
# Version of the google-apis-storagetransfer_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201210"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,489 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module StoragetransferV1
|
24
|
+
|
25
|
+
class AwsAccessKey
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AwsS3Data
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AzureBlobStorageData
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AzureCredentials
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CancelOperationRequest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Date
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Empty
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ErrorLogEntry
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ErrorSummary
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GcsData
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleServiceAccount
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class HttpData
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ListOperationsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListTransferJobsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class NotificationConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ObjectConditions
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Operation
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class PauseTransferOperationRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ResumeTransferOperationRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Schedule
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Status
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class TimeOfDay
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class TransferCounters
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class TransferJob
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class TransferOperation
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class TransferOptions
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class TransferSpec
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class UpdateTransferJobRequest
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class AwsAccessKey
|
194
|
+
# @private
|
195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
196
|
+
property :access_key_id, as: 'accessKeyId'
|
197
|
+
property :secret_access_key, as: 'secretAccessKey'
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
class AwsS3Data
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation
|
205
|
+
|
206
|
+
property :bucket_name, as: 'bucketName'
|
207
|
+
property :path, as: 'path'
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
class AzureBlobStorageData
|
212
|
+
# @private
|
213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
214
|
+
property :azure_credentials, as: 'azureCredentials', class: Google::Apis::StoragetransferV1::AzureCredentials, decorator: Google::Apis::StoragetransferV1::AzureCredentials::Representation
|
215
|
+
|
216
|
+
property :container, as: 'container'
|
217
|
+
property :path, as: 'path'
|
218
|
+
property :storage_account, as: 'storageAccount'
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
class AzureCredentials
|
223
|
+
# @private
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
225
|
+
property :sas_token, as: 'sasToken'
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
class CancelOperationRequest
|
230
|
+
# @private
|
231
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
class Date
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :day, as: 'day'
|
239
|
+
property :month, as: 'month'
|
240
|
+
property :year, as: 'year'
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
class Empty
|
245
|
+
# @private
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
class ErrorLogEntry
|
251
|
+
# @private
|
252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
253
|
+
collection :error_details, as: 'errorDetails'
|
254
|
+
property :url, as: 'url'
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class ErrorSummary
|
259
|
+
# @private
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
261
|
+
property :error_code, as: 'errorCode'
|
262
|
+
property :error_count, :numeric_string => true, as: 'errorCount'
|
263
|
+
collection :error_log_entries, as: 'errorLogEntries', class: Google::Apis::StoragetransferV1::ErrorLogEntry, decorator: Google::Apis::StoragetransferV1::ErrorLogEntry::Representation
|
264
|
+
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
class GcsData
|
269
|
+
# @private
|
270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
271
|
+
property :bucket_name, as: 'bucketName'
|
272
|
+
property :path, as: 'path'
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
class GoogleServiceAccount
|
277
|
+
# @private
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
279
|
+
property :account_email, as: 'accountEmail'
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
class HttpData
|
284
|
+
# @private
|
285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
property :list_url, as: 'listUrl'
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class ListOperationsResponse
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :next_page_token, as: 'nextPageToken'
|
294
|
+
collection :operations, as: 'operations', class: Google::Apis::StoragetransferV1::Operation, decorator: Google::Apis::StoragetransferV1::Operation::Representation
|
295
|
+
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class ListTransferJobsResponse
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :next_page_token, as: 'nextPageToken'
|
303
|
+
collection :transfer_jobs, as: 'transferJobs', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
304
|
+
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class NotificationConfig
|
309
|
+
# @private
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
+
collection :event_types, as: 'eventTypes'
|
312
|
+
property :payload_format, as: 'payloadFormat'
|
313
|
+
property :pubsub_topic, as: 'pubsubTopic'
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
class ObjectConditions
|
318
|
+
# @private
|
319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
+
collection :exclude_prefixes, as: 'excludePrefixes'
|
321
|
+
collection :include_prefixes, as: 'includePrefixes'
|
322
|
+
property :last_modified_before, as: 'lastModifiedBefore'
|
323
|
+
property :last_modified_since, as: 'lastModifiedSince'
|
324
|
+
property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification'
|
325
|
+
property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class Operation
|
330
|
+
# @private
|
331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
+
property :done, as: 'done'
|
333
|
+
property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation
|
334
|
+
|
335
|
+
hash :metadata, as: 'metadata'
|
336
|
+
property :name, as: 'name'
|
337
|
+
hash :response, as: 'response'
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
class PauseTransferOperationRequest
|
342
|
+
# @private
|
343
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class ResumeTransferOperationRequest
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
class Schedule
|
354
|
+
# @private
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
+
property :end_time_of_day, as: 'endTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::Representation
|
357
|
+
|
358
|
+
property :repeat_interval, as: 'repeatInterval'
|
359
|
+
property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation
|
360
|
+
|
361
|
+
property :schedule_start_date, as: 'scheduleStartDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation
|
362
|
+
|
363
|
+
property :start_time_of_day, as: 'startTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::Representation
|
364
|
+
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class Status
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :code, as: 'code'
|
372
|
+
collection :details, as: 'details'
|
373
|
+
property :message, as: 'message'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
class TimeOfDay
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
property :hours, as: 'hours'
|
381
|
+
property :minutes, as: 'minutes'
|
382
|
+
property :nanos, as: 'nanos'
|
383
|
+
property :seconds, as: 'seconds'
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
class TransferCounters
|
388
|
+
# @private
|
389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
390
|
+
property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink'
|
391
|
+
property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink'
|
392
|
+
property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource'
|
393
|
+
property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
|
394
|
+
property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource'
|
395
|
+
property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
|
396
|
+
property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
|
397
|
+
property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
|
398
|
+
property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
|
399
|
+
property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
|
400
|
+
property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
|
401
|
+
property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink'
|
402
|
+
property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource'
|
403
|
+
property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink'
|
404
|
+
property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed'
|
405
|
+
property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
class TransferJob
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :creation_time, as: 'creationTime'
|
413
|
+
property :deletion_time, as: 'deletionTime'
|
414
|
+
property :description, as: 'description'
|
415
|
+
property :last_modification_time, as: 'lastModificationTime'
|
416
|
+
property :latest_operation_name, as: 'latestOperationName'
|
417
|
+
property :name, as: 'name'
|
418
|
+
property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
|
419
|
+
|
420
|
+
property :project_id, as: 'projectId'
|
421
|
+
property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
|
422
|
+
|
423
|
+
property :status, as: 'status'
|
424
|
+
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
425
|
+
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class TransferOperation
|
430
|
+
# @private
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :counters, as: 'counters', class: Google::Apis::StoragetransferV1::TransferCounters, decorator: Google::Apis::StoragetransferV1::TransferCounters::Representation
|
433
|
+
|
434
|
+
property :end_time, as: 'endTime'
|
435
|
+
collection :error_breakdowns, as: 'errorBreakdowns', class: Google::Apis::StoragetransferV1::ErrorSummary, decorator: Google::Apis::StoragetransferV1::ErrorSummary::Representation
|
436
|
+
|
437
|
+
property :name, as: 'name'
|
438
|
+
property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
|
439
|
+
|
440
|
+
property :project_id, as: 'projectId'
|
441
|
+
property :start_time, as: 'startTime'
|
442
|
+
property :status, as: 'status'
|
443
|
+
property :transfer_job_name, as: 'transferJobName'
|
444
|
+
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
445
|
+
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class TransferOptions
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
|
453
|
+
property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink'
|
454
|
+
property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink'
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class TransferSpec
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation
|
462
|
+
|
463
|
+
property :azure_blob_storage_data_source, as: 'azureBlobStorageDataSource', class: Google::Apis::StoragetransferV1::AzureBlobStorageData, decorator: Google::Apis::StoragetransferV1::AzureBlobStorageData::Representation
|
464
|
+
|
465
|
+
property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
466
|
+
|
467
|
+
property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
468
|
+
|
469
|
+
property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation
|
470
|
+
|
471
|
+
property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
|
472
|
+
|
473
|
+
property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
|
474
|
+
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
class UpdateTransferJobRequest
|
479
|
+
# @private
|
480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
481
|
+
property :project_id, as: 'projectId'
|
482
|
+
property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
483
|
+
|
484
|
+
property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask'
|
485
|
+
end
|
486
|
+
end
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|