google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage/transfer
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170428'
29
+ REVISION = '20170518'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,39 @@ module Google
22
22
  module Apis
23
23
  module StoragetransferV1
24
24
 
25
+ # A summary of errors by error code, plus a count and sample error log
26
+ # entries.
27
+ class ErrorSummary
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Count of this type of error.
31
+ # Required.
32
+ # Corresponds to the JSON property `errorCount`
33
+ # @return [Fixnum]
34
+ attr_accessor :error_count
35
+
36
+ # Error samples.
37
+ # Corresponds to the JSON property `errorLogEntries`
38
+ # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
39
+ attr_accessor :error_log_entries
40
+
41
+ # Required.
42
+ # Corresponds to the JSON property `errorCode`
43
+ # @return [String]
44
+ attr_accessor :error_code
45
+
46
+ def initialize(**args)
47
+ update!(**args)
48
+ end
49
+
50
+ # Update properties of this object
51
+ def update!(**args)
52
+ @error_count = args[:error_count] if args.key?(:error_count)
53
+ @error_log_entries = args[:error_log_entries] if args.key?(:error_log_entries)
54
+ @error_code = args[:error_code] if args.key?(:error_code)
55
+ end
56
+ end
57
+
25
58
  # An HttpData specifies a list of objects on the web to be transferred over
26
59
  # HTTP. The information of the objects to be transferred is contained in a
27
60
  # file referenced by a URL. The first line in the file must be
@@ -165,6 +198,12 @@ module Google
165
198
  class ObjectConditions
166
199
  include Google::Apis::Core::Hashable
167
200
 
201
+ # `maxTimeElapsedSinceLastModification` is the complement to
202
+ # `minTimeElapsedSinceLastModification`.
203
+ # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
204
+ # @return [String]
205
+ attr_accessor :max_time_elapsed_since_last_modification
206
+
168
207
  # If `includePrefixes` is specified, objects that satisfy the object
169
208
  # conditions must have names that start with one of the `includePrefixes`
170
209
  # and that do not start with any of the `excludePrefixes`. If `includePrefixes`
@@ -212,22 +251,16 @@ module Google
212
251
  # @return [Array<String>]
213
252
  attr_accessor :exclude_prefixes
214
253
 
215
- # `maxTimeElapsedSinceLastModification` is the complement to
216
- # `minTimeElapsedSinceLastModification`.
217
- # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
218
- # @return [String]
219
- attr_accessor :max_time_elapsed_since_last_modification
220
-
221
254
  def initialize(**args)
222
255
  update!(**args)
223
256
  end
224
257
 
225
258
  # Update properties of this object
226
259
  def update!(**args)
260
+ @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
227
261
  @include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
228
262
  @min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification)
229
263
  @exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes)
230
- @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
231
264
  end
232
265
  end
233
266
 
@@ -236,6 +269,33 @@ module Google
236
269
  class Operation
237
270
  include Google::Apis::Core::Hashable
238
271
 
272
+ # If the value is `false`, it means the operation is still in progress.
273
+ # If true, the operation is completed, and either `error` or `response` is
274
+ # available.
275
+ # Corresponds to the JSON property `done`
276
+ # @return [Boolean]
277
+ attr_accessor :done
278
+ alias_method :done?, :done
279
+
280
+ # The normal response of the operation in case of success. If the original
281
+ # method returns no data on success, such as `Delete`, the response is
282
+ # `google.protobuf.Empty`. If the original method is standard
283
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
284
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
285
+ # is the original method name. For example, if the original method name
286
+ # is `TakeSnapshot()`, the inferred response type is
287
+ # `TakeSnapshotResponse`.
288
+ # Corresponds to the JSON property `response`
289
+ # @return [Hash<String,Object>]
290
+ attr_accessor :response
291
+
292
+ # The server-assigned name, which is only unique within the same service that
293
+ # originally returns it. If you use the default HTTP mapping, the `name` should
294
+ # have the format of `transferOperations/some/unique/name`.
295
+ # Corresponds to the JSON property `name`
296
+ # @return [String]
297
+ attr_accessor :name
298
+
239
299
  # The `Status` type defines a logical error model that is suitable for different
