google-apis-cloudbuild_v1alpha1 0.26.0 → 0.28.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7201192713811453ea1cf1a97d4c58c3c21e03db9a64c91a0da09cf0d1619b51
|
4
|
+
data.tar.gz: 90ee9e8ee9ecd93417500fec9a68f4e717e34d63fcfa46d9d8d3d2493d9cdeb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e28ac66cfbfeda3381c71e0233078506db5f5ecf1cc0d60827af0b41a70102bc31adca98bec659e793dead23b83c646a4181283cbf26b5c82bfe20080db5a6c5
|
7
|
+
data.tar.gz: 5413c8069da4282bdf5948bb896edc72dde9013f8c74bd45ba4fb3dd66ef3ee1f4ea397eff63618487a286db78c515a3841e8174b95da434c58aa44cc52436db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1alpha1
|
2
2
|
|
3
|
+
### v0.28.0 (2022-10-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220928
|
6
|
+
|
7
|
+
### v0.27.0 (2022-09-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220916
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
* Unspecified changes
|
12
|
+
|
3
13
|
### v0.26.0 (2022-09-17)
|
4
14
|
|
5
15
|
* Unspecified changes
|
@@ -167,12 +167,29 @@ module Google
|
|
167
167
|
# @return [Array<String>]
|
168
168
|
attr_accessor :images
|
169
169
|
|
170
|
+
# A list of Maven artifacts to be uploaded to Artifact Registry upon successful
|
171
|
+
# completion of all build steps. Artifacts in the workspace matching specified
|
172
|
+
# paths globs will be uploaded to the specified Artifact Registry repository
|
173
|
+
# using the builder service account's credentials. If any artifacts fail to be
|
174
|
+
# pushed, the build is marked FAILURE.
|
175
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
176
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::MavenArtifact>]
|
177
|
+
attr_accessor :maven_artifacts
|
178
|
+
|
170
179
|
# Files in the workspace to upload to Cloud Storage upon successful completion
|
171
180
|
# of all build steps.
|
172
181
|
# Corresponds to the JSON property `objects`
|
173
182
|
# @return [Google::Apis::CloudbuildV1alpha1::ArtifactObjects]
|
174
183
|
attr_accessor :objects
|
175
184
|
|
185
|
+
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
186
|
+
# completion of all build steps. The build service account credentials will be
|
187
|
+
# used to perform the upload. If any objects fail to be pushed, the build is
|
188
|
+
# marked FAILURE.
|
189
|
+
# Corresponds to the JSON property `pythonPackages`
|
190
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::PythonPackage>]
|
191
|
+
attr_accessor :python_packages
|
192
|
+
|
176
193
|
def initialize(**args)
|
177
194
|
update!(**args)
|
178
195
|
end
|
@@ -180,7 +197,9 @@ module Google
|
|
180
197
|
# Update properties of this object
|
181
198
|
def update!(**args)
|
182
199
|
@images = args[:images] if args.key?(:images)
|
200
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
183
201
|
@objects = args[:objects] if args.key?(:objects)
|
202
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
184
203
|
end
|
185
204
|
end
|
186
205
|
|
@@ -237,6 +256,57 @@ module Google
|
|
237
256
|
end
|
238
257
|
end
|
239
258
|
|
259
|
+
# Response of BatchCreateGitLabConnectedRepositories RPC method.
|
260
|
+
class BatchCreateGitLabConnectedRepositoriesResponse
|
261
|
+
include Google::Apis::Core::Hashable
|
262
|
+
|
263
|
+
# The GitLab connected repository requests' responses.
|
264
|
+
# Corresponds to the JSON property `gitlabConnectedRepositories`
|
265
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::GitLabConnectedRepository>]
|
266
|
+
attr_accessor :gitlab_connected_repositories
|
267
|
+
|
268
|
+
def initialize(**args)
|
269
|
+
update!(**args)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Update properties of this object
|
273
|
+
def update!(**args)
|
274
|
+
@gitlab_connected_repositories = args[:gitlab_connected_repositories] if args.key?(:gitlab_connected_repositories)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
# Metadata for `BatchCreateGitLabConnectedRepositories` operation.
|
279
|
+
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
280
|
+
include Google::Apis::Core::Hashable
|
281
|
+
|
282
|
+
# Time the operation was completed.
|
283
|
+
# Corresponds to the JSON property `completeTime`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :complete_time
|
286
|
+
|
287
|
+
# The name of the `GitLabConfig` that added connected repositories. Format: `
|
288
|
+
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
289
|
+
# Corresponds to the JSON property `config`
|
290
|
+
# @return [String]
|
291
|
+
attr_accessor :config
|
292
|
+
|
293
|
+
# Time the operation was created.
|
294
|
+
# Corresponds to the JSON property `createTime`
|
295
|
+
# @return [String]
|
296
|
+
attr_accessor :create_time
|
297
|
+
|
298
|
+
def initialize(**args)
|
299
|
+
update!(**args)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Update properties of this object
|
303
|
+
def update!(**args)
|
304
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
305
|
+
@config = args[:config] if args.key?(:config)
|
306
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
240
310
|
# / BitbucketServerConnectedRepository represents a connected Bitbucket Server /
|
241
311
|
# repository.
|
242
312
|
class BitbucketServerConnectedRepository
|
@@ -980,6 +1050,38 @@ module Google
|
|
980
1050
|
end
|
981
1051
|
end
|
982
1052
|
|
1053
|
+
# Metadata for `CreateGitLabConfig` operation.
|
1054
|
+
class CreateGitLabConfigOperationMetadata
|
1055
|
+
include Google::Apis::Core::Hashable
|
1056
|
+
|
1057
|
+
# Time the operation was completed.
|
1058
|
+
# Corresponds to the JSON property `completeTime`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :complete_time
|
1061
|
+
|
1062
|
+
# Time the operation was created.
|
1063
|
+
# Corresponds to the JSON property `createTime`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :create_time
|
1066
|
+
|
1067
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
1068
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
1069
|
+
# Corresponds to the JSON property `gitlabConfig`
|
1070
|
+
# @return [String]
|
1071
|
+
attr_accessor :gitlab_config
|
1072
|
+
|
1073
|
+
def initialize(**args)
|
1074
|
+
update!(**args)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Update properties of this object
|
1078
|
+
def update!(**args)
|
1079
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1080
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1081
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
983
1085
|
# Metadata for the `CreateWorkerPool` operation.
|
984
1086
|
class CreateWorkerPoolOperationMetadata
|
985
1087
|
include Google::Apis::Core::Hashable
|
@@ -1076,6 +1178,38 @@ module Google
|
|
1076
1178
|
end
|
1077
1179
|
end
|
1078
1180
|
|
1181
|
+
# Metadata for `DeleteGitLabConfig` operation.
|
1182
|
+
class DeleteGitLabConfigOperationMetadata
|
1183
|
+
include Google::Apis::Core::Hashable
|
1184
|
+
|
1185
|
+
# Time the operation was completed.
|
1186
|
+
# Corresponds to the JSON property `completeTime`
|
1187
|
+
# @return [String]
|
1188
|
+
attr_accessor :complete_time
|
1189
|
+
|
1190
|
+
# Time the operation was created.
|
1191
|
+
# Corresponds to the JSON property `createTime`
|
1192
|
+
# @return [String]
|
1193
|
+
attr_accessor :create_time
|
1194
|
+
|
1195
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
1196
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
1197
|
+
# Corresponds to the JSON property `gitlabConfig`
|
1198
|
+
# @return [String]
|
1199
|
+
attr_accessor :gitlab_config
|
1200
|
+
|
1201
|
+
def initialize(**args)
|
1202
|
+
update!(**args)
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# Update properties of this object
|
1206
|
+
def update!(**args)
|
1207
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1208
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1209
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1079
1213
|
# Metadata for the `DeleteWorkerPool` operation.
|
1080
1214
|
class DeleteWorkerPoolOperationMetadata
|
1081
1215
|
include Google::Apis::Core::Hashable
|
@@ -1169,6 +1303,73 @@ module Google
|
|
1169
1303
|
end
|
1170
1304
|
end
|
1171
1305
|
|
1306
|
+
# GitLabConnectedRepository represents a GitLab connected repository request
|
1307
|
+
# response.
|
1308
|
+
class GitLabConnectedRepository
|
1309
|
+
include Google::Apis::Core::Hashable
|
1310
|
+
|
1311
|
+
# The name of the `GitLabConfig` that added connected repository. Format: `
|
1312
|
+
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
1313
|
+
# Corresponds to the JSON property `parent`
|
1314
|
+
# @return [String]
|
1315
|
+
attr_accessor :parent
|
1316
|
+
|
1317
|
+
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
1318
|
+
# GitLabEnterprise
|
1319
|
+
# Corresponds to the JSON property `repo`
|
1320
|
+
# @return [Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId]
|
1321
|
+
attr_accessor :repo
|
1322
|
+
|
1323
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1324
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1325
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1326
|
+
# data: error code, error message, and error details. You can find out more
|
1327
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1328
|
+
# //cloud.google.com/apis/design/errors).
|
1329
|
+
# Corresponds to the JSON property `status`
|
1330
|
+
# @return [Google::Apis::CloudbuildV1alpha1::Status]
|
1331
|
+
attr_accessor :status
|
1332
|
+
|
1333
|
+
def initialize(**args)
|
1334
|
+
update!(**args)
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# Update properties of this object
|
1338
|
+
def update!(**args)
|
1339
|
+
@parent = args[:parent] if args.key?(:parent)
|
1340
|
+
@repo = args[:repo] if args.key?(:repo)
|
1341
|
+
@status = args[:status] if args.key?(:status)
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
1346
|
+
# GitLabEnterprise
|
1347
|
+
class GitLabRepositoryId
|
1348
|
+
include Google::Apis::Core::Hashable
|
1349
|
+
|
1350
|
+
# Required. Identifier for the repository. example: "namespace/project-slug",
|
1351
|
+
# namespace is usually the username or group ID
|
1352
|
+
# Corresponds to the JSON property `id`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :id
|
1355
|
+
|
1356
|
+
# Output only. The ID of the webhook that was created for receiving events from
|
1357
|
+
# this repo. We only create and manage a single webhook for each repo.
|
1358
|
+
# Corresponds to the JSON property `webhookId`
|
1359
|
+
# @return [Fixnum]
|
1360
|
+
attr_accessor :webhook_id
|
1361
|
+
|
1362
|
+
def initialize(**args)
|
1363
|
+
update!(**args)
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Update properties of this object
|
1367
|
+
def update!(**args)
|
1368
|
+
@id = args[:id] if args.key?(:id)
|
1369
|
+
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
1370
|
+
end
|
1371
|
+
end
|
1372
|
+
|
1172
1373
|
# Represents the metadata of the long-running operation.
|
1173
1374
|
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
1174
1375
|
include Google::Apis::Core::Hashable
|
@@ -1322,6 +1523,55 @@ module Google
|
|
1322
1523
|
end
|
1323
1524
|
end
|
1324
1525
|
|
1526
|
+
# A Maven artifact to upload to Artifact Registry upon successful completion of
|
1527
|
+
# all build steps.
|
1528
|
+
class MavenArtifact
|
1529
|
+
include Google::Apis::Core::Hashable
|
1530
|
+
|
1531
|
+
# Maven `artifactId` value used when uploading the artifact to Artifact Registry.
|
1532
|
+
# Corresponds to the JSON property `artifactId`
|
1533
|
+
# @return [String]
|
1534
|
+
attr_accessor :artifact_id
|
1535
|
+
|
1536
|
+
# Maven `groupId` value used when uploading the artifact to Artifact Registry.
|
1537
|
+
# Corresponds to the JSON property `groupId`
|
1538
|
+
# @return [String]
|
1539
|
+
attr_accessor :group_id
|
1540
|
+
|
1541
|
+
# Path to an artifact in the build's workspace to be uploaded to Artifact
|
1542
|
+
# Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
|
1543
|
+
# my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
|
1544
|
+
# my-app-1.0.SNAPSHOT.jar.
|
1545
|
+
# Corresponds to the JSON property `path`
|
1546
|
+
# @return [String]
|
1547
|
+
attr_accessor :path
|
1548
|
+
|
1549
|
+
# Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
|
1550
|
+
# PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
|
1551
|
+
# uploaded to Artifact Registry with this location as a prefix.
|
1552
|
+
# Corresponds to the JSON property `repository`
|
1553
|
+
# @return [String]
|
1554
|
+
attr_accessor :repository
|
1555
|
+
|
1556
|
+
# Maven `version` value used when uploading the artifact to Artifact Registry.
|
1557
|
+
# Corresponds to the JSON property `version`
|
1558
|
+
# @return [String]
|
1559
|
+
attr_accessor :version
|
1560
|
+
|
1561
|
+
def initialize(**args)
|
1562
|
+
update!(**args)
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# Update properties of this object
|
1566
|
+
def update!(**args)
|
1567
|
+
@artifact_id = args[:artifact_id] if args.key?(:artifact_id)
|
1568
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
1569
|
+
@path = args[:path] if args.key?(:path)
|
1570
|
+
@repository = args[:repository] if args.key?(:repository)
|
1571
|
+
@version = args[:version] if args.key?(:version)
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
|
1325
1575
|
# Network describes the GCP network used to create workers in.
|
1326
1576
|
class Network
|
1327
1577
|
include Google::Apis::Core::Hashable
|
@@ -1726,6 +1976,36 @@ module Google
|
|
1726
1976
|
end
|
1727
1977
|
end
|
1728
1978
|
|
1979
|
+
# Python package to upload to Artifact Registry upon successful completion of
|
1980
|
+
# all build steps. A package can encapsulate multiple objects to be uploaded to
|
1981
|
+
# a single repository.
|
1982
|
+
class PythonPackage
|
1983
|
+
include Google::Apis::Core::Hashable
|
1984
|
+
|
1985
|
+
# Path globs used to match files in the build's workspace. For Python/ Twine,
|
1986
|
+
# this is usually `dist/*`, and sometimes additionally an `.asc` file.
|
1987
|
+
# Corresponds to the JSON property `paths`
|
1988
|
+
# @return [Array<String>]
|
1989
|
+
attr_accessor :paths
|
1990
|
+
|
1991
|
+
# Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
|
1992
|
+
# PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
|
1993
|
+
# uploaded to Artifact Registry with this location as a prefix.
|
1994
|
+
# Corresponds to the JSON property `repository`
|
1995
|
+
# @return [String]
|
1996
|
+
attr_accessor :repository
|
1997
|
+
|
1998
|
+
def initialize(**args)
|
1999
|
+
update!(**args)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
# Update properties of this object
|
2003
|
+
def update!(**args)
|
2004
|
+
@paths = args[:paths] if args.key?(:paths)
|
2005
|
+
@repository = args[:repository] if args.key?(:repository)
|
2006
|
+
end
|
2007
|
+
end
|
2008
|
+
|
1729
2009
|
# Location of the source in a Google Cloud Source Repository.
|
1730
2010
|
class RepoSource
|
1731
2011
|
include Google::Apis::Core::Hashable
|
@@ -1828,11 +2108,21 @@ module Google
|
|
1828
2108
|
# @return [Array<Google::Apis::CloudbuildV1alpha1::BuiltImage>]
|
1829
2109
|
attr_accessor :images
|
1830
2110
|
|
2111
|
+
# Maven artifacts uploaded to Artifact Registry at the end of the build.
|
2112
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
2113
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact>]
|
2114
|
+
attr_accessor :maven_artifacts
|
2115
|
+
|
1831
2116
|
# Number of artifacts uploaded. Only populated when artifacts are uploaded.
|
1832
2117
|
# Corresponds to the JSON property `numArtifacts`
|
1833
2118
|
# @return [Fixnum]
|
1834
2119
|
attr_accessor :num_artifacts
|
1835
2120
|
|
2121
|
+
# Python artifacts uploaded to Artifact Registry at the end of the build.
|
2122
|
+
# Corresponds to the JSON property `pythonPackages`
|
2123
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage>]
|
2124
|
+
attr_accessor :python_packages
|
2125
|
+
|
1836
2126
|
def initialize(**args)
|
1837
2127
|
update!(**args)
|
1838
2128
|
end
|
@@ -1844,7 +2134,9 @@ module Google
|
|
1844
2134
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
1845
2135
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
1846
2136
|
@images = args[:images] if args.key?(:images)
|
2137
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
1847
2138
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
2139
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
1848
2140
|
end
|
1849
2141
|
end
|
1850
2142
|
|
@@ -2344,6 +2636,38 @@ module Google
|
|
2344
2636
|
end
|
2345
2637
|
end
|
2346
2638
|
|
2639
|
+
# Metadata for `UpdateGitLabConfig` operation.
|
2640
|
+
class UpdateGitLabConfigOperationMetadata
|
2641
|
+
include Google::Apis::Core::Hashable
|
2642
|
+
|
2643
|
+
# Time the operation was completed.
|
2644
|
+
# Corresponds to the JSON property `completeTime`
|
2645
|
+
# @return [String]
|
2646
|
+
attr_accessor :complete_time
|
2647
|
+
|
2648
|
+
# Time the operation was created.
|
2649
|
+
# Corresponds to the JSON property `createTime`
|
2650
|
+
# @return [String]
|
2651
|
+
attr_accessor :create_time
|
2652
|
+
|
2653
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
2654
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
2655
|
+
# Corresponds to the JSON property `gitlabConfig`
|
2656
|
+
# @return [String]
|
2657
|
+
attr_accessor :gitlab_config
|
2658
|
+
|
2659
|
+
def initialize(**args)
|
2660
|
+
update!(**args)
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
# Update properties of this object
|
2664
|
+
def update!(**args)
|
2665
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2666
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2667
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
2668
|
+
end
|
2669
|
+
end
|
2670
|
+
|
2347
2671
|
# Metadata for the `UpdateWorkerPool` operation.
|
2348
2672
|
class UpdateWorkerPoolOperationMetadata
|
2349
2673
|
include Google::Apis::Core::Hashable
|
@@ -2376,6 +2700,70 @@ module Google
|
|
2376
2700
|
end
|
2377
2701
|
end
|
2378
2702
|
|
2703
|
+
# A Maven artifact uploaded using the MavenArtifact directive.
|
2704
|
+
class UploadedMavenArtifact
|
2705
|
+
include Google::Apis::Core::Hashable
|
2706
|
+
|
2707
|
+
# Container message for hashes of byte content of files, used in
|
2708
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2709
|
+
# Corresponds to the JSON property `fileHashes`
|
2710
|
+
# @return [Google::Apis::CloudbuildV1alpha1::FileHashes]
|
2711
|
+
attr_accessor :file_hashes
|
2712
|
+
|
2713
|
+
# Start and end times for a build execution phase.
|
2714
|
+
# Corresponds to the JSON property `pushTiming`
|
2715
|
+
# @return [Google::Apis::CloudbuildV1alpha1::TimeSpan]
|
2716
|
+
attr_accessor :push_timing
|
2717
|
+
|
2718
|
+
# URI of the uploaded artifact.
|
2719
|
+
# Corresponds to the JSON property `uri`
|
2720
|
+
# @return [String]
|
2721
|
+
attr_accessor :uri
|
2722
|
+
|
2723
|
+
def initialize(**args)
|
2724
|
+
update!(**args)
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
# Update properties of this object
|
2728
|
+
def update!(**args)
|
2729
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2730
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2731
|
+
@uri = args[:uri] if args.key?(:uri)
|
2732
|
+
end
|
2733
|
+
end
|
2734
|
+
|
2735
|
+
# Artifact uploaded using the PythonPackage directive.
|
2736
|
+
class UploadedPythonPackage
|
2737
|
+
include Google::Apis::Core::Hashable
|
2738
|
+
|
2739
|
+
# Container message for hashes of byte content of files, used in
|
2740
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2741
|
+
# Corresponds to the JSON property `fileHashes`
|
2742
|
+
# @return [Google::Apis::CloudbuildV1alpha1::FileHashes]
|
2743
|
+
attr_accessor :file_hashes
|
2744
|
+
|
2745
|
+
# Start and end times for a build execution phase.
|
2746
|
+
# Corresponds to the JSON property `pushTiming`
|
2747
|
+
# @return [Google::Apis::CloudbuildV1alpha1::TimeSpan]
|
2748
|
+
attr_accessor :push_timing
|
2749
|
+
|
2750
|
+
# URI of the uploaded artifact.
|
2751
|
+
# Corresponds to the JSON property `uri`
|
2752
|
+
# @return [String]
|
2753
|
+
attr_accessor :uri
|
2754
|
+
|
2755
|
+
def initialize(**args)
|
2756
|
+
update!(**args)
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
# Update properties of this object
|
2760
|
+
def update!(**args)
|
2761
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2762
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2763
|
+
@uri = args[:uri] if args.key?(:uri)
|
2764
|
+
end
|
2765
|
+
end
|
2766
|
+
|
2379
2767
|
# Volume describes a Docker container volume which is mounted into build steps
|
2380
2768
|
# in order to persist files across build step execution.
|
2381
2769
|
class Volume
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220928"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,18 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class BatchCreateGitLabConnectedRepositoriesResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class BitbucketServerConnectedRepository
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -130,6 +142,12 @@ module Google
|
|
130
142
|
include Google::Apis::Core::JsonObjectSupport
|
131
143
|
end
|
132
144
|
|
145
|
+
class CreateGitLabConfigOperationMetadata
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class CreateWorkerPoolOperationMetadata
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
@@ -148,6 +166,12 @@ module Google
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
168
|
|
169
|
+
class DeleteGitLabConfigOperationMetadata
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
151
175
|
class DeleteWorkerPoolOperationMetadata
|
152
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
177
|
|
@@ -172,6 +196,18 @@ module Google
|
|
172
196
|
include Google::Apis::Core::JsonObjectSupport
|
173
197
|
end
|
174
198
|
|
199
|
+
class GitLabConnectedRepository
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GitLabRepositoryId
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
175
211
|
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
176
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
213
|
|
@@ -202,6 +238,12 @@ module Google
|
|
202
238
|
include Google::Apis::Core::JsonObjectSupport
|
203
239
|
end
|
204
240
|
|
241
|
+
class MavenArtifact
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
205
247
|
class Network
|
206
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
249
|
|
@@ -268,6 +310,12 @@ module Google
|
|
268
310
|
include Google::Apis::Core::JsonObjectSupport
|
269
311
|
end
|
270
312
|
|
313
|
+
class PythonPackage
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
271
319
|
class RepoSource
|
272
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
321
|
|
@@ -364,12 +412,30 @@ module Google
|
|
364
412
|
include Google::Apis::Core::JsonObjectSupport
|
365
413
|
end
|
366
414
|
|
415
|
+
class UpdateGitLabConfigOperationMetadata
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
367
421
|
class UpdateWorkerPoolOperationMetadata
|
368
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
423
|
|
370
424
|
include Google::Apis::Core::JsonObjectSupport
|
371
425
|
end
|
372
426
|
|
427
|
+
class UploadedMavenArtifact
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class UploadedPythonPackage
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
373
439
|
class Volume
|
374
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
441
|
|
@@ -435,8 +501,12 @@ module Google
|
|
435
501
|
# @private
|
436
502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
503
|
collection :images, as: 'images'
|
504
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1alpha1::MavenArtifact, decorator: Google::Apis::CloudbuildV1alpha1::MavenArtifact::Representation
|
505
|
+
|
438
506
|
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1alpha1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1alpha1::ArtifactObjects::Representation
|
439
507
|
|
508
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha1::PythonPackage, decorator: Google::Apis::CloudbuildV1alpha1::PythonPackage::Representation
|
509
|
+
|
440
510
|
end
|
441
511
|
end
|
442
512
|
|
@@ -457,6 +527,23 @@ module Google
|
|
457
527
|
end
|
458
528
|
end
|
459
529
|
|
530
|
+
class BatchCreateGitLabConnectedRepositoriesResponse
|
531
|
+
# @private
|
532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
533
|
+
collection :gitlab_connected_repositories, as: 'gitlabConnectedRepositories', class: Google::Apis::CloudbuildV1alpha1::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1alpha1::GitLabConnectedRepository::Representation
|
534
|
+
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
539
|
+
# @private
|
540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
+
property :complete_time, as: 'completeTime'
|
542
|
+
property :config, as: 'config'
|
543
|
+
property :create_time, as: 'createTime'
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
460
547
|
class BitbucketServerConnectedRepository
|
461
548
|
# @private
|
462
549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -624,6 +711,15 @@ module Google
|
|
624
711
|
end
|
625
712
|
end
|
626
713
|
|
714
|
+
class CreateGitLabConfigOperationMetadata
|
715
|
+
# @private
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :complete_time, as: 'completeTime'
|
718
|
+
property :create_time, as: 'createTime'
|
719
|
+
property :gitlab_config, as: 'gitlabConfig'
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
627
723
|
class CreateWorkerPoolOperationMetadata
|
628
724
|
# @private
|
629
725
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -651,6 +747,15 @@ module Google
|
|
651
747
|
end
|
652
748
|
end
|
653
749
|
|
750
|
+
class DeleteGitLabConfigOperationMetadata
|
751
|
+
# @private
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
753
|
+
property :complete_time, as: 'completeTime'
|
754
|
+
property :create_time, as: 'createTime'
|
755
|
+
property :gitlab_config, as: 'gitlabConfig'
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
654
759
|
class DeleteWorkerPoolOperationMetadata
|
655
760
|
# @private
|
656
761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -682,6 +787,25 @@ module Google
|
|
682
787
|
end
|
683
788
|
end
|
684
789
|
|
790
|
+
class GitLabConnectedRepository
|
791
|
+
# @private
|
792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
793
|
+
property :parent, as: 'parent'
|
794
|
+
property :repo, as: 'repo', class: Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId::Representation
|
795
|
+
|
796
|
+
property :status, as: 'status', class: Google::Apis::CloudbuildV1alpha1::Status, decorator: Google::Apis::CloudbuildV1alpha1::Status::Representation
|
797
|
+
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
class GitLabRepositoryId
|
802
|
+
# @private
|
803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
804
|
+
property :id, as: 'id'
|
805
|
+
property :webhook_id, as: 'webhookId'
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
685
809
|
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
686
810
|
# @private
|
687
811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -726,6 +850,17 @@ module Google
|
|
726
850
|
end
|
727
851
|
end
|
728
852
|
|
853
|
+
class MavenArtifact
|
854
|
+
# @private
|
855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
856
|
+
property :artifact_id, as: 'artifactId'
|
857
|
+
property :group_id, as: 'groupId'
|
858
|
+
property :path, as: 'path'
|
859
|
+
property :repository, as: 'repository'
|
860
|
+
property :version, as: 'version'
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
729
864
|
class Network
|
730
865
|
# @private
|
731
866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -835,6 +970,14 @@ module Google
|
|
835
970
|
end
|
836
971
|
end
|
837
972
|
|
973
|
+
class PythonPackage
|
974
|
+
# @private
|
975
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
976
|
+
collection :paths, as: 'paths'
|
977
|
+
property :repository, as: 'repository'
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
838
981
|
class RepoSource
|
839
982
|
# @private
|
840
983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -859,7 +1002,11 @@ module Google
|
|
859
1002
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
860
1003
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1alpha1::BuiltImage, decorator: Google::Apis::CloudbuildV1alpha1::BuiltImage::Representation
|
861
1004
|
|
1005
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact::Representation
|
1006
|
+
|
862
1007
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
1008
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage::Representation
|
1009
|
+
|
863
1010
|
end
|
864
1011
|
end
|
865
1012
|
|
@@ -1002,6 +1149,15 @@ module Google
|
|
1002
1149
|
end
|
1003
1150
|
end
|
1004
1151
|
|
1152
|
+
class UpdateGitLabConfigOperationMetadata
|
1153
|
+
# @private
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1155
|
+
property :complete_time, as: 'completeTime'
|
1156
|
+
property :create_time, as: 'createTime'
|
1157
|
+
property :gitlab_config, as: 'gitlabConfig'
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1005
1161
|
class UpdateWorkerPoolOperationMetadata
|
1006
1162
|
# @private
|
1007
1163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1011,6 +1167,28 @@ module Google
|
|
1011
1167
|
end
|
1012
1168
|
end
|
1013
1169
|
|
1170
|
+
class UploadedMavenArtifact
|
1171
|
+
# @private
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1173
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
1174
|
+
|
1175
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
1176
|
+
|
1177
|
+
property :uri, as: 'uri'
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
class UploadedPythonPackage
|
1182
|
+
# @private
|
1183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1184
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
1185
|
+
|
1186
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
1187
|
+
|
1188
|
+
property :uri, as: 'uri'
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1014
1192
|
class Volume
|
1015
1193
|
# @private
|
1016
1194
|
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.28.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: 2022-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|