google-api-client 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +395 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
  11. data/generated/google/apis/admin_reports_v1.rb +3 -3
  12. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +39 -0
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  19. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
  22. data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
  25. data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
  26. data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
  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 +32 -37
  30. data/generated/google/apis/bigquery_v2/service.rb +10 -2
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/calendar_v3/classes.rb +205 -0
  33. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  34. data/generated/google/apis/classroom_v1.rb +22 -25
  35. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
  40. data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
  41. data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
  42. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
  44. data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
  45. data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
  46. data/generated/google/apis/cloudkms_v1.rb +1 -1
  47. data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
  48. data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
  49. data/generated/google/apis/cloudkms_v1/service.rb +228 -228
  50. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
  59. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
  61. data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
  62. data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
  63. data/generated/google/apis/compute_beta.rb +1 -1
  64. data/generated/google/apis/compute_beta/classes.rb +116 -0
  65. data/generated/google/apis/compute_beta/representations.rb +48 -0
  66. data/generated/google/apis/compute_beta/service.rb +46 -1
  67. data/generated/google/apis/compute_v1.rb +1 -1
  68. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
  71. data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
  74. data/generated/google/apis/dataproc_v1/representations.rb +255 -253
  75. data/generated/google/apis/dataproc_v1/service.rb +100 -100
  76. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  77. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/dns_v2beta1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2/classes.rb +3 -1
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +3 -1
  85. data/generated/google/apis/fusiontables_v2.rb +1 -1
  86. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  87. data/generated/google/apis/games_management_v1management.rb +1 -1
  88. data/generated/google/apis/games_v1.rb +1 -1
  89. data/generated/google/apis/genomics_v1.rb +7 -7
  90. data/generated/google/apis/genomics_v1/classes.rb +959 -959
  91. data/generated/google/apis/genomics_v1/representations.rb +238 -238
  92. data/generated/google/apis/genomics_v1/service.rb +996 -996
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +440 -440
  95. data/generated/google/apis/iam_v1/representations.rb +94 -94
  96. data/generated/google/apis/iam_v1/service.rb +170 -173
  97. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
  99. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  100. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  101. data/generated/google/apis/language_v1beta1.rb +1 -1
  102. data/generated/google/apis/language_v1beta1/classes.rb +427 -427
  103. data/generated/google/apis/language_v1beta1/representations.rb +113 -113
  104. data/generated/google/apis/language_v1beta1/service.rb +25 -24
  105. data/generated/google/apis/licensing_v1.rb +2 -2
  106. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  107. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  108. data/generated/google/apis/licensing_v1/service.rb +1 -1
  109. data/generated/google/apis/logging_v2beta1.rb +1 -1
  110. data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
  111. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  112. data/generated/google/apis/logging_v2beta1/service.rb +261 -261
  113. data/generated/google/apis/manufacturers_v1.rb +1 -1
  114. data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
  115. data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
  116. data/generated/google/apis/manufacturers_v1/service.rb +11 -11
  117. data/generated/google/apis/mirror_v1.rb +1 -1
  118. data/generated/google/apis/monitoring_v3.rb +7 -7
  119. data/generated/google/apis/monitoring_v3/classes.rb +668 -670
  120. data/generated/google/apis/monitoring_v3/representations.rb +140 -140
  121. data/generated/google/apis/monitoring_v3/service.rb +208 -208
  122. data/generated/google/apis/partners_v2.rb +1 -1
  123. data/generated/google/apis/partners_v2/classes.rb +505 -505
  124. data/generated/google/apis/partners_v2/representations.rb +118 -118
  125. data/generated/google/apis/partners_v2/service.rb +275 -275
  126. data/generated/google/apis/people_v1.rb +1 -1
  127. data/generated/google/apis/people_v1/classes.rb +1037 -1031
  128. data/generated/google/apis/people_v1/representations.rb +247 -246
  129. data/generated/google/apis/people_v1/service.rb +20 -20
  130. data/generated/google/apis/plus_domains_v1.rb +1 -1
  131. data/generated/google/apis/plus_v1.rb +1 -1
  132. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  133. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
  134. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
  135. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
  136. data/generated/google/apis/pubsub_v1.rb +4 -4
  137. data/generated/google/apis/pubsub_v1/classes.rb +131 -132
  138. data/generated/google/apis/pubsub_v1/representations.rb +35 -35
  139. data/generated/google/apis/pubsub_v1/service.rb +399 -408
  140. data/generated/google/apis/reseller_v1.rb +1 -1
  141. data/generated/google/apis/reseller_v1/classes.rb +9 -0
  142. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  143. data/generated/google/apis/script_v1.rb +9 -9
  144. data/generated/google/apis/script_v1/classes.rb +110 -110
  145. data/generated/google/apis/script_v1/representations.rb +26 -26
  146. data/generated/google/apis/sheets_v4.rb +4 -4
  147. data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
  148. data/generated/google/apis/sheets_v4/representations.rb +856 -856
  149. data/generated/google/apis/sheets_v4/service.rb +106 -106
  150. data/generated/google/apis/slides_v1.rb +4 -4
  151. data/generated/google/apis/slides_v1/classes.rb +2923 -2841
  152. data/generated/google/apis/slides_v1/representations.rb +722 -691
  153. data/generated/google/apis/slides_v1/service.rb +58 -15
  154. data/generated/google/apis/speech_v1beta1.rb +1 -1
  155. data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
  156. data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
  157. data/generated/google/apis/speech_v1beta1/service.rb +70 -70
  158. data/generated/google/apis/storage_v1.rb +1 -1
  159. data/generated/google/apis/storage_v1/classes.rb +151 -0
  160. data/generated/google/apis/storage_v1/representations.rb +45 -0
  161. data/generated/google/apis/storage_v1/service.rb +248 -0
  162. data/generated/google/apis/vision_v1.rb +1 -1
  163. data/generated/google/apis/vision_v1/classes.rb +1227 -1221
  164. data/generated/google/apis/vision_v1/representations.rb +217 -215
  165. data/generated/google/apis/webmasters_v3.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  167. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  168. data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
  169. data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
  170. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  171. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  172. data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
  173. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  174. data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
  175. data/lib/google/apis/version.rb +1 -1
  176. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170306'