240
300
  # programming environments, including REST APIs and RPC APIs. It is used by
241
301
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -250,7 +310,7 @@ module Google
250
310
  # error message is needed, put the localized message in the error details or
251
311
  # localize it in the client. The optional error details may contain arbitrary
252
312
  # information about the error. There is a predefined set of error detail types
253
- # in the package `google.rpc` which can be used for common error conditions.
313
+ # in the package `google.rpc` that can be used for common error conditions.
254
314
  # # Language mapping
255
315
  # The `Status` message is the logical representation of the error model, but it
256
316
  # is not necessarily the actual wire format. When the `Status` message is
@@ -266,7 +326,7 @@ module Google
266
326
  # it may embed the `Status` in the normal response to indicate the partial
267
327
  # errors.
268
328
  # - Workflow errors. A typical workflow has multiple steps. Each step may
269
- # have a `Status` message for error reporting purpose.
329
+ # have a `Status` message for error reporting.
270
330
  # - Batch operations. If a client uses batch request and batch response, the
271
331
  # `Status` message should be used directly inside batch response, one for
272
332
  # each error sub-response.
@@ -284,32 +344,43 @@ module Google
284
344
  # @return [Hash<String,Object>]
285
345
  attr_accessor :metadata
286
346
 
287
- # If the value is `false`, it means the operation is still in progress.
288
- # If true, the operation is completed, and either `error` or `response` is
289
- # available.
290
- # Corresponds to the JSON property `done`
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @done = args[:done] if args.key?(:done)
354
+ @response = args[:response] if args.key?(:response)
355
+ @name = args[:name] if args.key?(:name)
356
+ @error = args[:error] if args.key?(:error)
357
+ @metadata = args[:metadata] if args.key?(:metadata)
358
+ end
359
+ end
360
+
361
+ # TransferOptions uses three boolean parameters to define the actions
362
+ # to be performed on objects in a transfer.
363
+ class TransferOptions
364
+ include Google::Apis::Core::Hashable
365
+
366
+ # Whether objects should be deleted from the source after they are
367
+ # transferred to the sink.
368
+ # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
291
369
  # @return [Boolean]
292
- attr_accessor :done
293
- alias_method :done?, :done
370
+ attr_accessor :delete_objects_from_source_after_transfer
371
+ alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
294
372
 
295
- # The normal response of the operation in case of success. If the original
296
- # method returns no data on success, such as `Delete`, the response is
297
- # `google.protobuf.Empty`. If the original method is standard
298
- # `Get`/`Create`/`Update`, the response should be the resource. For other
299
- # methods, the response should have the type `XxxResponse`, where `Xxx`
300
- # is the original method name. For example, if the original method name
301
- # is `TakeSnapshot()`, the inferred response type is
302
- # `TakeSnapshotResponse`.
303
- # Corresponds to the JSON property `response`
304
- # @return [Hash<String,Object>]
305
- attr_accessor :response
373
+ # Whether objects that exist only in the sink should be deleted.
374
+ # Corresponds to the JSON property `deleteObjectsUniqueInSink`
375
+ # @return [Boolean]
376
+ attr_accessor :delete_objects_unique_in_sink
377
+ alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
306
378
 
307
- # The server-assigned name, which is only unique within the same service that
308
- # originally returns it. If you use the default HTTP mapping, the `name` should
309
- # have the format of `transferOperations/some/unique/name`.
310
- # Corresponds to the JSON property `name`
311
- # @return [String]
312
- attr_accessor :name
379
+ # Whether overwriting objects that already exist in the sink is allowed.
380
+ # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
381
+ # @return [Boolean]
382
+ attr_accessor :overwrite_objects_already_existing_in_sink
383
+ alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
313
384
 
314
385
  def initialize(**args)
315
386
  update!(**args)
@@ -317,11 +388,9 @@ module Google
317
388
 
