google-apis-cloudbuild_v1beta1 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_v1beta1.rb +15 -0
- data/lib/google/apis/cloudbuild_v1beta1.rb +36 -0
- data/lib/google/apis/cloudbuild_v1beta1/classes.rb +1624 -0
- data/lib/google/apis/cloudbuild_v1beta1/gem_version.rb +28 -0
- data/lib/google/apis/cloudbuild_v1beta1/representations.rb +666 -0
- data/lib/google/apis/cloudbuild_v1beta1/service.rb +306 -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 CloudbuildV1beta1
|
18
|
+
# Version of the google-apis-cloudbuild_v1beta1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20210308"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,666 @@
|
|
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 CloudbuildV1beta1
|
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 InlineSecret
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListWorkerPoolsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class NetworkConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Notification
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class NotifierConfig
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class NotifierMetadata
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class NotifierSecret
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class NotifierSecretRef
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class NotifierSpec
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Operation
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class RepoSource
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Results
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class SmtpDelivery
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Secret
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class SecretManagerSecret
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class Secrets
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class SlackDelivery
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Source
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class SourceProvenance
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Status
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class StorageSource
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class TimeSpan
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class Volume
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class WorkerConfig
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class WorkerPool
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class ArtifactObjects
|
254
|
+
# @private
|
255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
256
|
+
property :location, as: 'location'
|
257
|
+
collection :paths, as: 'paths'
|
258
|
+
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
259
|
+
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
class ArtifactResult
|
264
|
+
# @private
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1beta1::FileHashes, decorator: Google::Apis::CloudbuildV1beta1::FileHashes::Representation
|
267
|
+
|
268
|
+
property :location, as: 'location'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
class Artifacts
|
273
|
+
# @private
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
275
|
+
collection :images, as: 'images'
|
276
|
+
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1beta1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1beta1::ArtifactObjects::Representation
|
277
|
+
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class Build
|
282
|
+
# @private
|
283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
284
|
+
property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1beta1::Artifacts, decorator: Google::Apis::CloudbuildV1beta1::Artifacts::Representation
|
285
|
+
|
286
|
+
property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1beta1::Secrets, decorator: Google::Apis::CloudbuildV1beta1::Secrets::Representation
|
287
|
+
|
288
|
+
property :build_trigger_id, as: 'buildTriggerId'
|
289
|
+
property :create_time, as: 'createTime'
|
290
|
+
property :finish_time, as: 'finishTime'
|
291
|
+
property :id, as: 'id'
|
292
|
+
collection :images, as: 'images'
|
293
|
+
property :log_url, as: 'logUrl'
|
294
|
+
property :logs_bucket, as: 'logsBucket'
|
295
|
+
property :name, as: 'name'
|
296
|
+
property :options, as: 'options', class: Google::Apis::CloudbuildV1beta1::BuildOptions, decorator: Google::Apis::CloudbuildV1beta1::BuildOptions::Representation
|
297
|
+
|
298
|
+
property :project_id, as: 'projectId'
|
299
|
+
property :queue_ttl, as: 'queueTtl'
|
300
|
+
property :results, as: 'results', class: Google::Apis::CloudbuildV1beta1::Results, decorator: Google::Apis::CloudbuildV1beta1::Results::Representation
|
301
|
+
|
302
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1beta1::Secret, decorator: Google::Apis::CloudbuildV1beta1::Secret::Representation
|
303
|
+
|
304
|
+
property :service_account, as: 'serviceAccount'
|
305
|
+
property :source, as: 'source', class: Google::Apis::CloudbuildV1beta1::Source, decorator: Google::Apis::CloudbuildV1beta1::Source::Representation
|
306
|
+
|
307
|
+
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1beta1::SourceProvenance, decorator: Google::Apis::CloudbuildV1beta1::SourceProvenance::Representation
|
308
|
+
|
309
|
+
property :start_time, as: 'startTime'
|
310
|
+
property :status, as: 'status'
|
311
|
+
property :status_detail, as: 'statusDetail'
|
312
|
+
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1beta1::BuildStep, decorator: Google::Apis::CloudbuildV1beta1::BuildStep::Representation
|
313
|
+
|
314
|
+
hash :substitutions, as: 'substitutions'
|
315
|
+
collection :tags, as: 'tags'
|
316
|
+
property :timeout, as: 'timeout'
|
317
|
+
hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
318
|
+
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class BuildOperationMetadata
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
property :build, as: 'build', class: Google::Apis::CloudbuildV1beta1::Build, decorator: Google::Apis::CloudbuildV1beta1::Build::Representation
|
326
|
+
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
class BuildOptions
|
331
|
+
# @private
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
334
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
335
|
+
collection :env, as: 'env'
|
336
|
+
property :log_streaming_option, as: 'logStreamingOption'
|
337
|
+
property :logging, as: 'logging'
|
338
|
+
property :machine_type, as: 'machineType'
|
339
|
+
property :requested_verify_option, as: 'requestedVerifyOption'
|
340
|
+
collection :secret_env, as: 'secretEnv'
|
341
|
+
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
342
|
+
property :substitution_option, as: 'substitutionOption'
|
343
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1beta1::Volume, decorator: Google::Apis::CloudbuildV1beta1::Volume::Representation
|
344
|
+
|
345
|
+
property :worker_pool, as: 'workerPool'
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class BuildStep
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
collection :args, as: 'args'
|
353
|
+
property :dir, as: 'dir'
|
354
|
+
property :entrypoint, as: 'entrypoint'
|
355
|
+
collection :env, as: 'env'
|
356
|
+
property :id, as: 'id'
|
357
|
+
property :name, as: 'name'
|
358
|
+
property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
359
|
+
|
360
|
+
collection :secret_env, as: 'secretEnv'
|
361
|
+
property :status, as: 'status'
|
362
|
+
property :timeout, as: 'timeout'
|
363
|
+
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
364
|
+
|
365
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1beta1::Volume, decorator: Google::Apis::CloudbuildV1beta1::Volume::Representation
|
366
|
+
|
367
|
+
collection :wait_for, as: 'waitFor'
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
class BuiltImage
|
372
|
+
# @private
|
373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
374
|
+
property :digest, as: 'digest'
|
375
|
+
property :name, as: 'name'
|
376
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
377
|
+
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
class CancelOperationRequest
|
382
|
+
# @private
|
383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
class Empty
|
388
|
+
# @private
|
389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class FileHashes
|
394
|
+
# @private
|
395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
+
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1beta1::HashProp, decorator: Google::Apis::CloudbuildV1beta1::HashProp::Representation
|
397
|
+
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
class HttpDelivery
|
402
|
+
# @private
|
403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
+
property :uri, as: 'uri'
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
class HashProp
|
409
|
+
# @private
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :type, as: 'type'
|
412
|
+
property :value, :base64 => true, as: 'value'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class InlineSecret
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
hash :env_map, as: 'envMap'
|
420
|
+
property :kms_key_name, as: 'kmsKeyName'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class ListWorkerPoolsResponse
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
collection :worker_pools, as: 'workerPools', class: Google::Apis::CloudbuildV1beta1::WorkerPool, decorator: Google::Apis::CloudbuildV1beta1::WorkerPool::Representation
|
428
|
+
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
class NetworkConfig
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
property :peered_network, as: 'peeredNetwork'
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class Notification
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :filter, as: 'filter'
|
443
|
+
property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1beta1::HttpDelivery, decorator: Google::Apis::CloudbuildV1beta1::HttpDelivery::Representation
|
444
|
+
|
445
|
+
property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1beta1::SlackDelivery, decorator: Google::Apis::CloudbuildV1beta1::SlackDelivery::Representation
|
446
|
+
|
447
|
+
property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1beta1::SmtpDelivery, decorator: Google::Apis::CloudbuildV1beta1::SmtpDelivery::Representation
|
448
|
+
|
449
|
+
hash :struct_delivery, as: 'structDelivery'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class NotifierConfig
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :api_version, as: 'apiVersion'
|
457
|
+
property :kind, as: 'kind'
|
458
|
+
property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1beta1::NotifierMetadata, decorator: Google::Apis::CloudbuildV1beta1::NotifierMetadata::Representation
|
459
|
+
|
460
|
+
property :spec, as: 'spec', class: Google::Apis::CloudbuildV1beta1::NotifierSpec, decorator: Google::Apis::CloudbuildV1beta1::NotifierSpec::Representation
|
461
|
+
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
class NotifierMetadata
|
466
|
+
# @private
|
467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
468
|
+
property :name, as: 'name'
|
469
|
+
property :notifier, as: 'notifier'
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
class NotifierSecret
|
474
|
+
# @private
|
475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
476
|
+
property :name, as: 'name'
|
477
|
+
property :value, as: 'value'
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class NotifierSecretRef
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
property :secret_ref, as: 'secretRef'
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
class NotifierSpec
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :notification, as: 'notification', class: Google::Apis::CloudbuildV1beta1::Notification, decorator: Google::Apis::CloudbuildV1beta1::Notification::Representation
|
492
|
+
|
493
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1beta1::NotifierSecret, decorator: Google::Apis::CloudbuildV1beta1::NotifierSecret::Representation
|
494
|
+
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Operation
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :done, as: 'done'
|
502
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV1beta1::Status, decorator: Google::Apis::CloudbuildV1beta1::Status::Representation
|
503
|
+
|
504
|
+
hash :metadata, as: 'metadata'
|
505
|
+
property :name, as: 'name'
|
506
|
+
hash :response, as: 'response'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
class RepoSource
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :branch_name, as: 'branchName'
|
514
|
+
property :commit_sha, as: 'commitSha'
|
515
|
+
property :dir, as: 'dir'
|
516
|
+
property :invert_regex, as: 'invertRegex'
|
517
|
+
property :project_id, as: 'projectId'
|
518
|
+
property :repo_name, as: 'repoName'
|
519
|
+
hash :substitutions, as: 'substitutions'
|
520
|
+
property :tag_name, as: 'tagName'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
class Results
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
property :artifact_manifest, as: 'artifactManifest'
|
528
|
+
property :artifact_timing, as: 'artifactTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
529
|
+
|
530
|
+
collection :build_step_images, as: 'buildStepImages'
|
531
|
+
collection :build_step_outputs, as: 'buildStepOutputs'
|
532
|
+
collection :images, as: 'images', class: Google::Apis::CloudbuildV1beta1::BuiltImage, decorator: Google::Apis::CloudbuildV1beta1::BuiltImage::Representation
|
533
|
+
|
534
|
+
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
class SmtpDelivery
|
539
|
+
# @private
|
540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
+
property :from_address, as: 'fromAddress'
|
542
|
+
property :password, as: 'password', class: Google::Apis::CloudbuildV1beta1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1beta1::NotifierSecretRef::Representation
|
543
|
+
|
544
|
+
property :port, as: 'port'
|
545
|
+
collection :recipient_addresses, as: 'recipientAddresses'
|
546
|
+
property :sender_address, as: 'senderAddress'
|
547
|
+
property :server, as: 'server'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class Secret
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :kms_key_name, as: 'kmsKeyName'
|
555
|
+
hash :secret_env, as: 'secretEnv'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
class SecretManagerSecret
|
560
|
+
# @private
|
561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
+
property :env, as: 'env'
|
563
|
+
property :version_name, as: 'versionName'
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
class Secrets
|
568
|
+
# @private
|
569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
570
|
+
collection :inline, as: 'inline', class: Google::Apis::CloudbuildV1beta1::InlineSecret, decorator: Google::Apis::CloudbuildV1beta1::InlineSecret::Representation
|
571
|
+
|
572
|
+
collection :secret_manager, as: 'secretManager', class: Google::Apis::CloudbuildV1beta1::SecretManagerSecret, decorator: Google::Apis::CloudbuildV1beta1::SecretManagerSecret::Representation
|
573
|
+
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
class SlackDelivery
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1beta1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1beta1::NotifierSecretRef::Representation
|
581
|
+
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
585
|
+
class Source
|
586
|
+
# @private
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
588
|
+
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1beta1::RepoSource, decorator: Google::Apis::CloudbuildV1beta1::RepoSource::Representation
|
589
|
+
|
590
|
+
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1beta1::StorageSource, decorator: Google::Apis::CloudbuildV1beta1::StorageSource::Representation
|
591
|
+
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
class SourceProvenance
|
596
|
+
# @private
|
597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
598
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1beta1::FileHashes, decorator: Google::Apis::CloudbuildV1beta1::FileHashes::Representation
|
599
|
+
|
600
|
+
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1beta1::RepoSource, decorator: Google::Apis::CloudbuildV1beta1::RepoSource::Representation
|
601
|
+
|
602
|
+
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1beta1::StorageSource, decorator: Google::Apis::CloudbuildV1beta1::StorageSource::Representation
|
603
|
+
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
607
|
+
class Status
|
608
|
+
# @private
|
609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
610
|
+
property :code, as: 'code'
|
611
|
+
collection :details, as: 'details'
|
612
|
+
property :message, as: 'message'
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
class StorageSource
|
617
|
+
# @private
|
618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
619
|
+
property :bucket, as: 'bucket'
|
620
|
+
property :generation, :numeric_string => true, as: 'generation'
|
621
|
+
property :object, as: 'object'
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
class TimeSpan
|
626
|
+
# @private
|
627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
628
|
+
property :end_time, as: 'endTime'
|
629
|
+
property :start_time, as: 'startTime'
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class Volume
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :name, as: 'name'
|
637
|
+
property :path, as: 'path'
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
class WorkerConfig
|
642
|
+
# @private
|
643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
644
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
645
|
+
property :machine_type, as: 'machineType'
|
646
|
+
property :no_external_ip, as: 'noExternalIp'
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class WorkerPool
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :create_time, as: 'createTime'
|
654
|
+
property :delete_time, as: 'deleteTime'
|
655
|
+
property :name, as: 'name'
|
656
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1beta1::NetworkConfig, decorator: Google::Apis::CloudbuildV1beta1::NetworkConfig::Representation
|
657
|
+
|
658
|
+
property :state, as: 'state'
|
659
|
+
property :update_time, as: 'updateTime'
|
660
|
+
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1beta1::WorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::WorkerConfig::Representation
|
661
|
+
|
662
|
+
end
|
663
|
+
end
|
664
|
+
end
|
665
|
+
end
|
666
|
+
end
|