28
+ REVISION = '20170327'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,14 +27,6 @@ module Google
27
27
  class Operation
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # If the value is `false`, it means the operation is still in progress.
31
- # If true, the operation is completed, and either `error` or `response` is
32
- # available.
33
- # Corresponds to the JSON property `done`
34
- # @return [Boolean]
35
- attr_accessor :done
36
- alias_method :done?, :done
37
-
38
30
  # The normal response of the operation in case of success. If the original
39
31
  # method returns no data on success, such as `Delete`, the response is
40
32
  # `google.protobuf.Empty`. If the original method is standard
@@ -105,17 +97,25 @@ module Google
105
97
  # @return [Hash<String,Object>]
106
98
  attr_accessor :metadata
107
99
 
100
+ # If the value is `false`, it means the operation is still in progress.
101
+ # If true, the operation is completed, and either `error` or `response` is
102
+ # available.
103
+ # Corresponds to the JSON property `done`
104
+ # @return [Boolean]
105
+ attr_accessor :done
106
+ alias_method :done?, :done
107
+
108
108
  def initialize(**args)
109
109
  update!(**args)
110
110
  end
111
111
 
112
112
  # Update properties of this object
113
113
  def update!(**args)
114
- @done = args[:done] if args.key?(:done)
115
114
  @response = args[:response] if args.key?(:response)
116
115
  @name = args[:name] if args.key?(:name)
117
116
  @error = args[:error] if args.key?(:error)
118
117
  @metadata = args[:metadata] if args.key?(:metadata)
118
+ @done = args[:done] if args.key?(:done)
119
119
  end
120
120
  end
121
121
 
@@ -209,16 +209,60 @@ module Google
209
209
  end
210
210
  end
211
211
 
212
+ # Container message for hash values.
213
+ class HashProp
214
+ include Google::Apis::Core::Hashable
215
+
216
+ # The type of hash that was performed.
217
+ # Corresponds to the JSON property `type`
218
+ # @return [String]
219
+ attr_accessor :type
220
+
221
+ # The hash value.
222
+ # Corresponds to the JSON property `value`
223
+ # @return [String]
224
+ attr_accessor :value
225
+
226
+ def initialize(**args)
227
+ update!(**args)
228
+ end
229
+
230
+ # Update properties of this object
231
+ def update!(**args)
232
+ @type = args[:type] if args.key?(:type)
233
+ @value = args[:value] if args.key?(:value)
234
+ end
235
+ end
236
+
212
237
  # BuildStep describes a step to perform in the build pipeline.
213
238
  class BuildStep
214
239
  include Google::Apis::Core::Hashable
215
240
 