318
389
  # Update properties of this object
319
390
  def update!(**args)
320
- @error = args[:error] if args.key?(:error)
321
- @metadata = args[:metadata] if args.key?(:metadata)
322
- @done = args[:done] if args.key?(:done)
323
- @response = args[:response] if args.key?(:response)
324
- @name = args[:name] if args.key?(:name)
391
+ @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
392
+ @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
393
+ @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
325
394
  end
326
395
  end
327
396
 
@@ -329,19 +398,6 @@ module Google
329
398
  class TransferSpec
330
399
  include Google::Apis::Core::Hashable
331
400
 
332
- # In a GcsData, an object's name is the Google Cloud Storage object's name and
333
- # its `lastModificationTime` refers to the object's updated time, which changes
334
- # when the content or the metadata of the object is updated.
335
- # Corresponds to the JSON property `gcsDataSource`
336
- # @return [Google::Apis::StoragetransferV1::GcsData]
337
- attr_accessor :gcs_data_source
338
-
339
- # TransferOptions uses three boolean parameters to define the actions
340
- # to be performed on objects in a transfer.
341
- # Corresponds to the JSON property `transferOptions`
342
- # @return [Google::Apis::StoragetransferV1::TransferOptions]
343
- attr_accessor :transfer_options
344
-
345
401
  # An AwsS3Data can be a data source, but not a data sink.
346
402
  # In an AwsS3Data, an object's name is the S3 object's key name.
347
403
  # Corresponds to the JSON property `awsS3DataSource`
@@ -395,54 +451,31 @@ module Google
395
451
  # @return [Google::Apis::StoragetransferV1::GcsData]
396
452
  attr_accessor :gcs_data_sink
397
453
 
454
+ # In a GcsData, an object's name is the Google Cloud Storage object's name and
455
+ # its `lastModificationTime` refers to the object's updated time, which changes
456
+ # when the content or the metadata of the object is updated.
457
+ # Corresponds to the JSON property `gcsDataSource`
458
+ # @return [Google::Apis::StoragetransferV1::GcsData]
459
+ attr_accessor :gcs_data_source
460
+
461
+ # TransferOptions uses three boolean parameters to define the actions
462
+ # to be performed on objects in a transfer.
463
+ # Corresponds to the JSON property `transferOptions`
464
+ # @return [Google::Apis::StoragetransferV1::TransferOptions]
465
+ attr_accessor :transfer_options
466
+
398
467
  def initialize(**args)
399
468
  update!(**args)
400
469
  end
401
470
 
402
471
  # Update properties of this object
403
472
  def update!(**args)
404
- @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
405
- @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
406
473
  @aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source)
407
474
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
408
475
  @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
409
476
  @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
410
- end
411
- end
412
-
413
- # TransferOptions uses three boolean parameters to define the actions
414
- # to be performed on objects in a transfer.
415
- class TransferOptions
416
- include Google::Apis::Core::Hashable
417
-
418
- # Whether objects that exist only in the sink should be deleted.
419
- # Corresponds to the JSON property `deleteObjectsUniqueInSink`
420
- # @return [Boolean]
421
- attr_accessor :delete_objects_unique_in_sink
422
- alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
423
-
424
- # Whether overwriting objects that already exist in the sink is allowed.
425
- # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
426
- # @return [Boolean]
427
- attr_accessor :overwrite_objects_already_existing_in_sink
428
- alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
429
-
430
- # Whether objects should be deleted from the source after they are
431
- # transferred to the sink.
432
- # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
433
- # @return [Boolean]
434
- attr_accessor :delete_objects_from_source_after_transfer
435
- alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
436
-
437
- def initialize(**args)
438
- update!(**args)
439
- end
440
-
441
- # Update properties of this object
442
- def update!(**args)
443
- @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
444
- @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
445
- @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
477
+ @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
478
+ @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
446
479
  end
447
480
  end
448
481
 
@@ -460,7 +493,7 @@ module Google
460
493
  # error message is needed, put the localized message in the error details or
