google-apis-cloudbuild_v1 0.67.0 → 0.69.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 +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudbuild_v1/classes.rb +277 -4
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudbuild_v1/representations.rb +110 -0
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717aa964697a4ccdabbfd5e9a211abe28d6ce44e912dc93bcb5ed72f77812f34
|
4
|
+
data.tar.gz: 2e3fd26b928106a7f86cfb59ef009dd18f77ce114a39077ac9a61cca5303b9f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d27169087b60c8a6b4b89b8e1b5e4a6f66bb9598f32859e4b5fb8c3c321d0ac34a83ac0cb701593f1cfc763e53ee418127a2c9121cf7abe7ce71189c4a8bfa2
|
7
|
+
data.tar.gz: c88b7e7504c14d6799cddfacde67ac580a39d0a16b692a0ad1f60d31ffed27c76fe86af24cc0778280d5f9f47a2762871b48f587c6b38205971bf633ae89df3c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.69.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250514
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
8
|
+
### v0.68.0 (2025-02-26)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250211
|
11
|
+
* Regenerated using generator version 0.16.0
|
12
|
+
|
3
13
|
### v0.67.0 (2024-12-15)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20241210
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/cloud-build/docs/) may prov
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -178,6 +178,13 @@ module Google
|
|
178
178
|
class Artifacts
|
179
179
|
include Google::Apis::Core::Hashable
|
180
180
|
|
181
|
+
# Optional. A list of Go modules to be uploaded to Artifact Registry upon
|
182
|
+
# successful completion of all build steps. If any objects fail to be pushed,
|
183
|
+
# the build is marked FAILURE.
|
184
|
+
# Corresponds to the JSON property `goModules`
|
185
|
+
# @return [Array<Google::Apis::CloudbuildV1::GoModule>]
|
186
|
+
attr_accessor :go_modules
|
187
|
+
|
181
188
|
# A list of images to be pushed upon the successful completion of all build
|
182
189
|
# steps. The images will be pushed using the builder service account's
|
183
190
|
# credentials. The digests of the pushed images will be stored in the Build
|
@@ -225,6 +232,7 @@ module Google
|
|
225
232
|
|
226
233
|
# Update properties of this object
|
227
234
|
def update!(**args)
|
235
|
+
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
228
236
|
@images = args[:images] if args.key?(:images)
|
229
237
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
230
238
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
@@ -724,6 +732,12 @@ module Google
|
|
724
732
|
# @return [String]
|
725
733
|
attr_accessor :create_time
|
726
734
|
|
735
|
+
# Optional. Dependencies that the Cloud Build worker will fetch before executing
|
736
|
+
# user steps.
|
737
|
+
# Corresponds to the JSON property `dependencies`
|
738
|
+
# @return [Array<Google::Apis::CloudbuildV1::Dependency>]
|
739
|
+
attr_accessor :dependencies
|
740
|
+
|
727
741
|
# A fatal problem encountered during the execution of the build.
|
728
742
|
# Corresponds to the JSON property `failureInfo`
|
729
743
|
# @return [Google::Apis::CloudbuildV1::FailureInfo]
|
@@ -885,6 +899,7 @@ module Google
|
|
885
899
|
@available_secrets = args[:available_secrets] if args.key?(:available_secrets)
|
886
900
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
887
901
|
@create_time = args[:create_time] if args.key?(:create_time)
|
902
|
+
@dependencies = args[:dependencies] if args.key?(:dependencies)
|
888
903
|
@failure_info = args[:failure_info] if args.key?(:failure_info)
|
889
904
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
890
905
|
@git_config = args[:git_config] if args.key?(:git_config)
|
@@ -1009,6 +1024,13 @@ module Google
|
|
1009
1024
|
attr_accessor :dynamic_substitutions
|
1010
1025
|
alias_method :dynamic_substitutions?, :dynamic_substitutions
|
1011
1026
|
|
1027
|
+
# Optional. Option to specify whether structured logging is enabled. If true,
|
1028
|
+
# JSON-formatted logs are parsed as structured logs.
|
1029
|
+
# Corresponds to the JSON property `enableStructuredLogging`
|
1030
|
+
# @return [Boolean]
|
1031
|
+
attr_accessor :enable_structured_logging
|
1032
|
+
alias_method :enable_structured_logging?, :enable_structured_logging
|
1033
|
+
|
1012
1034
|
# A list of global environment variable definitions that will exist for all
|
1013
1035
|
# build steps in this build. If a variable is defined in both globally and in a
|
1014
1036
|
# build step, the variable will use the build step value. The elements are of
|
@@ -1041,6 +1063,11 @@ module Google
|
|
1041
1063
|
# @return [Google::Apis::CloudbuildV1::PoolOption]
|
1042
1064
|
attr_accessor :pool
|
1043
1065
|
|
1066
|
+
# Optional. Option to specify the Pub/Sub topic to receive build status updates.
|
1067
|
+
# Corresponds to the JSON property `pubsubTopic`
|
1068
|
+
# @return [String]
|
1069
|
+
attr_accessor :pubsub_topic
|
1070
|
+
|
1044
1071
|
# Requested verifiability options.
|
1045
1072
|
# Corresponds to the JSON property `requestedVerifyOption`
|
1046
1073
|
# @return [String]
|
@@ -1090,11 +1117,13 @@ module Google
|
|
1090
1117
|
@default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
|
1091
1118
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1092
1119
|
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
1120
|
+
@enable_structured_logging = args[:enable_structured_logging] if args.key?(:enable_structured_logging)
|
1093
1121
|
@env = args[:env] if args.key?(:env)
|
1094
1122
|
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
1095
1123
|
@logging = args[:logging] if args.key?(:logging)
|
1096
1124
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1097
1125
|
@pool = args[:pool] if args.key?(:pool)
|
1126
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
1098
1127
|
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
1099
1128
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
1100
1129
|
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
@@ -1320,6 +1349,12 @@ module Google
|
|
1320
1349
|
# @return [String]
|
1321
1350
|
attr_accessor :description
|
1322
1351
|
|
1352
|
+
# The configuration of a trigger that creates a build whenever an event from the
|
1353
|
+
# DeveloperConnect API is received.
|
1354
|
+
# Corresponds to the JSON property `developerConnectEventConfig`
|
1355
|
+
# @return [Google::Apis::CloudbuildV1::DeveloperConnectEventConfig]
|
1356
|
+
attr_accessor :developer_connect_event_config
|
1357
|
+
|
1323
1358
|
# If true, the trigger will never automatically execute a build.
|
1324
1359
|
# Corresponds to the JSON property `disabled`
|
1325
1360
|
# @return [Boolean]
|
@@ -1470,6 +1505,7 @@ module Google
|
|
1470
1505
|
@build = args[:build] if args.key?(:build)
|
1471
1506
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1472
1507
|
@description = args[:description] if args.key?(:description)
|
1508
|
+
@developer_connect_event_config = args[:developer_connect_event_config] if args.key?(:developer_connect_event_config)
|
1473
1509
|
@disabled = args[:disabled] if args.key?(:disabled)
|
1474
1510
|
@event_type = args[:event_type] if args.key?(:event_type)
|
1475
1511
|
@filename = args[:filename] if args.key?(:filename)
|
@@ -1947,6 +1983,34 @@ module Google
|
|
1947
1983
|
end
|
1948
1984
|
end
|
1949
1985
|
|
1986
|
+
# A dependency that the Cloud Build worker will fetch before executing user
|
1987
|
+
# steps.
|
1988
|
+
class Dependency
|
1989
|
+
include Google::Apis::Core::Hashable
|
1990
|
+
|
1991
|
+
# If set to true disable all dependency fetching (ignoring the default source as
|
1992
|
+
# well).
|
1993
|
+
# Corresponds to the JSON property `empty`
|
1994
|
+
# @return [Boolean]
|
1995
|
+
attr_accessor :empty
|
1996
|
+
alias_method :empty?, :empty
|
1997
|
+
|
1998
|
+
# Represents a git repository as a build dependency.
|
1999
|
+
# Corresponds to the JSON property `gitSource`
|
2000
|
+
# @return [Google::Apis::CloudbuildV1::GitSourceDependency]
|
2001
|
+
attr_accessor :git_source
|
2002
|
+
|
2003
|
+
def initialize(**args)
|
2004
|
+
update!(**args)
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# Update properties of this object
|
2008
|
+
def update!(**args)
|
2009
|
+
@empty = args[:empty] if args.key?(:empty)
|
2010
|
+
@git_source = args[:git_source] if args.key?(:git_source)
|
2011
|
+
end
|
2012
|
+
end
|
2013
|
+
|
1950
2014
|
# This config defines the location of a source through Developer Connect.
|
1951
2015
|
class DeveloperConnectConfig
|
1952
2016
|
include Google::Apis::Core::Hashable
|
@@ -1980,6 +2044,45 @@ module Google
|
|
1980
2044
|
end
|
1981
2045
|
end
|
1982
2046
|
|
2047
|
+
# The configuration of a trigger that creates a build whenever an event from the
|
2048
|
+
# DeveloperConnect API is received.
|
2049
|
+
class DeveloperConnectEventConfig
|
2050
|
+
include Google::Apis::Core::Hashable
|
2051
|
+
|
2052
|
+
# Required. The Developer Connect Git repository link, formatted as `projects/*/
|
2053
|
+
# locations/*/connections/*/gitRepositoryLink/*`.
|
2054
|
+
# Corresponds to the JSON property `gitRepositoryLink`
|
2055
|
+
# @return [String]
|
2056
|
+
attr_accessor :git_repository_link
|
2057
|
+
|
2058
|
+
# Output only. The type of DeveloperConnect GitRepositoryLink.
|
2059
|
+
# Corresponds to the JSON property `gitRepositoryLinkType`
|
2060
|
+
# @return [String]
|
2061
|
+
attr_accessor :git_repository_link_type
|
2062
|
+
|
2063
|
+
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
2064
|
+
# Corresponds to the JSON property `pullRequest`
|
2065
|
+
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
2066
|
+
attr_accessor :pull_request
|
2067
|
+
|
2068
|
+
# Push contains filter properties for matching GitHub git pushes.
|
2069
|
+
# Corresponds to the JSON property `push`
|
2070
|
+
# @return [Google::Apis::CloudbuildV1::PushFilter]
|
2071
|
+
attr_accessor :push
|
2072
|
+
|
2073
|
+
def initialize(**args)
|
2074
|
+
update!(**args)
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
# Update properties of this object
|
2078
|
+
def update!(**args)
|
2079
|
+
@git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
|
2080
|
+
@git_repository_link_type = args[:git_repository_link_type] if args.key?(:git_repository_link_type)
|
2081
|
+
@pull_request = args[:pull_request] if args.key?(:pull_request)
|
2082
|
+
@push = args[:push] if args.key?(:push)
|
2083
|
+
end
|
2084
|
+
end
|
2085
|
+
|
1983
2086
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1984
2087
|
# messages in your APIs. A typical example is to use it as the request or the
|
1985
2088
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2704,6 +2807,136 @@ module Google
|
|
2704
2807
|
end
|
2705
2808
|
end
|
2706
2809
|
|
2810
|
+
# Represents a git repository as a build dependency.
|
2811
|
+
class GitSourceDependency
|
2812
|
+
include Google::Apis::Core::Hashable
|
2813
|
+
|
2814
|
+
# Optional. How much history should be fetched for the build (default 1, -1 for
|
2815
|
+
# all history).
|
2816
|
+
# Corresponds to the JSON property `depth`
|
2817
|
+
# @return [Fixnum]
|
2818
|
+
attr_accessor :depth
|
2819
|
+
|
2820
|
+
# Required. Where should the files be placed on the worker.
|
2821
|
+
# Corresponds to the JSON property `destPath`
|
2822
|
+
# @return [String]
|
2823
|
+
attr_accessor :dest_path
|
2824
|
+
|
2825
|
+
# Optional. True if submodules should be fetched too (default false).
|
2826
|
+
# Corresponds to the JSON property `recurseSubmodules`
|
2827
|
+
# @return [Boolean]
|
2828
|
+
attr_accessor :recurse_submodules
|
2829
|
+
alias_method :recurse_submodules?, :recurse_submodules
|
2830
|
+
|
2831
|
+
# A repository for a git source.
|
2832
|
+
# Corresponds to the JSON property `repository`
|
2833
|
+
# @return [Google::Apis::CloudbuildV1::GitSourceRepository]
|
2834
|
+
attr_accessor :repository
|
2835
|
+
|
2836
|
+
# Required. The revision that we will fetch the repo at.
|
2837
|
+
# Corresponds to the JSON property `revision`
|
2838
|
+
# @return [String]
|
2839
|
+
attr_accessor :revision
|
2840
|
+
|
2841
|
+
def initialize(**args)
|
2842
|
+
update!(**args)
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
# Update properties of this object
|
2846
|
+
def update!(**args)
|
2847
|
+
@depth = args[:depth] if args.key?(:depth)
|
2848
|
+
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
2849
|
+
@recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
|
2850
|
+
@repository = args[:repository] if args.key?(:repository)
|
2851
|
+
@revision = args[:revision] if args.key?(:revision)
|
2852
|
+
end
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
# A repository for a git source.
|
2856
|
+
class GitSourceRepository
|
2857
|
+
include Google::Apis::Core::Hashable
|
2858
|
+
|
2859
|
+
# The Developer Connect Git repository link or the url that matches a repository
|
2860
|
+
# link in the current project, formatted as `projects/*/locations/*/connections/*
|
2861
|
+
# /gitRepositoryLink/*`
|
2862
|
+
# Corresponds to the JSON property `developerConnect`
|
2863
|
+
# @return [String]
|
2864
|
+
attr_accessor :developer_connect
|
2865
|
+
|
2866
|
+
# Location of the Git repository.
|
2867
|
+
# Corresponds to the JSON property `url`
|
2868
|
+
# @return [String]
|
2869
|
+
attr_accessor :url
|
2870
|
+
|
2871
|
+
def initialize(**args)
|
2872
|
+
update!(**args)
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
# Update properties of this object
|
2876
|
+
def update!(**args)
|
2877
|
+
@developer_connect = args[:developer_connect] if args.key?(:developer_connect)
|
2878
|
+
@url = args[:url] if args.key?(:url)
|
2879
|
+
end
|
2880
|
+
end
|
2881
|
+
|
2882
|
+
# Go module to upload to Artifact Registry upon successful completion of all
|
2883
|
+
# build steps. A module refers to all dependencies in a go.mod file.
|
2884
|
+
class GoModule
|
2885
|
+
include Google::Apis::Core::Hashable
|
2886
|
+
|
2887
|
+
# Optional. The Go module's "module path". e.g. example.com/foo/v2
|
2888
|
+
# Corresponds to the JSON property `modulePath`
|
2889
|
+
# @return [String]
|
2890
|
+
attr_accessor :module_path
|
2891
|
+
|
2892
|
+
# Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-
|
2893
|
+
# release identifiers can also be added by appending a dash and dot separated
|
2894
|
+
# ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
|
2895
|
+
# Corresponds to the JSON property `moduleVersion`
|
2896
|
+
# @return [String]
|
2897
|
+
attr_accessor :module_version
|
2898
|
+
|
2899
|
+
# Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults
|
2900
|
+
# to the build’s location.
|
2901
|
+
# Corresponds to the JSON property `repositoryLocation`
|
2902
|
+
# @return [String]
|
2903
|
+
attr_accessor :repository_location
|
2904
|
+
|
2905
|
+
# Optional. Artifact Registry repository name. Specified Go modules will be
|
2906
|
+
# zipped and uploaded to Artifact Registry with this location as a prefix. e.g.
|
2907
|
+
# my-go-repo
|
2908
|
+
# Corresponds to the JSON property `repositoryName`
|
2909
|
+
# @return [String]
|
2910
|
+
attr_accessor :repository_name
|
2911
|
+
|
2912
|
+
# Optional. Project ID of the Artifact Registry repository. Defaults to the
|
2913
|
+
# build project.
|
2914
|
+
# Corresponds to the JSON property `repositoryProjectId`
|
2915
|
+
# @return [String]
|
2916
|
+
attr_accessor :repository_project_id
|
2917
|
+
|
2918
|
+
# Optional. Source path of the go.mod file in the build's workspace. If not
|
2919
|
+
# specified, this will default to the current directory. e.g. ~/code/go/
|
2920
|
+
# mypackage
|
2921
|
+
# Corresponds to the JSON property `sourcePath`
|
2922
|
+
# @return [String]
|
2923
|
+
attr_accessor :source_path
|
2924
|
+
|
2925
|
+
def initialize(**args)
|
2926
|
+
update!(**args)
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
# Update properties of this object
|
2930
|
+
def update!(**args)
|
2931
|
+
@module_path = args[:module_path] if args.key?(:module_path)
|
2932
|
+
@module_version = args[:module_version] if args.key?(:module_version)
|
2933
|
+
@repository_location = args[:repository_location] if args.key?(:repository_location)
|
2934
|
+
@repository_name = args[:repository_name] if args.key?(:repository_name)
|
2935
|
+
@repository_project_id = args[:repository_project_id] if args.key?(:repository_project_id)
|
2936
|
+
@source_path = args[:source_path] if args.key?(:source_path)
|
2937
|
+
end
|
2938
|
+
end
|
2939
|
+
|
2707
2940
|
# Container message for hash values.
|
2708
2941
|
class HashProp
|
2709
2942
|
include Google::Apis::Core::Hashable
|
@@ -3045,10 +3278,10 @@ module Google
|
|
3045
3278
|
# @return [String]
|
3046
3279
|
attr_accessor :group_id
|
3047
3280
|
|
3048
|
-
# Path to an artifact in the build's workspace to be uploaded to
|
3049
|
-
# Registry. This can be either an absolute path, e.g. /workspace/my-app/
|
3050
|
-
# my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
|
3051
|
-
# my-app-1.0.SNAPSHOT.jar.
|
3281
|
+
# Optional. Path to an artifact in the build's workspace to be uploaded to
|
3282
|
+
# Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/
|
3283
|
+
# target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
|
3284
|
+
# target/my-app-1.0.SNAPSHOT.jar.
|
3052
3285
|
# Corresponds to the JSON property `path`
|
3053
3286
|
# @return [String]
|
3054
3287
|
attr_accessor :path
|
@@ -3744,6 +3977,12 @@ module Google
|
|
3744
3977
|
# @return [Array<String>]
|
3745
3978
|
attr_accessor :build_step_outputs
|
3746
3979
|
|
3980
|
+
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
|
3981
|
+
# build.
|
3982
|
+
# Corresponds to the JSON property `goModules`
|
3983
|
+
# @return [Array<Google::Apis::CloudbuildV1::UploadedGoModule>]
|
3984
|
+
attr_accessor :go_modules
|
3985
|
+
|
3747
3986
|
# Container images that were built as a part of the build.
|
3748
3987
|
# Corresponds to the JSON property `images`
|
3749
3988
|
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
@@ -3780,6 +4019,7 @@ module Google
|
|
3780
4019
|
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
|
3781
4020
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
3782
4021
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
4022
|
+
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
3783
4023
|
@images = args[:images] if args.key?(:images)
|
3784
4024
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
3785
4025
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
@@ -4334,6 +4574,39 @@ module Google
|
|
4334
4574
|
end
|
4335
4575
|
end
|
4336
4576
|
|
4577
|
+
# A Go module artifact uploaded to Artifact Registry using the GoModule
|
4578
|
+
# directive.
|
4579
|
+
class UploadedGoModule
|
4580
|
+
include Google::Apis::Core::Hashable
|
4581
|
+
|
4582
|
+
# Container message for hashes of byte content of files, used in
|
4583
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
4584
|
+
# Corresponds to the JSON property `fileHashes`
|
4585
|
+
# @return [Google::Apis::CloudbuildV1::FileHashes]
|
4586
|
+
attr_accessor :file_hashes
|
4587
|
+
|
4588
|
+
# Start and end times for a build execution phase.
|
4589
|
+
# Corresponds to the JSON property `pushTiming`
|
4590
|
+
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
4591
|
+
attr_accessor :push_timing
|
4592
|
+
|
4593
|
+
# URI of the uploaded artifact.
|
4594
|
+
# Corresponds to the JSON property `uri`
|
4595
|
+
# @return [String]
|
4596
|
+
attr_accessor :uri
|
4597
|
+
|
4598
|
+
def initialize(**args)
|
4599
|
+
update!(**args)
|
4600
|
+
end
|
4601
|
+
|
4602
|
+
# Update properties of this object
|
4603
|
+
def update!(**args)
|
4604
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
4605
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
4606
|
+
@uri = args[:uri] if args.key?(:uri)
|
4607
|
+
end
|
4608
|
+
end
|
4609
|
+
|
4337
4610
|
# A Maven artifact uploaded using the MavenArtifact directive.
|
4338
4611
|
class UploadedMavenArtifact
|
4339
4612
|
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.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250514"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,12 +256,24 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class Dependency
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class DeveloperConnectConfig
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
263
269
|
end
|
264
270
|
|
271
|
+
class DeveloperConnectEventConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
265
277
|
class Empty
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
279
|
|
@@ -364,6 +376,24 @@ module Google
|
|
364
376
|
include Google::Apis::Core::JsonObjectSupport
|
365
377
|
end
|
366
378
|
|
379
|
+
class GitSourceDependency
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class GitSourceRepository
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class GoModule
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
367
397
|
class HashProp
|
368
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
399
|
|
@@ -646,6 +676,12 @@ module Google
|
|
646
676
|
include Google::Apis::Core::JsonObjectSupport
|
647
677
|
end
|
648
678
|
|
679
|
+
class UploadedGoModule
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
649
685
|
class UploadedMavenArtifact
|
650
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
687
|
|
@@ -742,6 +778,8 @@ module Google
|
|
742
778
|
class Artifacts
|
743
779
|
# @private
|
744
780
|
class Representation < Google::Apis::Core::JsonRepresentation
|
781
|
+
collection :go_modules, as: 'goModules', class: Google::Apis::CloudbuildV1::GoModule, decorator: Google::Apis::CloudbuildV1::GoModule::Representation
|
782
|
+
|
745
783
|
collection :images, as: 'images'
|
746
784
|
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::MavenArtifact, decorator: Google::Apis::CloudbuildV1::MavenArtifact::Representation
|
747
785
|
|
@@ -890,6 +928,8 @@ module Google
|
|
890
928
|
|
891
929
|
property :build_trigger_id, as: 'buildTriggerId'
|
892
930
|
property :create_time, as: 'createTime'
|
931
|
+
collection :dependencies, as: 'dependencies', class: Google::Apis::CloudbuildV1::Dependency, decorator: Google::Apis::CloudbuildV1::Dependency::Representation
|
932
|
+
|
893
933
|
property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1::FailureInfo, decorator: Google::Apis::CloudbuildV1::FailureInfo::Representation
|
894
934
|
|
895
935
|
property :finish_time, as: 'finishTime'
|
@@ -954,12 +994,14 @@ module Google
|
|
954
994
|
property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
|
955
995
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
956
996
|
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
997
|
+
property :enable_structured_logging, as: 'enableStructuredLogging'
|
957
998
|
collection :env, as: 'env'
|
958
999
|
property :log_streaming_option, as: 'logStreamingOption'
|
959
1000
|
property :logging, as: 'logging'
|
960
1001
|
property :machine_type, as: 'machineType'
|
961
1002
|
property :pool, as: 'pool', class: Google::Apis::CloudbuildV1::PoolOption, decorator: Google::Apis::CloudbuildV1::PoolOption::Representation
|
962
1003
|
|
1004
|
+
property :pubsub_topic, as: 'pubsubTopic'
|
963
1005
|
property :requested_verify_option, as: 'requestedVerifyOption'
|
964
1006
|
collection :secret_env, as: 'secretEnv'
|
965
1007
|
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
@@ -1009,6 +1051,8 @@ module Google
|
|
1009
1051
|
|
1010
1052
|
property :create_time, as: 'createTime'
|
1011
1053
|
property :description, as: 'description'
|
1054
|
+
property :developer_connect_event_config, as: 'developerConnectEventConfig', class: Google::Apis::CloudbuildV1::DeveloperConnectEventConfig, decorator: Google::Apis::CloudbuildV1::DeveloperConnectEventConfig::Representation
|
1055
|
+
|
1012
1056
|
property :disabled, as: 'disabled'
|
1013
1057
|
property :event_type, as: 'eventType'
|
1014
1058
|
property :filename, as: 'filename'
|
@@ -1173,6 +1217,15 @@ module Google
|
|
1173
1217
|
end
|
1174
1218
|
end
|
1175
1219
|
|
1220
|
+
class Dependency
|
1221
|
+
# @private
|
1222
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1223
|
+
property :empty, as: 'empty'
|
1224
|
+
property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSourceDependency, decorator: Google::Apis::CloudbuildV1::GitSourceDependency::Representation
|
1225
|
+
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1176
1229
|
class DeveloperConnectConfig
|
1177
1230
|
# @private
|
1178
1231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1182,6 +1235,18 @@ module Google
|
|
1182
1235
|
end
|
1183
1236
|
end
|
1184
1237
|
|
1238
|
+
class DeveloperConnectEventConfig
|
1239
|
+
# @private
|
1240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1241
|
+
property :git_repository_link, as: 'gitRepositoryLink'
|
1242
|
+
property :git_repository_link_type, as: 'gitRepositoryLinkType'
|
1243
|
+
property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
|
1244
|
+
|
1245
|
+
property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
|
1246
|
+
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1185
1250
|
class Empty
|
1186
1251
|
# @private
|
1187
1252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1371,6 +1436,38 @@ module Google
|
|
1371
1436
|
end
|
1372
1437
|
end
|
1373
1438
|
|
1439
|
+
class GitSourceDependency
|
1440
|
+
# @private
|
1441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
+
property :depth, :numeric_string => true, as: 'depth'
|
1443
|
+
property :dest_path, as: 'destPath'
|
1444
|
+
property :recurse_submodules, as: 'recurseSubmodules'
|
1445
|
+
property :repository, as: 'repository', class: Google::Apis::CloudbuildV1::GitSourceRepository, decorator: Google::Apis::CloudbuildV1::GitSourceRepository::Representation
|
1446
|
+
|
1447
|
+
property :revision, as: 'revision'
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
class GitSourceRepository
|
1452
|
+
# @private
|
1453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1454
|
+
property :developer_connect, as: 'developerConnect'
|
1455
|
+
property :url, as: 'url'
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
class GoModule
|
1460
|
+
# @private
|
1461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1462
|
+
property :module_path, as: 'modulePath'
|
1463
|
+
property :module_version, as: 'moduleVersion'
|
1464
|
+
property :repository_location, as: 'repositoryLocation'
|
1465
|
+
property :repository_name, as: 'repositoryName'
|
1466
|
+
property :repository_project_id, as: 'repositoryProjectId'
|
1467
|
+
property :source_path, as: 'sourcePath'
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1374
1471
|
class HashProp
|
1375
1472
|
# @private
|
1376
1473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1656,6 +1753,8 @@ module Google
|
|
1656
1753
|
|
1657
1754
|
collection :build_step_images, as: 'buildStepImages'
|
1658
1755
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
1756
|
+
collection :go_modules, as: 'goModules', class: Google::Apis::CloudbuildV1::UploadedGoModule, decorator: Google::Apis::CloudbuildV1::UploadedGoModule::Representation
|
1757
|
+
|
1659
1758
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
|
1660
1759
|
|
1661
1760
|
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1::UploadedMavenArtifact::Representation
|
@@ -1828,6 +1927,17 @@ module Google
|
|
1828
1927
|
end
|
1829
1928
|
end
|
1830
1929
|
|
1930
|
+
class UploadedGoModule
|
1931
|
+
# @private
|
1932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1933
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
1934
|
+
|
1935
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
|
1936
|
+
|
1937
|
+
property :uri, as: 'uri'
|
1938
|
+
end
|
1939
|
+
end
|
1940
|
+
|
1831
1941
|
class UploadedMavenArtifact
|
1832
1942
|
# @private
|
1833
1943
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.69.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
66
|
requirements:
|
69
67
|
- - ">="
|
70
68
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
69
|
+
version: '3.1'
|
72
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
71
|
requirements:
|
74
72
|
- - ">="
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.8
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Build API V1
|
82
79
|
test_files: []
|