google-apis-cloudbuild_v1 0.79.0 → 0.81.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudbuild_v1/classes.rb +231 -26
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudbuild_v1/representations.rb +86 -0
- data/lib/google/apis/cloudbuild_v1/service.rb +97 -55
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 895cfe362b9c40885e37d46ea4dc9a3846738f3c80b63f53b9edb74340dc800b
|
|
4
|
+
data.tar.gz: 23a8ff58f9ee5844cdc282a2fac17285621f59a84ef5ea527147b897da6a2768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 344d00b3ec2bc9f26a4ad3895591f2edb047b4b7288166fd2d175eff2f0c1ad570ff41e648525500d8ccaf3a0db8081fbdd57e211248de3ce934b650f8697689
|
|
7
|
+
data.tar.gz: 6cb766cfe00a814b4f00b22dfbfddd248748d941a5a97b1b259625c18fec42f434c59a1915b086a7a0a609e16a4172116d1b87f0ba4a44b021ac6aa5fb1cd096
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
|
2
2
|
|
|
3
|
+
### v0.81.0 (2026-07-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260627
|
|
6
|
+
|
|
7
|
+
### v0.80.0 (2026-06-10)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260511
|
|
10
|
+
* Regenerated using generator version 0.19.0
|
|
11
|
+
|
|
3
12
|
### v0.79.0 (2026-03-15)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260309
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/cloud-build/docs/) may prov
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -178,6 +178,13 @@ module Google
|
|
|
178
178
|
class Artifacts
|
|
179
179
|
include Google::Apis::Core::Hashable
|
|
180
180
|
|
|
181
|
+
# Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
|
|
182
|
+
# successful completion of all build steps. If any artifacts fail to be pushed,
|
|
183
|
+
# the build is marked FAILURE.
|
|
184
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
185
|
+
# @return [Array<Google::Apis::CloudbuildV1::GenericArtifact>]
|
|
186
|
+
attr_accessor :generic_artifacts
|
|
187
|
+
|
|
181
188
|
# Optional. A list of Go modules to be uploaded to Artifact Registry upon
|
|
182
189
|
# successful completion of all build steps. If any objects fail to be pushed,
|
|
183
190
|
# the build is marked FAILURE.
|
|
@@ -241,6 +248,7 @@ module Google
|
|
|
241
248
|
|
|
242
249
|
# Update properties of this object
|
|
243
250
|
def update!(**args)
|
|
251
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
244
252
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
245
253
|
@images = args[:images] if args.key?(:images)
|
|
246
254
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -324,8 +332,8 @@ module Google
|
|
|
324
332
|
end
|
|
325
333
|
end
|
|
326
334
|
|
|
327
|
-
#
|
|
328
|
-
# method.
|
|
335
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
336
|
+
# accepted by BatchCreateGitLabConnectedRepositories RPC method.
|
|
329
337
|
class BatchCreateGitLabConnectedRepositoriesRequest
|
|
330
338
|
include Google::Apis::Core::Hashable
|
|
331
339
|
|
|
@@ -344,7 +352,8 @@ module Google
|
|
|
344
352
|
end
|
|
345
353
|
end
|
|
346
354
|
|
|
347
|
-
#
|
|
355
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Response of
|
|
356
|
+
# BatchCreateGitLabConnectedRepositories RPC method.
|
|
348
357
|
class BatchCreateGitLabConnectedRepositoriesResponse
|
|
349
358
|
include Google::Apis::Core::Hashable
|
|
350
359
|
|
|
@@ -363,7 +372,8 @@ module Google
|
|
|
363
372
|
end
|
|
364
373
|
end
|
|
365
374
|
|
|
366
|
-
# Metadata for `
|
|
375
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
376
|
+
# BatchCreateGitLabConnectedRepositories` operation.
|
|
367
377
|
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
|
368
378
|
include Google::Apis::Core::Hashable
|
|
369
379
|
|
|
@@ -423,7 +433,7 @@ module Google
|
|
|
423
433
|
# @return [String]
|
|
424
434
|
attr_accessor :host_uri
|
|
425
435
|
|
|
426
|
-
# The resource name for the config.
|
|
436
|
+
# Identifier. The resource name for the config.
|
|
427
437
|
# Corresponds to the JSON property `name`
|
|
428
438
|
# @return [String]
|
|
429
439
|
attr_accessor :name
|
|
@@ -1234,6 +1244,11 @@ module Google
|
|
|
1234
1244
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
|
1235
1245
|
attr_accessor :pull_timing
|
|
1236
1246
|
|
|
1247
|
+
# Declaration of results for this build step.
|
|
1248
|
+
# Corresponds to the JSON property `results`
|
|
1249
|
+
# @return [Array<Google::Apis::CloudbuildV1::StepResult>]
|
|
1250
|
+
attr_accessor :results
|
|
1251
|
+
|
|
1237
1252
|
# A shell script to be executed in the step. When script is provided, the user
|
|
1238
1253
|
# cannot specify the entrypoint or args.
|
|
1239
1254
|
# Corresponds to the JSON property `script`
|
|
@@ -1300,6 +1315,7 @@ module Google
|
|
|
1300
1315
|
@id = args[:id] if args.key?(:id)
|
|
1301
1316
|
@name = args[:name] if args.key?(:name)
|
|
1302
1317
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
|
1318
|
+
@results = args[:results] if args.key?(:results)
|
|
1303
1319
|
@script = args[:script] if args.key?(:script)
|
|
1304
1320
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
1305
1321
|
@status = args[:status] if args.key?(:status)
|
|
@@ -1310,6 +1326,25 @@ module Google
|
|
|
1310
1326
|
end
|
|
1311
1327
|
end
|
|
1312
1328
|
|
|
1329
|
+
# Results for a build step.
|
|
1330
|
+
class BuildStepResults
|
|
1331
|
+
include Google::Apis::Core::Hashable
|
|
1332
|
+
|
|
1333
|
+
# Results for a build step.
|
|
1334
|
+
# Corresponds to the JSON property `results`
|
|
1335
|
+
# @return [Hash<String,String>]
|
|
1336
|
+
attr_accessor :results
|
|
1337
|
+
|
|
1338
|
+
def initialize(**args)
|
|
1339
|
+
update!(**args)
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
# Update properties of this object
|
|
1343
|
+
def update!(**args)
|
|
1344
|
+
@results = args[:results] if args.key?(:results)
|
|
1345
|
+
end
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1313
1348
|
# Configuration for an automated build in response to source repository changes.
|
|
1314
1349
|
class BuildTrigger
|
|
1315
1350
|
include Google::Apis::Core::Hashable
|
|
@@ -1400,8 +1435,9 @@ module Google
|
|
|
1400
1435
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
|
1401
1436
|
attr_accessor :github
|
|
1402
1437
|
|
|
1403
|
-
#
|
|
1404
|
-
#
|
|
1438
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabEventsConfig
|
|
1439
|
+
# describes the configuration of a trigger that creates a build whenever a
|
|
1440
|
+
# GitLab event is received.
|
|
1405
1441
|
# Corresponds to the JSON property `gitlabEnterpriseEventsConfig`
|
|
1406
1442
|
# @return [Google::Apis::CloudbuildV1::GitLabEventsConfig]
|
|
1407
1443
|
attr_accessor :gitlab_enterprise_events_config
|
|
@@ -1755,7 +1791,8 @@ module Google
|
|
|
1755
1791
|
end
|
|
1756
1792
|
end
|
|
1757
1793
|
|
|
1758
|
-
# Metadata for `
|
|
1794
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1795
|
+
# CreateGitLabConfig` operation.
|
|
1759
1796
|
class CreateGitLabConfigOperationMetadata
|
|
1760
1797
|
include Google::Apis::Core::Hashable
|
|
1761
1798
|
|
|
@@ -1787,10 +1824,12 @@ module Google
|
|
|
1787
1824
|
end
|
|
1788
1825
|
end
|
|
1789
1826
|
|
|
1790
|
-
#
|
|
1827
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Request to connect
|
|
1828
|
+
# a repository from a connected GitLab host.
|
|
1791
1829
|
class CreateGitLabConnectedRepositoryRequest
|
|
1792
1830
|
include Google::Apis::Core::Hashable
|
|
1793
1831
|
|
|
1832
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
1794
1833
|
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
1795
1834
|
# response.
|
|
1796
1835
|
# Corresponds to the JSON property `gitlabConnectedRepository`
|
|
@@ -1942,7 +1981,8 @@ module Google
|
|
|
1942
1981
|
end
|
|
1943
1982
|
end
|
|
1944
1983
|
|
|
1945
|
-
# Metadata for `
|
|
1984
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1985
|
+
# DeleteGitLabConfig` operation.
|
|
1946
1986
|
class DeleteGitLabConfigOperationMetadata
|
|
1947
1987
|
include Google::Apis::Core::Hashable
|
|
1948
1988
|
|
|
@@ -2018,6 +2058,11 @@ module Google
|
|
|
2018
2058
|
attr_accessor :empty
|
|
2019
2059
|
alias_method :empty?, :empty
|
|
2020
2060
|
|
|
2061
|
+
# Represents a generic artifact as a build dependency.
|
|
2062
|
+
# Corresponds to the JSON property `genericArtifact`
|
|
2063
|
+
# @return [Google::Apis::CloudbuildV1::GenericArtifactDependency]
|
|
2064
|
+
attr_accessor :generic_artifact
|
|
2065
|
+
|
|
2021
2066
|
# Represents a git repository as a build dependency.
|
|
2022
2067
|
# Corresponds to the JSON property `gitSource`
|
|
2023
2068
|
# @return [Google::Apis::CloudbuildV1::GitSourceDependency]
|
|
@@ -2030,6 +2075,7 @@ module Google
|
|
|
2030
2075
|
# Update properties of this object
|
|
2031
2076
|
def update!(**args)
|
|
2032
2077
|
@empty = args[:empty] if args.key?(:empty)
|
|
2078
|
+
@generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
|
|
2033
2079
|
@git_source = args[:git_source] if args.key?(:git_source)
|
|
2034
2080
|
end
|
|
2035
2081
|
end
|
|
@@ -2167,6 +2213,61 @@ module Google
|
|
|
2167
2213
|
end
|
|
2168
2214
|
end
|
|
2169
2215
|
|
|
2216
|
+
# Generic artifact to upload to Artifact Registry upon successful completion of
|
|
2217
|
+
# all build steps.
|
|
2218
|
+
class GenericArtifact
|
|
2219
|
+
include Google::Apis::Core::Hashable
|
|
2220
|
+
|
|
2221
|
+
# Required. Path to the generic artifact in the build's workspace to be uploaded
|
|
2222
|
+
# to Artifact Registry.
|
|
2223
|
+
# Corresponds to the JSON property `folder`
|
|
2224
|
+
# @return [String]
|
|
2225
|
+
attr_accessor :folder
|
|
2226
|
+
|
|
2227
|
+
# Required. Registry path to upload the generic artifact to, in the form
|
|
2228
|
+
# projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
|
|
2229
|
+
# versions/$VERSION
|
|
2230
|
+
# Corresponds to the JSON property `registryPath`
|
|
2231
|
+
# @return [String]
|
|
2232
|
+
attr_accessor :registry_path
|
|
2233
|
+
|
|
2234
|
+
def initialize(**args)
|
|
2235
|
+
update!(**args)
|
|
2236
|
+
end
|
|
2237
|
+
|
|
2238
|
+
# Update properties of this object
|
|
2239
|
+
def update!(**args)
|
|
2240
|
+
@folder = args[:folder] if args.key?(:folder)
|
|
2241
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# Represents a generic artifact as a build dependency.
|
|
2246
|
+
class GenericArtifactDependency
|
|
2247
|
+
include Google::Apis::Core::Hashable
|
|
2248
|
+
|
|
2249
|
+
# Required. Where the artifact files should be placed on the worker.
|
|
2250
|
+
# Corresponds to the JSON property `destPath`
|
|
2251
|
+
# @return [String]
|
|
2252
|
+
attr_accessor :dest_path
|
|
2253
|
+
|
|
2254
|
+
# Required. The location to download the artifact files from. Ex: projects/p1/
|
|
2255
|
+
# locations/us/repositories/r1/packages/p1/versions/v1
|
|
2256
|
+
# Corresponds to the JSON property `resource`
|
|
2257
|
+
# @return [String]
|
|
2258
|
+
attr_accessor :resource
|
|
2259
|
+
|
|
2260
|
+
def initialize(**args)
|
|
2261
|
+
update!(**args)
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
# Update properties of this object
|
|
2265
|
+
def update!(**args)
|
|
2266
|
+
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2267
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
2268
|
+
end
|
|
2269
|
+
end
|
|
2270
|
+
|
|
2170
2271
|
# GitConfig is a configuration for git operations.
|
|
2171
2272
|
class GitConfig
|
|
2172
2273
|
include Google::Apis::Core::Hashable
|
|
@@ -2279,8 +2380,9 @@ module Google
|
|
|
2279
2380
|
# @return [String]
|
|
2280
2381
|
attr_accessor :host_url
|
|
2281
2382
|
|
|
2282
|
-
# The full resource name for the GitHubEnterpriseConfig For example:
|
|
2283
|
-
# project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
2383
|
+
# Identifier. The full resource name for the GitHubEnterpriseConfig For example:
|
|
2384
|
+
# "projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
2385
|
+
# config_id`"
|
|
2284
2386
|
# Corresponds to the JSON property `name`
|
|
2285
2387
|
# @return [String]
|
|
2286
2388
|
attr_accessor :name
|
|
@@ -2448,7 +2550,8 @@ module Google
|
|
|
2448
2550
|
end
|
|
2449
2551
|
end
|
|
2450
2552
|
|
|
2451
|
-
#
|
|
2553
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2554
|
+
# represents the configuration for a GitLab integration.
|
|
2452
2555
|
class GitLabConfig
|
|
2453
2556
|
include Google::Apis::Core::Hashable
|
|
2454
2557
|
|
|
@@ -2462,19 +2565,20 @@ module Google
|
|
|
2462
2565
|
# @return [String]
|
|
2463
2566
|
attr_accessor :create_time
|
|
2464
2567
|
|
|
2568
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2465
2569
|
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2466
2570
|
# integration.
|
|
2467
2571
|
# Corresponds to the JSON property `enterpriseConfig`
|
|
2468
2572
|
# @return [Google::Apis::CloudbuildV1::GitLabEnterpriseConfig]
|
|
2469
2573
|
attr_accessor :enterprise_config
|
|
2470
2574
|
|
|
2471
|
-
# The resource name for the config.
|
|
2575
|
+
# Identifier. The resource name for the config.
|
|
2472
2576
|
# Corresponds to the JSON property `name`
|
|
2473
2577
|
# @return [String]
|
|
2474
2578
|
attr_accessor :name
|
|
2475
2579
|
|
|
2476
|
-
#
|
|
2477
|
-
# integration.
|
|
2580
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2581
|
+
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2478
2582
|
# Corresponds to the JSON property `secrets`
|
|
2479
2583
|
# @return [Google::Apis::CloudbuildV1::GitLabSecrets]
|
|
2480
2584
|
attr_accessor :secrets
|
|
@@ -2506,6 +2610,7 @@ module Google
|
|
|
2506
2610
|
end
|
|
2507
2611
|
end
|
|
2508
2612
|
|
|
2613
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2509
2614
|
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
2510
2615
|
# response.
|
|
2511
2616
|
class GitLabConnectedRepository
|
|
@@ -2545,6 +2650,7 @@ module Google
|
|
|
2545
2650
|
end
|
|
2546
2651
|
end
|
|
2547
2652
|
|
|
2653
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2548
2654
|
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2549
2655
|
# integration.
|
|
2550
2656
|
class GitLabEnterpriseConfig
|
|
@@ -2555,6 +2661,7 @@ module Google
|
|
|
2555
2661
|
# @return [String]
|
|
2556
2662
|
attr_accessor :host_uri
|
|
2557
2663
|
|
|
2664
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2558
2665
|
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
2559
2666
|
# host connection.
|
|
2560
2667
|
# Corresponds to the JSON property `serviceDirectoryConfig`
|
|
@@ -2578,12 +2685,14 @@ module Google
|
|
|
2578
2685
|
end
|
|
2579
2686
|
end
|
|
2580
2687
|
|
|
2581
|
-
#
|
|
2582
|
-
#
|
|
2688
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabEventsConfig
|
|
2689
|
+
# describes the configuration of a trigger that creates a build whenever a
|
|
2690
|
+
# GitLab event is received.
|
|
2583
2691
|
class GitLabEventsConfig
|
|
2584
2692
|
include Google::Apis::Core::Hashable
|
|
2585
2693
|
|
|
2586
|
-
#
|
|
2694
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2695
|
+
# represents the configuration for a GitLab integration.
|
|
2587
2696
|
# Corresponds to the JSON property `gitlabConfig`
|
|
2588
2697
|
# @return [Google::Apis::CloudbuildV1::GitLabConfig]
|
|
2589
2698
|
attr_accessor :gitlab_config
|
|
@@ -2622,7 +2731,8 @@ module Google
|
|
|
2622
2731
|
end
|
|
2623
2732
|
end
|
|
2624
2733
|
|
|
2625
|
-
# Proto Representing
|
|
2734
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Proto Representing
|
|
2735
|
+
# a GitLabRepository
|
|
2626
2736
|
class GitLabRepository
|
|
2627
2737
|
include Google::Apis::Core::Hashable
|
|
2628
2738
|
|
|
@@ -2694,8 +2804,8 @@ module Google
|
|
|
2694
2804
|
end
|
|
2695
2805
|
end
|
|
2696
2806
|
|
|
2697
|
-
#
|
|
2698
|
-
# integration.
|
|
2807
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2808
|
+
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2699
2809
|
class GitLabSecrets
|
|
2700
2810
|
include Google::Apis::Core::Hashable
|
|
2701
2811
|
|
|
@@ -3188,7 +3298,8 @@ module Google
|
|
|
3188
3298
|
end
|
|
3189
3299
|
end
|
|
3190
3300
|
|
|
3191
|
-
#
|
|
3301
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3302
|
+
# object returned by ListGitLabConfigs RPC method.
|
|
3192
3303
|
class ListGitLabConfigsResponse
|
|
3193
3304
|
include Google::Apis::Core::Hashable
|
|
3194
3305
|
|
|
@@ -3214,7 +3325,8 @@ module Google
|
|
|
3214
3325
|
end
|
|
3215
3326
|
end
|
|
3216
3327
|
|
|
3217
|
-
#
|
|
3328
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3329
|
+
# object returned by the ListGitLabRepositories RPC method.
|
|
3218
3330
|
class ListGitLabRepositoriesResponse
|
|
3219
3331
|
include Google::Apis::Core::Hashable
|
|
3220
3332
|
|
|
@@ -3885,7 +3997,8 @@ module Google
|
|
|
3885
3997
|
end
|
|
3886
3998
|
end
|
|
3887
3999
|
|
|
3888
|
-
#
|
|
4000
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
4001
|
+
# accepted by RemoveGitLabConnectedRepository RPC method.
|
|
3889
4002
|
class RemoveGitLabConnectedRepositoryRequest
|
|
3890
4003
|
include Google::Apis::Core::Hashable
|
|
3891
4004
|
|
|
@@ -4043,6 +4156,17 @@ module Google
|
|
|
4043
4156
|
# @return [Array<String>]
|
|
4044
4157
|
attr_accessor :build_step_outputs
|
|
4045
4158
|
|
|
4159
|
+
# Results for build steps. step_id ->
|
|
4160
|
+
# Corresponds to the JSON property `buildStepResults`
|
|
4161
|
+
# @return [Hash<String,Google::Apis::CloudbuildV1::BuildStepResults>]
|
|
4162
|
+
attr_accessor :build_step_results
|
|
4163
|
+
|
|
4164
|
+
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
|
|
4165
|
+
# build.
|
|
4166
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
4167
|
+
# @return [Array<Google::Apis::CloudbuildV1::UploadedGenericArtifact>]
|
|
4168
|
+
attr_accessor :generic_artifacts
|
|
4169
|
+
|
|
4046
4170
|
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
|
|
4047
4171
|
# build.
|
|
4048
4172
|
# Corresponds to the JSON property `goModules`
|
|
@@ -4085,6 +4209,8 @@ module Google
|
|
|
4085
4209
|
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
|
|
4086
4210
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
|
4087
4211
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
|
4212
|
+
@build_step_results = args[:build_step_results] if args.key?(:build_step_results)
|
|
4213
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
4088
4214
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
4089
4215
|
@images = args[:images] if args.key?(:images)
|
|
4090
4216
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -4241,6 +4367,7 @@ module Google
|
|
|
4241
4367
|
end
|
|
4242
4368
|
end
|
|
4243
4369
|
|
|
4370
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
4244
4371
|
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
4245
4372
|
# host connection.
|
|
4246
4373
|
class ServiceDirectoryConfig
|
|
@@ -4410,6 +4537,37 @@ module Google
|
|
|
4410
4537
|
end
|
|
4411
4538
|
end
|
|
4412
4539
|
|
|
4540
|
+
# StepResult is the declaration of a result for a build step.
|
|
4541
|
+
class StepResult
|
|
4542
|
+
include Google::Apis::Core::Hashable
|
|
4543
|
+
|
|
4544
|
+
# Optional. The content of the attestation to be generated.
|
|
4545
|
+
# Corresponds to the JSON property `attestationContent`
|
|
4546
|
+
# @return [String]
|
|
4547
|
+
attr_accessor :attestation_content
|
|
4548
|
+
|
|
4549
|
+
# Optional. The type of attestation to be generated.
|
|
4550
|
+
# Corresponds to the JSON property `attestationType`
|
|
4551
|
+
# @return [String]
|
|
4552
|
+
attr_accessor :attestation_type
|
|
4553
|
+
|
|
4554
|
+
# Required. The name of the result.
|
|
4555
|
+
# Corresponds to the JSON property `name`
|
|
4556
|
+
# @return [String]
|
|
4557
|
+
attr_accessor :name
|
|
4558
|
+
|
|
4559
|
+
def initialize(**args)
|
|
4560
|
+
update!(**args)
|
|
4561
|
+
end
|
|
4562
|
+
|
|
4563
|
+
# Update properties of this object
|
|
4564
|
+
def update!(**args)
|
|
4565
|
+
@attestation_content = args[:attestation_content] if args.key?(:attestation_content)
|
|
4566
|
+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
|
|
4567
|
+
@name = args[:name] if args.key?(:name)
|
|
4568
|
+
end
|
|
4569
|
+
end
|
|
4570
|
+
|
|
4413
4571
|
# Location of the source in an archive file in Cloud Storage.
|
|
4414
4572
|
class StorageSource
|
|
4415
4573
|
include Google::Apis::Core::Hashable
|
|
@@ -4576,7 +4734,8 @@ module Google
|
|
|
4576
4734
|
end
|
|
4577
4735
|
end
|
|
4578
4736
|
|
|
4579
|
-
# Metadata for `
|
|
4737
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
4738
|
+
# UpdateGitLabConfig` operation.
|
|
4580
4739
|
class UpdateGitLabConfigOperationMetadata
|
|
4581
4740
|
include Google::Apis::Core::Hashable
|
|
4582
4741
|
|
|
@@ -4640,6 +4799,52 @@ module Google
|
|
|
4640
4799
|
end
|
|
4641
4800
|
end
|
|
4642
4801
|
|
|
4802
|
+
# A generic artifact uploaded to Artifact Registry using the GenericArtifact
|
|
4803
|
+
# directive.
|
|
4804
|
+
class UploadedGenericArtifact
|
|
4805
|
+
include Google::Apis::Core::Hashable
|
|
4806
|
+
|
|
4807
|
+
# Container message for hashes of byte content of files, used in
|
|
4808
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
|
4809
|
+
# Corresponds to the JSON property `artifactFingerprint`
|
|
4810
|
+
# @return [Google::Apis::CloudbuildV1::FileHashes]
|
|
4811
|
+
attr_accessor :artifact_fingerprint
|
|
4812
|
+
|
|
4813
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
4814
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
4815
|
+
# @return [String]
|
|
4816
|
+
attr_accessor :artifact_registry_package
|
|
4817
|
+
|
|
4818
|
+
# Output only. The file hashes that make up the generic artifact.
|
|
4819
|
+
# Corresponds to the JSON property `fileHashes`
|
|
4820
|
+
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
|
4821
|
+
attr_accessor :file_hashes
|
|
4822
|
+
|
|
4823
|
+
# Start and end times for a build execution phase.
|
|
4824
|
+
# Corresponds to the JSON property `pushTiming`
|
|
4825
|
+
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
|
4826
|
+
attr_accessor :push_timing
|
|
4827
|
+
|
|
4828
|
+
# Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
|
|
4829
|
+
# repositories/r1/packages/p1/versions/v1
|
|
4830
|
+
# Corresponds to the JSON property `uri`
|
|
4831
|
+
# @return [String]
|
|
4832
|
+
attr_accessor :uri
|
|
4833
|
+
|
|
4834
|
+
def initialize(**args)
|
|
4835
|
+
update!(**args)
|
|
4836
|
+
end
|
|
4837
|
+
|
|
4838
|
+
# Update properties of this object
|
|
4839
|
+
def update!(**args)
|
|
4840
|
+
@artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
|
|
4841
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
4842
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
4843
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
4844
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
4845
|
+
end
|
|
4846
|
+
end
|
|
4847
|
+
|
|
4643
4848
|
# A Go module artifact uploaded to Artifact Registry using the GoModule
|
|
4644
4849
|
# directive.
|
|
4645
4850
|
class UploadedGoModule
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudbuildV1
|
|
18
18
|
# Version of the google-apis-cloudbuild_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.81.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260627"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -160,6 +160,12 @@ module Google
|
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
+
class BuildStepResults
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
163
169
|
class BuildTrigger
|
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
171
|
|
|
@@ -292,6 +298,18 @@ module Google
|
|
|
292
298
|
include Google::Apis::Core::JsonObjectSupport
|
|
293
299
|
end
|
|
294
300
|
|
|
301
|
+
class GenericArtifact
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class GenericArtifactDependency
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
295
313
|
class GitConfig
|
|
296
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
315
|
|
|
@@ -640,6 +658,12 @@ module Google
|
|
|
640
658
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
659
|
end
|
|
642
660
|
|
|
661
|
+
class StepResult
|
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
|
+
|
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
665
|
+
end
|
|
666
|
+
|
|
643
667
|
class StorageSource
|
|
644
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
669
|
|
|
@@ -682,6 +706,12 @@ module Google
|
|
|
682
706
|
include Google::Apis::Core::JsonObjectSupport
|
|
683
707
|
end
|
|
684
708
|
|
|
709
|
+
class UploadedGenericArtifact
|
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
|
+
|
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
713
|
+
end
|
|
714
|
+
|
|
685
715
|
class UploadedGoModule
|
|
686
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
717
|
|
|
@@ -784,6 +814,8 @@ module Google
|
|
|
784
814
|
class Artifacts
|
|
785
815
|
# @private
|
|
786
816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
817
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::CloudbuildV1::GenericArtifact, decorator: Google::Apis::CloudbuildV1::GenericArtifact::Representation
|
|
818
|
+
|
|
787
819
|
collection :go_modules, as: 'goModules', class: Google::Apis::CloudbuildV1::GoModule, decorator: Google::Apis::CloudbuildV1::GoModule::Representation
|
|
788
820
|
|
|
789
821
|
collection :images, as: 'images'
|
|
@@ -1035,6 +1067,8 @@ module Google
|
|
|
1035
1067
|
property :name, as: 'name'
|
|
1036
1068
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
|
|
1037
1069
|
|
|
1070
|
+
collection :results, as: 'results', class: Google::Apis::CloudbuildV1::StepResult, decorator: Google::Apis::CloudbuildV1::StepResult::Representation
|
|
1071
|
+
|
|
1038
1072
|
property :script, as: 'script'
|
|
1039
1073
|
collection :secret_env, as: 'secretEnv'
|
|
1040
1074
|
property :status, as: 'status'
|
|
@@ -1047,6 +1081,13 @@ module Google
|
|
|
1047
1081
|
end
|
|
1048
1082
|
end
|
|
1049
1083
|
|
|
1084
|
+
class BuildStepResults
|
|
1085
|
+
# @private
|
|
1086
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1087
|
+
hash :results, as: 'results'
|
|
1088
|
+
end
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1050
1091
|
class BuildTrigger
|
|
1051
1092
|
# @private
|
|
1052
1093
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1231,6 +1272,8 @@ module Google
|
|
|
1231
1272
|
# @private
|
|
1232
1273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1233
1274
|
property :empty, as: 'empty'
|
|
1275
|
+
property :generic_artifact, as: 'genericArtifact', class: Google::Apis::CloudbuildV1::GenericArtifactDependency, decorator: Google::Apis::CloudbuildV1::GenericArtifactDependency::Representation
|
|
1276
|
+
|
|
1234
1277
|
property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSourceDependency, decorator: Google::Apis::CloudbuildV1::GitSourceDependency::Representation
|
|
1235
1278
|
|
|
1236
1279
|
end
|
|
@@ -1279,6 +1322,22 @@ module Google
|
|
|
1279
1322
|
end
|
|
1280
1323
|
end
|
|
1281
1324
|
|
|
1325
|
+
class GenericArtifact
|
|
1326
|
+
# @private
|
|
1327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1328
|
+
property :folder, as: 'folder'
|
|
1329
|
+
property :registry_path, as: 'registryPath'
|
|
1330
|
+
end
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
class GenericArtifactDependency
|
|
1334
|
+
# @private
|
|
1335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1336
|
+
property :dest_path, as: 'destPath'
|
|
1337
|
+
property :resource, as: 'resource'
|
|
1338
|
+
end
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1282
1341
|
class GitConfig
|
|
1283
1342
|
# @private
|
|
1284
1343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1773,6 +1832,10 @@ module Google
|
|
|
1773
1832
|
|
|
1774
1833
|
collection :build_step_images, as: 'buildStepImages'
|
|
1775
1834
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
|
1835
|
+
hash :build_step_results, as: 'buildStepResults', class: Google::Apis::CloudbuildV1::BuildStepResults, decorator: Google::Apis::CloudbuildV1::BuildStepResults::Representation
|
|
1836
|
+
|
|
1837
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::CloudbuildV1::UploadedGenericArtifact, decorator: Google::Apis::CloudbuildV1::UploadedGenericArtifact::Representation
|
|
1838
|
+
|
|
1776
1839
|
collection :go_modules, as: 'goModules', class: Google::Apis::CloudbuildV1::UploadedGoModule, decorator: Google::Apis::CloudbuildV1::UploadedGoModule::Representation
|
|
1777
1840
|
|
|
1778
1841
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
|
|
@@ -1884,6 +1947,15 @@ module Google
|
|
|
1884
1947
|
end
|
|
1885
1948
|
end
|
|
1886
1949
|
|
|
1950
|
+
class StepResult
|
|
1951
|
+
# @private
|
|
1952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1953
|
+
property :attestation_content, as: 'attestationContent'
|
|
1954
|
+
property :attestation_type, as: 'attestationType'
|
|
1955
|
+
property :name, as: 'name'
|
|
1956
|
+
end
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1887
1959
|
class StorageSource
|
|
1888
1960
|
# @private
|
|
1889
1961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1947,6 +2019,20 @@ module Google
|
|
|
1947
2019
|
end
|
|
1948
2020
|
end
|
|
1949
2021
|
|
|
2022
|
+
class UploadedGenericArtifact
|
|
2023
|
+
# @private
|
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2025
|
+
property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
|
2026
|
+
|
|
2027
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2028
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
|
2029
|
+
|
|
2030
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
|
|
2031
|
+
|
|
2032
|
+
property :uri, as: 'uri'
|
|
2033
|
+
end
|
|
2034
|
+
end
|
|
2035
|
+
|
|
1950
2036
|
class UploadedGoModule
|
|
1951
2037
|
# @private
|
|
1952
2038
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -231,7 +231,10 @@ module Google
|
|
|
231
231
|
execute_or_queue_command(command, &block)
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
# Cancels a build in progress.
|
|
234
|
+
# Cancels a build in progress. Note: This method only applies to global (non-
|
|
235
|
+
# regional) builds when using the legacy resource path `projects/`project_id`/
|
|
236
|
+
# builds/`id`:cancel`. To cancel regional builds, use the regional resource path:
|
|
237
|
+
# `projects/`project_id`/locations/`location`/builds/`id`:cancel`.
|
|
235
238
|
# @param [String] project_id
|
|
236
239
|
# Required. ID of the project.
|
|
237
240
|
# @param [String] id
|
|
@@ -269,7 +272,11 @@ module Google
|
|
|
269
272
|
|
|
270
273
|
# Starts a build with the specified configuration. This method returns a long-
|
|
271
274
|
# running `Operation`, which includes the build ID. Pass the build ID to `
|
|
272
|
-
# GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).
|
|
275
|
+
# GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). Note:
|
|
276
|
+
# This method only creates global (non-regional) builds when using the legacy
|
|
277
|
+
# resource path `projects/`project_id`/builds`. To create regional builds, use
|
|
278
|
+
# the regional resource path: `projects/`project_id`/locations/`location`/builds`
|
|
279
|
+
# .
|
|
273
280
|
# @param [String] project_id
|
|
274
281
|
# Required. ID of the project.
|
|
275
282
|
# @param [Google::Apis::CloudbuildV1::Build] build_object
|
|
@@ -308,7 +315,10 @@ module Google
|
|
|
308
315
|
|
|
309
316
|
# Returns information about a previously requested build. The `Build` that is
|
|
310
317
|
# returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and
|
|
311
|
-
# timing information.
|
|
318
|
+
# timing information. Note: This method only applies to global (non-regional)
|
|
319
|
+
# builds when using the legacy resource path `projects/`project_id`/builds/`id``.
|
|
320
|
+
# To fetch regional builds, use the regional resource path: `projects/`
|
|
321
|
+
# project_id`/locations/`location`/builds/`id``.
|
|
312
322
|
# @param [String] project_id
|
|
313
323
|
# Required. ID of the project.
|
|
314
324
|
# @param [String] id
|
|
@@ -346,7 +356,10 @@ module Google
|
|
|
346
356
|
end
|
|
347
357
|
|
|
348
358
|
# Lists previously requested builds. Previously requested builds may still be in-
|
|
349
|
-
# progress, or may have finished successfully or unsuccessfully.
|
|
359
|
+
# progress, or may have finished successfully or unsuccessfully. Note: This
|
|
360
|
+
# method only lists global (non-regional) builds when using the legacy resource
|
|
361
|
+
# path `projects/`project_id`/builds`. To list regional builds, use the regional
|
|
362
|
+
# resource path: `projects/`project_id`/locations/`location`/builds`.
|
|
350
363
|
# @param [String] project_id
|
|
351
364
|
# Required. ID of the project.
|
|
352
365
|
# @param [String] filter
|
|
@@ -393,22 +406,25 @@ module Google
|
|
|
393
406
|
execute_or_queue_command(command, &block)
|
|
394
407
|
end
|
|
395
408
|
|
|
396
|
-
# Creates a new build based on the specified build. This method
|
|
397
|
-
#
|
|
398
|
-
#
|
|
399
|
-
#
|
|
400
|
-
#
|
|
401
|
-
#
|
|
402
|
-
#
|
|
403
|
-
#
|
|
404
|
-
#
|
|
405
|
-
#
|
|
406
|
-
#
|
|
407
|
-
#
|
|
408
|
-
#
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
#
|
|
409
|
+
# Creates a new build based on the specified build. Note: This method only
|
|
410
|
+
# applies to global (non-regional) builds when using the legacy resource path `
|
|
411
|
+
# projects/`project_id`/builds/`id`:retry`. To retry regional builds, use the
|
|
412
|
+
# regional resource path: `projects/`project_id`/locations/`location`/builds/`id`
|
|
413
|
+
# :retry`. This method creates a new build using the original build request,
|
|
414
|
+
# which may or may not result in an identical build. For triggered builds: *
|
|
415
|
+
# Triggered builds resolve to a precise revision; therefore a retry of a
|
|
416
|
+
# triggered build will result in a build that uses the same revision. For non-
|
|
417
|
+
# triggered builds that specify `RepoSource`: * If the original build built from
|
|
418
|
+
# the tip of a branch, the retried build will build from the tip of that branch,
|
|
419
|
+
# which may not be the same revision as the original build. * If the original
|
|
420
|
+
# build specified a commit sha or revision ID, the retried build will use the
|
|
421
|
+
# identical source. For builds that specify `StorageSource`: * If the original
|
|
422
|
+
# build pulled source from Cloud Storage without specifying the generation of
|
|
423
|
+
# the object, the new build will use the current object, which may be different
|
|
424
|
+
# from the original build source. * If the original build pulled source from
|
|
425
|
+
# Cloud Storage and specified the generation of the object, the new build will
|
|
426
|
+
# attempt to use the same object, which may or may not be available depending on
|
|
427
|
+
# the bucket's lifecycle management settings.
|
|
412
428
|
# @param [String] project_id
|
|
413
429
|
# Required. ID of the project.
|
|
414
430
|
# @param [String] id
|
|
@@ -600,8 +616,9 @@ module Google
|
|
|
600
616
|
|
|
601
617
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
|
602
618
|
# @param [String] name
|
|
603
|
-
# The full resource name for the GitHubEnterpriseConfig For example:
|
|
604
|
-
# project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
619
|
+
# Identifier. The full resource name for the GitHubEnterpriseConfig For example:
|
|
620
|
+
# "projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
621
|
+
# config_id`"
|
|
605
622
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
|
606
623
|
# @param [String] update_mask
|
|
607
624
|
# Update mask for the resource. If this is set, the server will only update the
|
|
@@ -812,7 +829,7 @@ module Google
|
|
|
812
829
|
|
|
813
830
|
# Updates an existing `BitbucketServerConfig`. This API is experimental.
|
|
814
831
|
# @param [String] name
|
|
815
|
-
# The resource name for the config.
|
|
832
|
+
# Identifier. The resource name for the config.
|
|
816
833
|
# @param [Google::Apis::CloudbuildV1::BitbucketServerConfig] bitbucket_server_config_object
|
|
817
834
|
# @param [String] update_mask
|
|
818
835
|
# Update mask for the resource. If this is set, the server will only update the
|
|
@@ -997,7 +1014,10 @@ module Google
|
|
|
997
1014
|
execute_or_queue_command(command, &block)
|
|
998
1015
|
end
|
|
999
1016
|
|
|
1000
|
-
# Cancels a build in progress.
|
|
1017
|
+
# Cancels a build in progress. Note: This method only applies to global (non-
|
|
1018
|
+
# regional) builds when using the legacy resource path `projects/`project_id`/
|
|
1019
|
+
# builds/`id`:cancel`. To cancel regional builds, use the regional resource path:
|
|
1020
|
+
# `projects/`project_id`/locations/`location`/builds/`id`:cancel`.
|
|
1001
1021
|
# @param [String] name
|
|
1002
1022
|
# The name of the `Build` to cancel. Format: `projects/`project`/locations/`
|
|
1003
1023
|
# location`/builds/`build``
|
|
@@ -1033,7 +1053,11 @@ module Google
|
|
|
1033
1053
|
|
|
1034
1054
|
# Starts a build with the specified configuration. This method returns a long-
|
|
1035
1055
|
# running `Operation`, which includes the build ID. Pass the build ID to `
|
|
1036
|
-
# GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).
|
|
1056
|
+
# GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). Note:
|
|
1057
|
+
# This method only creates global (non-regional) builds when using the legacy
|
|
1058
|
+
# resource path `projects/`project_id`/builds`. To create regional builds, use
|
|
1059
|
+
# the regional resource path: `projects/`project_id`/locations/`location`/builds`
|
|
1060
|
+
# .
|
|
1037
1061
|
# @param [String] parent
|
|
1038
1062
|
# The parent resource where this build will be created. Format: `projects/`
|
|
1039
1063
|
# project`/locations/`location``
|
|
@@ -1072,7 +1096,10 @@ module Google
|
|
|
1072
1096
|
|
|
1073
1097
|
# Returns information about a previously requested build. The `Build` that is
|
|
1074
1098
|
# returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and
|
|
1075
|
-
# timing information.
|
|
1099
|
+
# timing information. Note: This method only applies to global (non-regional)
|
|
1100
|
+
# builds when using the legacy resource path `projects/`project_id`/builds/`id``.
|
|
1101
|
+
# To fetch regional builds, use the regional resource path: `projects/`
|
|
1102
|
+
# project_id`/locations/`location`/builds/`id``.
|
|
1076
1103
|
# @param [String] name
|
|
1077
1104
|
# The name of the `Build` to retrieve. Format: `projects/`project`/locations/`
|
|
1078
1105
|
# location`/builds/`build``
|
|
@@ -1110,7 +1137,10 @@ module Google
|
|
|
1110
1137
|
end
|
|
1111
1138
|
|
|
1112
1139
|
# Lists previously requested builds. Previously requested builds may still be in-
|
|
1113
|
-
# progress, or may have finished successfully or unsuccessfully.
|
|
1140
|
+
# progress, or may have finished successfully or unsuccessfully. Note: This
|
|
1141
|
+
# method only lists global (non-regional) builds when using the legacy resource
|
|
1142
|
+
# path `projects/`project_id`/builds`. To list regional builds, use the regional
|
|
1143
|
+
# resource path: `projects/`project_id`/locations/`location`/builds`.
|
|
1114
1144
|
# @param [String] parent
|
|
1115
1145
|
# The parent of the collection of `Builds`. Format: `projects/`project`/
|
|
1116
1146
|
# locations/`location``
|
|
@@ -1157,22 +1187,25 @@ module Google
|
|
|
1157
1187
|
execute_or_queue_command(command, &block)
|
|
1158
1188
|
end
|
|
1159
1189
|
|
|
1160
|
-
# Creates a new build based on the specified build. This method
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
#
|
|
1166
|
-
#
|
|
1167
|
-
#
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
#
|
|
1173
|
-
#
|
|
1174
|
-
#
|
|
1175
|
-
#
|
|
1190
|
+
# Creates a new build based on the specified build. Note: This method only
|
|
1191
|
+
# applies to global (non-regional) builds when using the legacy resource path `
|
|
1192
|
+
# projects/`project_id`/builds/`id`:retry`. To retry regional builds, use the
|
|
1193
|
+
# regional resource path: `projects/`project_id`/locations/`location`/builds/`id`
|
|
1194
|
+
# :retry`. This method creates a new build using the original build request,
|
|
1195
|
+
# which may or may not result in an identical build. For triggered builds: *
|
|
1196
|
+
# Triggered builds resolve to a precise revision; therefore a retry of a
|
|
1197
|
+
# triggered build will result in a build that uses the same revision. For non-
|
|
1198
|
+
# triggered builds that specify `RepoSource`: * If the original build built from
|
|
1199
|
+
# the tip of a branch, the retried build will build from the tip of that branch,
|
|
1200
|
+
# which may not be the same revision as the original build. * If the original
|
|
1201
|
+
# build specified a commit sha or revision ID, the retried build will use the
|
|
1202
|
+
# identical source. For builds that specify `StorageSource`: * If the original
|
|
1203
|
+
# build pulled source from Cloud Storage without specifying the generation of
|
|
1204
|
+
# the object, the new build will use the current object, which may be different
|
|
1205
|
+
# from the original build source. * If the original build pulled source from
|
|
1206
|
+
# Cloud Storage and specified the generation of the object, the new build will
|
|
1207
|
+
# attempt to use the same object, which may or may not be available depending on
|
|
1208
|
+
# the bucket's lifecycle management settings.
|
|
1176
1209
|
# @param [String] name
|
|
1177
1210
|
# The name of the `Build` to retry. Format: `projects/`project`/locations/`
|
|
1178
1211
|
# location`/builds/`build``
|
|
@@ -1206,7 +1239,8 @@ module Google
|
|
|
1206
1239
|
execute_or_queue_command(command, &block)
|
|
1207
1240
|
end
|
|
1208
1241
|
|
|
1209
|
-
# Creates a new `
|
|
1242
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Creates a new `
|
|
1243
|
+
# GitLabConfig`. This API is experimental
|
|
1210
1244
|
# @param [String] parent
|
|
1211
1245
|
# Required. Name of the parent resource.
|
|
1212
1246
|
# @param [Google::Apis::CloudbuildV1::GitLabConfig] git_lab_config_object
|
|
@@ -1246,7 +1280,8 @@ module Google
|
|
|
1246
1280
|
execute_or_queue_command(command, &block)
|
|
1247
1281
|
end
|
|
1248
1282
|
|
|
1249
|
-
#
|
|
1283
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Delete a `
|
|
1284
|
+
# GitLabConfig`. This API is experimental
|
|
1250
1285
|
# @param [String] name
|
|
1251
1286
|
# Required. The config resource name.
|
|
1252
1287
|
# @param [String] fields
|
|
@@ -1276,7 +1311,8 @@ module Google
|
|
|
1276
1311
|
execute_or_queue_command(command, &block)
|
|
1277
1312
|
end
|
|
1278
1313
|
|
|
1279
|
-
#
|
|
1314
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Retrieves a `
|
|
1315
|
+
# GitLabConfig`. This API is experimental
|
|
1280
1316
|
# @param [String] name
|
|
1281
1317
|
# Required. The config resource name.
|
|
1282
1318
|
# @param [String] fields
|
|
@@ -1306,7 +1342,8 @@ module Google
|
|
|
1306
1342
|
execute_or_queue_command(command, &block)
|
|
1307
1343
|
end
|
|
1308
1344
|
|
|
1309
|
-
#
|
|
1345
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. List all `
|
|
1346
|
+
# GitLabConfigs` for a given project. This API is experimental
|
|
1310
1347
|
# @param [String] parent
|
|
1311
1348
|
# Required. Name of the parent resource
|
|
1312
1349
|
# @param [Fixnum] page_size
|
|
@@ -1347,9 +1384,10 @@ module Google
|
|
|
1347
1384
|
execute_or_queue_command(command, &block)
|
|
1348
1385
|
end
|
|
1349
1386
|
|
|
1350
|
-
#
|
|
1387
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Updates an
|
|
1388
|
+
# existing `GitLabConfig`. This API is experimental
|
|
1351
1389
|
# @param [String] name
|
|
1352
|
-
# The resource name for the config.
|
|
1390
|
+
# Identifier. The resource name for the config.
|
|
1353
1391
|
# @param [Google::Apis::CloudbuildV1::GitLabConfig] git_lab_config_object
|
|
1354
1392
|
# @param [String] update_mask
|
|
1355
1393
|
# Update mask for the resource. If this is set, the server will only update the
|
|
@@ -1385,8 +1423,9 @@ module Google
|
|
|
1385
1423
|
execute_or_queue_command(command, &block)
|
|
1386
1424
|
end
|
|
1387
1425
|
|
|
1388
|
-
#
|
|
1389
|
-
# This API is
|
|
1426
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Remove a GitLab
|
|
1427
|
+
# repository from a given GitLabConfig's connected repositories. This API is
|
|
1428
|
+
# experimental.
|
|
1390
1429
|
# @param [String] config
|
|
1391
1430
|
# Required. The name of the `GitLabConfig` to remove a connected repository.
|
|
1392
1431
|
# Format: `projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
@@ -1420,7 +1459,8 @@ module Google
|
|
|
1420
1459
|
execute_or_queue_command(command, &block)
|
|
1421
1460
|
end
|
|
1422
1461
|
|
|
1423
|
-
#
|
|
1462
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Batch connecting
|
|
1463
|
+
# GitLab repositories to Cloud Build. This API is experimental.
|
|
1424
1464
|
# @param [String] parent
|
|
1425
1465
|
# The name of the `GitLabConfig` that adds connected repositories. Format: `
|
|
1426
1466
|
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
@@ -1454,7 +1494,8 @@ module Google
|
|
|
1454
1494
|
execute_or_queue_command(command, &block)
|
|
1455
1495
|
end
|
|
1456
1496
|
|
|
1457
|
-
#
|
|
1497
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. List all
|
|
1498
|
+
# repositories for a given `GitLabConfig`. This API is experimental
|
|
1458
1499
|
# @param [String] parent
|
|
1459
1500
|
# Required. Name of the parent resource.
|
|
1460
1501
|
# @param [Fixnum] page_size
|
|
@@ -1650,8 +1691,9 @@ module Google
|
|
|
1650
1691
|
|
|
1651
1692
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
|
1652
1693
|
# @param [String] name
|
|
1653
|
-
# The full resource name for the GitHubEnterpriseConfig For example:
|
|
1654
|
-
# project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
1694
|
+
# Identifier. The full resource name for the GitHubEnterpriseConfig For example:
|
|
1695
|
+
# "projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
1696
|
+
# config_id`"
|
|
1655
1697
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
|
1656
1698
|
# @param [String] update_mask
|
|
1657
1699
|
# Update mask for the resource. If this is set, the server will only update the
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudbuild_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.81.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.81.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|