google-apis-cloudbuild_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module CloudbuildV1
18
+ # Version of the google-apis-cloudbuild_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201211"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,694 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module CloudbuildV1
24
+
25
+ class ArtifactObjects
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ArtifactResult
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Artifacts
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Build
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BuildOperationMetadata
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BuildOptions
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BuildStep
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BuildTrigger
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BuiltImage
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CancelBuildRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CancelOperationRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Empty
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class FileHashes
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GitHubEventsConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class HttpDelivery
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class HashProp
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListBuildTriggersResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListBuildsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Notification
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class NotifierConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class NotifierMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class NotifierSecret
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class NotifierSecretRef
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class NotifierSpec
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Operation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class PullRequestFilter
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class PushFilter
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class RepoSource
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Results
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class RetryBuildRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SmtpDelivery
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Secret
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class SlackDelivery
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Source
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class SourceProvenance
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Status
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class StorageSource
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TimeSpan
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Volume
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ArtifactObjects
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ property :location, as: 'location'
263
+ collection :paths, as: 'paths'
264
+ property :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
265
+
266
+ end
267
+ end
268
+
269
+ class ArtifactResult
270
+ # @private
271
+ class Representation < Google::Apis::Core::JsonRepresentation
272
+ collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
273
+
274
+ property :location, as: 'location'
275
+ end
276
+ end
277
+
278
+ class Artifacts
279
+ # @private
280
+ class Representation < Google::Apis::Core::JsonRepresentation
281
+ collection :images, as: 'images'
282
+ property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
283
+
284
+ end
285
+ end
286
+
287
+ class Build
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1::Artifacts, decorator: Google::Apis::CloudbuildV1::Artifacts::Representation
291
+
292
+ property :build_trigger_id, as: 'buildTriggerId'
293
+ property :create_time, as: 'createTime'
294
+ property :finish_time, as: 'finishTime'
295
+ property :id, as: 'id'
296
+ collection :images, as: 'images'
297
+ property :log_url, as: 'logUrl'
298
+ property :logs_bucket, as: 'logsBucket'
299
+ property :name, as: 'name'
300
+ property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
301
+
302
+ property :project_id, as: 'projectId'
303
+ property :queue_ttl, as: 'queueTtl'
304
+ property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
305
+
306
+ collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::Secret, decorator: Google::Apis::CloudbuildV1::Secret::Representation
307
+
308
+ property :service_account, as: 'serviceAccount'
309
+ property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
310
+
311
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
312
+
313
+ property :start_time, as: 'startTime'
314
+ property :status, as: 'status'
315
+ property :status_detail, as: 'statusDetail'
316
+ collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
317
+
318
+ hash :substitutions, as: 'substitutions'
319
+ collection :tags, as: 'tags'
320
+ property :timeout, as: 'timeout'
321
+ hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
322
+
323
+ end
324
+ end
325
+
326
+ class BuildOperationMetadata
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
330
+
331
+ end
332
+ end
333
+
334
+ class BuildOptions
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
338
+ property :dynamic_substitutions, as: 'dynamicSubstitutions'
339
+ collection :env, as: 'env'
340
+ property :log_streaming_option, as: 'logStreamingOption'
341
+ property :logging, as: 'logging'
342
+ property :machine_type, as: 'machineType'
343
+ property :requested_verify_option, as: 'requestedVerifyOption'
344
+ collection :secret_env, as: 'secretEnv'
345
+ collection :source_provenance_hash, as: 'sourceProvenanceHash'
346
+ property :substitution_option, as: 'substitutionOption'
347
+ collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation
348
+
349
+ property :worker_pool, as: 'workerPool'
350
+ end
351
+ end
352
+
353
+ class BuildStep
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ collection :args, as: 'args'
357
+ property :dir, as: 'dir'
358
+ property :entrypoint, as: 'entrypoint'
359
+ collection :env, as: 'env'
360
+ property :id, as: 'id'
361
+ property :name, as: 'name'
362
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
363
+
364
+ collection :secret_env, as: 'secretEnv'
365
+ property :status, as: 'status'
366
+ property :timeout, as: 'timeout'
367
+ property :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
368
+
369
+ collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation
370
+
371
+ collection :wait_for, as: 'waitFor'
372
+ end
373
+ end
374
+
375
+ class BuildTrigger
376
+ # @private
377
+ class Representation < Google::Apis::Core::JsonRepresentation
378
+ property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
379
+
380
+ property :create_time, as: 'createTime'
381
+ property :description, as: 'description'
382
+ property :disabled, as: 'disabled'
383
+ property :filename, as: 'filename'
384
+ property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
385
+
386
+ property :id, as: 'id'
387
+ collection :ignored_files, as: 'ignoredFiles'
388
+ collection :included_files, as: 'includedFiles'
389
+ property :name, as: 'name'
390
+ hash :substitutions, as: 'substitutions'
391
+ collection :tags, as: 'tags'
392
+ property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
393
+
394
+ end
395
+ end
396
+
397
+ class BuiltImage
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :digest, as: 'digest'
401
+ property :name, as: 'name'
402
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class CancelBuildRequest
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :id, as: 'id'
411
+ property :name, as: 'name'
412
+ property :project_id, as: 'projectId'
413
+ end
414
+ end
415
+
416
+ class CancelOperationRequest
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ end
420
+ end
421
+
422
+ class Empty
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ end
426
+ end
427
+
428
+ class FileHashes
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class GitHubEventsConfig
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :installation_id, :numeric_string => true, as: 'installationId'
440
+ property :name, as: 'name'
441
+ property :owner, as: 'owner'
442
+ property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
443
+
444
+ property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class HttpDelivery
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :uri, as: 'uri'
453
+ end
454
+ end
455
+
456
+ class HashProp
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :type, as: 'type'
460
+ property :value, :base64 => true, as: 'value'
461
+ end
462
+ end
463
+
464
+ class ListBuildTriggersResponse
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :next_page_token, as: 'nextPageToken'
468
+ collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
469
+
470
+ end
471
+ end
472
+
473
+ class ListBuildsResponse
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
477
+
478
+ property :next_page_token, as: 'nextPageToken'
479
+ end
480
+ end
481
+
482
+ class Notification
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ property :filter, as: 'filter'
486
+ property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1::HttpDelivery, decorator: Google::Apis::CloudbuildV1::HttpDelivery::Representation
487
+
488
+ property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1::SlackDelivery, decorator: Google::Apis::CloudbuildV1::SlackDelivery::Representation
489
+
490
+ property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1::SmtpDelivery, decorator: Google::Apis::CloudbuildV1::SmtpDelivery::Representation
491
+
492
+ hash :struct_delivery, as: 'structDelivery'
493
+ end
494
+ end
495
+
496
+ class NotifierConfig
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :api_version, as: 'apiVersion'
500
+ property :kind, as: 'kind'
501
+ property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1::NotifierMetadata, decorator: Google::Apis::CloudbuildV1::NotifierMetadata::Representation
502
+
503
+ property :spec, as: 'spec', class: Google::Apis::CloudbuildV1::NotifierSpec, decorator: Google::Apis::CloudbuildV1::NotifierSpec::Representation
504
+
505
+ end
506
+ end
507
+
508
+ class NotifierMetadata
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :name, as: 'name'
512
+ property :notifier, as: 'notifier'
513
+ end
514
+ end
515
+
516
+ class NotifierSecret
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :name, as: 'name'
520
+ property :value, as: 'value'
521
+ end
522
+ end
523
+
524
+ class NotifierSecretRef
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :secret_ref, as: 'secretRef'
528
+ end
529
+ end
530
+
531
+ class NotifierSpec
532
+ # @private
533
+ class Representation < Google::Apis::Core::JsonRepresentation
534
+ property :notification, as: 'notification', class: Google::Apis::CloudbuildV1::Notification, decorator: Google::Apis::CloudbuildV1::Notification::Representation
535
+
536
+ collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::NotifierSecret, decorator: Google::Apis::CloudbuildV1::NotifierSecret::Representation
537
+
538
+ end
539
+ end
540
+
541
+ class Operation
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :done, as: 'done'
545
+ property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
546
+
547
+ hash :metadata, as: 'metadata'
548
+ property :name, as: 'name'
549
+ hash :response, as: 'response'
550
+ end
551
+ end
552
+
553
+ class PullRequestFilter
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :branch, as: 'branch'
557
+ property :comment_control, as: 'commentControl'
558
+ property :invert_regex, as: 'invertRegex'
559
+ end
560
+ end
561
+
562
+ class PushFilter
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :branch, as: 'branch'
566
+ property :invert_regex, as: 'invertRegex'
567
+ property :tag, as: 'tag'
568
+ end
569
+ end
570
+
571
+ class RepoSource
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :branch_name, as: 'branchName'
575
+ property :commit_sha, as: 'commitSha'
576
+ property :dir, as: 'dir'
577
+ property :invert_regex, as: 'invertRegex'
578
+ property :project_id, as: 'projectId'
579
+ property :repo_name, as: 'repoName'
580
+ hash :substitutions, as: 'substitutions'
581
+ property :tag_name, as: 'tagName'
582
+ end
583
+ end
584
+
585
+ class Results
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :artifact_manifest, as: 'artifactManifest'
589
+ property :artifact_timing, as: 'artifactTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
590
+
591
+ collection :build_step_images, as: 'buildStepImages'
592
+ collection :build_step_outputs, as: 'buildStepOutputs'
593
+ collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
594
+
595
+ property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
596
+ end
597
+ end
598
+
599
+ class RetryBuildRequest
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :id, as: 'id'
603
+ property :name, as: 'name'
604
+ property :project_id, as: 'projectId'
605
+ end
606
+ end
607
+
608
+ class SmtpDelivery
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :from_address, as: 'fromAddress'
612
+ property :password, as: 'password', class: Google::Apis::CloudbuildV1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1::NotifierSecretRef::Representation
613
+
614
+ property :port, as: 'port'
615
+ collection :recipient_addresses, as: 'recipientAddresses'
616
+ property :sender_address, as: 'senderAddress'
617
+ property :server, as: 'server'
618
+ end
619
+ end
620
+
621
+ class Secret
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :kms_key_name, as: 'kmsKeyName'
625
+ hash :secret_env, as: 'secretEnv'
626
+ end
627
+ end
628
+
629
+ class SlackDelivery
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1::NotifierSecretRef::Representation
633
+
634
+ end
635
+ end
636
+
637
+ class Source
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
641
+
642
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
643
+
644
+ end
645
+ end
646
+
647
+ class SourceProvenance
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
651
+
652
+ property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
653
+
654
+ property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
655
+
656
+ end
657
+ end
658
+
659
+ class Status
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :code, as: 'code'
663
+ collection :details, as: 'details'
664
+ property :message, as: 'message'
665
+ end
666
+ end
667
+
668
+ class StorageSource
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :bucket, as: 'bucket'
672
+ property :generation, :numeric_string => true, as: 'generation'
673
+ property :object, as: 'object'
674
+ end
675
+ end
676
+
677
+ class TimeSpan
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :end_time, as: 'endTime'
681
+ property :start_time, as: 'startTime'
682
+ end
683
+ end
684
+
685
+ class Volume
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ property :name, as: 'name'
689
+ property :path, as: 'path'
690
+ end
691
+ end
692
+ end
693
+ end
694
+ end