google-apis-cloudbuild_v1 0.80.0 → 0.82.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,77 +332,6 @@ module Google
|
|
|
332
332
|
end
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
-
# RPC request object accepted by BatchCreateGitLabConnectedRepositories RPC
|
|
336
|
-
# 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
|
-
# Response of BatchCreateGitLabConnectedRepositories RPC method.
|
|
356
|
-
class BatchCreateGitLabConnectedRepositoriesResponse
|
|
357
|
-
include Google::Apis::Core::Hashable
|
|
358
|
-
|
|
359
|
-
# The GitLab connected repository requests' responses.
|
|
360
|
-
# Corresponds to the JSON property `gitlabConnectedRepositories`
|
|
361
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabConnectedRepository>]
|
|
362
|
-
attr_accessor :gitlab_connected_repositories
|
|
363
|
-
|
|
364
|
-
def initialize(**args)
|
|
365
|
-
update!(**args)
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
# Update properties of this object
|
|
369
|
-
def update!(**args)
|
|
370
|
-
@gitlab_connected_repositories = args[:gitlab_connected_repositories] if args.key?(:gitlab_connected_repositories)
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
# Metadata for `BatchCreateGitLabConnectedRepositories` operation.
|
|
375
|
-
class BatchCreateGitLabConnectedRepositoriesResponseMetadata
|
|
376
|
-
include Google::Apis::Core::Hashable
|
|
377
|
-
|
|
378
|
-
# Time the operation was completed.
|
|
379
|
-
# Corresponds to the JSON property `completeTime`
|
|
380
|
-
# @return [String]
|
|
381
|
-
attr_accessor :complete_time
|
|
382
|
-
|
|
383
|
-
# The name of the `GitLabConfig` that added connected repositories. Format: `
|
|
384
|
-
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
385
|
-
# Corresponds to the JSON property `config`
|
|
386
|
-
# @return [String]
|
|
387
|
-
attr_accessor :config
|
|
388
|
-
|
|
389
|
-
# Time the operation was created.
|
|
390
|
-
# Corresponds to the JSON property `createTime`
|
|
391
|
-
# @return [String]
|
|
392
|
-
attr_accessor :create_time
|
|
393
|
-
|
|
394
|
-
def initialize(**args)
|
|
395
|
-
update!(**args)
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
# Update properties of this object
|
|
399
|
-
def update!(**args)
|
|
400
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
401
|
-
@config = args[:config] if args.key?(:config)
|
|
402
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
403
|
-
end
|
|
404
|
-
end
|
|
405
|
-
|
|
406
335
|
# BitbucketServerConfig represents the configuration for a Bitbucket Server.
|
|
407
336
|
class BitbucketServerConfig
|
|
408
337
|
include Google::Apis::Core::Hashable
|
|
@@ -431,7 +360,7 @@ module Google
|
|
|
431
360
|
# @return [String]
|
|
432
361
|
attr_accessor :host_uri
|
|
433
362
|
|
|
434
|
-
# The resource name for the config.
|
|
363
|
+
# Identifier. The resource name for the config.
|
|
435
364
|
# Corresponds to the JSON property `name`
|
|
436
365
|
# @return [String]
|
|
437
366
|
attr_accessor :name
|
|
@@ -1433,12 +1362,6 @@ module Google
|
|
|
1433
1362
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
|
1434
1363
|
attr_accessor :github
|
|
1435
1364
|
|
|
1436
|
-
# GitLabEventsConfig describes the configuration of a trigger that creates a
|
|
1437
|
-
# build whenever a GitLab event is received.
|
|
1438
|
-
# Corresponds to the JSON property `gitlabEnterpriseEventsConfig`
|
|
1439
|
-
# @return [Google::Apis::CloudbuildV1::GitLabEventsConfig]
|
|
1440
|
-
attr_accessor :gitlab_enterprise_events_config
|
|
1441
|
-
|
|
1442
1365
|
# Output only. Unique identifier of the trigger.
|
|
1443
1366
|
# Corresponds to the JSON property `id`
|
|
1444
1367
|
# @return [String]
|
|
@@ -1555,7 +1478,6 @@ module Google
|
|
|
1555
1478
|
@filter = args[:filter] if args.key?(:filter)
|
|
1556
1479
|
@git_file_source = args[:git_file_source] if args.key?(:git_file_source)
|
|
1557
1480
|
@github = args[:github] if args.key?(:github)
|
|
1558
|
-
@gitlab_enterprise_events_config = args[:gitlab_enterprise_events_config] if args.key?(:gitlab_enterprise_events_config)
|
|
1559
1481
|
@id = args[:id] if args.key?(:id)
|
|
1560
1482
|
@ignored_files = args[:ignored_files] if args.key?(:ignored_files)
|
|
1561
1483
|
@include_build_logs = args[:include_build_logs] if args.key?(:include_build_logs)
|
|
@@ -1788,65 +1710,6 @@ module Google
|
|
|
1788
1710
|
end
|
|
1789
1711
|
end
|
|
1790
1712
|
|
|
1791
|
-
# Metadata for `CreateGitLabConfig` operation.
|
|
1792
|
-
class CreateGitLabConfigOperationMetadata
|
|
1793
|
-
include Google::Apis::Core::Hashable
|
|
1794
|
-
|
|
1795
|
-
# Time the operation was completed.
|
|
1796
|
-
# Corresponds to the JSON property `completeTime`
|
|
1797
|
-
# @return [String]
|
|
1798
|
-
attr_accessor :complete_time
|
|
1799
|
-
|
|
1800
|
-
# Time the operation was created.
|
|
1801
|
-
# Corresponds to the JSON property `createTime`
|
|
1802
|
-
# @return [String]
|
|
1803
|
-
attr_accessor :create_time
|
|
1804
|
-
|
|
1805
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
1806
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
1807
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
1808
|
-
# @return [String]
|
|
1809
|
-
attr_accessor :gitlab_config
|
|
1810
|
-
|
|
1811
|
-
def initialize(**args)
|
|
1812
|
-
update!(**args)
|
|
1813
|
-
end
|
|
1814
|
-
|
|
1815
|
-
# Update properties of this object
|
|
1816
|
-
def update!(**args)
|
|
1817
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
1818
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1819
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
1820
|
-
end
|
|
1821
|
-
end
|
|
1822
|
-
|
|
1823
|
-
# Request to connect a repository from a connected GitLab host.
|
|
1824
|
-
class CreateGitLabConnectedRepositoryRequest
|
|
1825
|
-
include Google::Apis::Core::Hashable
|
|
1826
|
-
|
|
1827
|
-
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
1828
|
-
# response.
|
|
1829
|
-
# Corresponds to the JSON property `gitlabConnectedRepository`
|
|
1830
|
-
# @return [Google::Apis::CloudbuildV1::GitLabConnectedRepository]
|
|
1831
|
-
attr_accessor :gitlab_connected_repository
|
|
1832
|
-
|
|
1833
|
-
# Required. The name of the `GitLabConfig` that adds connected repository.
|
|
1834
|
-
# Format: `projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
1835
|
-
# Corresponds to the JSON property `parent`
|
|
1836
|
-
# @return [String]
|
|
1837
|
-
attr_accessor :parent
|
|
1838
|
-
|
|
1839
|
-
def initialize(**args)
|
|
1840
|
-
update!(**args)
|
|
1841
|
-
end
|
|
1842
|
-
|
|
1843
|
-
# Update properties of this object
|
|
1844
|
-
def update!(**args)
|
|
1845
|
-
@gitlab_connected_repository = args[:gitlab_connected_repository] if args.key?(:gitlab_connected_repository)
|
|
1846
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
1847
|
-
end
|
|
1848
|
-
end
|
|
1849
|
-
|
|
1850
1713
|
# Metadata for the `CreateWorkerPool` operation.
|
|
1851
1714
|
class CreateWorkerPoolOperationMetadata
|
|
1852
1715
|
include Google::Apis::Core::Hashable
|
|
@@ -1975,38 +1838,6 @@ module Google
|
|
|
1975
1838
|
end
|
|
1976
1839
|
end
|
|
1977
1840
|
|
|
1978
|
-
# Metadata for `DeleteGitLabConfig` operation.
|
|
1979
|
-
class DeleteGitLabConfigOperationMetadata
|
|
1980
|
-
include Google::Apis::Core::Hashable
|
|
1981
|
-
|
|
1982
|
-
# Time the operation was completed.
|
|
1983
|
-
# Corresponds to the JSON property `completeTime`
|
|
1984
|
-
# @return [String]
|
|
1985
|
-
attr_accessor :complete_time
|
|
1986
|
-
|
|
1987
|
-
# Time the operation was created.
|
|
1988
|
-
# Corresponds to the JSON property `createTime`
|
|
1989
|
-
# @return [String]
|
|
1990
|
-
attr_accessor :create_time
|
|
1991
|
-
|
|
1992
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
1993
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
1994
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
1995
|
-
# @return [String]
|
|
1996
|
-
attr_accessor :gitlab_config
|
|
1997
|
-
|
|
1998
|
-
def initialize(**args)
|
|
1999
|
-
update!(**args)
|
|
2000
|
-
end
|
|
2001
|
-
|
|
2002
|
-
# Update properties of this object
|
|
2003
|
-
def update!(**args)
|
|
2004
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
2005
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2006
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
2007
|
-
end
|
|
2008
|
-
end
|
|
2009
|
-
|
|
2010
1841
|
# Metadata for the `DeleteWorkerPool` operation.
|
|
2011
1842
|
class DeleteWorkerPoolOperationMetadata
|
|
2012
1843
|
include Google::Apis::Core::Hashable
|
|
@@ -2373,8 +2204,9 @@ module Google
|
|
|
2373
2204
|
# @return [String]
|
|
2374
2205
|
attr_accessor :host_url
|
|
2375
2206
|
|
|
2376
|
-
# The full resource name for the GitHubEnterpriseConfig For example:
|
|
2377
|
-
# project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
2207
|
+
# Identifier. The full resource name for the GitHubEnterpriseConfig For example:
|
|
2208
|
+
# "projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
|
2209
|
+
# config_id`"
|
|
2378
2210
|
# Corresponds to the JSON property `name`
|
|
2379
2211
|
# @return [String]
|
|
2380
2212
|
attr_accessor :name
|
|
@@ -2542,293 +2374,6 @@ module Google
|
|
|
2542
2374
|
end
|
|
2543
2375
|
end
|
|
2544
2376
|
|
|
2545
|
-
# GitLabConfig represents the configuration for a GitLab integration.
|
|
2546
|
-
class GitLabConfig
|
|
2547
|
-
include Google::Apis::Core::Hashable
|
|
2548
|
-
|
|
2549
|
-
# Connected GitLab.com or GitLabEnterprise repositories for this config.
|
|
2550
|
-
# Corresponds to the JSON property `connectedRepositories`
|
|
2551
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabRepositoryId>]
|
|
2552
|
-
attr_accessor :connected_repositories
|
|
2553
|
-
|
|
2554
|
-
# Output only. Time when the config was created.
|
|
2555
|
-
# Corresponds to the JSON property `createTime`
|
|
2556
|
-
# @return [String]
|
|
2557
|
-
attr_accessor :create_time
|
|
2558
|
-
|
|
2559
|
-
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2560
|
-
# integration.
|
|
2561
|
-
# Corresponds to the JSON property `enterpriseConfig`
|
|
2562
|
-
# @return [Google::Apis::CloudbuildV1::GitLabEnterpriseConfig]
|
|
2563
|
-
attr_accessor :enterprise_config
|
|
2564
|
-
|
|
2565
|
-
# The resource name for the config.
|
|
2566
|
-
# Corresponds to the JSON property `name`
|
|
2567
|
-
# @return [String]
|
|
2568
|
-
attr_accessor :name
|
|
2569
|
-
|
|
2570
|
-
# GitLabSecrets represents the secrets in Secret Manager for a GitLab
|
|
2571
|
-
# integration.
|
|
2572
|
-
# Corresponds to the JSON property `secrets`
|
|
2573
|
-
# @return [Google::Apis::CloudbuildV1::GitLabSecrets]
|
|
2574
|
-
attr_accessor :secrets
|
|
2575
|
-
|
|
2576
|
-
# Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
|
|
2577
|
-
# Corresponds to the JSON property `username`
|
|
2578
|
-
# @return [String]
|
|
2579
|
-
attr_accessor :username
|
|
2580
|
-
|
|
2581
|
-
# Output only. UUID included in webhook requests. The UUID is used to look up
|
|
2582
|
-
# the corresponding config.
|
|
2583
|
-
# Corresponds to the JSON property `webhookKey`
|
|
2584
|
-
# @return [String]
|
|
2585
|
-
attr_accessor :webhook_key
|
|
2586
|
-
|
|
2587
|
-
def initialize(**args)
|
|
2588
|
-
update!(**args)
|
|
2589
|
-
end
|
|
2590
|
-
|
|
2591
|
-
# Update properties of this object
|
|
2592
|
-
def update!(**args)
|
|
2593
|
-
@connected_repositories = args[:connected_repositories] if args.key?(:connected_repositories)
|
|
2594
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2595
|
-
@enterprise_config = args[:enterprise_config] if args.key?(:enterprise_config)
|
|
2596
|
-
@name = args[:name] if args.key?(:name)
|
|
2597
|
-
@secrets = args[:secrets] if args.key?(:secrets)
|
|
2598
|
-
@username = args[:username] if args.key?(:username)
|
|
2599
|
-
@webhook_key = args[:webhook_key] if args.key?(:webhook_key)
|
|
2600
|
-
end
|
|
2601
|
-
end
|
|
2602
|
-
|
|
2603
|
-
# GitLabConnectedRepository represents a GitLab connected repository request
|
|
2604
|
-
# response.
|
|
2605
|
-
class GitLabConnectedRepository
|
|
2606
|
-
include Google::Apis::Core::Hashable
|
|
2607
|
-
|
|
2608
|
-
# The name of the `GitLabConfig` that added connected repository. Format: `
|
|
2609
|
-
# projects/`project`/locations/`location`/gitLabConfigs/`config``
|
|
2610
|
-
# Corresponds to the JSON property `parent`
|
|
2611
|
-
# @return [String]
|
|
2612
|
-
attr_accessor :parent
|
|
2613
|
-
|
|
2614
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2615
|
-
# GitLabEnterprise
|
|
2616
|
-
# Corresponds to the JSON property `repo`
|
|
2617
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
2618
|
-
attr_accessor :repo
|
|
2619
|
-
|
|
2620
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
2621
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2622
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2623
|
-
# data: error code, error message, and error details. You can find out more
|
|
2624
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2625
|
-
# //cloud.google.com/apis/design/errors).
|
|
2626
|
-
# Corresponds to the JSON property `status`
|
|
2627
|
-
# @return [Google::Apis::CloudbuildV1::Status]
|
|
2628
|
-
attr_accessor :status
|
|
2629
|
-
|
|
2630
|
-
def initialize(**args)
|
|
2631
|
-
update!(**args)
|
|
2632
|
-
end
|
|
2633
|
-
|
|
2634
|
-
# Update properties of this object
|
|
2635
|
-
def update!(**args)
|
|
2636
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
2637
|
-
@repo = args[:repo] if args.key?(:repo)
|
|
2638
|
-
@status = args[:status] if args.key?(:status)
|
|
2639
|
-
end
|
|
2640
|
-
end
|
|
2641
|
-
|
|
2642
|
-
# GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
|
|
2643
|
-
# integration.
|
|
2644
|
-
class GitLabEnterpriseConfig
|
|
2645
|
-
include Google::Apis::Core::Hashable
|
|
2646
|
-
|
|
2647
|
-
# Immutable. The URI of the GitlabEnterprise host.
|
|
2648
|
-
# Corresponds to the JSON property `hostUri`
|
|
2649
|
-
# @return [String]
|
|
2650
|
-
attr_accessor :host_uri
|
|
2651
|
-
|
|
2652
|
-
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
2653
|
-
# host connection.
|
|
2654
|
-
# Corresponds to the JSON property `serviceDirectoryConfig`
|
|
2655
|
-
# @return [Google::Apis::CloudbuildV1::ServiceDirectoryConfig]
|
|
2656
|
-
attr_accessor :service_directory_config
|
|
2657
|
-
|
|
2658
|
-
# The SSL certificate to use in requests to GitLab Enterprise instances.
|
|
2659
|
-
# Corresponds to the JSON property `sslCa`
|
|
2660
|
-
# @return [String]
|
|
2661
|
-
attr_accessor :ssl_ca
|
|
2662
|
-
|
|
2663
|
-
def initialize(**args)
|
|
2664
|
-
update!(**args)
|
|
2665
|
-
end
|
|
2666
|
-
|
|
2667
|
-
# Update properties of this object
|
|
2668
|
-
def update!(**args)
|
|
2669
|
-
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
|
2670
|
-
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
|
2671
|
-
@ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
|
|
2672
|
-
end
|
|
2673
|
-
end
|
|
2674
|
-
|
|
2675
|
-
# GitLabEventsConfig describes the configuration of a trigger that creates a
|
|
2676
|
-
# build whenever a GitLab event is received.
|
|
2677
|
-
class GitLabEventsConfig
|
|
2678
|
-
include Google::Apis::Core::Hashable
|
|
2679
|
-
|
|
2680
|
-
# GitLabConfig represents the configuration for a GitLab integration.
|
|
2681
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
2682
|
-
# @return [Google::Apis::CloudbuildV1::GitLabConfig]
|
|
2683
|
-
attr_accessor :gitlab_config
|
|
2684
|
-
|
|
2685
|
-
# The GitLab config resource that this trigger config maps to.
|
|
2686
|
-
# Corresponds to the JSON property `gitlabConfigResource`
|
|
2687
|
-
# @return [String]
|
|
2688
|
-
attr_accessor :gitlab_config_resource
|
|
2689
|
-
|
|
2690
|
-
# Namespace of the GitLab project.
|
|
2691
|
-
# Corresponds to the JSON property `projectNamespace`
|
|
2692
|
-
# @return [String]
|
|
2693
|
-
attr_accessor :project_namespace
|
|
2694
|
-
|
|
2695
|
-
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
|
2696
|
-
# Corresponds to the JSON property `pullRequest`
|
|
2697
|
-
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
|
2698
|
-
attr_accessor :pull_request
|
|
2699
|
-
|
|
2700
|
-
# Push contains filter properties for matching GitHub git pushes.
|
|
2701
|
-
# Corresponds to the JSON property `push`
|
|
2702
|
-
# @return [Google::Apis::CloudbuildV1::PushFilter]
|
|
2703
|
-
attr_accessor :push
|
|
2704
|
-
|
|
2705
|
-
def initialize(**args)
|
|
2706
|
-
update!(**args)
|
|
2707
|
-
end
|
|
2708
|
-
|
|
2709
|
-
# Update properties of this object
|
|
2710
|
-
def update!(**args)
|
|
2711
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
2712
|
-
@gitlab_config_resource = args[:gitlab_config_resource] if args.key?(:gitlab_config_resource)
|
|
2713
|
-
@project_namespace = args[:project_namespace] if args.key?(:project_namespace)
|
|
2714
|
-
@pull_request = args[:pull_request] if args.key?(:pull_request)
|
|
2715
|
-
@push = args[:push] if args.key?(:push)
|
|
2716
|
-
end
|
|
2717
|
-
end
|
|
2718
|
-
|
|
2719
|
-
# Proto Representing a GitLabRepository
|
|
2720
|
-
class GitLabRepository
|
|
2721
|
-
include Google::Apis::Core::Hashable
|
|
2722
|
-
|
|
2723
|
-
# Link to the browse repo page on the GitLab instance
|
|
2724
|
-
# Corresponds to the JSON property `browseUri`
|
|
2725
|
-
# @return [String]
|
|
2726
|
-
attr_accessor :browse_uri
|
|
2727
|
-
|
|
2728
|
-
# Description of the repository
|
|
2729
|
-
# Corresponds to the JSON property `description`
|
|
2730
|
-
# @return [String]
|
|
2731
|
-
attr_accessor :description
|
|
2732
|
-
|
|
2733
|
-
# Display name of the repository
|
|
2734
|
-
# Corresponds to the JSON property `displayName`
|
|
2735
|
-
# @return [String]
|
|
2736
|
-
attr_accessor :display_name
|
|
2737
|
-
|
|
2738
|
-
# The resource name of the repository
|
|
2739
|
-
# Corresponds to the JSON property `name`
|
|
2740
|
-
# @return [String]
|
|
2741
|
-
attr_accessor :name
|
|
2742
|
-
|
|
2743
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2744
|
-
# GitLabEnterprise
|
|
2745
|
-
# Corresponds to the JSON property `repositoryId`
|
|
2746
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
2747
|
-
attr_accessor :repository_id
|
|
2748
|
-
|
|
2749
|
-
def initialize(**args)
|
|
2750
|
-
update!(**args)
|
|
2751
|
-
end
|
|
2752
|
-
|
|
2753
|
-
# Update properties of this object
|
|
2754
|
-
def update!(**args)
|
|
2755
|
-
@browse_uri = args[:browse_uri] if args.key?(:browse_uri)
|
|
2756
|
-
@description = args[:description] if args.key?(:description)
|
|
2757
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2758
|
-
@name = args[:name] if args.key?(:name)
|
|
2759
|
-
@repository_id = args[:repository_id] if args.key?(:repository_id)
|
|
2760
|
-
end
|
|
2761
|
-
end
|
|
2762
|
-
|
|
2763
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
2764
|
-
# GitLabEnterprise
|
|
2765
|
-
class GitLabRepositoryId
|
|
2766
|
-
include Google::Apis::Core::Hashable
|
|
2767
|
-
|
|
2768
|
-
# Required. Identifier for the repository. example: "namespace/project-slug",
|
|
2769
|
-
# namespace is usually the username or group ID
|
|
2770
|
-
# Corresponds to the JSON property `id`
|
|
2771
|
-
# @return [String]
|
|
2772
|
-
attr_accessor :id
|
|
2773
|
-
|
|
2774
|
-
# Output only. The ID of the webhook that was created for receiving events from
|
|
2775
|
-
# this repo. We only create and manage a single webhook for each repo.
|
|
2776
|
-
# Corresponds to the JSON property `webhookId`
|
|
2777
|
-
# @return [Fixnum]
|
|
2778
|
-
attr_accessor :webhook_id
|
|
2779
|
-
|
|
2780
|
-
def initialize(**args)
|
|
2781
|
-
update!(**args)
|
|
2782
|
-
end
|
|
2783
|
-
|
|
2784
|
-
# Update properties of this object
|
|
2785
|
-
def update!(**args)
|
|
2786
|
-
@id = args[:id] if args.key?(:id)
|
|
2787
|
-
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
|
2788
|
-
end
|
|
2789
|
-
end
|
|
2790
|
-
|
|
2791
|
-
# GitLabSecrets represents the secrets in Secret Manager for a GitLab
|
|
2792
|
-
# integration.
|
|
2793
|
-
class GitLabSecrets
|
|
2794
|
-
include Google::Apis::Core::Hashable
|
|
2795
|
-
|
|
2796
|
-
# Required. The resource name for the api access token’s secret version
|
|
2797
|
-
# Corresponds to the JSON property `apiAccessTokenVersion`
|
|
2798
|
-
# @return [String]
|
|
2799
|
-
attr_accessor :api_access_token_version
|
|
2800
|
-
|
|
2801
|
-
# Required. Immutable. API Key that will be attached to webhook requests from
|
|
2802
|
-
# GitLab to Cloud Build.
|
|
2803
|
-
# Corresponds to the JSON property `apiKeyVersion`
|
|
2804
|
-
# @return [String]
|
|
2805
|
-
attr_accessor :api_key_version
|
|
2806
|
-
|
|
2807
|
-
# Required. The resource name for the read access token’s secret version
|
|
2808
|
-
# Corresponds to the JSON property `readAccessTokenVersion`
|
|
2809
|
-
# @return [String]
|
|
2810
|
-
attr_accessor :read_access_token_version
|
|
2811
|
-
|
|
2812
|
-
# Required. Immutable. The resource name for the webhook secret’s secret version.
|
|
2813
|
-
# Once this field has been set, it cannot be changed. If you need to change it,
|
|
2814
|
-
# please create another GitLabConfig.
|
|
2815
|
-
# Corresponds to the JSON property `webhookSecretVersion`
|
|
2816
|
-
# @return [String]
|
|
2817
|
-
attr_accessor :webhook_secret_version
|
|
2818
|
-
|
|
2819
|
-
def initialize(**args)
|
|
2820
|
-
update!(**args)
|
|
2821
|
-
end
|
|
2822
|
-
|
|
2823
|
-
# Update properties of this object
|
|
2824
|
-
def update!(**args)
|
|
2825
|
-
@api_access_token_version = args[:api_access_token_version] if args.key?(:api_access_token_version)
|
|
2826
|
-
@api_key_version = args[:api_key_version] if args.key?(:api_key_version)
|
|
2827
|
-
@read_access_token_version = args[:read_access_token_version] if args.key?(:read_access_token_version)
|
|
2828
|
-
@webhook_secret_version = args[:webhook_secret_version] if args.key?(:webhook_secret_version)
|
|
2829
|
-
end
|
|
2830
|
-
end
|
|
2831
|
-
|
|
2832
2377
|
# GitRepoSource describes a repo and ref of a code repository.
|
|
2833
2378
|
class GitRepoSource
|
|
2834
2379
|
include Google::Apis::Core::Hashable
|
|
@@ -2939,6 +2484,14 @@ module Google
|
|
|
2939
2484
|
# @return [String]
|
|
2940
2485
|
attr_accessor :dest_path
|
|
2941
2486
|
|
|
2487
|
+
# Optional. True if remote tags should be fetched too (default false). Note:
|
|
2488
|
+
# when depth is 1 (default), git fetch only retrieves tags pointing to commits
|
|
2489
|
+
# within the shallow boundary. Set depth to -1 to fetch all historical tags.
|
|
2490
|
+
# Corresponds to the JSON property `fetchTags`
|
|
2491
|
+
# @return [Boolean]
|
|
2492
|
+
attr_accessor :fetch_tags
|
|
2493
|
+
alias_method :fetch_tags?, :fetch_tags
|
|
2494
|
+
|
|
2942
2495
|
# Optional. True if submodules should be fetched too (default false).
|
|
2943
2496
|
# Corresponds to the JSON property `recurseSubmodules`
|
|
2944
2497
|
# @return [Boolean]
|
|
@@ -2963,6 +2516,7 @@ module Google
|
|
|
2963
2516
|
def update!(**args)
|
|
2964
2517
|
@depth = args[:depth] if args.key?(:depth)
|
|
2965
2518
|
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2519
|
+
@fetch_tags = args[:fetch_tags] if args.key?(:fetch_tags)
|
|
2966
2520
|
@recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
|
|
2967
2521
|
@repository = args[:repository] if args.key?(:repository)
|
|
2968
2522
|
@revision = args[:revision] if args.key?(:revision)
|
|
@@ -3282,58 +2836,6 @@ module Google
|
|
|
3282
2836
|
end
|
|
3283
2837
|
end
|
|
3284
2838
|
|
|
3285
|
-
# RPC response object returned by ListGitLabConfigs RPC method.
|
|
3286
|
-
class ListGitLabConfigsResponse
|
|
3287
|
-
include Google::Apis::Core::Hashable
|
|
3288
|
-
|
|
3289
|
-
# A list of GitLabConfigs
|
|
3290
|
-
# Corresponds to the JSON property `gitlabConfigs`
|
|
3291
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabConfig>]
|
|
3292
|
-
attr_accessor :gitlab_configs
|
|
3293
|
-
|
|
3294
|
-
# A token that can be sent as `page_token` to retrieve the next page If this
|
|
3295
|
-
# field is omitted, there are no subsequent pages.
|
|
3296
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3297
|
-
# @return [String]
|
|
3298
|
-
attr_accessor :next_page_token
|
|
3299
|
-
|
|
3300
|
-
def initialize(**args)
|
|
3301
|
-
update!(**args)
|
|
3302
|
-
end
|
|
3303
|
-
|
|
3304
|
-
# Update properties of this object
|
|
3305
|
-
def update!(**args)
|
|
3306
|
-
@gitlab_configs = args[:gitlab_configs] if args.key?(:gitlab_configs)
|
|
3307
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3308
|
-
end
|
|
3309
|
-
end
|
|
3310
|
-
|
|
3311
|
-
# RPC response object returned by the ListGitLabRepositories RPC method.
|
|
3312
|
-
class ListGitLabRepositoriesResponse
|
|
3313
|
-
include Google::Apis::Core::Hashable
|
|
3314
|
-
|
|
3315
|
-
# List of GitLab repositories
|
|
3316
|
-
# Corresponds to the JSON property `gitlabRepositories`
|
|
3317
|
-
# @return [Array<Google::Apis::CloudbuildV1::GitLabRepository>]
|
|
3318
|
-
attr_accessor :gitlab_repositories
|
|
3319
|
-
|
|
3320
|
-
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
3321
|
-
# field is omitted, there are no subsequent pages.
|
|
3322
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3323
|
-
# @return [String]
|
|
3324
|
-
attr_accessor :next_page_token
|
|
3325
|
-
|
|
3326
|
-
def initialize(**args)
|
|
3327
|
-
update!(**args)
|
|
3328
|
-
end
|
|
3329
|
-
|
|
3330
|
-
# Update properties of this object
|
|
3331
|
-
def update!(**args)
|
|
3332
|
-
@gitlab_repositories = args[:gitlab_repositories] if args.key?(:gitlab_repositories)
|
|
3333
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3334
|
-
end
|
|
3335
|
-
end
|
|
3336
|
-
|
|
3337
2839
|
# RPC response object returned by ListGithubEnterpriseConfigs RPC method.
|
|
3338
2840
|
class ListGithubEnterpriseConfigsResponse
|
|
3339
2841
|
include Google::Apis::Core::Hashable
|
|
@@ -3979,26 +3481,6 @@ module Google
|
|
|
3979
3481
|
end
|
|
3980
3482
|
end
|
|
3981
3483
|
|
|
3982
|
-
# RPC request object accepted by RemoveGitLabConnectedRepository RPC method.
|
|
3983
|
-
class RemoveGitLabConnectedRepositoryRequest
|
|
3984
|
-
include Google::Apis::Core::Hashable
|
|
3985
|
-
|
|
3986
|
-
# GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
|
|
3987
|
-
# GitLabEnterprise
|
|
3988
|
-
# Corresponds to the JSON property `connectedRepository`
|
|
3989
|
-
# @return [Google::Apis::CloudbuildV1::GitLabRepositoryId]
|
|
3990
|
-
attr_accessor :connected_repository
|
|
3991
|
-
|
|
3992
|
-
def initialize(**args)
|
|
3993
|
-
update!(**args)
|
|
3994
|
-
end
|
|
3995
|
-
|
|
3996
|
-
# Update properties of this object
|
|
3997
|
-
def update!(**args)
|
|
3998
|
-
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
|
3999
|
-
end
|
|
4000
|
-
end
|
|
4001
|
-
|
|
4002
3484
|
# Location of the source in a Google Cloud Source Repository.
|
|
4003
3485
|
class RepoSource
|
|
4004
3486
|
include Google::Apis::Core::Hashable
|
|
@@ -4348,27 +3830,6 @@ module Google
|
|
|
4348
3830
|
end
|
|
4349
3831
|
end
|
|
4350
3832
|
|
|
4351
|
-
# ServiceDirectoryConfig represents Service Directory configuration for a SCM
|
|
4352
|
-
# host connection.
|
|
4353
|
-
class ServiceDirectoryConfig
|
|
4354
|
-
include Google::Apis::Core::Hashable
|
|
4355
|
-
|
|
4356
|
-
# The Service Directory service name. Format: projects/`project`/locations/`
|
|
4357
|
-
# location`/namespaces/`namespace`/services/`service`.
|
|
4358
|
-
# Corresponds to the JSON property `service`
|
|
4359
|
-
# @return [String]
|
|
4360
|
-
attr_accessor :service
|
|
4361
|
-
|
|
4362
|
-
def initialize(**args)
|
|
4363
|
-
update!(**args)
|
|
4364
|
-
end
|
|
4365
|
-
|
|
4366
|
-
# Update properties of this object
|
|
4367
|
-
def update!(**args)
|
|
4368
|
-
@service = args[:service] if args.key?(:service)
|
|
4369
|
-
end
|
|
4370
|
-
end
|
|
4371
|
-
|
|
4372
3833
|
# Location of the source in a supported storage service.
|
|
4373
3834
|
class Source
|
|
4374
3835
|
include Google::Apis::Core::Hashable
|
|
@@ -4714,38 +4175,6 @@ module Google
|
|
|
4714
4175
|
end
|
|
4715
4176
|
end
|
|
4716
4177
|
|
|
4717
|
-
# Metadata for `UpdateGitLabConfig` operation.
|
|
4718
|
-
class UpdateGitLabConfigOperationMetadata
|
|
4719
|
-
include Google::Apis::Core::Hashable
|
|
4720
|
-
|
|
4721
|
-
# Time the operation was completed.
|
|
4722
|
-
# Corresponds to the JSON property `completeTime`
|
|
4723
|
-
# @return [String]
|
|
4724
|
-
attr_accessor :complete_time
|
|
4725
|
-
|
|
4726
|
-
# Time the operation was created.
|
|
4727
|
-
# Corresponds to the JSON property `createTime`
|
|
4728
|
-
# @return [String]
|
|
4729
|
-
attr_accessor :create_time
|
|
4730
|
-
|
|
4731
|
-
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
|
4732
|
-
# project`/locations/`location`/gitlabConfigs/`id``.
|
|
4733
|
-
# Corresponds to the JSON property `gitlabConfig`
|
|
4734
|
-
# @return [String]
|
|
4735
|
-
attr_accessor :gitlab_config
|
|
4736
|
-
|
|
4737
|
-
def initialize(**args)
|
|
4738
|
-
update!(**args)
|
|
4739
|
-
end
|
|
4740
|
-
|
|
4741
|
-
# Update properties of this object
|
|
4742
|
-
def update!(**args)
|
|
4743
|
-
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
|
4744
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4745
|
-
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
|
4746
|
-
end
|
|
4747
|
-
end
|
|
4748
|
-
|
|
4749
4178
|
# Metadata for the `UpdateWorkerPool` operation.
|
|
4750
4179
|
class UpdateWorkerPoolOperationMetadata
|
|
4751
4180
|
include Google::Apis::Core::Hashable
|
|
@@ -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.82.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 = "20260814"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|