google-apis-cloudbuild_v1alpha2 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/lib/google/apis/cloudbuild_v1alpha2/classes.rb +194 -16
- data/lib/google/apis/cloudbuild_v1alpha2/gem_version.rb +3 -3
- data/lib/google/apis/cloudbuild_v1alpha2/representations.rb +81 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ef5fa1582da01953fee95469572bc0e357ec46d5018baabaebbfd898c5fc1d7
|
4
|
+
data.tar.gz: 8bee02141fecf30598137ecaa18fcab909f1126777620261fa1f9ee3ba375da9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ac7079810e07c46da861d4b1f6eab30a752c0c0fae4c52877cbec3edac61e56d94dbb0c7ad83f9b1d9116d0d484f67100c3c14764026403752517bd67850c9
|
7
|
+
data.tar.gz: c5478f07c800af10146b1c7f76bed91b7189e31da03300f5f5343835cc60c9a5d1962093f6b909f7063f9b2b8da5d9947e0958d1513ed496cfa7e319c9e7a110
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1alpha2
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210511
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-02)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210128
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1alpha2'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -119,12 +119,13 @@ module Google
|
|
119
119
|
# where to find source code, how to build it (for example, the builder image to
|
120
120
|
# run on the source), and where to store the built artifacts. Fields can include
|
121
121
|
# the following variables, which will be expanded when the build is created: - $
|
122
|
-
# PROJECT_ID: the project ID of the build. - $
|
123
|
-
# the build. - $
|
124
|
-
#
|
125
|
-
# name specified by RepoSource. - $
|
126
|
-
#
|
127
|
-
#
|
122
|
+
# PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
|
123
|
+
# of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME:
|
124
|
+
# the source repository name specified by RepoSource. - $BRANCH_NAME: the branch
|
125
|
+
# name specified by RepoSource. - $TAG_NAME: the tag name specified by
|
126
|
+
# RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by
|
127
|
+
# RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7
|
128
|
+
# characters of $REVISION_ID or $COMMIT_SHA.
|
128
129
|
class Build
|
129
130
|
include Google::Apis::Core::Hashable
|
130
131
|
|
@@ -134,6 +135,11 @@ module Google
|
|
134
135
|
# @return [Google::Apis::CloudbuildV1alpha2::Artifacts]
|
135
136
|
attr_accessor :artifacts
|
136
137
|
|
138
|
+
# Secrets and secret environment variables.
|
139
|
+
# Corresponds to the JSON property `availableSecrets`
|
140
|
+
# @return [Google::Apis::CloudbuildV1alpha2::Secrets]
|
141
|
+
attr_accessor :available_secrets
|
142
|
+
|
137
143
|
# Output only. The ID of the `BuildTrigger` that triggered this build, if it was
|
138
144
|
# triggered automatically.
|
139
145
|
# Corresponds to the JSON property `buildTriggerId`
|
@@ -206,14 +212,18 @@ module Google
|
|
206
212
|
# @return [Google::Apis::CloudbuildV1alpha2::Results]
|
207
213
|
attr_accessor :results
|
208
214
|
|
209
|
-
# Secrets to decrypt using Cloud Key Management Service.
|
215
|
+
# Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is
|
216
|
+
# the recommended technique for managing sensitive data with Cloud Build. Use `
|
217
|
+
# available_secrets` to configure builds to access secrets from Secret Manager.
|
218
|
+
# For instructions, see: https://cloud.google.com/cloud-build/docs/securing-
|
219
|
+
# builds/use-secrets
|
210
220
|
# Corresponds to the JSON property `secrets`
|
211
221
|
# @return [Array<Google::Apis::CloudbuildV1alpha2::Secret>]
|
212
222
|
attr_accessor :secrets
|
213
223
|
|
214
224
|
# IAM service account whose credentials will be used at build runtime. Must be
|
215
225
|
# of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can
|
216
|
-
# be email address or uniqueId of the service account.
|
226
|
+
# be email address or uniqueId of the service account.
|
217
227
|
# Corresponds to the JSON property `serviceAccount`
|
218
228
|
# @return [String]
|
219
229
|
attr_accessor :service_account
|
@@ -275,6 +285,11 @@ module Google
|
|
275
285
|
# @return [Hash<String,Google::Apis::CloudbuildV1alpha2::TimeSpan>]
|
276
286
|
attr_accessor :timing
|
277
287
|
|
288
|
+
# Output only. Non-fatal problems encountered during the execution of the build.
|
289
|
+
# Corresponds to the JSON property `warnings`
|
290
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::Warning>]
|
291
|
+
attr_accessor :warnings
|
292
|
+
|
278
293
|
def initialize(**args)
|
279
294
|
update!(**args)
|
280
295
|
end
|
@@ -282,6 +297,7 @@ module Google
|
|
282
297
|
# Update properties of this object
|
283
298
|
def update!(**args)
|
284
299
|
@artifacts = args[:artifacts] if args.key?(:artifacts)
|
300
|
+
@available_secrets = args[:available_secrets] if args.key?(:available_secrets)
|
285
301
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
286
302
|
@create_time = args[:create_time] if args.key?(:create_time)
|
287
303
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
@@ -306,6 +322,7 @@ module Google
|
|
306
322
|
@tags = args[:tags] if args.key?(:tags)
|
307
323
|
@timeout = args[:timeout] if args.key?(:timeout)
|
308
324
|
@timing = args[:timing] if args.key?(:timing)
|
325
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
309
326
|
end
|
310
327
|
end
|
311
328
|
|
@@ -317,12 +334,13 @@ module Google
|
|
317
334
|
# where to find source code, how to build it (for example, the builder image to
|
318
335
|
# run on the source), and where to store the built artifacts. Fields can include
|
319
336
|
# the following variables, which will be expanded when the build is created: - $
|
320
|
-
# PROJECT_ID: the project ID of the build. - $
|
321
|
-
# the build. - $
|
322
|
-
#
|
323
|
-
# name specified by RepoSource. - $
|
324
|
-
#
|
325
|
-
#
|
337
|
+
# PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
|
338
|
+
# of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME:
|
339
|
+
# the source repository name specified by RepoSource. - $BRANCH_NAME: the branch
|
340
|
+
# name specified by RepoSource. - $TAG_NAME: the tag name specified by
|
341
|
+
# RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by
|
342
|
+
# RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7
|
343
|
+
# characters of $REVISION_ID or $COMMIT_SHA.
|
326
344
|
# Corresponds to the JSON property `build`
|
327
345
|
# @return [Google::Apis::CloudbuildV1alpha2::Build]
|
328
346
|
attr_accessor :build
|
@@ -701,6 +719,36 @@ module Google
|
|
701
719
|
end
|
702
720
|
end
|
703
721
|
|
722
|
+
# Pairs a set of secret environment variables mapped to encrypted values with
|
723
|
+
# the Cloud KMS key to use to decrypt the value.
|
724
|
+
class InlineSecret
|
725
|
+
include Google::Apis::Core::Hashable
|
726
|
+
|
727
|
+
# Map of environment variable name to its encrypted value. Secret environment
|
728
|
+
# variables must be unique across all of a build's secrets, and must be used by
|
729
|
+
# at least one build step. Values can be at most 64 KB in size. There can be at
|
730
|
+
# most 100 secret values across all of a build's secrets.
|
731
|
+
# Corresponds to the JSON property `envMap`
|
732
|
+
# @return [Hash<String,String>]
|
733
|
+
attr_accessor :env_map
|
734
|
+
|
735
|
+
# Resource name of Cloud KMS crypto key to decrypt the encrypted value. In
|
736
|
+
# format: projects/*/locations/*/keyRings/*/cryptoKeys/*
|
737
|
+
# Corresponds to the JSON property `kmsKeyName`
|
738
|
+
# @return [String]
|
739
|
+
attr_accessor :kms_key_name
|
740
|
+
|
741
|
+
def initialize(**args)
|
742
|
+
update!(**args)
|
743
|
+
end
|
744
|
+
|
745
|
+
# Update properties of this object
|
746
|
+
def update!(**args)
|
747
|
+
@env_map = args[:env_map] if args.key?(:env_map)
|
748
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
704
752
|
# Response containing existing `WorkerPools`.
|
705
753
|
class ListWorkerPoolsResponse
|
706
754
|
include Google::Apis::Core::Hashable
|
@@ -1032,7 +1080,7 @@ module Google
|
|
1032
1080
|
# @return [String]
|
1033
1081
|
attr_accessor :project_id
|
1034
1082
|
|
1035
|
-
#
|
1083
|
+
# Name of the Cloud Source Repository.
|
1036
1084
|
# Corresponds to the JSON property `repoName`
|
1037
1085
|
# @return [String]
|
1038
1086
|
attr_accessor :repo_name
|
@@ -1172,7 +1220,10 @@ module Google
|
|
1172
1220
|
end
|
1173
1221
|
|
1174
1222
|
# Pairs a set of secret environment variables containing encrypted values with
|
1175
|
-
# the Cloud KMS key to use to decrypt the value.
|
1223
|
+
# the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `
|
1224
|
+
# available_secrets` instead of using `kmsKeyName` with `secret`. For
|
1225
|
+
# instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/
|
1226
|
+
# use-encrypted-credentials.
|
1176
1227
|
class Secret
|
1177
1228
|
include Google::Apis::Core::Hashable
|
1178
1229
|
|
@@ -1200,6 +1251,58 @@ module Google
|
|
1200
1251
|
end
|
1201
1252
|
end
|
1202
1253
|
|
1254
|
+
# Pairs a secret environment variable with a SecretVersion in Secret Manager.
|
1255
|
+
class SecretManagerSecret
|
1256
|
+
include Google::Apis::Core::Hashable
|
1257
|
+
|
1258
|
+
# Environment variable name to associate with the secret. Secret environment
|
1259
|
+
# variables must be unique across all of a build's secrets, and must be used by
|
1260
|
+
# at least one build step.
|
1261
|
+
# Corresponds to the JSON property `env`
|
1262
|
+
# @return [String]
|
1263
|
+
attr_accessor :env
|
1264
|
+
|
1265
|
+
# Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
|
1266
|
+
# Corresponds to the JSON property `versionName`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :version_name
|
1269
|
+
|
1270
|
+
def initialize(**args)
|
1271
|
+
update!(**args)
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# Update properties of this object
|
1275
|
+
def update!(**args)
|
1276
|
+
@env = args[:env] if args.key?(:env)
|
1277
|
+
@version_name = args[:version_name] if args.key?(:version_name)
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Secrets and secret environment variables.
|
1282
|
+
class Secrets
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# Secrets encrypted with KMS key and the associated secret environment variable.
|
1286
|
+
# Corresponds to the JSON property `inline`
|
1287
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::InlineSecret>]
|
1288
|
+
attr_accessor :inline
|
1289
|
+
|
1290
|
+
# Secrets in Secret Manager and associated secret environment variable.
|
1291
|
+
# Corresponds to the JSON property `secretManager`
|
1292
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::SecretManagerSecret>]
|
1293
|
+
attr_accessor :secret_manager
|
1294
|
+
|
1295
|
+
def initialize(**args)
|
1296
|
+
update!(**args)
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# Update properties of this object
|
1300
|
+
def update!(**args)
|
1301
|
+
@inline = args[:inline] if args.key?(:inline)
|
1302
|
+
@secret_manager = args[:secret_manager] if args.key?(:secret_manager)
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1203
1306
|
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
1204
1307
|
# webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/
|
1205
1308
|
# webhooks.
|
@@ -1236,6 +1339,12 @@ module Google
|
|
1236
1339
|
# @return [Google::Apis::CloudbuildV1alpha2::StorageSource]
|
1237
1340
|
attr_accessor :storage_source
|
1238
1341
|
|
1342
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1343
|
+
# Preview.
|
1344
|
+
# Corresponds to the JSON property `storageSourceManifest`
|
1345
|
+
# @return [Google::Apis::CloudbuildV1alpha2::StorageSourceManifest]
|
1346
|
+
attr_accessor :storage_source_manifest
|
1347
|
+
|
1239
1348
|
def initialize(**args)
|
1240
1349
|
update!(**args)
|
1241
1350
|
end
|
@@ -1244,6 +1353,7 @@ module Google
|
|
1244
1353
|
def update!(**args)
|
1245
1354
|
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
1246
1355
|
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
1356
|
+
@storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
|
1247
1357
|
end
|
1248
1358
|
end
|
1249
1359
|
|
@@ -1273,6 +1383,12 @@ module Google
|
|
1273
1383
|
# @return [Google::Apis::CloudbuildV1alpha2::StorageSource]
|
1274
1384
|
attr_accessor :resolved_storage_source
|
1275
1385
|
|
1386
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1387
|
+
# Preview.
|
1388
|
+
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
1389
|
+
# @return [Google::Apis::CloudbuildV1alpha2::StorageSourceManifest]
|
1390
|
+
attr_accessor :resolved_storage_source_manifest
|
1391
|
+
|
1276
1392
|
def initialize(**args)
|
1277
1393
|
update!(**args)
|
1278
1394
|
end
|
@@ -1282,6 +1398,7 @@ module Google
|
|
1282
1398
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
1283
1399
|
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
1284
1400
|
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
1401
|
+
@resolved_storage_source_manifest = args[:resolved_storage_source_manifest] if args.key?(:resolved_storage_source_manifest)
|
1285
1402
|
end
|
1286
1403
|
end
|
1287
1404
|
|
@@ -1359,6 +1476,42 @@ module Google
|
|
1359
1476
|
end
|
1360
1477
|
end
|
1361
1478
|
|
1479
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1480
|
+
# Preview.
|
1481
|
+
class StorageSourceManifest
|
1482
|
+
include Google::Apis::Core::Hashable
|
1483
|
+
|
1484
|
+
# Google Cloud Storage bucket containing the source manifest (see [Bucket Name
|
1485
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
1486
|
+
# ).
|
1487
|
+
# Corresponds to the JSON property `bucket`
|
1488
|
+
# @return [String]
|
1489
|
+
attr_accessor :bucket
|
1490
|
+
|
1491
|
+
# Google Cloud Storage generation for the object. If the generation is omitted,
|
1492
|
+
# the latest generation will be used.
|
1493
|
+
# Corresponds to the JSON property `generation`
|
1494
|
+
# @return [Fixnum]
|
1495
|
+
attr_accessor :generation
|
1496
|
+
|
1497
|
+
# Google Cloud Storage object containing the source manifest. This object must
|
1498
|
+
# be a JSON file.
|
1499
|
+
# Corresponds to the JSON property `object`
|
1500
|
+
# @return [String]
|
1501
|
+
attr_accessor :object
|
1502
|
+
|
1503
|
+
def initialize(**args)
|
1504
|
+
update!(**args)
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# Update properties of this object
|
1508
|
+
def update!(**args)
|
1509
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
1510
|
+
@generation = args[:generation] if args.key?(:generation)
|
1511
|
+
@object = args[:object] if args.key?(:object)
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1362
1515
|
# Start and end times for a build execution phase.
|
1363
1516
|
class TimeSpan
|
1364
1517
|
include Google::Apis::Core::Hashable
|
@@ -1414,6 +1567,31 @@ module Google
|
|
1414
1567
|
end
|
1415
1568
|
end
|
1416
1569
|
|
1570
|
+
# A non-fatal problem encountered during the execution of the build.
|
1571
|
+
class Warning
|
1572
|
+
include Google::Apis::Core::Hashable
|
1573
|
+
|
1574
|
+
# The priority for this warning.
|
1575
|
+
# Corresponds to the JSON property `priority`
|
1576
|
+
# @return [String]
|
1577
|
+
attr_accessor :priority
|
1578
|
+
|
1579
|
+
# Explanation of the warning generated.
|
1580
|
+
# Corresponds to the JSON property `text`
|
1581
|
+
# @return [String]
|
1582
|
+
attr_accessor :text
|
1583
|
+
|
1584
|
+
def initialize(**args)
|
1585
|
+
update!(**args)
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
# Update properties of this object
|
1589
|
+
def update!(**args)
|
1590
|
+
@priority = args[:priority] if args.key?(:priority)
|
1591
|
+
@text = args[:text] if args.key?(:text)
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
|
1417
1595
|
# WorkerConfig defines the configuration to be used for a creating workers in
|
1418
1596
|
# the pool.
|
1419
1597
|
class WorkerConfig
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1alpha2
|
18
18
|
# Version of the google-apis-cloudbuild_v1alpha2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class InlineSecret
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ListWorkerPoolsResponse
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -178,6 +184,18 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
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
|
+
|
181
199
|
class SlackDelivery
|
182
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
201
|
|
@@ -208,6 +226,12 @@ module Google
|
|
208
226
|
include Google::Apis::Core::JsonObjectSupport
|
209
227
|
end
|
210
228
|
|
229
|
+
class StorageSourceManifest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
211
235
|
class TimeSpan
|
212
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
237
|
|
@@ -220,6 +244,12 @@ module Google
|
|
220
244
|
include Google::Apis::Core::JsonObjectSupport
|
221
245
|
end
|
222
246
|
|
247
|
+
class Warning
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
223
253
|
class WorkerConfig
|
224
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
255
|
|
@@ -265,6 +295,8 @@ module Google
|
|
265
295
|
class Representation < Google::Apis::Core::JsonRepresentation
|
266
296
|
property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1alpha2::Artifacts, decorator: Google::Apis::CloudbuildV1alpha2::Artifacts::Representation
|
267
297
|
|
298
|
+
property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1alpha2::Secrets, decorator: Google::Apis::CloudbuildV1alpha2::Secrets::Representation
|
299
|
+
|
268
300
|
property :build_trigger_id, as: 'buildTriggerId'
|
269
301
|
property :create_time, as: 'createTime'
|
270
302
|
property :finish_time, as: 'finishTime'
|
@@ -296,6 +328,8 @@ module Google
|
|
296
328
|
property :timeout, as: 'timeout'
|
297
329
|
hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
|
298
330
|
|
331
|
+
collection :warnings, as: 'warnings', class: Google::Apis::CloudbuildV1alpha2::Warning, decorator: Google::Apis::CloudbuildV1alpha2::Warning::Representation
|
332
|
+
|
299
333
|
end
|
300
334
|
end
|
301
335
|
|
@@ -393,6 +427,14 @@ module Google
|
|
393
427
|
end
|
394
428
|
end
|
395
429
|
|
430
|
+
class InlineSecret
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
hash :env_map, as: 'envMap'
|
434
|
+
property :kms_key_name, as: 'kmsKeyName'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
396
438
|
class ListWorkerPoolsResponse
|
397
439
|
# @private
|
398
440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -528,6 +570,24 @@ module Google
|
|
528
570
|
end
|
529
571
|
end
|
530
572
|
|
573
|
+
class SecretManagerSecret
|
574
|
+
# @private
|
575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
576
|
+
property :env, as: 'env'
|
577
|
+
property :version_name, as: 'versionName'
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
class Secrets
|
582
|
+
# @private
|
583
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
584
|
+
collection :inline, as: 'inline', class: Google::Apis::CloudbuildV1alpha2::InlineSecret, decorator: Google::Apis::CloudbuildV1alpha2::InlineSecret::Representation
|
585
|
+
|
586
|
+
collection :secret_manager, as: 'secretManager', class: Google::Apis::CloudbuildV1alpha2::SecretManagerSecret, decorator: Google::Apis::CloudbuildV1alpha2::SecretManagerSecret::Representation
|
587
|
+
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
531
591
|
class SlackDelivery
|
532
592
|
# @private
|
533
593
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -543,6 +603,8 @@ module Google
|
|
543
603
|
|
544
604
|
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1alpha2::StorageSource, decorator: Google::Apis::CloudbuildV1alpha2::StorageSource::Representation
|
545
605
|
|
606
|
+
property :storage_source_manifest, as: 'storageSourceManifest', class: Google::Apis::CloudbuildV1alpha2::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1alpha2::StorageSourceManifest::Representation
|
607
|
+
|
546
608
|
end
|
547
609
|
end
|
548
610
|
|
@@ -555,6 +617,8 @@ module Google
|
|
555
617
|
|
556
618
|
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1alpha2::StorageSource, decorator: Google::Apis::CloudbuildV1alpha2::StorageSource::Representation
|
557
619
|
|
620
|
+
property :resolved_storage_source_manifest, as: 'resolvedStorageSourceManifest', class: Google::Apis::CloudbuildV1alpha2::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1alpha2::StorageSourceManifest::Representation
|
621
|
+
|
558
622
|
end
|
559
623
|
end
|
560
624
|
|
@@ -576,6 +640,15 @@ module Google
|
|
576
640
|
end
|
577
641
|
end
|
578
642
|
|
643
|
+
class StorageSourceManifest
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
property :bucket, as: 'bucket'
|
647
|
+
property :generation, :numeric_string => true, as: 'generation'
|
648
|
+
property :object, as: 'object'
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
579
652
|
class TimeSpan
|
580
653
|
# @private
|
581
654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -592,6 +665,14 @@ module Google
|
|
592
665
|
end
|
593
666
|
end
|
594
667
|
|
668
|
+
class Warning
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :priority, as: 'priority'
|
672
|
+
property :text, as: 'text'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
595
676
|
class WorkerConfig
|
596
677
|
# @private
|
597
678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1alpha2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Build API V1alpha2
|