461
494
  # localize it in the client. The optional error details may contain arbitrary
462
495
  # information about the error. There is a predefined set of error detail types
463
- # in the package `google.rpc` which can be used for common error conditions.
496
+ # in the package `google.rpc` that can be used for common error conditions.
464
497
  # # Language mapping
465
498
  # The `Status` message is the logical representation of the error model, but it
466
499
  # is not necessarily the actual wire format. When the `Status` message is
@@ -476,7 +509,7 @@ module Google
476
509
  # it may embed the `Status` in the normal response to indicate the partial
477
510
  # errors.
478
511
  # - Workflow errors. A typical workflow has multiple steps. Each step may
479
- # have a `Status` message for error reporting purpose.
512
+ # have a `Status` message for error reporting.
480
513
  # - Batch operations. If a client uses batch request and batch response, the
481
514
  # `Status` message should be used directly inside batch response, one for
482
515
  # each error sub-response.
@@ -488,11 +521,6 @@ module Google
488
521
  class Status
489
522
  include Google::Apis::Core::Hashable
490
523
 
491
- # The status code, which should be an enum value of google.rpc.Code.
492
- # Corresponds to the JSON property `code`
493
- # @return [Fixnum]
494
- attr_accessor :code
495
-
496
524
  # A developer-facing error message, which should be in English. Any
497
525
  # user-facing error message should be localized and sent in the
498
526
  # google.rpc.Status.details field, or localized by the client.
@@ -506,15 +534,20 @@ module Google
506
534
  # @return [Array<Hash<String,Object>>]
507
535
  attr_accessor :details
508
536
 
537
+ # The status code, which should be an enum value of google.rpc.Code.
538
+ # Corresponds to the JSON property `code`
539
+ # @return [Fixnum]
540
+ attr_accessor :code
541
+
509
542
  def initialize(**args)
510
543
  update!(**args)
511
544
  end
512
545
 
513
546
  # Update properties of this object
514
547
  def update!(**args)
515
- @code = args[:code] if args.key?(:code)
516
548
  @message = args[:message] if args.key?(:message)
517
549
  @details = args[:details] if args.key?(:details)
550
+ @code = args[:code] if args.key?(:code)
518
551
  end
519
552
  end
520
553
 
@@ -535,24 +568,24 @@ module Google
535
568
  class ListOperationsResponse
536
569
  include Google::Apis::Core::Hashable
537
570
 
538
- # A list of operations that matches the specified filter in the request.
539
- # Corresponds to the JSON property `operations`
540
- # @return [Array<Google::Apis::StoragetransferV1::Operation>]
541
- attr_accessor :operations
542
-
543
571
  # The standard List next-page token.
544
572
  # Corresponds to the JSON property `nextPageToken`
545
573
  # @return [String]
546
574
  attr_accessor :next_page_token
547
575
 
576
+ # A list of operations that matches the specified filter in the request.
577
+ # Corresponds to the JSON property `operations`
578
+ # @return [Array<Google::Apis::StoragetransferV1::Operation>]
579
+ attr_accessor :operations
580
+
548
581
  def initialize(**args)
549
582
  update!(**args)
550
583
  end
551
584
 
552
585
  # Update properties of this object
553
586
  def update!(**args)
554
- @operations = args[:operations] if args.key?(:operations)
555
587
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
588
+ @operations = args[:operations] if args.key?(:operations)
556
589
  end
557
590
  end
558
591
 
@@ -581,11 +614,6 @@ module Google
581
614
  class TimeOfDay
582
615
  include Google::Apis::Core::Hashable
583
616
 
584
- # Minutes of hour of day. Must be from 0 to 59.
585
- # Corresponds to the JSON property `minutes`
586
- # @return [Fixnum]
587
- attr_accessor :minutes
588
-
589
617
  # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
590
618
  # to allow the value "24:00:00" for scenarios like business closing time.
591
619
  # Corresponds to the JSON property `hours`
@@ -603,16 +631,21 @@ module Google
603
631
  # @return [Fixnum]
