google-apis-cloudbuild_v1alpha1 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_v1alpha1.rb +1 -1
- data/lib/google/apis/cloudbuild_v1alpha1/classes.rb +194 -16
- data/lib/google/apis/cloudbuild_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/cloudbuild_v1alpha1/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: ddd6ccb6fa801b6681d76fbe18840c088f53920c9f34487d27d41e9c4108df75
|
4
|
+
data.tar.gz: dd34e013599afd93a178ac94aa9396a3962314528a36c8c8768613da6953f3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd429a23f5003dd17f9befbdcfe41f1403b1db12526bc34b2416e53a9397459e785f62b08df86b22bf210acfd9db5f5ccc2530a9831b5d4f53590ecceb6a23c0
|
7
|
+
data.tar.gz: 5eca8eac2e1d01ab82f16f3e8ac9a6e06fad7bd71a62e4835089fd839758d51a31c934904d0a13a166fe089b44cd0ab20e67a2cc3fe2f3811296aba9a5216d76
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1alpha1
|
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 = 'V1alpha1'
|
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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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
|
@@ -1045,7 +1093,7 @@ module Google
|
|
1045
1093
|
# @return [String]
|
1046
1094
|
attr_accessor :project_id
|
1047
1095
|
|
1048
|
-
#
|
1096
|
+
# Name of the Cloud Source Repository.
|
1049
1097
|
# Corresponds to the JSON property `repoName`
|
1050
1098
|
# @return [String]
|
1051
1099
|
attr_accessor :repo_name
|
@@ -1185,7 +1233,10 @@ module Google
|
|
1185
1233
|
end
|
1186
1234
|
|
1187
1235
|
# Pairs a set of secret environment variables containing encrypted values with
|
1188
|
-
# the Cloud KMS key to use to decrypt the value.
|
1236
|
+
# the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `
|
1237
|
+
# available_secrets` instead of using `kmsKeyName` with `secret`. For
|
1238
|
+
# instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/
|
1239
|
+
# use-encrypted-credentials.
|
1189
1240
|
class Secret
|
1190
1241
|
include Google::Apis::Core::Hashable
|
1191
1242
|
|
@@ -1213,6 +1264,58 @@ module Google
|
|
1213
1264
|
end
|
1214
1265
|
end
|
1215
1266
|
|
1267
|
+
# Pairs a secret environment variable with a SecretVersion in Secret Manager.
|
1268
|
+
class SecretManagerSecret
|
1269
|
+
include Google::Apis::Core::Hashable
|
1270
|
+
|
1271
|
+
# Environment variable name to associate with the secret. Secret environment
|
1272
|
+
# variables must be unique across all of a build's secrets, and must be used by
|
1273
|
+
# at least one build step.
|
1274
|
+
# Corresponds to the JSON property `env`
|
1275
|
+
# @return [String]
|
1276
|
+
attr_accessor :env
|
1277
|
+
|
1278
|
+
# Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
|
1279
|
+
# Corresponds to the JSON property `versionName`
|
1280
|
+
# @return [String]
|
1281
|
+
attr_accessor :version_name
|
1282
|
+
|
1283
|
+
def initialize(**args)
|
1284
|
+
update!(**args)
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Update properties of this object
|
1288
|
+
def update!(**args)
|
1289
|
+
@env = args[:env] if args.key?(:env)
|
1290
|
+
@version_name = args[:version_name] if args.key?(:version_name)
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Secrets and secret environment variables.
|
1295
|
+
class Secrets
|
1296
|
+
include Google::Apis::Core::Hashable
|
1297
|
+
|
1298
|
+
# Secrets encrypted with KMS key and the associated secret environment variable.
|
1299
|
+
# Corresponds to the JSON property `inline`
|
1300
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::InlineSecret>]
|
1301
|
+
attr_accessor :inline
|
1302
|
+
|
1303
|
+
# Secrets in Secret Manager and associated secret environment variable.
|
1304
|
+
# Corresponds to the JSON property `secretManager`
|
1305
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::SecretManagerSecret>]
|
1306
|
+
attr_accessor :secret_manager
|
1307
|
+
|
1308
|
+
def initialize(**args)
|
1309
|
+
update!(**args)
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# Update properties of this object
|
1313
|
+
def update!(**args)
|
1314
|
+
@inline = args[:inline] if args.key?(:inline)
|
1315
|
+
@secret_manager = args[:secret_manager] if args.key?(:secret_manager)
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1216
1319
|
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
1217
1320
|
# webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/
|
1218
1321
|
# webhooks.
|
@@ -1249,6 +1352,12 @@ module Google
|
|
1249
1352
|
# @return [Google::Apis::CloudbuildV1alpha1::StorageSource]
|
1250
1353
|
attr_accessor :storage_source
|
1251
1354
|
|
1355
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1356
|
+
# Preview.
|
1357
|
+
# Corresponds to the JSON property `storageSourceManifest`
|
1358
|
+
# @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
|
1359
|
+
attr_accessor :storage_source_manifest
|
1360
|
+
|
1252
1361
|
def initialize(**args)
|
1253
1362
|
update!(**args)
|
1254
1363
|
end
|
@@ -1257,6 +1366,7 @@ module Google
|
|
1257
1366
|
def update!(**args)
|
1258
1367
|
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
1259
1368
|
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
1369
|
+
@storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
|
1260
1370
|
end
|
1261
1371
|
end
|
1262
1372
|
|
@@ -1286,6 +1396,12 @@ module Google
|
|
1286
1396
|
# @return [Google::Apis::CloudbuildV1alpha1::StorageSource]
|
1287
1397
|
attr_accessor :resolved_storage_source
|
1288
1398
|
|
1399
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1400
|
+
# Preview.
|
1401
|
+
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
1402
|
+
# @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
|
1403
|
+
attr_accessor :resolved_storage_source_manifest
|
1404
|
+
|
1289
1405
|
def initialize(**args)
|
1290
1406
|
update!(**args)
|
1291
1407
|
end
|
@@ -1295,6 +1411,7 @@ module Google
|
|
1295
1411
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
1296
1412
|
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
1297
1413
|
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
1414
|
+
@resolved_storage_source_manifest = args[:resolved_storage_source_manifest] if args.key?(:resolved_storage_source_manifest)
|
1298
1415
|
end
|
1299
1416
|
end
|
1300
1417
|
|
@@ -1372,6 +1489,42 @@ module Google
|
|
1372
1489
|
end
|
1373
1490
|
end
|
1374
1491
|
|
1492
|
+
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1493
|
+
# Preview.
|
1494
|
+
class StorageSourceManifest
|
1495
|
+
include Google::Apis::Core::Hashable
|
1496
|
+
|
1497
|
+
# Google Cloud Storage bucket containing the source manifest (see [Bucket Name
|
1498
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
1499
|
+
# ).
|
1500
|
+
# Corresponds to the JSON property `bucket`
|
1501
|
+
# @return [String]
|
1502
|
+
attr_accessor :bucket
|
1503
|
+
|
1504
|
+
# Google Cloud Storage generation for the object. If the generation is omitted,
|
1505
|
+
# the latest generation will be used.
|
1506
|
+
# Corresponds to the JSON property `generation`
|
1507
|
+
# @return [Fixnum]
|
1508
|
+
attr_accessor :generation
|
1509
|
+
|
1510
|
+
# Google Cloud Storage object containing the source manifest. This object must
|
1511
|
+
# be a JSON file.
|
1512
|
+
# Corresponds to the JSON property `object`
|
1513
|
+
# @return [String]
|
1514
|
+
attr_accessor :object
|
1515
|
+
|
1516
|
+
def initialize(**args)
|
1517
|
+
update!(**args)
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# Update properties of this object
|
1521
|
+
def update!(**args)
|
1522
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
1523
|
+
@generation = args[:generation] if args.key?(:generation)
|
1524
|
+
@object = args[:object] if args.key?(:object)
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1375
1528
|
# Start and end times for a build execution phase.
|
1376
1529
|
class TimeSpan
|
1377
1530
|
include Google::Apis::Core::Hashable
|
@@ -1427,6 +1580,31 @@ module Google
|
|
1427
1580
|
end
|
1428
1581
|
end
|
1429
1582
|
|
1583
|
+
# A non-fatal problem encountered during the execution of the build.
|
1584
|
+
class Warning
|
1585
|
+
include Google::Apis::Core::Hashable
|
1586
|
+
|
1587
|
+
# The priority for this warning.
|
1588
|
+
# Corresponds to the JSON property `priority`
|
1589
|
+
# @return [String]
|
1590
|
+
attr_accessor :priority
|
1591
|
+
|
1592
|
+
# Explanation of the warning generated.
|
1593
|
+
# Corresponds to the JSON property `text`
|
1594
|
+
# @return [String]
|
1595
|
+
attr_accessor :text
|
1596
|
+
|
1597
|
+
def initialize(**args)
|
1598
|
+
update!(**args)
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# Update properties of this object
|
1602
|
+
def update!(**args)
|
1603
|
+
@priority = args[:priority] if args.key?(:priority)
|
1604
|
+
@text = args[:text] if args.key?(:text)
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1430
1608
|
# WorkerConfig defines the configuration to be used for a creating workers in
|
1431
1609
|
# the pool.
|
1432
1610
|
class WorkerConfig
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1alpha1
|
18
18
|
# Version of the google-apis-cloudbuild_v1alpha1 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::CloudbuildV1alpha1::Artifacts, decorator: Google::Apis::CloudbuildV1alpha1::Artifacts::Representation
|
267
297
|
|
298
|
+
property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1alpha1::Secrets, decorator: Google::Apis::CloudbuildV1alpha1::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::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
298
330
|
|
331
|
+
collection :warnings, as: 'warnings', class: Google::Apis::CloudbuildV1alpha1::Warning, decorator: Google::Apis::CloudbuildV1alpha1::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
|
@@ -530,6 +572,24 @@ module Google
|
|
530
572
|
end
|
531
573
|
end
|
532
574
|
|
575
|
+
class SecretManagerSecret
|
576
|
+
# @private
|
577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :env, as: 'env'
|
579
|
+
property :version_name, as: 'versionName'
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
class Secrets
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
collection :inline, as: 'inline', class: Google::Apis::CloudbuildV1alpha1::InlineSecret, decorator: Google::Apis::CloudbuildV1alpha1::InlineSecret::Representation
|
587
|
+
|
588
|
+
collection :secret_manager, as: 'secretManager', class: Google::Apis::CloudbuildV1alpha1::SecretManagerSecret, decorator: Google::Apis::CloudbuildV1alpha1::SecretManagerSecret::Representation
|
589
|
+
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
533
593
|
class SlackDelivery
|
534
594
|
# @private
|
535
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -545,6 +605,8 @@ module Google
|
|
545
605
|
|
546
606
|
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1alpha1::StorageSource, decorator: Google::Apis::CloudbuildV1alpha1::StorageSource::Representation
|
547
607
|
|
608
|
+
property :storage_source_manifest, as: 'storageSourceManifest', class: Google::Apis::CloudbuildV1alpha1::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1alpha1::StorageSourceManifest::Representation
|
609
|
+
|
548
610
|
end
|
549
611
|
end
|
550
612
|
|
@@ -557,6 +619,8 @@ module Google
|
|
557
619
|
|
558
620
|
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1alpha1::StorageSource, decorator: Google::Apis::CloudbuildV1alpha1::StorageSource::Representation
|
559
621
|
|
622
|
+
property :resolved_storage_source_manifest, as: 'resolvedStorageSourceManifest', class: Google::Apis::CloudbuildV1alpha1::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1alpha1::StorageSourceManifest::Representation
|
623
|
+
|
560
624
|
end
|
561
625
|
end
|
562
626
|
|
@@ -578,6 +642,15 @@ module Google
|
|
578
642
|
end
|
579
643
|
end
|
580
644
|
|
645
|
+
class StorageSourceManifest
|
646
|
+
# @private
|
647
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
+
property :bucket, as: 'bucket'
|
649
|
+
property :generation, :numeric_string => true, as: 'generation'
|
650
|
+
property :object, as: 'object'
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
581
654
|
class TimeSpan
|
582
655
|
# @private
|
583
656
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -594,6 +667,14 @@ module Google
|
|
594
667
|
end
|
595
668
|
end
|
596
669
|
|
670
|
+
class Warning
|
671
|
+
# @private
|
672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
673
|
+
property :priority, as: 'priority'
|
674
|
+
property :text, as: 'text'
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
597
678
|
class WorkerConfig
|
598
679
|
# @private
|
599
680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1alpha1
|
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_v1alpha1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha1
|
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 V1alpha1
|