241
+ # Optional entrypoint to be used instead of the build step image's default
242
+ # If unset, the image's default will be used.
243
+ # Corresponds to the JSON property `entrypoint`
244
+ # @return [String]
245
+ attr_accessor :entrypoint
246
+
247
+ # Optional unique identifier for this build step, used in wait_for to
248
+ # reference this build step as a dependency.
249
+ # Corresponds to the JSON property `id`
250
+ # @return [String]
251
+ attr_accessor :id
252
+
216
253
  # Working directory (relative to project source root) to use when running
217
254
  # this operation's container.
218
255
  # Corresponds to the JSON property `dir`
219
256
  # @return [String]
220
257
  attr_accessor :dir
221
258
 
259
+ # A list of environment variable definitions to be used when running a step.
260
+ # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
261
+ # being given the value "VALUE".
262
+ # Corresponds to the JSON property `env`
263
+ # @return [Array<String>]
264
+ attr_accessor :env
265
+
222
266
  # The ID(s) of the step(s) that this build step depends on.
223
267
  # This build step will not start until all the build steps in wait_for
224
268
  # have completed successfully. If wait_for is empty, this build step will
@@ -228,13 +272,6 @@ module Google
228
272
  # @return [Array<String>]
229
273
  attr_accessor :wait_for
230
274
 
231
- # A list of environment variable definitions to be used when running a step.
232
- # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
233
- # being given the value "VALUE".
234
- # Corresponds to the JSON property `env`
235
- # @return [Array<String>]
236
- attr_accessor :env
237
-
238
275
  # A list of arguments that will be presented to the step when it is started.
239
276
  # If the image used to run the step's container has an entrypoint, these args
240
277
  # will be used as arguments to that entrypoint. If the image does not define
@@ -250,10 +287,11 @@ module Google
250
287
  # first, using the builder service account's credentials if necessary.
251
288
  # The Docker daemon's cache will already have the latest versions of all of
252
289
  # the officially supported build steps
253
- # (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon
254
- # will also have cached many of the layers for some popular images, like
255
- # "ubuntu", "debian", but they will be refreshed at the time you attempt to
256
- # use them.
290
+ # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
291
+ # GoogleCloudPlatform/cloud-builders)).
292
+ # The Docker daemon will also have cached many of the layers for some popular
293
+ # images, like "ubuntu", "debian", but they will be refreshed at the time you
294
+ # attempt to use them.
257
295
  # If you built an image in a previous build step, it will be stored in the
258
296
  # host's Docker daemon's cache and is available to use as the name for a
259
297
  # later build step.
@@ -261,56 +299,19 @@ module Google
261
299
  # @return [String]
262
300
  attr_accessor :name
263
301
 
264
- # Optional entrypoint to be used instead of the build step image's default
265
- # If unset, the image's default will be used.
266
- # Corresponds to the JSON property `entrypoint`
267
- # @return [String]
268
- attr_accessor :entrypoint
269
-
270
- # Optional unique identifier for this build step, used in wait_for to
271
- # reference this build step as a dependency.
272
- # Corresponds to the JSON property `id`
273
- # @return [String]
274
- attr_accessor :id
275
-
276
302
  def initialize(**args)
277
303
  update!(**args)
278
304
  end
279
305
 
280
306
  # Update properties of this object
281
307
  def update!(**args)
308
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
309
+ @id = args[:id] if args.key?(:id)
282
310
  @dir = args[:dir] if args.key?(:dir)
283
- @wait_for = args[:wait_for] if args.key?(:wait_for)
284
311
  @env = args[:env] if args.key?(:env)
312
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
285
313
  @args = args[:args] if args.key?(:args)
286
314
  @name = args[:name] if args.key?(:name)
287
- @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
288
- @id = args[:id] if args.key?(:id)
289
- end
290
- end
291
-
292
- # Container message for hash values.
293
- class HashProp
294
- include Google::Apis::Core::Hashable
295
-
296
- # The hash value.
297
- # Corresponds to the JSON property `value`
298
- # @return [String]
299
- attr_accessor :value
300
-
301
- # The type of hash that was performed.
302
- # Corresponds to the JSON property `type`
303
- # @return [String]
304
- attr_accessor :type
305
-
306
- def initialize(**args)
307
- update!(**args)
308
- end
309
-
310
- # Update properties of this object
311
- def update!(**args)
312
- @value = args[:value] if args.key?(:value)
313
- @type = args[:type] if args.key?(:type)
314
315
  end
