google-api-client 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
|
@@ -22,6 +22,36 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module StoragetransferV1
|
|
24
24
|
|
|
25
|
+
class TransferCounters
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class ErrorSummary
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class HttpData
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class GcsData
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class ListTransferJobsResponse
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
25
55
|
class UpdateTransferJobRequest
|
|
26
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
57
|
|
|
@@ -118,13 +148,13 @@ module Google
|
|
|
118
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
149
|
end
|
|
120
150
|
|
|
121
|
-
class
|
|
151
|
+
class Empty
|
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
153
|
|
|
124
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
155
|
end
|
|
126
156
|
|
|
127
|
-
class
|
|
157
|
+
class AwsAccessKey
|
|
128
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
159
|
|
|
130
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -137,50 +167,75 @@ module Google
|
|
|
137
167
|
end
|
|
138
168
|
|
|
139
169
|
class TransferCounters
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
170
|
+
# @private
|
|
171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
172
|
+
property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource'
|
|
173
|
+
property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource'
|
|
174
|
+
property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink'
|
|
175
|
+
property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
|
|
176
|
+
property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink'
|
|
177
|
+
property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
|
|
178
|
+
property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink'
|
|
179
|
+
property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
|
|
180
|
+
property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
|
|
181
|
+
property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed'
|
|
182
|
+
property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
|
|
183
|
+
property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
|
|
184
|
+
property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
|
|
185
|
+
property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink'
|
|
186
|
+
property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource'
|
|
187
|
+
property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
|
|
188
|
+
end
|
|
143
189
|
end
|
|
144
190
|
|
|
145
191
|
class ErrorSummary
|
|
146
|
-
|
|
192
|
+
# @private
|
|
193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
194
|
+
property :error_code, as: 'errorCode'
|
|
195
|
+
property :error_count, :numeric_string => true, as: 'errorCount'
|
|
196
|
+
collection :error_log_entries, as: 'errorLogEntries', class: Google::Apis::StoragetransferV1::ErrorLogEntry, decorator: Google::Apis::StoragetransferV1::ErrorLogEntry::Representation
|
|
147
197
|
|
|
148
|
-
|
|
198
|
+
end
|
|
149
199
|
end
|
|
150
200
|
|
|
151
201
|
class HttpData
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
202
|
+
# @private
|
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
204
|
+
property :list_url, as: 'listUrl'
|
|
205
|
+
end
|
|
155
206
|
end
|
|
156
207
|
|
|
157
208
|
class GcsData
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
209
|
+
# @private
|
|
210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
211
|
+
property :bucket_name, as: 'bucketName'
|
|
212
|
+
end
|
|
161
213
|
end
|
|
162
214
|
|
|
163
215
|
class ListTransferJobsResponse
|
|
164
|
-
|
|
216
|
+
# @private
|
|
217
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
218
|
+
property :next_page_token, as: 'nextPageToken'
|
|
219
|
+
collection :transfer_jobs, as: 'transferJobs', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
165
220
|
|
|
166
|
-
|
|
221
|
+
end
|
|
167
222
|
end
|
|
168
223
|
|
|
169
224
|
class UpdateTransferJobRequest
|
|
170
225
|
# @private
|
|
171
226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
172
|
-
property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
173
|
-
|
|
174
227
|
property :project_id, as: 'projectId'
|
|
175
228
|
property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask'
|
|
229
|
+
property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
230
|
+
|
|
176
231
|
end
|
|
177
232
|
end
|
|
178
233
|
|
|
179
234
|
class ObjectConditions
|
|
180
235
|
# @private
|
|
181
236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
182
|
-
property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification'
|
|
183
237
|
collection :exclude_prefixes, as: 'excludePrefixes'
|
|
238
|
+
property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification'
|
|
184
239
|
property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification'
|
|
185
240
|
collection :include_prefixes, as: 'includePrefixes'
|
|
186
241
|
end
|
|
@@ -210,8 +265,6 @@ module Google
|
|
|
210
265
|
class TransferSpec
|
|
211
266
|
# @private
|
|
212
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
213
|
-
property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
214
|
-
|
|
215
268
|
property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
|
|
216
269
|
|
|
217
270
|
property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation
|
|
@@ -222,6 +275,8 @@ module Google
|
|
|
222
275
|
|
|
223
276
|
property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
224
277
|
|
|
278
|
+
property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
279
|
+
|
|
225
280
|
end
|
|
226
281
|
end
|
|
227
282
|
|
|
@@ -234,9 +289,9 @@ module Google
|
|
|
234
289
|
class Status
|
|
235
290
|
# @private
|
|
236
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
237
|
-
property :message, as: 'message'
|
|
238
292
|
collection :details, as: 'details'
|
|
239
293
|
property :code, as: 'code'
|
|
294
|
+
property :message, as: 'message'
|
|
240
295
|
end
|
|
241
296
|
end
|
|
242
297
|
|
|
@@ -259,35 +314,35 @@ module Google
|
|
|
259
314
|
class TimeOfDay
|
|
260
315
|
# @private
|
|
261
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
262
|
-
property :seconds, as: 'seconds'
|
|
263
|
-
property :minutes, as: 'minutes'
|
|
264
317
|
property :hours, as: 'hours'
|
|
265
318
|
property :nanos, as: 'nanos'
|
|
319
|
+
property :seconds, as: 'seconds'
|
|
320
|
+
property :minutes, as: 'minutes'
|
|
266
321
|
end
|
|
267
322
|
end
|
|
268
323
|
|
|
269
324
|
class ErrorLogEntry
|
|
270
325
|
# @private
|
|
271
326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
272
|
-
property :url, as: 'url'
|
|
273
327
|
collection :error_details, as: 'errorDetails'
|
|
328
|
+
property :url, as: 'url'
|
|
274
329
|
end
|
|
275
330
|
end
|
|
276
331
|
|
|
277
332
|
class TransferJob
|
|
278
333
|
# @private
|
|
279
334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
335
|
+
property :description, as: 'description'
|
|
280
336
|
property :creation_time, as: 'creationTime'
|
|
281
337
|
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
|
282
338
|
|
|
283
339
|
property :status, as: 'status'
|
|
284
340
|
property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
|
|
285
341
|
|
|
286
|
-
property :name, as: 'name'
|
|
287
342
|
property :deletion_time, as: 'deletionTime'
|
|
288
|
-
property :
|
|
343
|
+
property :name, as: 'name'
|
|
289
344
|
property :project_id, as: 'projectId'
|
|
290
|
-
property :
|
|
345
|
+
property :last_modification_time, as: 'lastModificationTime'
|
|
291
346
|
end
|
|
292
347
|
end
|
|
293
348
|
|
|
@@ -306,8 +361,8 @@ module Google
|
|
|
306
361
|
class Date
|
|
307
362
|
# @private
|
|
308
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
309
|
-
property :year, as: 'year'
|
|
310
364
|
property :day, as: 'day'
|
|
365
|
+
property :year, as: 'year'
|
|
311
366
|
property :month, as: 'month'
|
|
312
367
|
end
|
|
313
368
|
end
|
|
@@ -315,6 +370,7 @@ module Google
|
|
|
315
370
|
class TransferOperation
|
|
316
371
|
# @private
|
|
317
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
property :end_time, as: 'endTime'
|
|
318
374
|
property :start_time, as: 'startTime'
|
|
319
375
|
property :transfer_job_name, as: 'transferJobName'
|
|
320
376
|
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
|
@@ -326,7 +382,6 @@ module Google
|
|
|
326
382
|
|
|
327
383
|
property :name, as: 'name'
|
|
328
384
|
property :project_id, as: 'projectId'
|
|
329
|
-
property :end_time, as: 'endTime'
|
|
330
385
|
end
|
|
331
386
|
end
|
|
332
387
|
|
|
@@ -339,78 +394,23 @@ module Google
|
|
|
339
394
|
end
|
|
340
395
|
end
|
|
341
396
|
|
|
342
|
-
class AwsAccessKey
|
|
343
|
-
# @private
|
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
345
|
-
property :secret_access_key, as: 'secretAccessKey'
|
|
346
|
-
property :access_key_id, as: 'accessKeyId'
|
|
347
|
-
end
|
|
348
|
-
end
|
|
349
|
-
|
|
350
397
|
class Empty
|
|
351
398
|
# @private
|
|
352
399
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
353
400
|
end
|
|
354
401
|
end
|
|
355
402
|
|
|
356
|
-
class
|
|
357
|
-
# @private
|
|
358
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
359
|
-
end
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
class TransferCounters
|
|
363
|
-
# @private
|
|
364
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
365
|
-
property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink'
|
|
366
|
-
property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
|
|
367
|
-
property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
|
|
368
|
-
property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
|
|
369
|
-
property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed'
|
|
370
|
-
property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
|
|
371
|
-
property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
|
|
372
|
-
property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink'
|
|
373
|
-
property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource'
|
|
374
|
-
property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
|
|
375
|
-
property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource'
|
|
376
|
-
property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource'
|
|
377
|
-
property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink'
|
|
378
|
-
property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink'
|
|
379
|
-
property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
|
|
380
|
-
property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
|
|
381
|
-
end
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
class ErrorSummary
|
|
385
|
-
# @private
|
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
387
|
-
property :error_code, as: 'errorCode'
|
|
388
|
-
property :error_count, :numeric_string => true, as: 'errorCount'
|
|
389
|
-
collection :error_log_entries, as: 'errorLogEntries', class: Google::Apis::StoragetransferV1::ErrorLogEntry, decorator: Google::Apis::StoragetransferV1::ErrorLogEntry::Representation
|
|
390
|
-
|
|
391
|
-
end
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
class HttpData
|
|
395
|
-
# @private
|
|
396
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
397
|
-
property :list_url, as: 'listUrl'
|
|
398
|
-
end
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
class GcsData
|
|
403
|
+
class AwsAccessKey
|
|
402
404
|
# @private
|
|
403
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
404
|
-
property :
|
|
406
|
+
property :secret_access_key, as: 'secretAccessKey'
|
|
407
|
+
property :access_key_id, as: 'accessKeyId'
|
|
405
408
|
end
|
|
406
409
|
end
|
|
407
410
|
|
|
408
|
-
class
|
|
411
|
+
class PauseTransferOperationRequest
|
|
409
412
|
# @private
|
|
410
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
411
|
-
property :next_page_token, as: 'nextPageToken'
|
|
412
|
-
collection :transfer_jobs, as: 'transferJobs', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
413
|
-
|
|
414
414
|
end
|
|
415
415
|
end
|
|
416
416
|
end
|
|
@@ -60,11 +60,11 @@ module Google
|
|
|
60
60
|
# The ID of the Google Cloud Platform Console project that the Google service
|
|
61
61
|
# account is associated with.
|
|
62
62
|
# Required.
|
|
63
|
+
# @param [String] fields
|
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
|
63
65
|
# @param [String] quota_user
|
|
64
66
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
65
67
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
66
|
-
# @param [String] fields
|
|
67
|
-
# Selector specifying which fields to include in a partial response.
|
|
68
68
|
# @param [Google::Apis::RequestOptions] options
|
|
69
69
|
# Request-specific options
|
|
70
70
|
#
|
|
@@ -77,168 +77,121 @@ module Google
|
|
|
77
77
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
80
|
-
def get_google_service_account(project_id,
|
|
80
|
+
def get_google_service_account(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
81
81
|
command = make_simple_command(:get, 'v1/googleServiceAccounts/{projectId}', options)
|
|
82
82
|
command.response_representation = Google::Apis::StoragetransferV1::GoogleServiceAccount::Representation
|
|
83
83
|
command.response_class = Google::Apis::StoragetransferV1::GoogleServiceAccount
|
|
84
84
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
86
85
|
command.query['fields'] = fields unless fields.nil?
|
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
87
87
|
execute_or_queue_command(command, &block)
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
#
|
|
91
|
-
#
|
|
90
|
+
# Cancels a transfer. Use the get method to check whether the cancellation
|
|
91
|
+
# succeeded or whether the operation completed despite cancellation.
|
|
92
|
+
# @param [String] name
|
|
93
|
+
# The name of the operation resource to be cancelled.
|
|
94
|
+
# @param [String] fields
|
|
95
|
+
# Selector specifying which fields to include in a partial response.
|
|
92
96
|
# @param [String] quota_user
|
|
93
97
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
94
98
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
95
|
-
# @param [String] fields
|
|
96
|
-
# Selector specifying which fields to include in a partial response.
|
|
97
99
|
# @param [Google::Apis::RequestOptions] options
|
|
98
100
|
# Request-specific options
|
|
99
101
|
#
|
|
100
102
|
# @yield [result, err] Result & error if block supplied
|
|
101
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
103
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
|
|
102
104
|
# @yieldparam err [StandardError] error object if request failed
|
|
103
105
|
#
|
|
104
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
106
|
+
# @return [Google::Apis::StoragetransferV1::Empty]
|
|
105
107
|
#
|
|
106
108
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
-
def
|
|
110
|
-
command = make_simple_command(:post, 'v1/
|
|
111
|
-
command.
|
|
112
|
-
command.
|
|
113
|
-
command.
|
|
114
|
-
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
115
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
111
|
+
def cancel_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
112
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
113
|
+
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
114
|
+
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
115
|
+
command.params['name'] = name unless name.nil?
|
|
116
116
|
command.query['fields'] = fields unless fields.nil?
|
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
117
118
|
execute_or_queue_command(command, &block)
|
|
118
119
|
end
|
|
119
120
|
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
#
|
|
123
|
-
# @param [String]
|
|
124
|
-
# The name of
|
|
125
|
-
#
|
|
126
|
-
#
|
|
121
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
|
122
|
+
# method to poll the operation result at intervals as recommended by the API
|
|
123
|
+
# service.
|
|
124
|
+
# @param [String] name
|
|
125
|
+
# The name of the operation resource.
|
|
126
|
+
# @param [String] fields
|
|
127
|
+
# Selector specifying which fields to include in a partial response.
|
|
127
128
|
# @param [String] quota_user
|
|
128
129
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
129
130
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
|
-
# @param [String] fields
|
|
131
|
-
# Selector specifying which fields to include in a partial response.
|
|
132
131
|
# @param [Google::Apis::RequestOptions] options
|
|
133
132
|
# Request-specific options
|
|
134
133
|
#
|
|
135
134
|
# @yield [result, err] Result & error if block supplied
|
|
136
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
135
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::Operation] parsed result object
|
|
137
136
|
# @yieldparam err [StandardError] error object if request failed
|
|
138
137
|
#
|
|
139
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
138
|
+
# @return [Google::Apis::StoragetransferV1::Operation]
|
|
140
139
|
#
|
|
141
140
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
142
141
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
143
142
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
144
|
-
def
|
|
145
|
-
command = make_simple_command(:
|
|
146
|
-
command.
|
|
147
|
-
command.
|
|
148
|
-
command.
|
|
149
|
-
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
150
|
-
command.params['jobName'] = job_name unless job_name.nil?
|
|
151
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
143
|
+
def get_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
144
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
145
|
+
command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation
|
|
146
|
+
command.response_class = Google::Apis::StoragetransferV1::Operation
|
|
147
|
+
command.params['name'] = name unless name.nil?
|
|
152
148
|
command.query['fields'] = fields unless fields.nil?
|
|
149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
153
150
|
execute_or_queue_command(command, &block)
|
|
154
151
|
end
|
|
155
152
|
|
|
156
|
-
#
|
|
157
|
-
# @param [String]
|
|
158
|
-
# The
|
|
159
|
-
# Required.
|
|
160
|
-
# @param [String] project_id
|
|
161
|
-
# The ID of the Google Cloud Platform Console project that owns the job.
|
|
153
|
+
# Pauses a transfer operation.
|
|
154
|
+
# @param [String] name
|
|
155
|
+
# The name of the transfer operation.
|
|
162
156
|
# Required.
|
|
163
|
-
# @param [
|
|
164
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
165
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
157
|
+
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
|
|
166
158
|
# @param [String] fields
|
|
167
159
|
# Selector specifying which fields to include in a partial response.
|
|
168
|
-
# @param [Google::Apis::RequestOptions] options
|
|
169
|
-
# Request-specific options
|
|
170
|
-
#
|
|
171
|
-
# @yield [result, err] Result & error if block supplied
|
|
172
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
173
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
174
|
-
#
|
|
175
|
-
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
176
|
-
#
|
|
177
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
178
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
179
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
180
|
-
def get_transfer_job(job_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
181
|
-
command = make_simple_command(:get, 'v1/{+jobName}', options)
|
|
182
|
-
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
183
|
-
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
184
|
-
command.params['jobName'] = job_name unless job_name.nil?
|
|
185
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
|
186
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
187
|
-
command.query['fields'] = fields unless fields.nil?
|
|
188
|
-
execute_or_queue_command(command, &block)
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
# Lists transfer jobs.
|
|
192
|
-
# @param [String] filter
|
|
193
|
-
# A list of query parameters specified as JSON text in the form of
|
|
194
|
-
# `"project_id":"my_project_id",
|
|
195
|
-
# "job_names":["jobid1","jobid2",...],
|
|
196
|
-
# "job_statuses":["status1","status2",...]`.
|
|
197
|
-
# Since `job_names` and `job_statuses` support multiple values, their values
|
|
198
|
-
# must be specified with array notation. `project_id` is required. `job_names`
|
|
199
|
-
# and `job_statuses` are optional. The valid values for `job_statuses` are
|
|
200
|
-
# case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
|
|
201
|
-
# @param [String] page_token
|
|
202
|
-
# The list page token.
|
|
203
|
-
# @param [Fixnum] page_size
|
|
204
|
-
# The list page size. The max allowed value is 256.
|
|
205
160
|
# @param [String] quota_user
|
|
206
161
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
207
162
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
208
|
-
# @param [String] fields
|
|
209
|
-
# Selector specifying which fields to include in a partial response.
|
|
210
163
|
# @param [Google::Apis::RequestOptions] options
|
|
211
164
|
# Request-specific options
|
|
212
165
|
#
|
|
213
166
|
# @yield [result, err] Result & error if block supplied
|
|
214
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
167
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
|
|
215
168
|
# @yieldparam err [StandardError] error object if request failed
|
|
216
169
|
#
|
|
217
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
170
|
+
# @return [Google::Apis::StoragetransferV1::Empty]
|
|
218
171
|
#
|
|
219
172
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
220
173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
221
174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
222
|
-
def
|
|
223
|
-
command = make_simple_command(:
|
|
224
|
-
command.
|
|
225
|
-
command.
|
|
226
|
-
command.
|
|
227
|
-
command.
|
|
228
|
-
command.
|
|
229
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
175
|
+
def pause_transfer_operation(name, pause_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
176
|
+
command = make_simple_command(:post, 'v1/{+name}:pause', options)
|
|
177
|
+
command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
|
|
178
|
+
command.request_object = pause_transfer_operation_request_object
|
|
179
|
+
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
180
|
+
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
181
|
+
command.params['name'] = name unless name.nil?
|
|
230
182
|
command.query['fields'] = fields unless fields.nil?
|
|
183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
231
184
|
execute_or_queue_command(command, &block)
|
|
232
185
|
end
|
|
233
186
|
|
|
234
187
|
# This method is not supported and the server returns `UNIMPLEMENTED`.
|
|
235
188
|
# @param [String] name
|
|
236
189
|
# The name of the operation resource to be deleted.
|
|
190
|
+
# @param [String] fields
|
|
191
|
+
# Selector specifying which fields to include in a partial response.
|
|
237
192
|
# @param [String] quota_user
|
|
238
193
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
239
194
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
240
|
-
# @param [String] fields
|
|
241
|
-
# Selector specifying which fields to include in a partial response.
|
|
242
195
|
# @param [Google::Apis::RequestOptions] options
|
|
243
196
|
# Request-specific options
|
|
244
197
|
#
|
|
@@ -251,13 +204,13 @@ module Google
|
|
|
251
204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
252
205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
253
206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
254
|
-
def delete_transfer_operation(name,
|
|
207
|
+
def delete_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
255
208
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
256
209
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
257
210
|
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
258
211
|
command.params['name'] = name unless name.nil?
|
|
259
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
260
212
|
command.query['fields'] = fields unless fields.nil?
|
|
213
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
261
214
|
execute_or_queue_command(command, &block)
|
|
262
215
|
end
|
|
263
216
|
|
|
@@ -272,10 +225,6 @@ module Google
|
|
|
272
225
|
# is the parent resource, without the operations collection id.
|
|
273
226
|
# @param [String] name
|
|
274
227
|
# The value `transferOperations`.
|
|
275
|
-
# @param [String] page_token
|
|
276
|
-
# The list page token.
|
|
277
|
-
# @param [Fixnum] page_size
|
|
278
|
-
# The list page size. The max allowed value is 256.
|
|
279
228
|
# @param [String] filter
|
|
280
229
|
# A list of query parameters specified as JSON text in the form of `\"project_id\
|
|
281
230
|
# " : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \"
|
|
@@ -283,11 +232,15 @@ module Google
|
|
|
283
232
|
# status1\", \"status2\",...]`. Since `job_names`, `operation_names`, and `
|
|
284
233
|
# transfer_statuses` support multiple values, they must be specified with array
|
|
285
234
|
# notation. `job_names`, `operation_names`, and `transfer_statuses` are optional.
|
|
235
|
+
# @param [String] page_token
|
|
236
|
+
# The list page token.
|
|
237
|
+
# @param [Fixnum] page_size
|
|
238
|
+
# The list page size. The max allowed value is 256.
|
|
239
|
+
# @param [String] fields
|
|
240
|
+
# Selector specifying which fields to include in a partial response.
|
|
286
241
|
# @param [String] quota_user
|
|
287
242
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
288
243
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
289
|
-
# @param [String] fields
|
|
290
|
-
# Selector specifying which fields to include in a partial response.
|
|
291
244
|
# @param [Google::Apis::RequestOptions] options
|
|
292
245
|
# Request-specific options
|
|
293
246
|
#
|
|
@@ -300,16 +253,16 @@ module Google
|
|
|
300
253
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
301
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
302
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
303
|
-
def list_transfer_operations(name,
|
|
256
|
+
def list_transfer_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
304
257
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
305
258
|
command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
|
|
306
259
|
command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse
|
|
307
260
|
command.params['name'] = name unless name.nil?
|
|
261
|
+
command.query['filter'] = filter unless filter.nil?
|
|
308
262
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
309
263
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
310
|
-
command.query['filter'] = filter unless filter.nil?
|
|
311
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
312
264
|
command.query['fields'] = fields unless fields.nil?
|
|
265
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
313
266
|
execute_or_queue_command(command, &block)
|
|
314
267
|
end
|
|
315
268
|
|
|
@@ -318,11 +271,11 @@ module Google
|
|
|
318
271
|
# The name of the transfer operation.
|
|
319
272
|
# Required.
|
|
320
273
|
# @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
|
|
274
|
+
# @param [String] fields
|
|
275
|
+
# Selector specifying which fields to include in a partial response.
|
|
321
276
|
# @param [String] quota_user
|
|
322
277
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
323
278
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
324
|
-
# @param [String] fields
|
|
325
|
-
# Selector specifying which fields to include in a partial response.
|
|
326
279
|
# @param [Google::Apis::RequestOptions] options
|
|
327
280
|
# Request-specific options
|
|
328
281
|
#
|
|
@@ -335,112 +288,159 @@ module Google
|
|
|
335
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
336
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
337
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
338
|
-
def resume_transfer_operation(name, resume_transfer_operation_request_object = nil,
|
|
291
|
+
def resume_transfer_operation(name, resume_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
339
292
|
command = make_simple_command(:post, 'v1/{+name}:resume', options)
|
|
340
293
|
command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation
|
|
341
294
|
command.request_object = resume_transfer_operation_request_object
|
|
342
295
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
343
296
|
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
344
297
|
command.params['name'] = name unless name.nil?
|
|
345
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
346
298
|
command.query['fields'] = fields unless fields.nil?
|
|
299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
347
300
|
execute_or_queue_command(command, &block)
|
|
348
301
|
end
|
|
349
302
|
|
|
350
|
-
#
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
303
|
+
# Lists transfer jobs.
|
|
304
|
+
# @param [String] page_token
|
|
305
|
+
# The list page token.
|
|
306
|
+
# @param [Fixnum] page_size
|
|
307
|
+
# The list page size. The max allowed value is 256.
|
|
308
|
+
# @param [String] filter
|
|
309
|
+
# A list of query parameters specified as JSON text in the form of
|
|
310
|
+
# `"project_id":"my_project_id",
|
|
311
|
+
# "job_names":["jobid1","jobid2",...],
|
|
312
|
+
# "job_statuses":["status1","status2",...]`.
|
|
313
|
+
# Since `job_names` and `job_statuses` support multiple values, their values
|
|
314
|
+
# must be specified with array notation. `project_id` is required. `job_names`
|
|
315
|
+
# and `job_statuses` are optional. The valid values for `job_statuses` are
|
|
316
|
+
# case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
|
|
317
|
+
# @param [String] fields
|
|
318
|
+
# Selector specifying which fields to include in a partial response.
|
|
354
319
|
# @param [String] quota_user
|
|
355
320
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
356
321
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
357
|
-
# @param [String] fields
|
|
358
|
-
# Selector specifying which fields to include in a partial response.
|
|
359
322
|
# @param [Google::Apis::RequestOptions] options
|
|
360
323
|
# Request-specific options
|
|
361
324
|
#
|
|
362
325
|
# @yield [result, err] Result & error if block supplied
|
|
363
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
326
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::ListTransferJobsResponse] parsed result object
|
|
364
327
|
# @yieldparam err [StandardError] error object if request failed
|
|
365
328
|
#
|
|
366
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
329
|
+
# @return [Google::Apis::StoragetransferV1::ListTransferJobsResponse]
|
|
367
330
|
#
|
|
368
331
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
369
332
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
370
333
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
371
|
-
def
|
|
372
|
-
command = make_simple_command(:
|
|
373
|
-
command.response_representation = Google::Apis::StoragetransferV1::
|
|
374
|
-
command.response_class = Google::Apis::StoragetransferV1::
|
|
375
|
-
command.
|
|
376
|
-
command.query['
|
|
334
|
+
def list_transfer_jobs(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
335
|
+
command = make_simple_command(:get, 'v1/transferJobs', options)
|
|
336
|
+
command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
|
|
337
|
+
command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
|
|
338
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
339
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
340
|
+
command.query['filter'] = filter unless filter.nil?
|
|
377
341
|
command.query['fields'] = fields unless fields.nil?
|
|
342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
378
343
|
execute_or_queue_command(command, &block)
|
|
379
344
|
end
|
|
380
345
|
|
|
381
|
-
# Gets
|
|
382
|
-
#
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
346
|
+
# Gets a transfer job.
|
|
347
|
+
# @param [String] job_name
|
|
348
|
+
# The job to get.
|
|
349
|
+
# Required.
|
|
350
|
+
# @param [String] project_id
|
|
351
|
+
# The ID of the Google Cloud Platform Console project that owns the job.
|
|
352
|
+
# Required.
|
|
353
|
+
# @param [String] fields
|
|
354
|
+
# Selector specifying which fields to include in a partial response.
|
|
386
355
|
# @param [String] quota_user
|
|
387
356
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
388
357
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
389
|
-
# @param [String] fields
|
|
390
|
-
# Selector specifying which fields to include in a partial response.
|
|
391
358
|
# @param [Google::Apis::RequestOptions] options
|
|
392
359
|
# Request-specific options
|
|
393
360
|
#
|
|
394
361
|
# @yield [result, err] Result & error if block supplied
|
|
395
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
362
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
396
363
|
# @yieldparam err [StandardError] error object if request failed
|
|
397
364
|
#
|
|
398
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
365
|
+
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
399
366
|
#
|
|
400
367
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
401
368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
402
369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
403
|
-
def
|
|
404
|
-
command = make_simple_command(:get, 'v1/{+
|
|
405
|
-
command.response_representation = Google::Apis::StoragetransferV1::
|
|
406
|
-
command.response_class = Google::Apis::StoragetransferV1::
|
|
407
|
-
command.params['
|
|
408
|
-
command.query['
|
|
370
|
+
def get_transfer_job(job_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
371
|
+
command = make_simple_command(:get, 'v1/{+jobName}', options)
|
|
372
|
+
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
373
|
+
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
374
|
+
command.params['jobName'] = job_name unless job_name.nil?
|
|
375
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
|
409
376
|
command.query['fields'] = fields unless fields.nil?
|
|
377
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
410
378
|
execute_or_queue_command(command, &block)
|
|
411
379
|
end
|
|
412
380
|
|
|
413
|
-
#
|
|
414
|
-
#
|
|
415
|
-
#
|
|
381
|
+
# Updates a transfer job. Updating a job's transfer spec does not affect
|
|
382
|
+
# transfer operations that are running already. Updating the scheduling
|
|
383
|
+
# of a job is not allowed.
|
|
384
|
+
# @param [String] job_name
|
|
385
|
+
# The name of job to update.
|
|
416
386
|
# Required.
|
|
417
|
-
# @param [Google::Apis::StoragetransferV1::
|
|
387
|
+
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
|
|
388
|
+
# @param [String] fields
|
|
389
|
+
# Selector specifying which fields to include in a partial response.
|
|
418
390
|
# @param [String] quota_user
|
|
419
391
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
420
392
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
393
|
+
# @param [Google::Apis::RequestOptions] options
|
|
394
|
+
# Request-specific options
|
|
395
|
+
#
|
|
396
|
+
# @yield [result, err] Result & error if block supplied
|
|
397
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
398
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
399
|
+
#
|
|
400
|
+
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
401
|
+
#
|
|
402
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
403
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
404
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
405
|
+
def patch_transfer_job(job_name, update_transfer_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
406
|
+
command = make_simple_command(:patch, 'v1/{+jobName}', options)
|
|
407
|
+
command.request_representation = Google::Apis::StoragetransferV1::UpdateTransferJobRequest::Representation
|
|
408
|
+
command.request_object = update_transfer_job_request_object
|
|
409
|
+
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
410
|
+
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
411
|
+
command.params['jobName'] = job_name unless job_name.nil?
|
|
412
|
+
command.query['fields'] = fields unless fields.nil?
|
|
413
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
414
|
+
execute_or_queue_command(command, &block)
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
# Creates a transfer job that runs periodically.
|
|
418
|
+
# @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object
|
|
421
419
|
# @param [String] fields
|
|
422
420
|
# Selector specifying which fields to include in a partial response.
|
|
421
|
+
# @param [String] quota_user
|
|
422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
423
424
|
# @param [Google::Apis::RequestOptions] options
|
|
424
425
|
# Request-specific options
|
|
425
426
|
#
|
|
426
427
|
# @yield [result, err] Result & error if block supplied
|
|
427
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::
|
|
428
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
428
429
|
# @yieldparam err [StandardError] error object if request failed
|
|
429
430
|
#
|
|
430
|
-
# @return [Google::Apis::StoragetransferV1::
|
|
431
|
+
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
431
432
|
#
|
|
432
433
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
433
434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
434
435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
435
|
-
def
|
|
436
|
-
command = make_simple_command(:post, 'v1/
|
|
437
|
-
command.request_representation = Google::Apis::StoragetransferV1::
|
|
438
|
-
command.request_object =
|
|
439
|
-
command.response_representation = Google::Apis::StoragetransferV1::
|
|
440
|
-
command.response_class = Google::Apis::StoragetransferV1::
|
|
441
|
-
command.params['name'] = name unless name.nil?
|
|
442
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
436
|
+
def create_transfer_job(transfer_job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
437
|
+
command = make_simple_command(:post, 'v1/transferJobs', options)
|
|
438
|
+
command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
439
|
+
command.request_object = transfer_job_object
|
|
440
|
+
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
441
|
+
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
443
442
|
command.query['fields'] = fields unless fields.nil?
|
|
443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
444
444
|
execute_or_queue_command(command, &block)
|
|
445
445
|
end
|
|
446
446
|
|