google-apis-cloudbuild_v1 0.80.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 +4 -0
- data/lib/google/apis/cloudbuild_v1/classes.rb +47 -26
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1/service.rb +97 -55
- metadata +2 -2
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
|
@@ -332,8 +332,8 @@ module Google
|
|
|
332
332
|
end
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
-
#
|
|
336
|
-
# method.
|
|
335
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
336
|
+
# accepted by BatchCreateGitLabConnectedRepositories RPC method.
|
|
337
337
|
class BatchCreateGitLabConnectedRepositoriesRequest
|
|
338
338
|
include Google::Apis::Core::Hashable
|
|
339
339
|
|
|
@@ -352,7 +352,8 @@ module Google
|
|
|
352
352
|
end
|
|
353
353
|
end
|
|
354
354
|
|
|
355
|
-
#
|
|
355
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Response of
|
|
356
|
+
# BatchCreateGitLabConnectedRepositories RPC method.
|
|
356
357
|
class BatchCreateGitLabConnectedRepositoriesResponse
|
|
357
358
|
include Google::Apis::Core::Hashable
|
|
358
359
|
|
|
@@ -371,7 +372,8 @@ module Google
|
|
|
371
372
|
end
|
|
372
373
|
end
|
|
373
374
|
|
|
374
|
-
# Metadata for `
|
|
375
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
376
|
+
# BatchCreateGitLabConnectedRepositories` operation.
|
|
375
377
|
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
|
376
378
|
include Google::Apis::Core::Hashable
|
|
377
379
|
|
|
@@ -431,7 +433,7 @@ module Google
|
|
|
431
433
|
# @return [String]
|
|
432
434
|
attr_accessor :host_uri
|
|
433
435
|
|
|
434
|
-
# The resource name for the config.
|
|
436
|
+
# Identifier. The resource name for the config.
|
|
435
437
|
# Corresponds to the JSON property `name`
|
|
436
438
|
# @return [String]
|
|
437
439
|
attr_accessor :name
|
|
@@ -1433,8 +1435,9 @@ module Google
|
|
|
1433
1435
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
|
1434
1436
|
attr_accessor :github
|
|
1435
1437
|
|
|
1436
|
-
#
|
|
1437
|
-
#
|
|
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.
|
|
1438
1441
|
# Corresponds to the JSON property `gitlabEnterpriseEventsConfig`
|
|
1439
1442
|
# @return [Google::Apis::CloudbuildV1::GitLabEventsConfig]
|
|
1440
1443
|
attr_accessor :gitlab_enterprise_events_config
|
|
@@ -1788,7 +1791,8 @@ module Google
|
|
|
1788
1791
|
end
|
|
1789
1792
|
end
|
|
1790
1793
|
|
|
1791
|
-
# Metadata for `
|
|
1794
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1795
|
+
# CreateGitLabConfig` operation.
|
|
1792
1796
|
class CreateGitLabConfigOperationMetadata
|
|
1793
1797
|
include Google::Apis::Core::Hashable
|
|
1794
1798
|
|
|
@@ -1820,10 +1824,12 @@ module Google
|
|
|
1820
1824
|
end
|
|
1821
1825
|
end
|
|
1822
1826
|
|
|
1823
|
-
#
|
|
1827
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Request to connect
|
|
1828
|
+
# a repository from a connected GitLab host.
|
|
1824
1829
|
class CreateGitLabConnectedRepositoryRequest
|
|
1825
1830
|
include Google::Apis::Core::Hashable
|
|
1826
1831
|
|
|
1832
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
1827
1833
|
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
1828
1834
|
# response.
|
|
1829
1835
|
# Corresponds to the JSON property `gitlabConnectedRepository`
|
|
@@ -1975,7 +1981,8 @@ module Google
|
|
|
1975
1981
|
end
|
|
1976
1982
|
end
|
|
1977
1983
|
|
|
1978
|
-
# Metadata for `
|
|
1984
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1985
|
+
# DeleteGitLabConfig` operation.
|
|
1979
1986
|
class DeleteGitLabConfigOperationMetadata
|
|
1980
1987
|
include Google::Apis::Core::Hashable
|
|
1981
1988
|
|
|
@@ -2373,8 +2380,9 @@ module Google
|
|
|
2373
2380
|
# @return [String]
|
|
2374
2381
|
attr_accessor :host_url
|
|
2375
2382
|
|
|
2376
|
-
# The full resource name for the GitHubEnterpriseConfig For example:
|
|
2377
|
-
# 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`"
|
|
2378
2386
|
# Corresponds to the JSON property `name`
|
|
2379
2387
|
# @return [String]
|
|
2380
2388
|
attr_accessor :name
|
|
@@ -2542,7 +2550,8 @@ module Google
|
|
|
2542
2550
|
end
|
|
2543
2551
|
end
|
|
2544
2552
|
|
|
2545
|
-
#
|
|
2553
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2554
|
+
# represents the configuration for a GitLab integration.
|
|
2546
2555
|
class GitLabConfig
|
|
2547
2556
|
include Google::Apis::Core::Hashable
|
|
2548
2557
|
|
|
@@ -2556,19 +2565,20 @@ module Google
|
|
|
2556
2565
|
# @return [String]
|
|
2557
2566
|
attr_accessor :create_time
|
|
2558
2567
|
|
|
2568
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2559
2569
|
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2560
2570
|
# integration.
|
|
2561
2571
|
# Corresponds to the JSON property `enterpriseConfig`
|
|
2562
2572
|
# @return [Google::Apis::CloudbuildV1::GitLabEnterpriseConfig]
|
|
2563
2573
|
attr_accessor :enterprise_config
|
|
2564
2574
|
|
|
2565
|
-
# The resource name for the config.
|
|
2575
|
+
# Identifier. The resource name for the config.
|
|
2566
2576
|
# Corresponds to the JSON property `name`
|
|
2567
2577
|
# @return [String]
|
|
2568
2578
|
attr_accessor :name
|
|
2569
2579
|
|
|
2570
|
-
#
|
|
2571
|
-
# integration.
|
|
2580
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2581
|
+
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2572
2582
|
# Corresponds to the JSON property `secrets`
|
|
2573
2583
|
# @return [Google::Apis::CloudbuildV1::GitLabSecrets]
|
|
2574
2584
|
attr_accessor :secrets
|
|
@@ -2600,6 +2610,7 @@ module Google
|
|
|
2600
2610
|
end
|
|
2601
2611
|
end
|
|
2602
2612
|
|
|
2613
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2603
2614
|
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
2604
2615
|
# response.
|
|
2605
2616
|
class GitLabConnectedRepository
|
|
@@ -2639,6 +2650,7 @@ module Google
|
|
|
2639
2650
|
end
|
|
2640
2651
|
end
|
|
2641
2652
|
|
|
2653
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2642
2654
|
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2643
2655
|
# integration.
|
|
2644
2656
|
class GitLabEnterpriseConfig
|
|
@@ -2649,6 +2661,7 @@ module Google
|
|
|
2649
2661
|
# @return [String]
|
|
2650
2662
|
attr_accessor :host_uri
|
|
2651
2663
|
|
|
2664
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2652
2665
|
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
2653
2666
|
# host connection.
|
|
2654
2667
|
# Corresponds to the JSON property `serviceDirectoryConfig`
|
|
@@ -2672,12 +2685,14 @@ module Google
|
|
|
2672
2685
|
end
|
|
2673
2686
|
end
|
|
2674
2687
|
|
|
2675
|
-
#
|
|
2676
|
-
#
|
|
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.
|
|
2677
2691
|
class GitLabEventsConfig
|
|
2678
2692
|
include Google::Apis::Core::Hashable
|
|
2679
2693
|
|
|
2680
|
-
#
|
|
2694
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2695
|
+
# represents the configuration for a GitLab integration.
|
|
2681
2696
|
# Corresponds to the JSON property `gitlabConfig`
|
|
2682
2697
|
# @return [Google::Apis::CloudbuildV1::GitLabConfig]
|
|
2683
2698
|
attr_accessor :gitlab_config
|
|
@@ -2716,7 +2731,8 @@ module Google
|
|
|
2716
2731
|
end
|
|
2717
2732
|
end
|
|
2718
2733
|
|
|
2719
|
-
# Proto Representing
|
|
2734
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Proto Representing
|
|
2735
|
+
# a GitLabRepository
|
|
2720
2736
|
class GitLabRepository
|
|
2721
2737
|
include Google::Apis::Core::Hashable
|
|
2722
2738
|
|
|
@@ -2788,8 +2804,8 @@ module Google
|
|
|
2788
2804
|
end
|
|
2789
2805
|
end
|
|
2790
2806
|
|
|
2791
|
-
#
|
|
2792
|
-
# integration.
|
|
2807
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2808
|
+
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2793
2809
|
class GitLabSecrets
|
|
2794
2810
|
include Google::Apis::Core::Hashable
|
|
2795
2811
|
|
|
@@ -3282,7 +3298,8 @@ module Google
|
|
|
3282
3298
|
end
|
|
3283
3299
|
end
|
|
3284
3300
|
|
|
3285
|
-
#
|
|
3301
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3302
|
+
# object returned by ListGitLabConfigs RPC method.
|
|
3286
3303
|
class ListGitLabConfigsResponse
|
|
3287
3304
|
include Google::Apis::Core::Hashable
|
|
3288
3305
|
|
|
@@ -3308,7 +3325,8 @@ module Google
|
|
|
3308
3325
|
end
|
|
3309
3326
|
end
|
|
3310
3327
|
|
|
3311
|
-
#
|
|
3328
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3329
|
+
# object returned by the ListGitLabRepositories RPC method.
|
|
3312
3330
|
class ListGitLabRepositoriesResponse
|
|
3313
3331
|
include Google::Apis::Core::Hashable
|
|
3314
3332
|
|
|
@@ -3979,7 +3997,8 @@ module Google
|
|
|
3979
3997
|
end
|
|
3980
3998
|
end
|
|
3981
3999
|
|
|
3982
|
-
#
|
|
4000
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
4001
|
+
# accepted by RemoveGitLabConnectedRepository RPC method.
|
|
3983
4002
|
class RemoveGitLabConnectedRepositoryRequest
|
|
3984
4003
|
include Google::Apis::Core::Hashable
|
|
3985
4004
|
|
|
@@ -4348,6 +4367,7 @@ module Google
|
|
|
4348
4367
|
end
|
|
4349
4368
|
end
|
|
4350
4369
|
|
|
4370
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
4351
4371
|
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
4352
4372
|
# host connection.
|
|
4353
4373
|
class ServiceDirectoryConfig
|
|
@@ -4714,7 +4734,8 @@ module Google
|
|
|
4714
4734
|
end
|
|
4715
4735
|
end
|
|
4716
4736
|
|
|
4717
|
-
# Metadata for `
|
|
4737
|
+
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
4738
|
+
# UpdateGitLabConfig` operation.
|
|
4718
4739
|
class UpdateGitLabConfigOperationMetadata
|
|
4719
4740
|
include Google::Apis::Core::Hashable
|
|
4720
4741
|
|
|
@@ -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
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
|
|
@@ -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:
|