google-apis-cloudbuild_v1 0.81.0 → 0.83.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.
|
@@ -332,79 +332,6 @@ module Google
|
|
|
332
332
|
end
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
336
|
-
# accepted by BatchCreateGitLabConnectedRepositories RPC method.
|
|
337
|
-
class BatchCreateGitLabConnectedRepositoriesRequest
|
|
338
|
-
include Google::Apis::Core::Hashable
|
|
339
|
-
|
|
340
|
-
# Required. Requests to connect GitLab repositories.
|
|
341
|
-
# Corresponds to the JSON property `requests`
|
|
342
|
-
# @return [Array<Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest>]
|
|
343
|
-
attr_accessor :requests
|
|
344
|
-
|
|
345
|
-
def initialize(**args)
|
|
346
|
-
update!(**args)
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
# Update properties of this object
|
|
350
|
-
def update!(**args)
|
|
351
|
-
@requests = args[:requests] if args.key?(:requests)
|
|
352
|
-
end
|
|
353
|
-
end
|
|
354
|
-
|
|
355
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Response of
|
|
356
|
-
# BatchCreateGitLabConnectedRepositories RPC method.
|
|
357
|
-
class BatchCreateGitLabConnectedRepositoriesResponse
|
|
358
|
-
include Google::Apis::Core::Hashable
|
|
359
|
-
|
|
360
|
-
# The GitLab connected repository requests' responses.
|
|
361
|
-
# Corresponds to the JSON property `gitlabConnectedRepositories`
|
|
362
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabConnectedRepository>]
|
|
363
|
-
attr_accessor :gitlab_connected_repositories
|
|
364
|
-
|
|
365
|
-
def initialize(**args)
|
|
366
|
-
update!(**args)
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
# Update properties of this object
|
|
370
|
-
def update!(**args)
|
|
371
|
-
@gitlab_connected_repositories = args[:gitlab_connected_repositories] if args.key?(:gitlab_connected_repositories)
|
|
372
|
-
end
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
376
|
-
# BatchCreateGitLabConnectedRepositories` operation.
|
|
377
|
-
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
|
378
|
-
include Google::Apis::Core::Hashable
|
|
379
|
-
|
|
380
|
-
# Time the operation was completed.
|
|
381
|
-
# Corresponds to the JSON property `completeTime`
|
|
382
|
-
# @return [String]
|
|
383
|
-
attr_accessor :complete_time
|
|
384
|
-
|
|
385
|
-
# The name of the `GitLabConfig` that added connected repositories. Format: `
|
|
386
|
-
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
387
|
-
# Corresponds to the JSON property `config`
|
|
388
|
-
# @return [String]
|
|
389
|
-
attr_accessor :config
|
|
390
|
-
|
|
391
|
-
# Time the operation was created.
|
|
392
|
-
# Corresponds to the JSON property `createTime`
|
|
393
|
-
# @return [String]
|
|
394
|
-
attr_accessor :create_time
|
|
395
|
-
|
|
396
|
-
def initialize(**args)
|
|
397
|
-
update!(**args)
|
|
398
|
-
end
|
|
399
|
-
|
|
400
|
-
# Update properties of this object
|
|
401
|
-
def update!(**args)
|
|
402
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
403
|
-
@config = args[:config] if args.key?(:config)
|
|
404
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
405
|
-
end
|
|
406
|
-
end
|
|
407
|
-
|
|
408
335
|
# BitbucketServerConfig represents the configuration for a Bitbucket Server.
|
|
409
336
|
class BitbucketServerConfig
|
|
410
337
|
include Google::Apis::Core::Hashable
|
|
@@ -1093,6 +1020,11 @@ module Google
|
|
|
1093
1020
|
# @return [String]
|
|
1094
1021
|
attr_accessor :requested_verify_option
|
|
1095
1022
|
|
|
1023
|
+
# Output only. Worker release resolved from the release channel.
|
|
1024
|
+
# Corresponds to the JSON property `resolvedWorkerRelease`
|
|
1025
|
+
# @return [String]
|
|
1026
|
+
attr_accessor :resolved_worker_release
|
|
1027
|
+
|
|
1096
1028
|
# A list of global environment variables, which are encrypted using a Cloud Key
|
|
1097
1029
|
# Management Service crypto key. These values must be specified in the build's `
|
|
1098
1030
|
# Secret`. These variables will be available to all build steps in this build.
|
|
@@ -1127,6 +1059,12 @@ module Google
|
|
|
1127
1059
|
# @return [String]
|
|
1128
1060
|
attr_accessor :worker_pool
|
|
1129
1061
|
|
|
1062
|
+
# Optional. Option to specify which release or release channel (rapid|regular|
|
|
1063
|
+
# stable) to use to run this build.
|
|
1064
|
+
# Corresponds to the JSON property `workerRelease`
|
|
1065
|
+
# @return [String]
|
|
1066
|
+
attr_accessor :worker_release
|
|
1067
|
+
|
|
1130
1068
|
def initialize(**args)
|
|
1131
1069
|
update!(**args)
|
|
1132
1070
|
end
|
|
@@ -1145,11 +1083,13 @@ module Google
|
|
|
1145
1083
|
@pool = args[:pool] if args.key?(:pool)
|
|
1146
1084
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
|
1147
1085
|
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
|
1086
|
+
@resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
|
|
1148
1087
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
1149
1088
|
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
|
1150
1089
|
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)
|
|
1151
1090
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
1152
1091
|
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
|
1092
|
+
@worker_release = args[:worker_release] if args.key?(:worker_release)
|
|
1153
1093
|
end
|
|
1154
1094
|
end
|
|
1155
1095
|
|
|
@@ -1435,13 +1375,6 @@ module Google
|
|
|
1435
1375
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
|
1436
1376
|
attr_accessor :github
|
|
1437
1377
|
|
|
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.
|
|
1441
|
-
# Corresponds to the JSON property `gitlabEnterpriseEventsConfig`
|
|
1442
|
-
# @return [Google::Apis::CloudbuildV1::GitLabEventsConfig]
|
|
1443
|
-
attr_accessor :gitlab_enterprise_events_config
|
|
1444
|
-
|
|
1445
1378
|
# Output only. Unique identifier of the trigger.
|
|
1446
1379
|
# Corresponds to the JSON property `id`
|
|
1447
1380
|
# @return [String]
|
|
@@ -1558,7 +1491,6 @@ module Google
|
|
|
1558
1491
|
@filter = args[:filter] if args.key?(:filter)
|
|
1559
1492
|
@git_file_source = args[:git_file_source] if args.key?(:git_file_source)
|
|
1560
1493
|
@github = args[:github] if args.key?(:github)
|
|
1561
|
-
@gitlab_enterprise_events_config = args[:gitlab_enterprise_events_config] if args.key?(:gitlab_enterprise_events_config)
|
|
1562
1494
|
@id = args[:id] if args.key?(:id)
|
|
1563
1495
|
@ignored_files = args[:ignored_files] if args.key?(:ignored_files)
|
|
1564
1496
|
@include_build_logs = args[:include_build_logs] if args.key?(:include_build_logs)
|
|
@@ -1791,68 +1723,6 @@ module Google
|
|
|
1791
1723
|
end
|
|
1792
1724
|
end
|
|
1793
1725
|
|
|
1794
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1795
|
-
# CreateGitLabConfig` operation.
|
|
1796
|
-
class CreateGitLabConfigOperationMetadata
|
|
1797
|
-
include Google::Apis::Core::Hashable
|
|
1798
|
-
|
|
1799
|
-
# Time the operation was completed.
|
|
1800
|
-
# Corresponds to the JSON property `completeTime`
|
|
1801
|
-
# @return [String]
|
|
1802
|
-
attr_accessor :complete_time
|
|
1803
|
-
|
|
1804
|
-
# Time the operation was created.
|
|
1805
|
-
# Corresponds to the JSON property `createTime`
|
|
1806
|
-
# @return [String]
|
|
1807
|
-
attr_accessor :create_time
|
|
1808
|
-
|
|
1809
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
1810
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
1811
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
1812
|
-
# @return [String]
|
|
1813
|
-
attr_accessor :gitlab_config
|
|
1814
|
-
|
|
1815
|
-
def initialize(**args)
|
|
1816
|
-
update!(**args)
|
|
1817
|
-
end
|
|
1818
|
-
|
|
1819
|
-
# Update properties of this object
|
|
1820
|
-
def update!(**args)
|
|
1821
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
1822
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1823
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
1824
|
-
end
|
|
1825
|
-
end
|
|
1826
|
-
|
|
1827
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Request to connect
|
|
1828
|
-
# a repository from a connected GitLab host.
|
|
1829
|
-
class CreateGitLabConnectedRepositoryRequest
|
|
1830
|
-
include Google::Apis::Core::Hashable
|
|
1831
|
-
|
|
1832
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
1833
|
-
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
1834
|
-
# response.
|
|
1835
|
-
# Corresponds to the JSON property `gitlabConnectedRepository`
|
|
1836
|
-
# @return [Google::Apis::CloudbuildV1::GitLabConnectedRepository]
|
|
1837
|
-
attr_accessor :gitlab_connected_repository
|
|
1838
|
-
|
|
1839
|
-
# Required. The name of the `GitLabConfig` that adds connected repository.
|
|
1840
|
-
# Format: `projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
1841
|
-
# Corresponds to the JSON property `parent`
|
|
1842
|
-
# @return [String]
|
|
1843
|
-
attr_accessor :parent
|
|
1844
|
-
|
|
1845
|
-
def initialize(**args)
|
|
1846
|
-
update!(**args)
|
|
1847
|
-
end
|
|
1848
|
-
|
|
1849
|
-
# Update properties of this object
|
|
1850
|
-
def update!(**args)
|
|
1851
|
-
@gitlab_connected_repository = args[:gitlab_connected_repository] if args.key?(:gitlab_connected_repository)
|
|
1852
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
1853
|
-
end
|
|
1854
|
-
end
|
|
1855
|
-
|
|
1856
1726
|
# Metadata for the `CreateWorkerPool` operation.
|
|
1857
1727
|
class CreateWorkerPoolOperationMetadata
|
|
1858
1728
|
include Google::Apis::Core::Hashable
|
|
@@ -1981,39 +1851,6 @@ module Google
|
|
|
1981
1851
|
end
|
|
1982
1852
|
end
|
|
1983
1853
|
|
|
1984
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
1985
|
-
# DeleteGitLabConfig` operation.
|
|
1986
|
-
class DeleteGitLabConfigOperationMetadata
|
|
1987
|
-
include Google::Apis::Core::Hashable
|
|
1988
|
-
|
|
1989
|
-
# Time the operation was completed.
|
|
1990
|
-
# Corresponds to the JSON property `completeTime`
|
|
1991
|
-
# @return [String]
|
|
1992
|
-
attr_accessor :complete_time
|
|
1993
|
-
|
|
1994
|
-
# Time the operation was created.
|
|
1995
|
-
# Corresponds to the JSON property `createTime`
|
|
1996
|
-
# @return [String]
|
|
1997
|
-
attr_accessor :create_time
|
|
1998
|
-
|
|
1999
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
2000
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
2001
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
2002
|
-
# @return [String]
|
|
2003
|
-
attr_accessor :gitlab_config
|
|
2004
|
-
|
|
2005
|
-
def initialize(**args)
|
|
2006
|
-
update!(**args)
|
|
2007
|
-
end
|
|
2008
|
-
|
|
2009
|
-
# Update properties of this object
|
|
2010
|
-
def update!(**args)
|
|
2011
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
2012
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2013
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
2014
|
-
end
|
|
2015
|
-
end
|
|
2016
|
-
|
|
2017
1854
|
# Metadata for the `DeleteWorkerPool` operation.
|
|
2018
1855
|
class DeleteWorkerPoolOperationMetadata
|
|
2019
1856
|
include Google::Apis::Core::Hashable
|
|
@@ -2550,301 +2387,6 @@ module Google
|
|
|
2550
2387
|
end
|
|
2551
2388
|
end
|
|
2552
2389
|
|
|
2553
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2554
|
-
# represents the configuration for a GitLab integration.
|
|
2555
|
-
class GitLabConfig
|
|
2556
|
-
include Google::Apis::Core::Hashable
|
|
2557
|
-
|
|
2558
|
-
# Connected GitLab.com or GitLabEnterprise repositories for this config.
|
|
2559
|
-
# Corresponds to the JSON property `connectedRepositories`
|
|
2560
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabRepositoryId>]
|
|
2561
|
-
attr_accessor :connected_repositories
|
|
2562
|
-
|
|
2563
|
-
# Output only. Time when the config was created.
|
|
2564
|
-
# Corresponds to the JSON property `createTime`
|
|
2565
|
-
# @return [String]
|
|
2566
|
-
attr_accessor :create_time
|
|
2567
|
-
|
|
2568
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2569
|
-
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2570
|
-
# integration.
|
|
2571
|
-
# Corresponds to the JSON property `enterpriseConfig`
|
|
2572
|
-
# @return [Google::Apis::CloudbuildV1::GitLabEnterpriseConfig]
|
|
2573
|
-
attr_accessor :enterprise_config
|
|
2574
|
-
|
|
2575
|
-
# Identifier. The resource name for the config.
|
|
2576
|
-
# Corresponds to the JSON property `name`
|
|
2577
|
-
# @return [String]
|
|
2578
|
-
attr_accessor :name
|
|
2579
|
-
|
|
2580
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2581
|
-
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2582
|
-
# Corresponds to the JSON property `secrets`
|
|
2583
|
-
# @return [Google::Apis::CloudbuildV1::GitLabSecrets]
|
|
2584
|
-
attr_accessor :secrets
|
|
2585
|
-
|
|
2586
|
-
# Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
|
|
2587
|
-
# Corresponds to the JSON property `username`
|
|
2588
|
-
# @return [String]
|
|
2589
|
-
attr_accessor :username
|
|
2590
|
-
|
|
2591
|
-
# Output only. UUID included in webhook requests. The UUID is used to look up
|
|
2592
|
-
# the corresponding config.
|
|
2593
|
-
# Corresponds to the JSON property `webhookKey`
|
|
2594
|
-
# @return [String]
|
|
2595
|
-
attr_accessor :webhook_key
|
|
2596
|
-
|
|
2597
|
-
def initialize(**args)
|
|
2598
|
-
update!(**args)
|
|
2599
|
-
end
|
|
2600
|
-
|
|
2601
|
-
# Update properties of this object
|
|
2602
|
-
def update!(**args)
|
|
2603
|
-
@connected_repositories = args[:connected_repositories] if args.key?(:connected_repositories)
|
|
2604
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2605
|
-
@enterprise_config = args[:enterprise_config] if args.key?(:enterprise_config)
|
|
2606
|
-
@name = args[:name] if args.key?(:name)
|
|
2607
|
-
@secrets = args[:secrets] if args.key?(:secrets)
|
|
2608
|
-
@username = args[:username] if args.key?(:username)
|
|
2609
|
-
@webhook_key = args[:webhook_key] if args.key?(:webhook_key)
|
|
2610
|
-
end
|
|
2611
|
-
end
|
|
2612
|
-
|
|
2613
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2614
|
-
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
2615
|
-
# response.
|
|
2616
|
-
class GitLabConnectedRepository
|
|
2617
|
-
include Google::Apis::Core::Hashable
|
|
2618
|
-
|
|
2619
|
-
# The name of the `GitLabConfig` that added connected repository. Format: `
|
|
2620
|
-
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
2621
|
-
# Corresponds to the JSON property `parent`
|
|
2622
|
-
# @return [String]
|
|
2623
|
-
attr_accessor :parent
|
|
2624
|
-
|
|
2625
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2626
|
-
# GitLabEnterprise
|
|
2627
|
-
# Corresponds to the JSON property `repo`
|
|
2628
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
2629
|
-
attr_accessor :repo
|
|
2630
|
-
|
|
2631
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
2632
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2633
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2634
|
-
# data: error code, error message, and error details. You can find out more
|
|
2635
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2636
|
-
# //cloud.google.com/apis/design/errors).
|
|
2637
|
-
# Corresponds to the JSON property `status`
|
|
2638
|
-
# @return [Google::Apis::CloudbuildV1::Status]
|
|
2639
|
-
attr_accessor :status
|
|
2640
|
-
|
|
2641
|
-
def initialize(**args)
|
|
2642
|
-
update!(**args)
|
|
2643
|
-
end
|
|
2644
|
-
|
|
2645
|
-
# Update properties of this object
|
|
2646
|
-
def update!(**args)
|
|
2647
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
2648
|
-
@repo = args[:repo] if args.key?(:repo)
|
|
2649
|
-
@status = args[:status] if args.key?(:status)
|
|
2650
|
-
end
|
|
2651
|
-
end
|
|
2652
|
-
|
|
2653
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2654
|
-
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2655
|
-
# integration.
|
|
2656
|
-
class GitLabEnterpriseConfig
|
|
2657
|
-
include Google::Apis::Core::Hashable
|
|
2658
|
-
|
|
2659
|
-
# Immutable. The URI of the GitlabEnterprise host.
|
|
2660
|
-
# Corresponds to the JSON property `hostUri`
|
|
2661
|
-
# @return [String]
|
|
2662
|
-
attr_accessor :host_uri
|
|
2663
|
-
|
|
2664
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
2665
|
-
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
2666
|
-
# host connection.
|
|
2667
|
-
# Corresponds to the JSON property `serviceDirectoryConfig`
|
|
2668
|
-
# @return [Google::Apis::CloudbuildV1::ServiceDirectoryConfig]
|
|
2669
|
-
attr_accessor :service_directory_config
|
|
2670
|
-
|
|
2671
|
-
# The SSL certificate to use in requests to GitLab Enterprise instances.
|
|
2672
|
-
# Corresponds to the JSON property `sslCa`
|
|
2673
|
-
# @return [String]
|
|
2674
|
-
attr_accessor :ssl_ca
|
|
2675
|
-
|
|
2676
|
-
def initialize(**args)
|
|
2677
|
-
update!(**args)
|
|
2678
|
-
end
|
|
2679
|
-
|
|
2680
|
-
# Update properties of this object
|
|
2681
|
-
def update!(**args)
|
|
2682
|
-
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
|
2683
|
-
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
|
2684
|
-
@ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
|
|
2685
|
-
end
|
|
2686
|
-
end
|
|
2687
|
-
|
|
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.
|
|
2691
|
-
class GitLabEventsConfig
|
|
2692
|
-
include Google::Apis::Core::Hashable
|
|
2693
|
-
|
|
2694
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabConfig
|
|
2695
|
-
# represents the configuration for a GitLab integration.
|
|
2696
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
2697
|
-
# @return [Google::Apis::CloudbuildV1::GitLabConfig]
|
|
2698
|
-
attr_accessor :gitlab_config
|
|
2699
|
-
|
|
2700
|
-
# The GitLab config resource that this trigger config maps to.
|
|
2701
|
-
# Corresponds to the JSON property `gitlabConfigResource`
|
|
2702
|
-
# @return [String]
|
|
2703
|
-
attr_accessor :gitlab_config_resource
|
|
2704
|
-
|
|
2705
|
-
# Namespace of the GitLab project.
|
|
2706
|
-
# Corresponds to the JSON property `projectNamespace`
|
|
2707
|
-
# @return [String]
|
|
2708
|
-
attr_accessor :project_namespace
|
|
2709
|
-
|
|
2710
|
-
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
|
2711
|
-
# Corresponds to the JSON property `pullRequest`
|
|
2712
|
-
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
|
2713
|
-
attr_accessor :pull_request
|
|
2714
|
-
|
|
2715
|
-
# Push contains filter properties for matching GitHub git pushes.
|
|
2716
|
-
# Corresponds to the JSON property `push`
|
|
2717
|
-
# @return [Google::Apis::CloudbuildV1::PushFilter]
|
|
2718
|
-
attr_accessor :push
|
|
2719
|
-
|
|
2720
|
-
def initialize(**args)
|
|
2721
|
-
update!(**args)
|
|
2722
|
-
end
|
|
2723
|
-
|
|
2724
|
-
# Update properties of this object
|
|
2725
|
-
def update!(**args)
|
|
2726
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
2727
|
-
@gitlab_config_resource = args[:gitlab_config_resource] if args.key?(:gitlab_config_resource)
|
|
2728
|
-
@project_namespace = args[:project_namespace] if args.key?(:project_namespace)
|
|
2729
|
-
@pull_request = args[:pull_request] if args.key?(:pull_request)
|
|
2730
|
-
@push = args[:push] if args.key?(:push)
|
|
2731
|
-
end
|
|
2732
|
-
end
|
|
2733
|
-
|
|
2734
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Proto Representing
|
|
2735
|
-
# a GitLabRepository
|
|
2736
|
-
class GitLabRepository
|
|
2737
|
-
include Google::Apis::Core::Hashable
|
|
2738
|
-
|
|
2739
|
-
# Link to the browse repo page on the GitLab instance
|
|
2740
|
-
# Corresponds to the JSON property `browseUri`
|
|
2741
|
-
# @return [String]
|
|
2742
|
-
attr_accessor :browse_uri
|
|
2743
|
-
|
|
2744
|
-
# Description of the repository
|
|
2745
|
-
# Corresponds to the JSON property `description`
|
|
2746
|
-
# @return [String]
|
|
2747
|
-
attr_accessor :description
|
|
2748
|
-
|
|
2749
|
-
# Display name of the repository
|
|
2750
|
-
# Corresponds to the JSON property `displayName`
|
|
2751
|
-
# @return [String]
|
|
2752
|
-
attr_accessor :display_name
|
|
2753
|
-
|
|
2754
|
-
# The resource name of the repository
|
|
2755
|
-
# Corresponds to the JSON property `name`
|
|
2756
|
-
# @return [String]
|
|
2757
|
-
attr_accessor :name
|
|
2758
|
-
|
|
2759
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2760
|
-
# GitLabEnterprise
|
|
2761
|
-
# Corresponds to the JSON property `repositoryId`
|
|
2762
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
2763
|
-
attr_accessor :repository_id
|
|
2764
|
-
|
|
2765
|
-
def initialize(**args)
|
|
2766
|
-
update!(**args)
|
|
2767
|
-
end
|
|
2768
|
-
|
|
2769
|
-
# Update properties of this object
|
|
2770
|
-
def update!(**args)
|
|
2771
|
-
@browse_uri = args[:browse_uri] if args.key?(:browse_uri)
|
|
2772
|
-
@description = args[:description] if args.key?(:description)
|
|
2773
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2774
|
-
@name = args[:name] if args.key?(:name)
|
|
2775
|
-
@repository_id = args[:repository_id] if args.key?(:repository_id)
|
|
2776
|
-
end
|
|
2777
|
-
end
|
|
2778
|
-
|
|
2779
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2780
|
-
# GitLabEnterprise
|
|
2781
|
-
class GitLabRepositoryId
|
|
2782
|
-
include Google::Apis::Core::Hashable
|
|
2783
|
-
|
|
2784
|
-
# Required. Identifier for the repository. example: "namespace/project-slug",
|
|
2785
|
-
# namespace is usually the username or group ID
|
|
2786
|
-
# Corresponds to the JSON property `id`
|
|
2787
|
-
# @return [String]
|
|
2788
|
-
attr_accessor :id
|
|
2789
|
-
|
|
2790
|
-
# Output only. The ID of the webhook that was created for receiving events from
|
|
2791
|
-
# this repo. We only create and manage a single webhook for each repo.
|
|
2792
|
-
# Corresponds to the JSON property `webhookId`
|
|
2793
|
-
# @return [Fixnum]
|
|
2794
|
-
attr_accessor :webhook_id
|
|
2795
|
-
|
|
2796
|
-
def initialize(**args)
|
|
2797
|
-
update!(**args)
|
|
2798
|
-
end
|
|
2799
|
-
|
|
2800
|
-
# Update properties of this object
|
|
2801
|
-
def update!(**args)
|
|
2802
|
-
@id = args[:id] if args.key?(:id)
|
|
2803
|
-
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
|
2804
|
-
end
|
|
2805
|
-
end
|
|
2806
|
-
|
|
2807
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
|
|
2808
|
-
# represents the secrets in Secret Manager for a GitLab integration.
|
|
2809
|
-
class GitLabSecrets
|
|
2810
|
-
include Google::Apis::Core::Hashable
|
|
2811
|
-
|
|
2812
|
-
# Required. The resource name for the api access token’s secret version
|
|
2813
|
-
# Corresponds to the JSON property `apiAccessTokenVersion`
|
|
2814
|
-
# @return [String]
|
|
2815
|
-
attr_accessor :api_access_token_version
|
|
2816
|
-
|
|
2817
|
-
# Required. Immutable. API Key that will be attached to webhook requests from
|
|
2818
|
-
# GitLab to Cloud Build.
|
|
2819
|
-
# Corresponds to the JSON property `apiKeyVersion`
|
|
2820
|
-
# @return [String]
|
|
2821
|
-
attr_accessor :api_key_version
|
|
2822
|
-
|
|
2823
|
-
# Required. The resource name for the read access token’s secret version
|
|
2824
|
-
# Corresponds to the JSON property `readAccessTokenVersion`
|
|
2825
|
-
# @return [String]
|
|
2826
|
-
attr_accessor :read_access_token_version
|
|
2827
|
-
|
|
2828
|
-
# Required. Immutable. The resource name for the webhook secret’s secret version.
|
|
2829
|
-
# Once this field has been set, it cannot be changed. If you need to change it,
|
|
2830
|
-
# please create another GitLabConfig.
|
|
2831
|
-
# Corresponds to the JSON property `webhookSecretVersion`
|
|
2832
|
-
# @return [String]
|
|
2833
|
-
attr_accessor :webhook_secret_version
|
|
2834
|
-
|
|
2835
|
-
def initialize(**args)
|
|
2836
|
-
update!(**args)
|
|
2837
|
-
end
|
|
2838
|
-
|
|
2839
|
-
# Update properties of this object
|
|
2840
|
-
def update!(**args)
|
|
2841
|
-
@api_access_token_version = args[:api_access_token_version] if args.key?(:api_access_token_version)
|
|
2842
|
-
@api_key_version = args[:api_key_version] if args.key?(:api_key_version)
|
|
2843
|
-
@read_access_token_version = args[:read_access_token_version] if args.key?(:read_access_token_version)
|
|
2844
|
-
@webhook_secret_version = args[:webhook_secret_version] if args.key?(:webhook_secret_version)
|
|
2845
|
-
end
|
|
2846
|
-
end
|
|
2847
|
-
|
|
2848
2390
|
# GitRepoSource describes a repo and ref of a code repository.
|
|
2849
2391
|
class GitRepoSource
|
|
2850
2392
|
include Google::Apis::Core::Hashable
|
|
@@ -2955,6 +2497,14 @@ module Google
|
|
|
2955
2497
|
# @return [String]
|
|
2956
2498
|
attr_accessor :dest_path
|
|
2957
2499
|
|
|
2500
|
+
# Optional. True if remote tags should be fetched too (default false). Note:
|
|
2501
|
+
# when depth is 1 (default), git fetch only retrieves tags pointing to commits
|
|
2502
|
+
# within the shallow boundary. Set depth to -1 to fetch all historical tags.
|
|
2503
|
+
# Corresponds to the JSON property `fetchTags`
|
|
2504
|
+
# @return [Boolean]
|
|
2505
|
+
attr_accessor :fetch_tags
|
|
2506
|
+
alias_method :fetch_tags?, :fetch_tags
|
|
2507
|
+
|
|
2958
2508
|
# Optional. True if submodules should be fetched too (default false).
|
|
2959
2509
|
# Corresponds to the JSON property `recurseSubmodules`
|
|
2960
2510
|
# @return [Boolean]
|
|
@@ -2979,6 +2529,7 @@ module Google
|
|
|
2979
2529
|
def update!(**args)
|
|
2980
2530
|
@depth = args[:depth] if args.key?(:depth)
|
|
2981
2531
|
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2532
|
+
@fetch_tags = args[:fetch_tags] if args.key?(:fetch_tags)
|
|
2982
2533
|
@recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
|
|
2983
2534
|
@repository = args[:repository] if args.key?(:repository)
|
|
2984
2535
|
@revision = args[:revision] if args.key?(:revision)
|
|
@@ -3298,60 +2849,6 @@ module Google
|
|
|
3298
2849
|
end
|
|
3299
2850
|
end
|
|
3300
2851
|
|
|
3301
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3302
|
-
# object returned by ListGitLabConfigs RPC method.
|
|
3303
|
-
class ListGitLabConfigsResponse
|
|
3304
|
-
include Google::Apis::Core::Hashable
|
|
3305
|
-
|
|
3306
|
-
# A list of GitLabConfigs
|
|
3307
|
-
# Corresponds to the JSON property `gitlabConfigs`
|
|
3308
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabConfig>]
|
|
3309
|
-
attr_accessor :gitlab_configs
|
|
3310
|
-
|
|
3311
|
-
# A token that can be sent as `page_token` to retrieve the next page If this
|
|
3312
|
-
# field is omitted, there are no subsequent pages.
|
|
3313
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3314
|
-
# @return [String]
|
|
3315
|
-
attr_accessor :next_page_token
|
|
3316
|
-
|
|
3317
|
-
def initialize(**args)
|
|
3318
|
-
update!(**args)
|
|
3319
|
-
end
|
|
3320
|
-
|
|
3321
|
-
# Update properties of this object
|
|
3322
|
-
def update!(**args)
|
|
3323
|
-
@gitlab_configs = args[:gitlab_configs] if args.key?(:gitlab_configs)
|
|
3324
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3325
|
-
end
|
|
3326
|
-
end
|
|
3327
|
-
|
|
3328
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC response
|
|
3329
|
-
# object returned by the ListGitLabRepositories RPC method.
|
|
3330
|
-
class ListGitLabRepositoriesResponse
|
|
3331
|
-
include Google::Apis::Core::Hashable
|
|
3332
|
-
|
|
3333
|
-
# List of GitLab repositories
|
|
3334
|
-
# Corresponds to the JSON property `gitlabRepositories`
|
|
3335
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabRepository>]
|
|
3336
|
-
attr_accessor :gitlab_repositories
|
|
3337
|
-
|
|
3338
|
-
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
3339
|
-
# field is omitted, there are no subsequent pages.
|
|
3340
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3341
|
-
# @return [String]
|
|
3342
|
-
attr_accessor :next_page_token
|
|
3343
|
-
|
|
3344
|
-
def initialize(**args)
|
|
3345
|
-
update!(**args)
|
|
3346
|
-
end
|
|
3347
|
-
|
|
3348
|
-
# Update properties of this object
|
|
3349
|
-
def update!(**args)
|
|
3350
|
-
@gitlab_repositories = args[:gitlab_repositories] if args.key?(:gitlab_repositories)
|
|
3351
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3352
|
-
end
|
|
3353
|
-
end
|
|
3354
|
-
|
|
3355
2852
|
# RPC response object returned by ListGithubEnterpriseConfigs RPC method.
|
|
3356
2853
|
class ListGithubEnterpriseConfigsResponse
|
|
3357
2854
|
include Google::Apis::Core::Hashable
|
|
@@ -3695,6 +3192,18 @@ module Google
|
|
|
3695
3192
|
# @return [String]
|
|
3696
3193
|
attr_accessor :name
|
|
3697
3194
|
|
|
3195
|
+
# Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
|
|
3196
|
+
# Corresponds to the JSON property `resolvedWorkerRelease`
|
|
3197
|
+
# @return [String]
|
|
3198
|
+
attr_accessor :resolved_worker_release
|
|
3199
|
+
|
|
3200
|
+
# Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
|
|
3201
|
+
# This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
|
|
3202
|
+
# worker_release` for the UI to easily access.
|
|
3203
|
+
# Corresponds to the JSON property `workerRelease`
|
|
3204
|
+
# @return [String]
|
|
3205
|
+
attr_accessor :worker_release
|
|
3206
|
+
|
|
3698
3207
|
def initialize(**args)
|
|
3699
3208
|
update!(**args)
|
|
3700
3209
|
end
|
|
@@ -3702,6 +3211,8 @@ module Google
|
|
|
3702
3211
|
# Update properties of this object
|
|
3703
3212
|
def update!(**args)
|
|
3704
3213
|
@name = args[:name] if args.key?(:name)
|
|
3214
|
+
@resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
|
|
3215
|
+
@worker_release = args[:worker_release] if args.key?(:worker_release)
|
|
3705
3216
|
end
|
|
3706
3217
|
end
|
|
3707
3218
|
|
|
@@ -3997,27 +3508,6 @@ module Google
|
|
|
3997
3508
|
end
|
|
3998
3509
|
end
|
|
3999
3510
|
|
|
4000
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. RPC request object
|
|
4001
|
-
# accepted by RemoveGitLabConnectedRepository RPC method.
|
|
4002
|
-
class RemoveGitLabConnectedRepositoryRequest
|
|
4003
|
-
include Google::Apis::Core::Hashable
|
|
4004
|
-
|
|
4005
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
4006
|
-
# GitLabEnterprise
|
|
4007
|
-
# Corresponds to the JSON property `connectedRepository`
|
|
4008
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
4009
|
-
attr_accessor :connected_repository
|
|
4010
|
-
|
|
4011
|
-
def initialize(**args)
|
|
4012
|
-
update!(**args)
|
|
4013
|
-
end
|
|
4014
|
-
|
|
4015
|
-
# Update properties of this object
|
|
4016
|
-
def update!(**args)
|
|
4017
|
-
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
|
4018
|
-
end
|
|
4019
|
-
end
|
|
4020
|
-
|
|
4021
3511
|
# Location of the source in a Google Cloud Source Repository.
|
|
4022
3512
|
class RepoSource
|
|
4023
3513
|
include Google::Apis::Core::Hashable
|
|
@@ -4367,28 +3857,6 @@ module Google
|
|
|
4367
3857
|
end
|
|
4368
3858
|
end
|
|
4369
3859
|
|
|
4370
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated.
|
|
4371
|
-
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
4372
|
-
# host connection.
|
|
4373
|
-
class ServiceDirectoryConfig
|
|
4374
|
-
include Google::Apis::Core::Hashable
|
|
4375
|
-
|
|
4376
|
-
# The Service Directory service name. Format: projects/`project`/locations/`
|
|
4377
|
-
# location`/namespaces/`namespace`/services/`service`.
|
|
4378
|
-
# Corresponds to the JSON property `service`
|
|
4379
|
-
# @return [String]
|
|
4380
|
-
attr_accessor :service
|
|
4381
|
-
|
|
4382
|
-
def initialize(**args)
|
|
4383
|
-
update!(**args)
|
|
4384
|
-
end
|
|
4385
|
-
|
|
4386
|
-
# Update properties of this object
|
|
4387
|
-
def update!(**args)
|
|
4388
|
-
@service = args[:service] if args.key?(:service)
|
|
4389
|
-
end
|
|
4390
|
-
end
|
|
4391
|
-
|
|
4392
3860
|
# Location of the source in a supported storage service.
|
|
4393
3861
|
class Source
|
|
4394
3862
|
include Google::Apis::Core::Hashable
|
|
@@ -4734,39 +4202,6 @@ module Google
|
|
|
4734
4202
|
end
|
|
4735
4203
|
end
|
|
4736
4204
|
|
|
4737
|
-
# Deprecated: CloudBuild GitLab V1 integration is deprecated. Metadata for `
|
|
4738
|
-
# UpdateGitLabConfig` operation.
|
|
4739
|
-
class UpdateGitLabConfigOperationMetadata
|
|
4740
|
-
include Google::Apis::Core::Hashable
|
|
4741
|
-
|
|
4742
|
-
# Time the operation was completed.
|
|
4743
|
-
# Corresponds to the JSON property `completeTime`
|
|
4744
|
-
# @return [String]
|
|
4745
|
-
attr_accessor :complete_time
|
|
4746
|
-
|
|
4747
|
-
# Time the operation was created.
|
|
4748
|
-
# Corresponds to the JSON property `createTime`
|
|
4749
|
-
# @return [String]
|
|
4750
|
-
attr_accessor :create_time
|
|
4751
|
-
|
|
4752
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
4753
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
4754
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
4755
|
-
# @return [String]
|
|
4756
|
-
attr_accessor :gitlab_config
|
|
4757
|
-
|
|
4758
|
-
def initialize(**args)
|
|
4759
|
-
update!(**args)
|
|
4760
|
-
end
|
|
4761
|
-
|
|
4762
|
-
# Update properties of this object
|
|
4763
|
-
def update!(**args)
|
|
4764
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
4765
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4766
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
4767
|
-
end
|
|
4768
|
-
end
|
|
4769
|
-
|
|
4770
4205
|
# Metadata for the `UpdateWorkerPool` operation.
|
|
4771
4206
|
class UpdateWorkerPoolOperationMetadata
|
|
4772
4207
|
include Google::Apis::Core::Hashable
|
|
@@ -5106,6 +4541,12 @@ module Google
|
|
|
5106
4541
|
# @return [String]
|
|
5107
4542
|
attr_accessor :machine_type
|
|
5108
4543
|
|
|
4544
|
+
# Optional. Option to specify which release or release channel (rapid|regular|
|
|
4545
|
+
# stable) to use to run this build.
|
|
4546
|
+
# Corresponds to the JSON property `workerRelease`
|
|
4547
|
+
# @return [String]
|
|
4548
|
+
attr_accessor :worker_release
|
|
4549
|
+
|
|
5109
4550
|
def initialize(**args)
|
|
5110
4551
|
update!(**args)
|
|
5111
4552
|
end
|
|
@@ -5115,6 +4556,7 @@ module Google
|
|
|
5115
4556
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
5116
4557
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
|
5117
4558
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
4559
|
+
@worker_release = args[:worker_release] if args.key?(:worker_release)
|
|
5118
4560
|
end
|
|
5119
4561
|
end
|
|
5120
4562
|
|