google-apis-cloudbuild_v1alpha1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-cloudbuild_v1alpha1.rb +15 -0
- data/lib/google/apis/cloudbuild_v1alpha1.rb +36 -0
- data/lib/google/apis/cloudbuild_v1alpha1/classes.rb +1567 -0
- data/lib/google/apis/cloudbuild_v1alpha1/gem_version.rb +28 -0
- data/lib/google/apis/cloudbuild_v1alpha1/representations.rb +626 -0
- data/lib/google/apis/cloudbuild_v1alpha1/service.rb +291 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module CloudbuildV1alpha1
|
18
|
+
# Version of the google-apis-cloudbuild_v1alpha1 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,626 @@
|
|
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 CloudbuildV1alpha1
|
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 BuiltImage
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CancelOperationRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Empty
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class FileHashes
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class HttpDelivery
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class HashProp
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListWorkerPoolsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Network
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class Notification
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class NotifierConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class NotifierMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class NotifierSecret
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class NotifierSecretRef
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class NotifierSpec
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Operation
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class RepoSource
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Results
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class SmtpDelivery
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class Secret
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class SlackDelivery
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class Source
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class SourceProvenance
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Status
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class StorageSource
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class TimeSpan
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Volume
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class WorkerConfig
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class WorkerPool
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ArtifactObjects
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :location, as: 'location'
|
239
|
+
collection :paths, as: 'paths'
|
240
|
+
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
241
|
+
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
class ArtifactResult
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
249
|
+
|
250
|
+
property :location, as: 'location'
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class Artifacts
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
collection :images, as: 'images'
|
258
|
+
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1alpha1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1alpha1::ArtifactObjects::Representation
|
259
|
+
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
class Build
|
264
|
+
# @private
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1alpha1::Artifacts, decorator: Google::Apis::CloudbuildV1alpha1::Artifacts::Representation
|
267
|
+
|
268
|
+
property :build_trigger_id, as: 'buildTriggerId'
|
269
|
+
property :create_time, as: 'createTime'
|
270
|
+
property :finish_time, as: 'finishTime'
|
271
|
+
property :id, as: 'id'
|
272
|
+
collection :images, as: 'images'
|
273
|
+
property :log_url, as: 'logUrl'
|
274
|
+
property :logs_bucket, as: 'logsBucket'
|
275
|
+
property :name, as: 'name'
|
276
|
+
property :options, as: 'options', class: Google::Apis::CloudbuildV1alpha1::BuildOptions, decorator: Google::Apis::CloudbuildV1alpha1::BuildOptions::Representation
|
277
|
+
|
278
|
+
property :project_id, as: 'projectId'
|
279
|
+
property :queue_ttl, as: 'queueTtl'
|
280
|
+
property :results, as: 'results', class: Google::Apis::CloudbuildV1alpha1::Results, decorator: Google::Apis::CloudbuildV1alpha1::Results::Representation
|
281
|
+
|
282
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha1::Secret, decorator: Google::Apis::CloudbuildV1alpha1::Secret::Representation
|
283
|
+
|
284
|
+
property :service_account, as: 'serviceAccount'
|
285
|
+
property :source, as: 'source', class: Google::Apis::CloudbuildV1alpha1::Source, decorator: Google::Apis::CloudbuildV1alpha1::Source::Representation
|
286
|
+
|
287
|
+
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1alpha1::SourceProvenance, decorator: Google::Apis::CloudbuildV1alpha1::SourceProvenance::Representation
|
288
|
+
|
289
|
+
property :start_time, as: 'startTime'
|
290
|
+
property :status, as: 'status'
|
291
|
+
property :status_detail, as: 'statusDetail'
|
292
|
+
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1alpha1::BuildStep, decorator: Google::Apis::CloudbuildV1alpha1::BuildStep::Representation
|
293
|
+
|
294
|
+
hash :substitutions, as: 'substitutions'
|
295
|
+
collection :tags, as: 'tags'
|
296
|
+
property :timeout, as: 'timeout'
|
297
|
+
hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
298
|
+
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
class BuildOperationMetadata
|
303
|
+
# @private
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :build, as: 'build', class: Google::Apis::CloudbuildV1alpha1::Build, decorator: Google::Apis::CloudbuildV1alpha1::Build::Representation
|
306
|
+
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
class BuildOptions
|
311
|
+
# @private
|
312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
313
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
314
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
315
|
+
collection :env, as: 'env'
|
316
|
+
property :log_streaming_option, as: 'logStreamingOption'
|
317
|
+
property :logging, as: 'logging'
|
318
|
+
property :machine_type, as: 'machineType'
|
319
|
+
property :requested_verify_option, as: 'requestedVerifyOption'
|
320
|
+
collection :secret_env, as: 'secretEnv'
|
321
|
+
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
322
|
+
property :substitution_option, as: 'substitutionOption'
|
323
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1alpha1::Volume, decorator: Google::Apis::CloudbuildV1alpha1::Volume::Representation
|
324
|
+
|
325
|
+
property :worker_pool, as: 'workerPool'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class BuildStep
|
330
|
+
# @private
|
331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
+
collection :args, as: 'args'
|
333
|
+
property :dir, as: 'dir'
|
334
|
+
property :entrypoint, as: 'entrypoint'
|
335
|
+
collection :env, as: 'env'
|
336
|
+
property :id, as: 'id'
|
337
|
+
property :name, as: 'name'
|
338
|
+
property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
339
|
+
|
340
|
+
collection :secret_env, as: 'secretEnv'
|
341
|
+
property :status, as: 'status'
|
342
|
+
property :timeout, as: 'timeout'
|
343
|
+
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
344
|
+
|
345
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1alpha1::Volume, decorator: Google::Apis::CloudbuildV1alpha1::Volume::Representation
|
346
|
+
|
347
|
+
collection :wait_for, as: 'waitFor'
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
class BuiltImage
|
352
|
+
# @private
|
353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
354
|
+
property :digest, as: 'digest'
|
355
|
+
property :name, as: 'name'
|
356
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
357
|
+
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
class CancelOperationRequest
|
362
|
+
# @private
|
363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
class Empty
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
373
|
+
class FileHashes
|
374
|
+
# @private
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
376
|
+
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1alpha1::HashProp, decorator: Google::Apis::CloudbuildV1alpha1::HashProp::Representation
|
377
|
+
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
class HttpDelivery
|
382
|
+
# @private
|
383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
384
|
+
property :uri, as: 'uri'
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
class HashProp
|
389
|
+
# @private
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
391
|
+
property :type, as: 'type'
|
392
|
+
property :value, :base64 => true, as: 'value'
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
class ListWorkerPoolsResponse
|
397
|
+
# @private
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
collection :worker_pools, as: 'workerPools', class: Google::Apis::CloudbuildV1alpha1::WorkerPool, decorator: Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation
|
400
|
+
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class Network
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
property :network, as: 'network'
|
408
|
+
property :project_id, as: 'projectId'
|
409
|
+
property :subnetwork, as: 'subnetwork'
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class Notification
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :filter, as: 'filter'
|
417
|
+
property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1alpha1::HttpDelivery, decorator: Google::Apis::CloudbuildV1alpha1::HttpDelivery::Representation
|
418
|
+
|
419
|
+
property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1alpha1::SlackDelivery, decorator: Google::Apis::CloudbuildV1alpha1::SlackDelivery::Representation
|
420
|
+
|
421
|
+
property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1alpha1::SmtpDelivery, decorator: Google::Apis::CloudbuildV1alpha1::SmtpDelivery::Representation
|
422
|
+
|
423
|
+
hash :struct_delivery, as: 'structDelivery'
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
class NotifierConfig
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
property :api_version, as: 'apiVersion'
|
431
|
+
property :kind, as: 'kind'
|
432
|
+
property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1alpha1::NotifierMetadata, decorator: Google::Apis::CloudbuildV1alpha1::NotifierMetadata::Representation
|
433
|
+
|
434
|
+
property :spec, as: 'spec', class: Google::Apis::CloudbuildV1alpha1::NotifierSpec, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSpec::Representation
|
435
|
+
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class NotifierMetadata
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :name, as: 'name'
|
443
|
+
property :notifier, as: 'notifier'
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
class NotifierSecret
|
448
|
+
# @private
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
+
property :name, as: 'name'
|
451
|
+
property :value, as: 'value'
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
class NotifierSecretRef
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :secret_ref, as: 'secretRef'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
class NotifierSpec
|
463
|
+
# @private
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
465
|
+
property :notification, as: 'notification', class: Google::Apis::CloudbuildV1alpha1::Notification, decorator: Google::Apis::CloudbuildV1alpha1::Notification::Representation
|
466
|
+
|
467
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha1::NotifierSecret, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecret::Representation
|
468
|
+
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class Operation
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :done, as: 'done'
|
476
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV1alpha1::Status, decorator: Google::Apis::CloudbuildV1alpha1::Status::Representation
|
477
|
+
|
478
|
+
hash :metadata, as: 'metadata'
|
479
|
+
property :name, as: 'name'
|
480
|
+
hash :response, as: 'response'
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class RepoSource
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :branch_name, as: 'branchName'
|
488
|
+
property :commit_sha, as: 'commitSha'
|
489
|
+
property :dir, as: 'dir'
|
490
|
+
property :invert_regex, as: 'invertRegex'
|
491
|
+
property :project_id, as: 'projectId'
|
492
|
+
property :repo_name, as: 'repoName'
|
493
|
+
hash :substitutions, as: 'substitutions'
|
494
|
+
property :tag_name, as: 'tagName'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Results
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :artifact_manifest, as: 'artifactManifest'
|
502
|
+
property :artifact_timing, as: 'artifactTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
503
|
+
|
504
|
+
collection :build_step_images, as: 'buildStepImages'
|
505
|
+
collection :build_step_outputs, as: 'buildStepOutputs'
|
506
|
+
collection :images, as: 'images', class: Google::Apis::CloudbuildV1alpha1::BuiltImage, decorator: Google::Apis::CloudbuildV1alpha1::BuiltImage::Representation
|
507
|
+
|
508
|
+
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
class SmtpDelivery
|
513
|
+
# @private
|
514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
515
|
+
property :from_address, as: 'fromAddress'
|
516
|
+
property :password, as: 'password', class: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef::Representation
|
517
|
+
|
518
|
+
property :port, as: 'port'
|
519
|
+
collection :recipient_addresses, as: 'recipientAddresses'
|
520
|
+
property :sender_address, as: 'senderAddress'
|
521
|
+
property :server, as: 'server'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class Secret
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :kms_key_name, as: 'kmsKeyName'
|
529
|
+
hash :secret_env, as: 'secretEnv'
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class SlackDelivery
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef::Representation
|
537
|
+
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
class Source
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1alpha1::RepoSource, decorator: Google::Apis::CloudbuildV1alpha1::RepoSource::Representation
|
545
|
+
|
546
|
+
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1alpha1::StorageSource, decorator: Google::Apis::CloudbuildV1alpha1::StorageSource::Representation
|
547
|
+
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class SourceProvenance
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
555
|
+
|
556
|
+
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1alpha1::RepoSource, decorator: Google::Apis::CloudbuildV1alpha1::RepoSource::Representation
|
557
|
+
|
558
|
+
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1alpha1::StorageSource, decorator: Google::Apis::CloudbuildV1alpha1::StorageSource::Representation
|
559
|
+
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
class Status
|
564
|
+
# @private
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
+
property :code, as: 'code'
|
567
|
+
collection :details, as: 'details'
|
568
|
+
property :message, as: 'message'
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
class StorageSource
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :bucket, as: 'bucket'
|
576
|
+
property :generation, :numeric_string => true, as: 'generation'
|
577
|
+
property :object, as: 'object'
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
class TimeSpan
|
582
|
+
# @private
|
583
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
584
|
+
property :end_time, as: 'endTime'
|
585
|
+
property :start_time, as: 'startTime'
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class Volume
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :name, as: 'name'
|
593
|
+
property :path, as: 'path'
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
class WorkerConfig
|
598
|
+
# @private
|
599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
600
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
601
|
+
property :machine_type, as: 'machineType'
|
602
|
+
property :network, as: 'network', class: Google::Apis::CloudbuildV1alpha1::Network, decorator: Google::Apis::CloudbuildV1alpha1::Network::Representation
|
603
|
+
|
604
|
+
property :tag, as: 'tag'
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
class WorkerPool
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
property :create_time, as: 'createTime'
|
612
|
+
property :delete_time, as: 'deleteTime'
|
613
|
+
property :name, as: 'name'
|
614
|
+
property :project_id, as: 'projectId'
|
615
|
+
collection :regions, as: 'regions'
|
616
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
617
|
+
property :status, as: 'status'
|
618
|
+
property :update_time, as: 'updateTime'
|
619
|
+
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1alpha1::WorkerConfig, decorator: Google::Apis::CloudbuildV1alpha1::WorkerConfig::Representation
|
620
|
+
|
621
|
+
property :worker_count, :numeric_string => true, as: 'workerCount'
|
622
|
+
end
|
623
|
+
end
|
624
|
+
end
|
625
|
+
end
|
626
|
+
end
|