google-apis-cloudbuild_v2 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_v2/classes.rb +2643 -0
- data/lib/google/apis/cloudbuild_v2/gem_version.rb +28 -0
- data/lib/google/apis/cloudbuild_v2/representations.rb +1119 -0
- data/lib/google/apis/cloudbuild_v2/service.rb +818 -0
- data/lib/google/apis/cloudbuild_v2.rb +36 -0
- data/lib/google-apis-cloudbuild_v2.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,1119 @@
|
|
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 CloudbuildV2
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BatchCreateRepositoriesRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class BatchCreateRepositoriesResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Binding
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CancelOperationRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ChildStatusReference
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Connection
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CreateRepositoryRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class EmbeddedTask
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Empty
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class EmptyDirVolumeSource
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class EnvVar
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Expr
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class FetchGitRefsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class FetchLinkableRepositoriesResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class FetchReadTokenRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class FetchReadTokenResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class FetchReadWriteTokenRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class FetchReadWriteTokenResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GitHubConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleDevtoolsCloudbuildV2Condition
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleDevtoolsCloudbuildV2GitLabConfig
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class HttpBody
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class InstallationState
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class ListConnectionsResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ListRepositoriesResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class OAuthCredential
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class Operation
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class OperationMetadata
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class Param
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ParamSpec
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ParamValue
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class PipelineRef
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class PipelineRun
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class PipelineSpec
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class PipelineTask
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class PipelineWorkspaceDeclaration
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class Policy
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class PropertySpec
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class Repository
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class RunWorkflowCustomOperationMetadata
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class SecretVolumeSource
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class SecurityContext
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class SetIamPolicyRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class Sidecar
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class SkippedTask
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class Status
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class Step
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class TaskRef
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class TaskResult
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class TaskSpec
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class TestIamPermissionsRequest
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class TestIamPermissionsResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class TimeoutFields
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class UserCredential
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class VolumeClaim
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class VolumeMount
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class VolumeSource
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
397
|
+
class WhenExpression
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class WorkspaceBinding
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class WorkspaceDeclaration
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class WorkspacePipelineTaskBinding
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class AuditConfig
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudbuildV2::AuditLogConfig, decorator: Google::Apis::CloudbuildV2::AuditLogConfig::Representation
|
425
|
+
|
426
|
+
property :service, as: 'service'
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class AuditLogConfig
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
collection :exempted_members, as: 'exemptedMembers'
|
434
|
+
property :log_type, as: 'logType'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
class BatchCreateRepositoriesRequest
|
439
|
+
# @private
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
441
|
+
collection :requests, as: 'requests', class: Google::Apis::CloudbuildV2::CreateRepositoryRequest, decorator: Google::Apis::CloudbuildV2::CreateRepositoryRequest::Representation
|
442
|
+
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class BatchCreateRepositoriesResponse
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
collection :repositories, as: 'repositories', class: Google::Apis::CloudbuildV2::Repository, decorator: Google::Apis::CloudbuildV2::Repository::Representation
|
450
|
+
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
class Binding
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :condition, as: 'condition', class: Google::Apis::CloudbuildV2::Expr, decorator: Google::Apis::CloudbuildV2::Expr::Representation
|
458
|
+
|
459
|
+
collection :members, as: 'members'
|
460
|
+
property :role, as: 'role'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
class CancelOperationRequest
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
class ChildStatusReference
|
471
|
+
# @private
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :name, as: 'name'
|
474
|
+
property :pipeline_task_name, as: 'pipelineTaskName'
|
475
|
+
property :type, as: 'type'
|
476
|
+
collection :when_expressions, as: 'whenExpressions', class: Google::Apis::CloudbuildV2::WhenExpression, decorator: Google::Apis::CloudbuildV2::WhenExpression::Representation
|
477
|
+
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class Connection
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
hash :annotations, as: 'annotations'
|
485
|
+
property :create_time, as: 'createTime'
|
486
|
+
property :disabled, as: 'disabled'
|
487
|
+
property :etag, as: 'etag'
|
488
|
+
property :github_config, as: 'githubConfig', class: Google::Apis::CloudbuildV2::GitHubConfig, decorator: Google::Apis::CloudbuildV2::GitHubConfig::Representation
|
489
|
+
|
490
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig::Representation
|
491
|
+
|
492
|
+
property :gitlab_config, as: 'gitlabConfig', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2GitLabConfig, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2GitLabConfig::Representation
|
493
|
+
|
494
|
+
property :installation_state, as: 'installationState', class: Google::Apis::CloudbuildV2::InstallationState, decorator: Google::Apis::CloudbuildV2::InstallationState::Representation
|
495
|
+
|
496
|
+
property :name, as: 'name'
|
497
|
+
property :reconciling, as: 'reconciling'
|
498
|
+
property :update_time, as: 'updateTime'
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
class CreateRepositoryRequest
|
503
|
+
# @private
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
+
property :parent, as: 'parent'
|
506
|
+
property :repository, as: 'repository', class: Google::Apis::CloudbuildV2::Repository, decorator: Google::Apis::CloudbuildV2::Repository::Representation
|
507
|
+
|
508
|
+
property :repository_id, as: 'repositoryId'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
class EmbeddedTask
|
513
|
+
# @private
|
514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
515
|
+
hash :annotations, as: 'annotations'
|
516
|
+
property :task_spec, as: 'taskSpec', class: Google::Apis::CloudbuildV2::TaskSpec, decorator: Google::Apis::CloudbuildV2::TaskSpec::Representation
|
517
|
+
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
class Empty
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
class EmptyDirVolumeSource
|
528
|
+
# @private
|
529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class EnvVar
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :name, as: 'name'
|
537
|
+
property :value, as: 'value'
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
class Expr
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :description, as: 'description'
|
545
|
+
property :expression, as: 'expression'
|
546
|
+
property :location, as: 'location'
|
547
|
+
property :title, as: 'title'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class FetchGitRefsResponse
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :next_page_token, as: 'nextPageToken'
|
555
|
+
collection :ref_names, as: 'refNames'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
class FetchLinkableRepositoriesResponse
|
560
|
+
# @private
|
561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
+
property :next_page_token, as: 'nextPageToken'
|
563
|
+
collection :repositories, as: 'repositories', class: Google::Apis::CloudbuildV2::Repository, decorator: Google::Apis::CloudbuildV2::Repository::Representation
|
564
|
+
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
class FetchReadTokenRequest
|
569
|
+
# @private
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class FetchReadTokenResponse
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :expiration_time, as: 'expirationTime'
|
578
|
+
property :token, as: 'token'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class FetchReadWriteTokenRequest
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class FetchReadWriteTokenResponse
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
property :expiration_time, as: 'expirationTime'
|
592
|
+
property :token, as: 'token'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class GitHubConfig
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :app_installation_id, :numeric_string => true, as: 'appInstallationId'
|
600
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::CloudbuildV2::OAuthCredential, decorator: Google::Apis::CloudbuildV2::OAuthCredential::Representation
|
601
|
+
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class GoogleDevtoolsCloudbuildV2Condition
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :last_transition_time, as: 'lastTransitionTime'
|
609
|
+
property :message, as: 'message'
|
610
|
+
property :reason, as: 'reason'
|
611
|
+
property :severity, as: 'severity'
|
612
|
+
property :status, as: 'status'
|
613
|
+
property :type, as: 'type'
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
|
618
|
+
# @private
|
619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
620
|
+
property :api_key, as: 'apiKey'
|
621
|
+
property :app_id, :numeric_string => true, as: 'appId'
|
622
|
+
property :app_installation_id, :numeric_string => true, as: 'appInstallationId'
|
623
|
+
property :app_slug, as: 'appSlug'
|
624
|
+
property :host_uri, as: 'hostUri'
|
625
|
+
property :private_key_secret_version, as: 'privateKeySecretVersion'
|
626
|
+
property :server_version, as: 'serverVersion'
|
627
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::Representation
|
628
|
+
|
629
|
+
property :ssl_ca, as: 'sslCa'
|
630
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
class GoogleDevtoolsCloudbuildV2GitLabConfig
|
635
|
+
# @private
|
636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
637
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
|
638
|
+
|
639
|
+
property :host_uri, as: 'hostUri'
|
640
|
+
property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
|
641
|
+
|
642
|
+
property :server_version, as: 'serverVersion'
|
643
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::Representation
|
644
|
+
|
645
|
+
property :ssl_ca, as: 'sslCa'
|
646
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :api_version, as: 'apiVersion'
|
654
|
+
property :create_time, as: 'createTime'
|
655
|
+
property :end_time, as: 'endTime'
|
656
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
657
|
+
property :status_message, as: 'statusMessage'
|
658
|
+
property :target, as: 'target'
|
659
|
+
property :verb, as: 'verb'
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
664
|
+
# @private
|
665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
+
property :service, as: 'service'
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
class HttpBody
|
671
|
+
# @private
|
672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
673
|
+
property :content_type, as: 'contentType'
|
674
|
+
property :data, :base64 => true, as: 'data'
|
675
|
+
collection :extensions, as: 'extensions'
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
class InstallationState
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :action_uri, as: 'actionUri'
|
683
|
+
property :message, as: 'message'
|
684
|
+
property :stage, as: 'stage'
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class ListConnectionsResponse
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
collection :connections, as: 'connections', class: Google::Apis::CloudbuildV2::Connection, decorator: Google::Apis::CloudbuildV2::Connection::Representation
|
692
|
+
|
693
|
+
property :next_page_token, as: 'nextPageToken'
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class ListRepositoriesResponse
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :next_page_token, as: 'nextPageToken'
|
701
|
+
collection :repositories, as: 'repositories', class: Google::Apis::CloudbuildV2::Repository, decorator: Google::Apis::CloudbuildV2::Repository::Representation
|
702
|
+
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
class OAuthCredential
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
property :oauth_token_secret_version, as: 'oauthTokenSecretVersion'
|
710
|
+
property :username, as: 'username'
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class Operation
|
715
|
+
# @private
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :done, as: 'done'
|
718
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV2::Status, decorator: Google::Apis::CloudbuildV2::Status::Representation
|
719
|
+
|
720
|
+
hash :metadata, as: 'metadata'
|
721
|
+
property :name, as: 'name'
|
722
|
+
hash :response, as: 'response'
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
class OperationMetadata
|
727
|
+
# @private
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
729
|
+
property :api_version, as: 'apiVersion'
|
730
|
+
property :cancel_requested, as: 'cancelRequested'
|
731
|
+
property :create_time, as: 'createTime'
|
732
|
+
property :end_time, as: 'endTime'
|
733
|
+
property :status_detail, as: 'statusDetail'
|
734
|
+
property :target, as: 'target'
|
735
|
+
property :verb, as: 'verb'
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
class Param
|
740
|
+
# @private
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
property :name, as: 'name'
|
743
|
+
property :value, as: 'value', class: Google::Apis::CloudbuildV2::ParamValue, decorator: Google::Apis::CloudbuildV2::ParamValue::Representation
|
744
|
+
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
class ParamSpec
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :default, as: 'default', class: Google::Apis::CloudbuildV2::ParamValue, decorator: Google::Apis::CloudbuildV2::ParamValue::Representation
|
752
|
+
|
753
|
+
property :description, as: 'description'
|
754
|
+
property :name, as: 'name'
|
755
|
+
property :type, as: 'type'
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
class ParamValue
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
collection :array_val, as: 'arrayVal'
|
763
|
+
property :string_val, as: 'stringVal'
|
764
|
+
property :type, as: 'type'
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
class PipelineRef
|
769
|
+
# @private
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
771
|
+
property :name, as: 'name'
|
772
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
773
|
+
|
774
|
+
property :resolver, as: 'resolver'
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
class PipelineRun
|
779
|
+
# @private
|
780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
781
|
+
hash :annotations, as: 'annotations'
|
782
|
+
collection :child_references, as: 'childReferences', class: Google::Apis::CloudbuildV2::ChildStatusReference, decorator: Google::Apis::CloudbuildV2::ChildStatusReference::Representation
|
783
|
+
|
784
|
+
property :completion_time, as: 'completionTime'
|
785
|
+
collection :conditions, as: 'conditions', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition::Representation
|
786
|
+
|
787
|
+
property :create_time, as: 'createTime'
|
788
|
+
property :etag, as: 'etag'
|
789
|
+
property :name, as: 'name'
|
790
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
791
|
+
|
792
|
+
property :pipeline_ref, as: 'pipelineRef', class: Google::Apis::CloudbuildV2::PipelineRef, decorator: Google::Apis::CloudbuildV2::PipelineRef::Representation
|
793
|
+
|
794
|
+
property :pipeline_run_status, as: 'pipelineRunStatus'
|
795
|
+
property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
796
|
+
|
797
|
+
property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
798
|
+
|
799
|
+
property :service_account, as: 'serviceAccount'
|
800
|
+
collection :skipped_tasks, as: 'skippedTasks', class: Google::Apis::CloudbuildV2::SkippedTask, decorator: Google::Apis::CloudbuildV2::SkippedTask::Representation
|
801
|
+
|
802
|
+
property :start_time, as: 'startTime'
|
803
|
+
property :timeouts, as: 'timeouts', class: Google::Apis::CloudbuildV2::TimeoutFields, decorator: Google::Apis::CloudbuildV2::TimeoutFields::Representation
|
804
|
+
|
805
|
+
property :uid, as: 'uid'
|
806
|
+
property :update_time, as: 'updateTime'
|
807
|
+
property :worker_pool, as: 'workerPool'
|
808
|
+
property :workflow, as: 'workflow'
|
809
|
+
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceBinding, decorator: Google::Apis::CloudbuildV2::WorkspaceBinding::Representation
|
810
|
+
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
class PipelineSpec
|
815
|
+
# @private
|
816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
817
|
+
collection :finally_tasks, as: 'finallyTasks', class: Google::Apis::CloudbuildV2::PipelineTask, decorator: Google::Apis::CloudbuildV2::PipelineTask::Representation
|
818
|
+
|
819
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::ParamSpec, decorator: Google::Apis::CloudbuildV2::ParamSpec::Representation
|
820
|
+
|
821
|
+
collection :tasks, as: 'tasks', class: Google::Apis::CloudbuildV2::PipelineTask, decorator: Google::Apis::CloudbuildV2::PipelineTask::Representation
|
822
|
+
|
823
|
+
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration, decorator: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration::Representation
|
824
|
+
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
class PipelineTask
|
829
|
+
# @private
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
831
|
+
property :name, as: 'name'
|
832
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
833
|
+
|
834
|
+
property :retries, as: 'retries'
|
835
|
+
collection :run_after, as: 'runAfter'
|
836
|
+
property :task_ref, as: 'taskRef', class: Google::Apis::CloudbuildV2::TaskRef, decorator: Google::Apis::CloudbuildV2::TaskRef::Representation
|
837
|
+
|
838
|
+
property :task_spec, as: 'taskSpec', class: Google::Apis::CloudbuildV2::EmbeddedTask, decorator: Google::Apis::CloudbuildV2::EmbeddedTask::Representation
|
839
|
+
|
840
|
+
property :timeout, as: 'timeout'
|
841
|
+
collection :when_expressions, as: 'whenExpressions', class: Google::Apis::CloudbuildV2::WhenExpression, decorator: Google::Apis::CloudbuildV2::WhenExpression::Representation
|
842
|
+
|
843
|
+
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspacePipelineTaskBinding, decorator: Google::Apis::CloudbuildV2::WorkspacePipelineTaskBinding::Representation
|
844
|
+
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
class PipelineWorkspaceDeclaration
|
849
|
+
# @private
|
850
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
851
|
+
property :description, as: 'description'
|
852
|
+
property :name, as: 'name'
|
853
|
+
property :optional, as: 'optional'
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
857
|
+
class Policy
|
858
|
+
# @private
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudbuildV2::AuditConfig, decorator: Google::Apis::CloudbuildV2::AuditConfig::Representation
|
861
|
+
|
862
|
+
collection :bindings, as: 'bindings', class: Google::Apis::CloudbuildV2::Binding, decorator: Google::Apis::CloudbuildV2::Binding::Representation
|
863
|
+
|
864
|
+
property :etag, :base64 => true, as: 'etag'
|
865
|
+
property :version, as: 'version'
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
869
|
+
class PropertySpec
|
870
|
+
# @private
|
871
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
872
|
+
property :type, as: 'type'
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
class Repository
|
877
|
+
# @private
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
879
|
+
hash :annotations, as: 'annotations'
|
880
|
+
property :create_time, as: 'createTime'
|
881
|
+
property :etag, as: 'etag'
|
882
|
+
property :name, as: 'name'
|
883
|
+
property :remote_uri, as: 'remoteUri'
|
884
|
+
property :update_time, as: 'updateTime'
|
885
|
+
property :webhook_id, as: 'webhookId'
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
class RunWorkflowCustomOperationMetadata
|
890
|
+
# @private
|
891
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
892
|
+
property :api_version, as: 'apiVersion'
|
893
|
+
property :create_time, as: 'createTime'
|
894
|
+
property :end_time, as: 'endTime'
|
895
|
+
property :pipeline_run_id, as: 'pipelineRunId'
|
896
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
897
|
+
property :target, as: 'target'
|
898
|
+
property :verb, as: 'verb'
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
902
|
+
class SecretVolumeSource
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
property :secret_name, as: 'secretName'
|
906
|
+
property :secret_version, as: 'secretVersion'
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
class SecurityContext
|
911
|
+
# @private
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
913
|
+
property :privileged, as: 'privileged'
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
class SetIamPolicyRequest
|
918
|
+
# @private
|
919
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
920
|
+
property :policy, as: 'policy', class: Google::Apis::CloudbuildV2::Policy, decorator: Google::Apis::CloudbuildV2::Policy::Representation
|
921
|
+
|
922
|
+
property :update_mask, as: 'updateMask'
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
class Sidecar
|
927
|
+
# @private
|
928
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
929
|
+
collection :args, as: 'args'
|
930
|
+
collection :command, as: 'command'
|
931
|
+
collection :env, as: 'env', class: Google::Apis::CloudbuildV2::EnvVar, decorator: Google::Apis::CloudbuildV2::EnvVar::Representation
|
932
|
+
|
933
|
+
property :image, as: 'image'
|
934
|
+
property :name, as: 'name'
|
935
|
+
property :script, as: 'script'
|
936
|
+
property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
|
937
|
+
|
938
|
+
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::CloudbuildV2::VolumeMount, decorator: Google::Apis::CloudbuildV2::VolumeMount::Representation
|
939
|
+
|
940
|
+
property :working_dir, as: 'workingDir'
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
class SkippedTask
|
945
|
+
# @private
|
946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
947
|
+
property :name, as: 'name'
|
948
|
+
property :reason, as: 'reason'
|
949
|
+
collection :when_expressions, as: 'whenExpressions', class: Google::Apis::CloudbuildV2::WhenExpression, decorator: Google::Apis::CloudbuildV2::WhenExpression::Representation
|
950
|
+
|
951
|
+
end
|
952
|
+
end
|
953
|
+
|
954
|
+
class Status
|
955
|
+
# @private
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
957
|
+
property :code, as: 'code'
|
958
|
+
collection :details, as: 'details'
|
959
|
+
property :message, as: 'message'
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
class Step
|
964
|
+
# @private
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
966
|
+
collection :args, as: 'args'
|
967
|
+
collection :command, as: 'command'
|
968
|
+
collection :env, as: 'env', class: Google::Apis::CloudbuildV2::EnvVar, decorator: Google::Apis::CloudbuildV2::EnvVar::Representation
|
969
|
+
|
970
|
+
property :image, as: 'image'
|
971
|
+
property :name, as: 'name'
|
972
|
+
property :script, as: 'script'
|
973
|
+
property :timeout, as: 'timeout'
|
974
|
+
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::CloudbuildV2::VolumeMount, decorator: Google::Apis::CloudbuildV2::VolumeMount::Representation
|
975
|
+
|
976
|
+
property :working_dir, as: 'workingDir'
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
class TaskRef
|
981
|
+
# @private
|
982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
983
|
+
property :custom_task, as: 'customTask'
|
984
|
+
property :name, as: 'name'
|
985
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
986
|
+
|
987
|
+
property :resolver, as: 'resolver'
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
991
|
+
class TaskResult
|
992
|
+
# @private
|
993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
994
|
+
property :description, as: 'description'
|
995
|
+
property :name, as: 'name'
|
996
|
+
hash :properties, as: 'properties', class: Google::Apis::CloudbuildV2::PropertySpec, decorator: Google::Apis::CloudbuildV2::PropertySpec::Representation
|
997
|
+
|
998
|
+
property :type, as: 'type'
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
class TaskSpec
|
1003
|
+
# @private
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1005
|
+
property :description, as: 'description'
|
1006
|
+
collection :managed_sidecars, as: 'managedSidecars'
|
1007
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::ParamSpec, decorator: Google::Apis::CloudbuildV2::ParamSpec::Representation
|
1008
|
+
|
1009
|
+
collection :results, as: 'results', class: Google::Apis::CloudbuildV2::TaskResult, decorator: Google::Apis::CloudbuildV2::TaskResult::Representation
|
1010
|
+
|
1011
|
+
collection :sidecars, as: 'sidecars', class: Google::Apis::CloudbuildV2::Sidecar, decorator: Google::Apis::CloudbuildV2::Sidecar::Representation
|
1012
|
+
|
1013
|
+
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV2::Step, decorator: Google::Apis::CloudbuildV2::Step::Representation
|
1014
|
+
|
1015
|
+
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV2::VolumeSource, decorator: Google::Apis::CloudbuildV2::VolumeSource::Representation
|
1016
|
+
|
1017
|
+
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceDeclaration, decorator: Google::Apis::CloudbuildV2::WorkspaceDeclaration::Representation
|
1018
|
+
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
class TestIamPermissionsRequest
|
1023
|
+
# @private
|
1024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1025
|
+
collection :permissions, as: 'permissions'
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
class TestIamPermissionsResponse
|
1030
|
+
# @private
|
1031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1032
|
+
collection :permissions, as: 'permissions'
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
class TimeoutFields
|
1037
|
+
# @private
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
property :finally, as: 'finally'
|
1040
|
+
property :pipeline, as: 'pipeline'
|
1041
|
+
property :tasks, as: 'tasks'
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
class UserCredential
|
1046
|
+
# @private
|
1047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1048
|
+
property :user_token_secret_version, as: 'userTokenSecretVersion'
|
1049
|
+
property :username, as: 'username'
|
1050
|
+
end
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
class VolumeClaim
|
1054
|
+
# @private
|
1055
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1056
|
+
property :storage, as: 'storage'
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
class VolumeMount
|
1061
|
+
# @private
|
1062
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1063
|
+
property :mount_path, as: 'mountPath'
|
1064
|
+
property :name, as: 'name'
|
1065
|
+
property :read_only, as: 'readOnly'
|
1066
|
+
property :sub_path, as: 'subPath'
|
1067
|
+
property :sub_path_expr, as: 'subPathExpr'
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
class VolumeSource
|
1072
|
+
# @private
|
1073
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
|
+
property :empty_dir, as: 'emptyDir', class: Google::Apis::CloudbuildV2::EmptyDirVolumeSource, decorator: Google::Apis::CloudbuildV2::EmptyDirVolumeSource::Representation
|
1075
|
+
|
1076
|
+
property :name, as: 'name'
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
class WhenExpression
|
1081
|
+
# @private
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1083
|
+
property :expression_operator, as: 'expressionOperator'
|
1084
|
+
property :input, as: 'input'
|
1085
|
+
collection :values, as: 'values'
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
class WorkspaceBinding
|
1090
|
+
# @private
|
1091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1092
|
+
property :name, as: 'name'
|
1093
|
+
property :secret, as: 'secret', class: Google::Apis::CloudbuildV2::SecretVolumeSource, decorator: Google::Apis::CloudbuildV2::SecretVolumeSource::Representation
|
1094
|
+
|
1095
|
+
property :volume_claim, as: 'volumeClaim', class: Google::Apis::CloudbuildV2::VolumeClaim, decorator: Google::Apis::CloudbuildV2::VolumeClaim::Representation
|
1096
|
+
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
class WorkspaceDeclaration
|
1101
|
+
# @private
|
1102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1103
|
+
property :description, as: 'description'
|
1104
|
+
property :mount_path, as: 'mountPath'
|
1105
|
+
property :name, as: 'name'
|
1106
|
+
property :read_only, as: 'readOnly'
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
class WorkspacePipelineTaskBinding
|
1111
|
+
# @private
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1113
|
+
property :name, as: 'name'
|
1114
|
+
property :workspace, as: 'workspace'
|
1115
|
+
end
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
end
|