604
632
  attr_accessor :seconds
605
633
 
634
+ # Minutes of hour of day. Must be from 0 to 59.
635
+ # Corresponds to the JSON property `minutes`
636
+ # @return [Fixnum]
637
+ attr_accessor :minutes
638
+
606
639
  def initialize(**args)
607
640
  update!(**args)
608
641
  end
609
642
 
610
643
  # Update properties of this object
611
644
  def update!(**args)
612
- @minutes = args[:minutes] if args.key?(:minutes)
613
645
  @hours = args[:hours] if args.key?(:hours)
614
646
  @nanos = args[:nanos] if args.key?(:nanos)
615
647
  @seconds = args[:seconds] if args.key?(:seconds)
648
+ @minutes = args[:minutes] if args.key?(:minutes)
616
649
  end
617
650
  end
618
651
 
@@ -776,6 +809,11 @@ module Google
776
809
  class Date
777
810
  include Google::Apis::Core::Hashable
778
811
 
812
+ # Month of year. Must be from 1 to 12.
813
+ # Corresponds to the JSON property `month`
814
+ # @return [Fixnum]
815
+ attr_accessor :month
816
+
779
817
  # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
780
818
  # a year.
781
819
  # Corresponds to the JSON property `year`
@@ -788,20 +826,15 @@ module Google
788
826
  # @return [Fixnum]
789
827
  attr_accessor :day
790
828
 
791
- # Month of year. Must be from 1 to 12.
792
- # Corresponds to the JSON property `month`
793
- # @return [Fixnum]
794
- attr_accessor :month
795
-
796
829
  def initialize(**args)
797
830
  update!(**args)
798
831
  end
799
832
 
800
833
  # Update properties of this object
801
834
  def update!(**args)
835
+ @month = args[:month] if args.key?(:month)
802
836
  @year = args[:year] if args.key?(:year)
803
837
  @day = args[:day] if args.key?(:day)
804
- @month = args[:month] if args.key?(:month)
805
838
  end
806
839
  end
807
840
 
@@ -809,11 +842,6 @@ module Google
809
842
  class TransferOperation
810
843
  include Google::Apis::Core::Hashable
811
844
 
812
- # End time of this transfer execution.
813
- # Corresponds to the JSON property `endTime`
814
- # @return [String]
815
- attr_accessor :end_time
816
-
817
845
  # Start time of this transfer execution.
818
846
  # Corresponds to the JSON property `startTime`
819
847
  # @return [String]
@@ -855,13 +883,17 @@ module Google
855
883
  # @return [String]
856
884
  attr_accessor :project_id
857
885
 
886
+ # End time of this transfer execution.
887
+ # Corresponds to the JSON property `endTime`
888
+ # @return [String]
889
+ attr_accessor :end_time
890
+
858
891
  def initialize(**args)
859
892
  update!(**args)
860
893
  end
861
894
 
862
895
  # Update properties of this object
863
896
  def update!(**args)
864
- @end_time = args[:end_time] if args.key?(:end_time)
865
897
  @start_time = args[:start_time] if args.key?(:start_time)
866
898
  @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name)
867
899
  @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
@@ -870,6 +902,7 @@ module Google
870
902
  @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
871
903
  @name = args[:name] if args.key?(:name)
872
904
  @project_id = args[:project_id] if args.key?(:project_id)
905
+ @end_time = args[:end_time] if args.key?(:end_time)
873
906
  end
874
907
  end
875
908
 
@@ -904,51 +937,51 @@ module Google
904
937
  end
905
938
  end
906
939
 
907
- # A generic empty message that you can re-use to avoid defining duplicated
908
- # empty messages in your APIs. A typical example is to use it as the request
909
- # or the response type of an API method. For instance:
910
- # service Foo `
911
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
912
- # `
913
- # The JSON representation for `Empty` is empty JSON object ````.
914
- class Empty
915
- include Google::Apis::Core::Hashable
916
-
917
- def initialize(**args)
918
- update!(**args)
919
- end
920
-
921
- # Update properties of this object
922
- def update!(**args)
923
- end
924
- end
925
-
926
940
  # AWS access key (see