315
316
  end
316
317
 
@@ -430,11 +431,17 @@ module Google
430
431
  class BuildTrigger
431
432
  include Google::Apis::Core::Hashable
432
433
 
433
- # Path, from the source root, to a file whose contents is used for the
434
- # template.
435
- # Corresponds to the JSON property `filename`
434
+ # If true, the trigger will never result in a build.
435
+ # Corresponds to the JSON property `disabled`
436
+ # @return [Boolean]
437
+ attr_accessor :disabled
438
+ alias_method :disabled?, :disabled
439
+
440
+ # Time when the trigger was created.
441
+ # @OutputOnly
442
+ # Corresponds to the JSON property `createTime`
436
443
  # @return [String]
437
- attr_accessor :filename
444
+ attr_accessor :create_time
438
445
 
439
446
  # RepoSource describes the location of the source in a Google Cloud Source
440
447
  # Repository.
@@ -442,6 +449,12 @@ module Google
442
449
  # @return [Google::Apis::CloudbuildV1::RepoSource]
443
450
  attr_accessor :trigger_template
444
451
 
452
+ # Path, from the source root, to a file whose contents is used for the
453
+ # template.
454
+ # Corresponds to the JSON property `filename`
455
+ # @return [String]
456
+ attr_accessor :filename
457
+
445
458
  # Unique identifier of the trigger.
446
459
  # @OutputOnly
447
460
  # Corresponds to the JSON property `id`
@@ -475,32 +488,20 @@ module Google
475
488
  # @return [String]
476
489
  attr_accessor :description
477
490
 
478
- # If true, the trigger will never result in a build.
479
- # Corresponds to the JSON property `disabled`
480
- # @return [Boolean]
481
- attr_accessor :disabled
482
- alias_method :disabled?, :disabled
483
-
484
- # Time when the trigger was created.
485
- # @OutputOnly
486
- # Corresponds to the JSON property `createTime`
487
- # @return [String]
488
- attr_accessor :create_time
489
-
490
491
  def initialize(**args)
491
492
  update!(**args)
492
493
  end
493
494
 
494
495
  # Update properties of this object
495
496
  def update!(**args)
496
- @filename = args[:filename] if args.key?(:filename)
497
+ @disabled = args[:disabled] if args.key?(:disabled)
498
+ @create_time = args[:create_time] if args.key?(:create_time)
497
499
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
500
+ @filename = args[:filename] if args.key?(:filename)
498
501
  @id = args[:id] if args.key?(:id)
499
502
  @build = args[:build] if args.key?(:build)
500
503
  @substitutions = args[:substitutions] if args.key?(:substitutions)
501
504
  @description = args[:description] if args.key?(:description)
502
- @disabled = args[:disabled] if args.key?(:disabled)
503
- @create_time = args[:create_time] if args.key?(:create_time)
504
505
  end
505
506
  end
506
507
 
@@ -520,28 +521,58 @@ module Google
520
521
  class Build
521
522
  include Google::Apis::Core::Hashable
522
523
 
523
- # Source describes the location of the source in a supported storage
524
- # service.
525
- # Corresponds to the JSON property `source`
526
- # @return [Google::Apis::CloudbuildV1::Source]
527
- attr_accessor :source
524
+ # Time at which the request to create the build was received.
525
+ # @OutputOnly
526
+ # Corresponds to the JSON property `createTime`
527
+ # @return [String]
528
+ attr_accessor :create_time
528
529
 
529
- # Optional arguments to enable specific features of builds.
530
- # Corresponds to the JSON property `options`
531
- # @return [Google::Apis::CloudbuildV1::BuildOptions]
532
- attr_accessor :options
530
+ # Provenance of the source. Ways to find the original source, or verify that
531
+ # some source was used for this build.
532
+ # Corresponds to the JSON property `sourceProvenance`
533
+ # @return [Google::Apis::CloudbuildV1::SourceProvenance]
534
+ attr_accessor :source_provenance
533
535
 
534
- # Customer-readable message about the current status.
536
+ # A list of images to be pushed upon the successful completion of all build
537
+ # steps.
538
+ # The images will be pushed using the builder service account's credentials.
539
+ # The digests of the pushed images will be stored in the Build resource's
540
+ # results field.
541
+ # If any of the images fail to be pushed, the build is marked FAILURE.
542
+ # Corresponds to the JSON property `images`
543
+ # @return [Array<String>]
544
+ attr_accessor :images
545
+
546
+ # ID of the project.
547
+ # @OutputOnly.
548
+ # Corresponds to the JSON property `projectId`
549
+ # @return [String]
550
+ attr_accessor :project_id
551
+
552
+ # URL to logs for this build in Google Cloud Logging.
535
553
  # @OutputOnly
