google-apis-cloudbuild_v1alpha2 0.25.0 → 0.27.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: c3d2d0feee5423bfea1e5b8a8e26688e8a943135ae5e6b529fd2efff353326d5
|
4
|
+
data.tar.gz: 46c5c36ae97aa2b270903f023999448fbdc11f747713bcf94ab047d25d4fbb74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 044a4dd3237d05e9414dcddc6a53d67437f36dbaed4634b3c6eb8d4fc72bc39512d1f61e41ec52ef0ccbf776bf5be5492f4349af30778858451f05abe2c22aba
|
7
|
+
data.tar.gz: acfc9c251bf6180b59ad4134949125239b1e4ec7d6ad21cfb1bd88aca3683a42acefe33aaa512019d156a0c0d03a2c5b3431d0b43b81e8bc349634b3a884131e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1alpha2
|
2
2
|
|
3
|
+
### v0.27.0 (2022-10-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220928
|
6
|
+
|
7
|
+
### v0.26.0 (2022-09-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220916
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.25.0 (2022-08-31)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220826
|
@@ -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::CloudbuildV1alpha2::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::CloudbuildV1alpha2::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::CloudbuildV1alpha2::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::CloudbuildV1alpha2::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::CloudbuildV1alpha2::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::CloudbuildV1alpha2::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 network configuration for a `WorkerPool`.
|
1326
1576
|
class NetworkConfig
|
1327
1577
|
include Google::Apis::Core::Hashable
|
@@ -1713,6 +1963,36 @@ module Google
|
|
1713
1963
|
end
|
1714
1964
|
end
|
1715
1965
|
|
1966
|
+
# Python package to upload to Artifact Registry upon successful completion of
|
1967
|
+
# all build steps. A package can encapsulate multiple objects to be uploaded to
|
1968
|
+
# a single repository.
|
1969
|
+
class PythonPackage
|
1970
|
+
include Google::Apis::Core::Hashable
|
1971
|
+
|
1972
|
+
# Path globs used to match files in the build's workspace. For Python/ Twine,
|
1973
|
+
# this is usually `dist/*`, and sometimes additionally an `.asc` file.
|
1974
|
+
# Corresponds to the JSON property `paths`
|
1975
|
+
# @return [Array<String>]
|
1976
|
+
attr_accessor :paths
|
1977
|
+
|
1978
|
+
# Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
|
1979
|
+
# PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
|
1980
|
+
# uploaded to Artifact Registry with this location as a prefix.
|
1981
|
+
# Corresponds to the JSON property `repository`
|
1982
|
+
# @return [String]
|
1983
|
+
attr_accessor :repository
|
1984
|
+
|
1985
|
+
def initialize(**args)
|
1986
|
+
update!(**args)
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
# Update properties of this object
|
1990
|
+
def update!(**args)
|
1991
|
+
@paths = args[:paths] if args.key?(:paths)
|
1992
|
+
@repository = args[:repository] if args.key?(:repository)
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1716
1996
|
# Location of the source in a Google Cloud Source Repository.
|
1717
1997
|
class RepoSource
|
1718
1998
|
include Google::Apis::Core::Hashable
|
@@ -1815,11 +2095,21 @@ module Google
|
|
1815
2095
|
# @return [Array<Google::Apis::CloudbuildV1alpha2::BuiltImage>]
|
1816
2096
|
attr_accessor :images
|
1817
2097
|
|
2098
|
+
# Maven artifacts uploaded to Artifact Registry at the end of the build.
|
2099
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
2100
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::UploadedMavenArtifact>]
|
2101
|
+
attr_accessor :maven_artifacts
|
2102
|
+
|
1818
2103
|
# Number of artifacts uploaded. Only populated when artifacts are uploaded.
|
1819
2104
|
# Corresponds to the JSON property `numArtifacts`
|
1820
2105
|
# @return [Fixnum]
|
1821
2106
|
attr_accessor :num_artifacts
|
1822
2107
|
|
2108
|
+
# Python artifacts uploaded to Artifact Registry at the end of the build.
|
2109
|
+
# Corresponds to the JSON property `pythonPackages`
|
2110
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::UploadedPythonPackage>]
|
2111
|
+
attr_accessor :python_packages
|
2112
|
+
|
1823
2113
|
def initialize(**args)
|
1824
2114
|
update!(**args)
|
1825
2115
|
end
|
@@ -1831,7 +2121,9 @@ module Google
|
|
1831
2121
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
1832
2122
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
1833
2123
|
@images = args[:images] if args.key?(:images)
|
2124
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
1834
2125
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
2126
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
1835
2127
|
end
|
1836
2128
|
end
|
1837
2129
|
|
@@ -2331,6 +2623,38 @@ module Google
|
|
2331
2623
|
end
|
2332
2624
|
end
|
2333
2625
|
|
2626
|
+
# Metadata for `UpdateGitLabConfig` operation.
|
2627
|
+
class UpdateGitLabConfigOperationMetadata
|
2628
|
+
include Google::Apis::Core::Hashable
|
2629
|
+
|
2630
|
+
# Time the operation was completed.
|
2631
|
+
# Corresponds to the JSON property `completeTime`
|
2632
|
+
# @return [String]
|
2633
|
+
attr_accessor :complete_time
|
2634
|
+
|
2635
|
+
# Time the operation was created.
|
2636
|
+
# Corresponds to the JSON property `createTime`
|
2637
|
+
# @return [String]
|
2638
|
+
attr_accessor :create_time
|
2639
|
+
|
2640
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
2641
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
2642
|
+
# Corresponds to the JSON property `gitlabConfig`
|
2643
|
+
# @return [String]
|
2644
|
+
attr_accessor :gitlab_config
|
2645
|
+
|
2646
|
+
def initialize(**args)
|
2647
|
+
update!(**args)
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
# Update properties of this object
|
2651
|
+
def update!(**args)
|
2652
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2653
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2654
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
2655
|
+
end
|
2656
|
+
end
|
2657
|
+
|
2334
2658
|
# Metadata for the `UpdateWorkerPool` operation.
|
2335
2659
|
class UpdateWorkerPoolOperationMetadata
|
2336
2660
|
include Google::Apis::Core::Hashable
|
@@ -2363,6 +2687,70 @@ module Google
|
|
2363
2687
|
end
|
2364
2688
|
end
|
2365
2689
|
|
2690
|
+
# A Maven artifact uploaded using the MavenArtifact directive.
|
2691
|
+
class UploadedMavenArtifact
|
2692
|
+
include Google::Apis::Core::Hashable
|
2693
|
+
|
2694
|
+
# Container message for hashes of byte content of files, used in
|
2695
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2696
|
+
# Corresponds to the JSON property `fileHashes`
|
2697
|
+
# @return [Google::Apis::CloudbuildV1alpha2::FileHashes]
|
2698
|
+
attr_accessor :file_hashes
|
2699
|
+
|
2700
|
+
# Start and end times for a build execution phase.
|
2701
|
+
# Corresponds to the JSON property `pushTiming`
|
2702
|
+
# @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
|
2703
|
+
attr_accessor :push_timing
|
2704
|
+
|
2705
|
+
# URI of the uploaded artifact.
|
2706
|
+
# Corresponds to the JSON property `uri`
|
2707
|
+
# @return [String]
|
2708
|
+
attr_accessor :uri
|
2709
|
+
|
2710
|
+
def initialize(**args)
|
2711
|
+
update!(**args)
|
2712
|
+
end
|
2713
|
+
|
2714
|
+
# Update properties of this object
|
2715
|
+
def update!(**args)
|
2716
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2717
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2718
|
+
@uri = args[:uri] if args.key?(:uri)
|
2719
|
+
end
|
2720
|
+
end
|
2721
|
+
|
2722
|
+
# Artifact uploaded using the PythonPackage directive.
|
2723
|
+
class UploadedPythonPackage
|
2724
|
+
include Google::Apis::Core::Hashable
|
2725
|
+
|
2726
|
+
# Container message for hashes of byte content of files, used in
|
2727
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2728
|
+
# Corresponds to the JSON property `fileHashes`
|
2729
|
+
# @return [Google::Apis::CloudbuildV1alpha2::FileHashes]
|
2730
|
+
attr_accessor :file_hashes
|
2731
|
+
|
2732
|
+
# Start and end times for a build execution phase.
|
2733
|
+
# Corresponds to the JSON property `pushTiming`
|
2734
|
+
# @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
|
2735
|
+
attr_accessor :push_timing
|
2736
|
+
|
2737
|
+
# URI of the uploaded artifact.
|
2738
|
+
# Corresponds to the JSON property `uri`
|
2739
|
+
# @return [String]
|
2740
|
+
attr_accessor :uri
|
2741
|
+
|
2742
|
+
def initialize(**args)
|
2743
|
+
update!(**args)
|
2744
|
+
end
|
2745
|
+
|
2746
|
+
# Update properties of this object
|
2747
|
+
def update!(**args)
|
2748
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2749
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2750
|
+
@uri = args[:uri] if args.key?(:uri)
|
2751
|
+
end
|
2752
|
+
end
|
2753
|
+
|
2366
2754
|
# Volume describes a Docker container volume which is mounted into build steps
|
2367
2755
|
# in order to persist files across build step execution.
|
2368
2756
|
class Volume
|
@@ -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.27.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 NetworkConfig
|
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::CloudbuildV1alpha2::MavenArtifact, decorator: Google::Apis::CloudbuildV1alpha2::MavenArtifact::Representation
|
505
|
+
|
438
506
|
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1alpha2::ArtifactObjects, decorator: Google::Apis::CloudbuildV1alpha2::ArtifactObjects::Representation
|
439
507
|
|
508
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha2::PythonPackage, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1alpha2::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::CloudbuildV1alpha2::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1alpha2::GitLabRepositoryId::Representation
|
795
|
+
|
796
|
+
property :status, as: 'status', class: Google::Apis::CloudbuildV1alpha2::Status, decorator: Google::Apis::CloudbuildV1alpha2::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 NetworkConfig
|
730
865
|
# @private
|
731
866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -833,6 +968,14 @@ module Google
|
|
833
968
|
end
|
834
969
|
end
|
835
970
|
|
971
|
+
class PythonPackage
|
972
|
+
# @private
|
973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
974
|
+
collection :paths, as: 'paths'
|
975
|
+
property :repository, as: 'repository'
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
836
979
|
class RepoSource
|
837
980
|
# @private
|
838
981
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -857,7 +1000,11 @@ module Google
|
|
857
1000
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
858
1001
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1alpha2::BuiltImage, decorator: Google::Apis::CloudbuildV1alpha2::BuiltImage::Representation
|
859
1002
|
|
1003
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1alpha2::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1alpha2::UploadedMavenArtifact::Representation
|
1004
|
+
|
860
1005
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
1006
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha2::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1alpha2::UploadedPythonPackage::Representation
|
1007
|
+
|
861
1008
|
end
|
862
1009
|
end
|
863
1010
|
|
@@ -1000,6 +1147,15 @@ module Google
|
|
1000
1147
|
end
|
1001
1148
|
end
|
1002
1149
|
|
1150
|
+
class UpdateGitLabConfigOperationMetadata
|
1151
|
+
# @private
|
1152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1153
|
+
property :complete_time, as: 'completeTime'
|
1154
|
+
property :create_time, as: 'createTime'
|
1155
|
+
property :gitlab_config, as: 'gitlabConfig'
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1003
1159
|
class UpdateWorkerPoolOperationMetadata
|
1004
1160
|
# @private
|
1005
1161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1009,6 +1165,28 @@ module Google
|
|
1009
1165
|
end
|
1010
1166
|
end
|
1011
1167
|
|
1168
|
+
class UploadedMavenArtifact
|
1169
|
+
# @private
|
1170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1171
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha2::FileHashes, decorator: Google::Apis::CloudbuildV1alpha2::FileHashes::Representation
|
1172
|
+
|
1173
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
|
1174
|
+
|
1175
|
+
property :uri, as: 'uri'
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
class UploadedPythonPackage
|
1180
|
+
# @private
|
1181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1182
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha2::FileHashes, decorator: Google::Apis::CloudbuildV1alpha2::FileHashes::Representation
|
1183
|
+
|
1184
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
|
1185
|
+
|
1186
|
+
property :uri, as: 'uri'
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1012
1190
|
class Volume
|
1013
1191
|
# @private
|
1014
1192
|
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.27.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:
|
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:
|
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_v1alpha2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|