927
941
  # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
928
942
  # security-credentials.html)).
929
943
  class AwsAccessKey
930
944
  include Google::Apis::Core::Hashable
931
945
 
932
- # AWS access key ID.
933
- # Required.
934
- # Corresponds to the JSON property `accessKeyId`
935
- # @return [String]
936
- attr_accessor :access_key_id
937
-
938
946
  # AWS secret access key. This field is not returned in RPC responses.
939
947
  # Required.
940
948
  # Corresponds to the JSON property `secretAccessKey`
941
949
  # @return [String]
942
950
  attr_accessor :secret_access_key
943
951
 
952
+ # AWS access key ID.
953
+ # Required.
954
+ # Corresponds to the JSON property `accessKeyId`
955
+ # @return [String]
956
+ attr_accessor :access_key_id
957
+
944
958
  def initialize(**args)
945
959
  update!(**args)
946
960
  end
947
961
 
948
962
  # Update properties of this object
949
963
  def update!(**args)
950
- @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
951
964
  @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key)
965
+ @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
966
+ end
967
+ end
968
+
969
+ # A generic empty message that you can re-use to avoid defining duplicated
970
+ # empty messages in your APIs. A typical example is to use it as the request
971
+ # or the response type of an API method. For instance:
972
+ # service Foo `
973
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
974
+ # `
975
+ # The JSON representation for `Empty` is empty JSON object ````.
976
+ class Empty
977
+ include Google::Apis::Core::Hashable
978
+
979
+ def initialize(**args)
980
+ update!(**args)
981
+ end
982
+
983
+ # Update properties of this object
984
+ def update!(**args)
952
985
  end
953
986
  end
954
987
 
@@ -969,6 +1002,34 @@ module Google
969
1002
  class TransferCounters
970
1003
  include Google::Apis::Core::Hashable
971
1004
 
1005
+ # Bytes found only in the data sink that are scheduled to be deleted.
1006
+ # Corresponds to the JSON property `bytesFoundOnlyFromSink`
1007
+ # @return [Fixnum]
1008
+ attr_accessor :bytes_found_only_from_sink
1009
+
1010
+ # Objects that are deleted from the data source.
1011
+ # Corresponds to the JSON property `objectsDeletedFromSource`
1012
+ # @return [Fixnum]
1013
+ attr_accessor :objects_deleted_from_source
1014
+
1015
+ # Bytes that are copied to the data sink.
1016
+ # Corresponds to the JSON property `bytesCopiedToSink`
1017
+ # @return [Fixnum]
1018
+ attr_accessor :bytes_copied_to_sink
1019
+
1020
+ # Bytes found in the data source that are scheduled to be transferred,
1021
+ # which will be copied, excluded based on conditions, or skipped due to
1022
+ # failures.
1023
+ # Corresponds to the JSON property `bytesFoundFromSource`
1024
+ # @return [Fixnum]
1025
+ attr_accessor :bytes_found_from_source
1026
+
1027
+ # Objects in the data source that are not transferred because they already
1028
+ # exist in the data sink.
1029
+ # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
1030
+ # @return [Fixnum]
1031
+ attr_accessor :objects_from_source_skipped_by_sync
1032
+
972
1033
  # Objects found in the data source that are scheduled to be transferred,
973
1034
  # which will be copied, excluded based on conditions, or skipped due to
974
1035
  # failures.
@@ -1002,16 +1063,16 @@ module Google
1002
1063
  # @return [Fixnum]
1003
1064
  attr_accessor :bytes_from_source_skipped_by_sync
1004
1065
 
1005
- # Bytes that are deleted from the data sink.
1006
- # Corresponds to the JSON property `bytesDeletedFromSink`
1007
- # @return [Fixnum]
1008
- attr_accessor :bytes_deleted_from_sink
1009
-
1010
1066
  # Bytes that failed to be deleted from the data sink.