536
- # Corresponds to the JSON property `statusDetail`
554
+ # Corresponds to the JSON property `logUrl`
537
555
  # @return [String]
538
- attr_accessor :status_detail
556
+ attr_accessor :log_url
539
557
 
540
- # Status of the build.
558
+ # Time at which execution of the build was finished.
559
+ # The difference between finish_time and start_time is the duration of the
560
+ # build's execution.
541
561
  # @OutputOnly
542
- # Corresponds to the JSON property `status`
562
+ # Corresponds to the JSON property `finishTime`
543
563
  # @return [String]
544
- attr_accessor :status
564
+ attr_accessor :finish_time
565
+
566
+ # Optional arguments to enable specific features of builds.
567
+ # Corresponds to the JSON property `options`
568
+ # @return [Google::Apis::CloudbuildV1::BuildOptions]
569
+ attr_accessor :options
570
+
571
+ # Source describes the location of the source in a supported storage
572
+ # service.
573
+ # Corresponds to the JSON property `source`
574
+ # @return [Google::Apis::CloudbuildV1::Source]
575
+ attr_accessor :source
545
576
 
546
577
  # Amount of time that this build should be allowed to run, to second
547
578
  # granularity. If this amount of time elapses, work on the build will cease
@@ -551,6 +582,18 @@ module Google
551
582
  # @return [String]
552
583
  attr_accessor :timeout
553
584
 
585
+ # Status of the build.
586
+ # @OutputOnly
587
+ # Corresponds to the JSON property `status`
588
+ # @return [String]
589
+ attr_accessor :status
590
+
591
+ # Customer-readable message about the current status.
592
+ # @OutputOnly
593
+ # Corresponds to the JSON property `statusDetail`
594
+ # @return [String]
595
+ attr_accessor :status_detail
596
+
554
597
  # Results describes the artifacts created by the build pipeline.
555
598
  # Corresponds to the JSON property `results`
556
599
  # @return [Google::Apis::CloudbuildV1::Results]
@@ -583,58 +626,16 @@ module Google
583
626
  # @return [String]
584
627
  attr_accessor :id
585
628
 
586
- # Substitutions data for Build resource.
587
- # Corresponds to the JSON property `substitutions`
588
- # @return [Hash<String,String>]
589
- attr_accessor :substitutions
590
-
591
629
  # Time at which execution of the build was started.
592
630
  # @OutputOnly
593
631
  # Corresponds to the JSON property `startTime`
594
632
  # @return [String]
595
633
  attr_accessor :start_time
596
634
 
597
- # Provenance of the source. Ways to find the original source, or verify that
598
- # some source was used for this build.
599
- # Corresponds to the JSON property `sourceProvenance`
600
- # @return [Google::Apis::CloudbuildV1::SourceProvenance]
601
- attr_accessor :source_provenance
602
-
603
- # Time at which the request to create the build was received.
604
- # @OutputOnly
605
- # Corresponds to the JSON property `createTime`
606
- # @return [String]
607
- attr_accessor :create_time
608
-
609
- # A list of images to be pushed upon the successful completion of all build
610
- # steps.
611
- # The images will be pushed using the builder service account's credentials.
612
- # The digests of the pushed images will be stored in the Build resource's
613
- # results field.
614
- # If any of the images fail to be pushed, the build is marked FAILURE.
615
- # Corresponds to the JSON property `images`
616
- # @return [Array<String>]
617
- attr_accessor :images
618
-
619
- # ID of the project.
620
- # @OutputOnly.
621
- # Corresponds to the JSON property `projectId`
622
- # @return [String]
623
- attr_accessor :project_id
624
-
625
- # Time at which execution of the build was finished.
626
- # The difference between finish_time and start_time is the duration of the
627
- # build's execution.
628
- # @OutputOnly
629
- # Corresponds to the JSON property `finishTime`
630
- # @return [String]
631
- attr_accessor :finish_time
632
-
633
- # URL to logs for this build in Google Cloud Logging.
634
- # @OutputOnly
635
- # Corresponds to the JSON property `logUrl`
636
- # @return [String]
637
- attr_accessor :log_url
635
+ # Substitutions data for Build resource.
636
+ # Corresponds to the JSON property `substitutions`
637
+ # @return [Hash<String,String>]
638
+ attr_accessor :substitutions
638
639
 
