google-apis-cloudbuild_v1alpha2 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.
- 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_v1alpha2.rb +15 -0
- data/lib/google/apis/cloudbuild_v1alpha2.rb +36 -0
- data/lib/google/apis/cloudbuild_v1alpha2/classes.rb +1519 -0
- data/lib/google/apis/cloudbuild_v1alpha2/gem_version.rb +28 -0
- data/lib/google/apis/cloudbuild_v1alpha2/representations.rb +620 -0
- data/lib/google/apis/cloudbuild_v1alpha2/service.rb +302 -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 CloudbuildV1alpha2
|
|
18
|
+
# Version of the google-apis-cloudbuild_v1alpha2 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,620 @@
|
|
|
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 CloudbuildV1alpha2
|
|
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 NetworkConfig
|
|
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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::FileHashes, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::ArtifactObjects, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::Artifacts, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::BuildOptions, decorator: Google::Apis::CloudbuildV1alpha2::BuildOptions::Representation
|
|
277
|
+
|
|
278
|
+
property :project_id, as: 'projectId'
|
|
279
|
+
property :queue_ttl, as: 'queueTtl'
|
|
280
|
+
property :results, as: 'results', class: Google::Apis::CloudbuildV1alpha2::Results, decorator: Google::Apis::CloudbuildV1alpha2::Results::Representation
|
|
281
|
+
|
|
282
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha2::Secret, decorator: Google::Apis::CloudbuildV1alpha2::Secret::Representation
|
|
283
|
+
|
|
284
|
+
property :service_account, as: 'serviceAccount'
|
|
285
|
+
property :source, as: 'source', class: Google::Apis::CloudbuildV1alpha2::Source, decorator: Google::Apis::CloudbuildV1alpha2::Source::Representation
|
|
286
|
+
|
|
287
|
+
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1alpha2::SourceProvenance, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::BuildStep, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::Build, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::Volume, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
|
|
344
|
+
|
|
345
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1alpha2::Volume, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::HashProp, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::WorkerPool, decorator: Google::Apis::CloudbuildV1alpha2::WorkerPool::Representation
|
|
400
|
+
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
class NetworkConfig
|
|
405
|
+
# @private
|
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
407
|
+
property :peered_network, as: 'peeredNetwork'
|
|
408
|
+
end
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
class Notification
|
|
412
|
+
# @private
|
|
413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
414
|
+
property :filter, as: 'filter'
|
|
415
|
+
property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1alpha2::HttpDelivery, decorator: Google::Apis::CloudbuildV1alpha2::HttpDelivery::Representation
|
|
416
|
+
|
|
417
|
+
property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1alpha2::SlackDelivery, decorator: Google::Apis::CloudbuildV1alpha2::SlackDelivery::Representation
|
|
418
|
+
|
|
419
|
+
property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1alpha2::SmtpDelivery, decorator: Google::Apis::CloudbuildV1alpha2::SmtpDelivery::Representation
|
|
420
|
+
|
|
421
|
+
hash :struct_delivery, as: 'structDelivery'
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
class NotifierConfig
|
|
426
|
+
# @private
|
|
427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
428
|
+
property :api_version, as: 'apiVersion'
|
|
429
|
+
property :kind, as: 'kind'
|
|
430
|
+
property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1alpha2::NotifierMetadata, decorator: Google::Apis::CloudbuildV1alpha2::NotifierMetadata::Representation
|
|
431
|
+
|
|
432
|
+
property :spec, as: 'spec', class: Google::Apis::CloudbuildV1alpha2::NotifierSpec, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSpec::Representation
|
|
433
|
+
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
class NotifierMetadata
|
|
438
|
+
# @private
|
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
440
|
+
property :name, as: 'name'
|
|
441
|
+
property :notifier, as: 'notifier'
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class NotifierSecret
|
|
446
|
+
# @private
|
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
448
|
+
property :name, as: 'name'
|
|
449
|
+
property :value, as: 'value'
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
class NotifierSecretRef
|
|
454
|
+
# @private
|
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
456
|
+
property :secret_ref, as: 'secretRef'
|
|
457
|
+
end
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
class NotifierSpec
|
|
461
|
+
# @private
|
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
463
|
+
property :notification, as: 'notification', class: Google::Apis::CloudbuildV1alpha2::Notification, decorator: Google::Apis::CloudbuildV1alpha2::Notification::Representation
|
|
464
|
+
|
|
465
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha2::NotifierSecret, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecret::Representation
|
|
466
|
+
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
class Operation
|
|
471
|
+
# @private
|
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
473
|
+
property :done, as: 'done'
|
|
474
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV1alpha2::Status, decorator: Google::Apis::CloudbuildV1alpha2::Status::Representation
|
|
475
|
+
|
|
476
|
+
hash :metadata, as: 'metadata'
|
|
477
|
+
property :name, as: 'name'
|
|
478
|
+
hash :response, as: 'response'
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
class RepoSource
|
|
483
|
+
# @private
|
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
485
|
+
property :branch_name, as: 'branchName'
|
|
486
|
+
property :commit_sha, as: 'commitSha'
|
|
487
|
+
property :dir, as: 'dir'
|
|
488
|
+
property :invert_regex, as: 'invertRegex'
|
|
489
|
+
property :project_id, as: 'projectId'
|
|
490
|
+
property :repo_name, as: 'repoName'
|
|
491
|
+
hash :substitutions, as: 'substitutions'
|
|
492
|
+
property :tag_name, as: 'tagName'
|
|
493
|
+
end
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
class Results
|
|
497
|
+
# @private
|
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
499
|
+
property :artifact_manifest, as: 'artifactManifest'
|
|
500
|
+
property :artifact_timing, as: 'artifactTiming', class: Google::Apis::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
|
|
501
|
+
|
|
502
|
+
collection :build_step_images, as: 'buildStepImages'
|
|
503
|
+
collection :build_step_outputs, as: 'buildStepOutputs'
|
|
504
|
+
collection :images, as: 'images', class: Google::Apis::CloudbuildV1alpha2::BuiltImage, decorator: Google::Apis::CloudbuildV1alpha2::BuiltImage::Representation
|
|
505
|
+
|
|
506
|
+
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
class SmtpDelivery
|
|
511
|
+
# @private
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
513
|
+
property :from_address, as: 'fromAddress'
|
|
514
|
+
property :password, as: 'password', class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef::Representation
|
|
515
|
+
|
|
516
|
+
property :port, as: 'port'
|
|
517
|
+
collection :recipient_addresses, as: 'recipientAddresses'
|
|
518
|
+
property :sender_address, as: 'senderAddress'
|
|
519
|
+
property :server, as: 'server'
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
class Secret
|
|
524
|
+
# @private
|
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
526
|
+
property :kms_key_name, as: 'kmsKeyName'
|
|
527
|
+
hash :secret_env, as: 'secretEnv'
|
|
528
|
+
end
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
class SlackDelivery
|
|
532
|
+
# @private
|
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
534
|
+
property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef::Representation
|
|
535
|
+
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
class Source
|
|
540
|
+
# @private
|
|
541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
542
|
+
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1alpha2::RepoSource, decorator: Google::Apis::CloudbuildV1alpha2::RepoSource::Representation
|
|
543
|
+
|
|
544
|
+
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1alpha2::StorageSource, decorator: Google::Apis::CloudbuildV1alpha2::StorageSource::Representation
|
|
545
|
+
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
class SourceProvenance
|
|
550
|
+
# @private
|
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
552
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha2::FileHashes, decorator: Google::Apis::CloudbuildV1alpha2::FileHashes::Representation
|
|
553
|
+
|
|
554
|
+
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1alpha2::RepoSource, decorator: Google::Apis::CloudbuildV1alpha2::RepoSource::Representation
|
|
555
|
+
|
|
556
|
+
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1alpha2::StorageSource, decorator: Google::Apis::CloudbuildV1alpha2::StorageSource::Representation
|
|
557
|
+
|
|
558
|
+
end
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
class Status
|
|
562
|
+
# @private
|
|
563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
564
|
+
property :code, as: 'code'
|
|
565
|
+
collection :details, as: 'details'
|
|
566
|
+
property :message, as: 'message'
|
|
567
|
+
end
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
class StorageSource
|
|
571
|
+
# @private
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
573
|
+
property :bucket, as: 'bucket'
|
|
574
|
+
property :generation, :numeric_string => true, as: 'generation'
|
|
575
|
+
property :object, as: 'object'
|
|
576
|
+
end
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
class TimeSpan
|
|
580
|
+
# @private
|
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
582
|
+
property :end_time, as: 'endTime'
|
|
583
|
+
property :start_time, as: 'startTime'
|
|
584
|
+
end
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
class Volume
|
|
588
|
+
# @private
|
|
589
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
590
|
+
property :name, as: 'name'
|
|
591
|
+
property :path, as: 'path'
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
class WorkerConfig
|
|
596
|
+
# @private
|
|
597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
598
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
599
|
+
property :machine_type, as: 'machineType'
|
|
600
|
+
end
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
class WorkerPool
|
|
604
|
+
# @private
|
|
605
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
606
|
+
property :create_time, as: 'createTime'
|
|
607
|
+
property :delete_time, as: 'deleteTime'
|
|
608
|
+
property :name, as: 'name'
|
|
609
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1alpha2::NetworkConfig, decorator: Google::Apis::CloudbuildV1alpha2::NetworkConfig::Representation
|
|
610
|
+
|
|
611
|
+
property :region, as: 'region'
|
|
612
|
+
property :state, as: 'state'
|
|
613
|
+
property :update_time, as: 'updateTime'
|
|
614
|
+
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1alpha2::WorkerConfig, decorator: Google::Apis::CloudbuildV1alpha2::WorkerConfig::Representation
|
|
615
|
+
|
|
616
|
+
end
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
end
|
|
620
|
+
end
|