1011
1067
  # Corresponds to the JSON property `bytesFailedToDeleteFromSink`
1012
1068
  # @return [Fixnum]
1013
1069
  attr_accessor :bytes_failed_to_delete_from_sink
1014
1070
 
1071
+ # Bytes that are deleted from the data sink.
1072
+ # Corresponds to the JSON property `bytesDeletedFromSink`
1073
+ # @return [Fixnum]
1074
+ attr_accessor :bytes_deleted_from_sink
1075
+
1015
1076
  # Bytes in the data source that failed during the transfer.
1016
1077
  # Corresponds to the JSON property `bytesFromSourceFailed`
1017
1078
  # @return [Fixnum]
@@ -1027,89 +1088,28 @@ module Google
1027
1088
  # @return [Fixnum]
1028
1089
  attr_accessor :objects_copied_to_sink
1029
1090
 
1030
- # Bytes found only in the data sink that are scheduled to be deleted.
1031
- # Corresponds to the JSON property `bytesFoundOnlyFromSink`
1032
- # @return [Fixnum]
1033
- attr_accessor :bytes_found_only_from_sink
1034
-
1035
- # Objects that are deleted from the data source.
1036
- # Corresponds to the JSON property `objectsDeletedFromSource`
1037
- # @return [Fixnum]
1038
- attr_accessor :objects_deleted_from_source
1039
-
1040
- # Bytes that are copied to the data sink.
1041
- # Corresponds to the JSON property `bytesCopiedToSink`
1042
- # @return [Fixnum]
1043
- attr_accessor :bytes_copied_to_sink
1044
-
1045
- # Bytes found in the data source that are scheduled to be transferred,
1046
- # which will be copied, excluded based on conditions, or skipped due to
1047
- # failures.
1048
- # Corresponds to the JSON property `bytesFoundFromSource`
1049
- # @return [Fixnum]
1050
- attr_accessor :bytes_found_from_source
1051
-
1052
- # Objects in the data source that are not transferred because they already
1053
- # exist in the data sink.
1054
- # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
1055
- # @return [Fixnum]
1056
- attr_accessor :objects_from_source_skipped_by_sync
1057
-
1058
1091
  def initialize(**args)
1059
1092
  update!(**args)
1060
1093
  end
1061
1094
 
1062
1095
  # Update properties of this object
1063
1096
  def update!(**args)
1097
+ @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
1098
+ @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
1099
+ @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
1100
+ @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
1101
+ @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
1064
1102
  @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source)
1065
1103
  @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
1066
1104
  @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink)
1067
1105
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
1068
1106
  @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink)
1069
1107
  @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
1070
- @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
1071
1108
  @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
1109
+ @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
1072
1110
  @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
1073
1111
  @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed)
1074
1112
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
1075
- @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
1076
- @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
1077
- @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
1078
- @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
1079
- @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
1080
- end
1081
- end
1082
-
1083
- # A summary of errors by error code, plus a count and sample error log
1084
- # entries.
1085
- class ErrorSummary
1086
- include Google::Apis::Core::Hashable
1087
-
1088
- # Required.
1089
- # Corresponds to the JSON property `errorCode`
1090
- # @return [String]
1091
- attr_accessor :error_code
1092
-
1093
- # Count of this type of error.
1094
- # Required.
1095
- # Corresponds to the JSON property `errorCount`
1096
- # @return [Fixnum]
1097
- attr_accessor :error_count
1098
-
1099
- # Error samples.
1100
- # Corresponds to the JSON property `errorLogEntries`
1101
- # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
1102
- attr_accessor :error_log_entries
1103
-
1104
- def initialize(**args)
1105
- update!(**args)
1106
- end
1107
-
1108
- # Update properties of this object
1109
- def update!(**args)
1110
- @error_code = args[:error_code] if args.key?(:error_code)
1111
- @error_count = args[:error_count] if args.key?(:error_count)
1112
- @error_log_entries = args[:error_log_entries] if args.key?(:error_log_entries)
1113
1113
  end
1114
1114
  end
1115
1115
  end