639
640
  def initialize(**args)
640
641
  update!(**args)
@@ -642,24 +643,24 @@ module Google
642
643
 
643
644
  # Update properties of this object
644
645
  def update!(**args)
645
- @source = args[:source] if args.key?(:source)
646
+ @create_time = args[:create_time] if args.key?(:create_time)
647
+ @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
648
+ @images = args[:images] if args.key?(:images)
649
+ @project_id = args[:project_id] if args.key?(:project_id)
650
+ @log_url = args[:log_url] if args.key?(:log_url)
651
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
646
652
  @options = args[:options] if args.key?(:options)
647
- @status_detail = args[:status_detail] if args.key?(:status_detail)
648
- @status = args[:status] if args.key?(:status)
653
+ @source = args[:source] if args.key?(:source)
649
654
  @timeout = args[:timeout] if args.key?(:timeout)
655
+ @status = args[:status] if args.key?(:status)
656
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
650
657
  @results = args[:results] if args.key?(:results)
651
658
  @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
652
659
  @steps = args[:steps] if args.key?(:steps)
653
660
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
654
661
  @id = args[:id] if args.key?(:id)
655
- @substitutions = args[:substitutions] if args.key?(:substitutions)
656
662
  @start_time = args[:start_time] if args.key?(:start_time)
657
- @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
658
- @create_time = args[:create_time] if args.key?(:create_time)
659
- @images = args[:images] if args.key?(:images)
660
- @project_id = args[:project_id] if args.key?(:project_id)
661
- @finish_time = args[:finish_time] if args.key?(:finish_time)
662
- @log_url = args[:log_url] if args.key?(:log_url)
663
+ @substitutions = args[:substitutions] if args.key?(:substitutions)
663
664
  end
664
665
  end
665
666
 
@@ -821,24 +822,24 @@ module Google
821
822
  class Results
822
823
  include Google::Apis::Core::Hashable
823
824
 
824
- # Images that were built as a part of the build.
825
- # Corresponds to the JSON property `images`
826
- # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
827
- attr_accessor :images
828
-
829
825
  # List of build step digests, in order corresponding to build step indices.
830
826
  # Corresponds to the JSON property `buildStepImages`
831
827
  # @return [Array<String>]
832
828
  attr_accessor :build_step_images
833
829
 
830
+ # Images that were built as a part of the build.
831
+ # Corresponds to the JSON property `images`
832
+ # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
833
+ attr_accessor :images
834
+
834
835
  def initialize(**args)
835
836
  update!(**args)
836
837
  end
837
838
 
838
839
  # Update properties of this object
839
840
  def update!(**args)
840
- @images = args[:images] if args.key?(:images)
841
841
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
842
+ @images = args[:images] if args.key?(:images)
842
843
  end
843
844
  end
844
845
 
@@ -878,12 +879,6 @@ module Google
878
879
  class SourceProvenance
879
880
  include Google::Apis::Core::Hashable
880
881
 
881
- # StorageSource describes the location of the source in an archive file in
882
- # Google Cloud Storage.
883
- # Corresponds to the JSON property `resolvedStorageSource`
884
- # @return [Google::Apis::CloudbuildV1::StorageSource]
885
- attr_accessor :resolved_storage_source
886
-
887
882
  # Hash(es) of the build source, which can be used to verify that the original
888
883
  # source integrity was maintained in the build. Note that FileHashes will
889
884
  # only be populated if BuildOptions has requested a SourceProvenanceHash.
@@ -902,15 +897,21 @@ module Google
902
897
  # @return [Google::Apis::CloudbuildV1::RepoSource]
903
898
  attr_accessor :resolved_repo_source
904
899
 
900
+ # StorageSource describes the location of the source in an archive file in
901
+ # Google Cloud Storage.
902
+ # Corresponds to the JSON property `resolvedStorageSource`
903
+ # @return [Google::Apis::CloudbuildV1::StorageSource]
904
+ attr_accessor :resolved_storage_source
905
+
905
906
  def initialize(**args)
906
907
  update!(**args)
907
908
  end
908
909
 
909
910
  # Update properties of this object
910
911
  def update!(**args)
911
- @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
912
912
  @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
913
913
  @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
914
+ @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
914
915
  end
915
916
  end
916
917