google-cloud-build-v1 1.9.1 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff6c337f12e9b82b981c9f138638a6840bcff16e78cf42ab6cb6b6ab689982b8
4
- data.tar.gz: 9169c5cb24bb09cf4f6ef0eb0c9d83c470cbe7c4d7715cbb20c2f969e0ddd301
3
+ metadata.gz: 2adec6bd61176008b840800409b860f1d368d63190eba69bd76503c9861467ce
4
+ data.tar.gz: ed985dab8be2180ac2ccbab47af41902e46268e0acea3900494f1799d1eba2f0
5
5
  SHA512:
6
- metadata.gz: 51d288d7b19479e650aebce65e29506799e83aa089bb6f33422866d0791836bf62b73a29b32fe210be4aef5b7dd1e3fa676cac7af0f98ca35766cf1f75f38923
7
- data.tar.gz: a5ec084f9e87cc51f251754fde1b6a09d0c779bf49463772e5c27e9e710ea541b7424f36ac147f04cc20808d09646d5aefe8cabd6d6e676d23d4d320bb0e8de9
6
+ metadata.gz: 9830ca0ee05f554f4ba4b255cd5f0f48083e8e19b02941b26abd46789b5417b7146c917cde1d375f0187b626b15d0745b751c704e3f218840cdff03ccf4f03d7
7
+ data.tar.gz: 27e2b5feac29eaee36d45dd7f2e63372ab722f344467c2f27524e5cbeaafbcd55dbb605f3706657e889f0ec17cf919eeb6d8c989b25a997a72e4832196be5eb1
@@ -797,8 +797,8 @@ module Google
797
797
  ##
798
798
  # Approves or rejects a pending build.
799
799
  #
800
- # If approved, the returned LRO will be analogous to the LRO returned from
801
- # a CreateBuild call.
800
+ # If approved, the returned long-running operation (LRO) will be analogous to
801
+ # the LRO returned from a CreateBuild call.
802
802
  #
803
803
  # If rejected, the returned LRO will be immediately done.
804
804
  #
@@ -902,8 +902,6 @@ module Google
902
902
  ##
903
903
  # Creates a new `BuildTrigger`.
904
904
  #
905
- # This API is experimental.
906
- #
907
905
  # @overload create_build_trigger(request, options = nil)
908
906
  # Pass arguments to `create_build_trigger` via a request object, either of type
909
907
  # {::Google::Cloud::Build::V1::CreateBuildTriggerRequest} or an equivalent Hash.
@@ -997,8 +995,6 @@ module Google
997
995
  ##
998
996
  # Returns information about a `BuildTrigger`.
999
997
  #
1000
- # This API is experimental.
1001
- #
1002
998
  # @overload get_build_trigger(request, options = nil)
1003
999
  # Pass arguments to `get_build_trigger` via a request object, either of type
1004
1000
  # {::Google::Cloud::Build::V1::GetBuildTriggerRequest} or an equivalent Hash.
@@ -1092,8 +1088,6 @@ module Google
1092
1088
  ##
1093
1089
  # Lists existing `BuildTrigger`s.
1094
1090
  #
1095
- # This API is experimental.
1096
- #
1097
1091
  # @overload list_build_triggers(request, options = nil)
1098
1092
  # Pass arguments to `list_build_triggers` via a request object, either of type
1099
1093
  # {::Google::Cloud::Build::V1::ListBuildTriggersRequest} or an equivalent Hash.
@@ -1195,8 +1189,6 @@ module Google
1195
1189
  ##
1196
1190
  # Deletes a `BuildTrigger` by its project ID and trigger ID.
1197
1191
  #
1198
- # This API is experimental.
1199
- #
1200
1192
  # @overload delete_build_trigger(request, options = nil)
1201
1193
  # Pass arguments to `delete_build_trigger` via a request object, either of type
1202
1194
  # {::Google::Cloud::Build::V1::DeleteBuildTriggerRequest} or an equivalent Hash.
@@ -1290,8 +1282,6 @@ module Google
1290
1282
  ##
1291
1283
  # Updates a `BuildTrigger` by its project ID and trigger ID.
1292
1284
  #
1293
- # This API is experimental.
1294
- #
1295
1285
  # @overload update_build_trigger(request, options = nil)
1296
1286
  # Pass arguments to `update_build_trigger` via a request object, either of type
1297
1287
  # {::Google::Cloud::Build::V1::UpdateBuildTriggerRequest} or an equivalent Hash.
@@ -1924,7 +1914,7 @@ module Google
1924
1914
  # The `name` field is used to identify the `WorkerPool` to update.
1925
1915
  # Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.
1926
1916
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1927
- # A mask specifying which fields in `worker_pool` to update.
1917
+ # Optional. A mask specifying which fields in `worker_pool` to update.
1928
1918
  # @param validate_only [::Boolean]
1929
1919
  # If set, validate the request and preview the response, but do not actually
1930
1920
  # post it.
@@ -2106,6 +2096,96 @@ module Google
2106
2096
  raise ::Google::Cloud::Error.from_error(e)
2107
2097
  end
2108
2098
 
2099
+ ##
2100
+ # Returns the `DefaultServiceAccount` used by the project.
2101
+ #
2102
+ # @overload get_default_service_account(request, options = nil)
2103
+ # Pass arguments to `get_default_service_account` via a request object, either of type
2104
+ # {::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest} or an equivalent Hash.
2105
+ #
2106
+ # @param request [::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest, ::Hash]
2107
+ # A request object representing the call parameters. Required. To specify no
2108
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2109
+ # @param options [::Gapic::CallOptions, ::Hash]
2110
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2111
+ #
2112
+ # @overload get_default_service_account(name: nil)
2113
+ # Pass arguments to `get_default_service_account` via keyword arguments. Note that at
2114
+ # least one keyword argument is required. To specify no parameters, or to keep all
2115
+ # the default parameter values, pass an empty Hash as a request object (see above).
2116
+ #
2117
+ # @param name [::String]
2118
+ # Required. The name of the `DefaultServiceAccount` to retrieve.
2119
+ # Format:
2120
+ # `projects/{project}/locations/{location}/defaultServiceAccount`
2121
+ #
2122
+ # @yield [response, operation] Access the result along with the RPC operation
2123
+ # @yieldparam response [::Google::Cloud::Build::V1::DefaultServiceAccount]
2124
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2125
+ #
2126
+ # @return [::Google::Cloud::Build::V1::DefaultServiceAccount]
2127
+ #
2128
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2129
+ #
2130
+ # @example Basic example
2131
+ # require "google/cloud/build/v1"
2132
+ #
2133
+ # # Create a client object. The client can be reused for multiple calls.
2134
+ # client = Google::Cloud::Build::V1::CloudBuild::Client.new
2135
+ #
2136
+ # # Create a request. To set request fields, pass in keyword arguments.
2137
+ # request = Google::Cloud::Build::V1::GetDefaultServiceAccountRequest.new
2138
+ #
2139
+ # # Call the get_default_service_account method.
2140
+ # result = client.get_default_service_account request
2141
+ #
2142
+ # # The returned object is of type Google::Cloud::Build::V1::DefaultServiceAccount.
2143
+ # p result
2144
+ #
2145
+ def get_default_service_account request, options = nil
2146
+ raise ::ArgumentError, "request must be provided" if request.nil?
2147
+
2148
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest
2149
+
2150
+ # Converts hash and nil to an options object
2151
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2152
+
2153
+ # Customize the options with defaults
2154
+ metadata = @config.rpcs.get_default_service_account.metadata.to_h
2155
+
2156
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2157
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2158
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2159
+ gapic_version: ::Google::Cloud::Build::V1::VERSION
2160
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2161
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2162
+
2163
+ header_params = {}
2164
+ if request.name
2165
+ regex_match = %r{^projects/[^/]+/locations/(?<location>[^/]+)/defaultServiceAccount/?$}.match request.name
2166
+ if regex_match
2167
+ header_params["location"] = regex_match["location".to_s]
2168
+ end
2169
+ end
2170
+
2171
+ request_params_header = URI.encode_www_form header_params
2172
+ metadata[:"x-goog-request-params"] ||= request_params_header
2173
+
2174
+ options.apply_defaults timeout: @config.rpcs.get_default_service_account.timeout,
2175
+ metadata: metadata,
2176
+ retry_policy: @config.rpcs.get_default_service_account.retry_policy
2177
+
2178
+ options.apply_defaults timeout: @config.timeout,
2179
+ metadata: @config.metadata,
2180
+ retry_policy: @config.retry_policy
2181
+
2182
+ @cloud_build_stub.call_rpc :get_default_service_account, request, options: options do |response, operation|
2183
+ yield response, operation if block_given?
2184
+ end
2185
+ rescue ::GRPC::BadStatus => e
2186
+ raise ::Google::Cloud::Error.from_error(e)
2187
+ end
2188
+
2109
2189
  ##
2110
2190
  # Configuration class for the CloudBuild API.
2111
2191
  #
@@ -2379,6 +2459,11 @@ module Google
2379
2459
  # @return [::Gapic::Config::Method]
2380
2460
  #
2381
2461
  attr_reader :list_worker_pools
2462
+ ##
2463
+ # RPC-specific configuration for `get_default_service_account`
2464
+ # @return [::Gapic::Config::Method]
2465
+ #
2466
+ attr_reader :get_default_service_account
2382
2467
 
2383
2468
  # @private
2384
2469
  def initialize parent_rpcs = nil
@@ -2418,6 +2503,8 @@ module Google
2418
2503
  @update_worker_pool = ::Gapic::Config::Method.new update_worker_pool_config
2419
2504
  list_worker_pools_config = parent_rpcs.list_worker_pools if parent_rpcs.respond_to? :list_worker_pools
2420
2505
  @list_worker_pools = ::Gapic::Config::Method.new list_worker_pools_config
2506
+ get_default_service_account_config = parent_rpcs.get_default_service_account if parent_rpcs.respond_to? :get_default_service_account
2507
+ @get_default_service_account = ::Gapic::Config::Method.new get_default_service_account_config
2421
2508
 
2422
2509
  yield self if block_given?
2423
2510
  end
@@ -127,6 +127,23 @@ module Google
127
127
  "projects/#{project}/locations/#{location}/keyRings/#{keyring}/cryptoKeys/#{key}"
128
128
  end
129
129
 
130
+ ##
131
+ # Create a fully-qualified DefaultServiceAccount resource string.
132
+ #
133
+ # The resource will be in the following format:
134
+ #
135
+ # `projects/{project}/locations/{location}/defaultServiceAccount`
136
+ #
137
+ # @param project [String]
138
+ # @param location [String]
139
+ #
140
+ # @return [::String]
141
+ def default_service_account_path project:, location:
142
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
143
+
144
+ "projects/#{project}/locations/#{location}/defaultServiceAccount"
145
+ end
146
+
130
147
  ##
131
148
  # Create a fully-qualified GitRepositoryLink resource string.
132
149
  #
@@ -740,8 +740,8 @@ module Google
740
740
  ##
741
741
  # Approves or rejects a pending build.
742
742
  #
743
- # If approved, the returned LRO will be analogous to the LRO returned from
744
- # a CreateBuild call.
743
+ # If approved, the returned long-running operation (LRO) will be analogous to
744
+ # the LRO returned from a CreateBuild call.
745
745
  #
746
746
  # If rejected, the returned LRO will be immediately done.
747
747
  #
@@ -835,8 +835,6 @@ module Google
835
835
  ##
836
836
  # Creates a new `BuildTrigger`.
837
837
  #
838
- # This API is experimental.
839
- #
840
838
  # @overload create_build_trigger(request, options = nil)
841
839
  # Pass arguments to `create_build_trigger` via a request object, either of type
842
840
  # {::Google::Cloud::Build::V1::CreateBuildTriggerRequest} or an equivalent Hash.
@@ -920,8 +918,6 @@ module Google
920
918
  ##
921
919
  # Returns information about a `BuildTrigger`.
922
920
  #
923
- # This API is experimental.
924
- #
925
921
  # @overload get_build_trigger(request, options = nil)
926
922
  # Pass arguments to `get_build_trigger` via a request object, either of type
927
923
  # {::Google::Cloud::Build::V1::GetBuildTriggerRequest} or an equivalent Hash.
@@ -1005,8 +1001,6 @@ module Google
1005
1001
  ##
1006
1002
  # Lists existing `BuildTrigger`s.
1007
1003
  #
1008
- # This API is experimental.
1009
- #
1010
1004
  # @overload list_build_triggers(request, options = nil)
1011
1005
  # Pass arguments to `list_build_triggers` via a request object, either of type
1012
1006
  # {::Google::Cloud::Build::V1::ListBuildTriggersRequest} or an equivalent Hash.
@@ -1098,8 +1092,6 @@ module Google
1098
1092
  ##
1099
1093
  # Deletes a `BuildTrigger` by its project ID and trigger ID.
1100
1094
  #
1101
- # This API is experimental.
1102
- #
1103
1095
  # @overload delete_build_trigger(request, options = nil)
1104
1096
  # Pass arguments to `delete_build_trigger` via a request object, either of type
1105
1097
  # {::Google::Cloud::Build::V1::DeleteBuildTriggerRequest} or an equivalent Hash.
@@ -1183,8 +1175,6 @@ module Google
1183
1175
  ##
1184
1176
  # Updates a `BuildTrigger` by its project ID and trigger ID.
1185
1177
  #
1186
- # This API is experimental.
1187
- #
1188
1178
  # @overload update_build_trigger(request, options = nil)
1189
1179
  # Pass arguments to `update_build_trigger` via a request object, either of type
1190
1180
  # {::Google::Cloud::Build::V1::UpdateBuildTriggerRequest} or an equivalent Hash.
@@ -1757,7 +1747,7 @@ module Google
1757
1747
  # The `name` field is used to identify the `WorkerPool` to update.
1758
1748
  # Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.
1759
1749
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1760
- # A mask specifying which fields in `worker_pool` to update.
1750
+ # Optional. A mask specifying which fields in `worker_pool` to update.
1761
1751
  # @param validate_only [::Boolean]
1762
1752
  # If set, validate the request and preview the response, but do not actually
1763
1753
  # post it.
@@ -1919,6 +1909,86 @@ module Google
1919
1909
  raise ::Google::Cloud::Error.from_error(e)
1920
1910
  end
1921
1911
 
1912
+ ##
1913
+ # Returns the `DefaultServiceAccount` used by the project.
1914
+ #
1915
+ # @overload get_default_service_account(request, options = nil)
1916
+ # Pass arguments to `get_default_service_account` via a request object, either of type
1917
+ # {::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest} or an equivalent Hash.
1918
+ #
1919
+ # @param request [::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest, ::Hash]
1920
+ # A request object representing the call parameters. Required. To specify no
1921
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1922
+ # @param options [::Gapic::CallOptions, ::Hash]
1923
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1924
+ #
1925
+ # @overload get_default_service_account(name: nil)
1926
+ # Pass arguments to `get_default_service_account` via keyword arguments. Note that at
1927
+ # least one keyword argument is required. To specify no parameters, or to keep all
1928
+ # the default parameter values, pass an empty Hash as a request object (see above).
1929
+ #
1930
+ # @param name [::String]
1931
+ # Required. The name of the `DefaultServiceAccount` to retrieve.
1932
+ # Format:
1933
+ # `projects/{project}/locations/{location}/defaultServiceAccount`
1934
+ # @yield [result, operation] Access the result along with the TransportOperation object
1935
+ # @yieldparam result [::Google::Cloud::Build::V1::DefaultServiceAccount]
1936
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1937
+ #
1938
+ # @return [::Google::Cloud::Build::V1::DefaultServiceAccount]
1939
+ #
1940
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1941
+ #
1942
+ # @example Basic example
1943
+ # require "google/cloud/build/v1"
1944
+ #
1945
+ # # Create a client object. The client can be reused for multiple calls.
1946
+ # client = Google::Cloud::Build::V1::CloudBuild::Rest::Client.new
1947
+ #
1948
+ # # Create a request. To set request fields, pass in keyword arguments.
1949
+ # request = Google::Cloud::Build::V1::GetDefaultServiceAccountRequest.new
1950
+ #
1951
+ # # Call the get_default_service_account method.
1952
+ # result = client.get_default_service_account request
1953
+ #
1954
+ # # The returned object is of type Google::Cloud::Build::V1::DefaultServiceAccount.
1955
+ # p result
1956
+ #
1957
+ def get_default_service_account request, options = nil
1958
+ raise ::ArgumentError, "request must be provided" if request.nil?
1959
+
1960
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest
1961
+
1962
+ # Converts hash and nil to an options object
1963
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1964
+
1965
+ # Customize the options with defaults
1966
+ call_metadata = @config.rpcs.get_default_service_account.metadata.to_h
1967
+
1968
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1969
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1970
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1971
+ gapic_version: ::Google::Cloud::Build::V1::VERSION,
1972
+ transports_version_send: [:rest]
1973
+
1974
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1975
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1976
+
1977
+ options.apply_defaults timeout: @config.rpcs.get_default_service_account.timeout,
1978
+ metadata: call_metadata,
1979
+ retry_policy: @config.rpcs.get_default_service_account.retry_policy
1980
+
1981
+ options.apply_defaults timeout: @config.timeout,
1982
+ metadata: @config.metadata,
1983
+ retry_policy: @config.retry_policy
1984
+
1985
+ @cloud_build_stub.get_default_service_account request, options do |result, operation|
1986
+ yield result, operation if block_given?
1987
+ end
1988
+ rescue ::Gapic::Rest::Error => e
1989
+ raise ::Google::Cloud::Error.from_error(e)
1990
+ end
1991
+
1922
1992
  ##
1923
1993
  # Configuration class for the CloudBuild REST API.
1924
1994
  #
@@ -2155,6 +2225,11 @@ module Google
2155
2225
  # @return [::Gapic::Config::Method]
2156
2226
  #
2157
2227
  attr_reader :list_worker_pools
2228
+ ##
2229
+ # RPC-specific configuration for `get_default_service_account`
2230
+ # @return [::Gapic::Config::Method]
2231
+ #
2232
+ attr_reader :get_default_service_account
2158
2233
 
2159
2234
  # @private
2160
2235
  def initialize parent_rpcs = nil
@@ -2194,6 +2269,8 @@ module Google
2194
2269
  @update_worker_pool = ::Gapic::Config::Method.new update_worker_pool_config
2195
2270
  list_worker_pools_config = parent_rpcs.list_worker_pools if parent_rpcs.respond_to? :list_worker_pools
2196
2271
  @list_worker_pools = ::Gapic::Config::Method.new list_worker_pools_config
2272
+ get_default_service_account_config = parent_rpcs.get_default_service_account if parent_rpcs.respond_to? :get_default_service_account
2273
+ @get_default_service_account = ::Gapic::Config::Method.new get_default_service_account_config
2197
2274
 
2198
2275
  yield self if block_given?
2199
2276
  end
@@ -793,6 +793,46 @@ module Google
793
793
  end
794
794
  end
795
795
 
796
+ ##
797
+ # Baseline implementation for the get_default_service_account REST call
798
+ #
799
+ # @param request_pb [::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest]
800
+ # A request object representing the call parameters. Required.
801
+ # @param options [::Gapic::CallOptions]
802
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
803
+ #
804
+ # @yield [result, operation] Access the result along with the TransportOperation object
805
+ # @yieldparam result [::Google::Cloud::Build::V1::DefaultServiceAccount]
806
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
807
+ #
808
+ # @return [::Google::Cloud::Build::V1::DefaultServiceAccount]
809
+ # A result object deserialized from the server's reply
810
+ def get_default_service_account request_pb, options = nil
811
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
812
+
813
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_default_service_account_request request_pb
814
+ query_string_params = if query_string_params.any?
815
+ query_string_params.to_h { |p| p.split "=", 2 }
816
+ else
817
+ {}
818
+ end
819
+
820
+ response = @client_stub.make_http_request(
821
+ verb,
822
+ uri: uri,
823
+ body: body || "",
824
+ params: query_string_params,
825
+ method_name: "get_default_service_account",
826
+ options: options
827
+ )
828
+ operation = ::Gapic::Rest::TransportOperation.new response
829
+ result = ::Google::Cloud::Build::V1::DefaultServiceAccount.decode_json response.body, ignore_unknown_fields: true
830
+ catch :response do
831
+ yield result, operation if block_given?
832
+ result
833
+ end
834
+ end
835
+
796
836
  ##
797
837
  # @private
798
838
  #
@@ -1287,6 +1327,27 @@ module Google
1287
1327
  )
1288
1328
  transcoder.transcode request_pb
1289
1329
  end
1330
+
1331
+ ##
1332
+ # @private
1333
+ #
1334
+ # GRPC transcoding helper method for the get_default_service_account REST call
1335
+ #
1336
+ # @param request_pb [::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest]
1337
+ # A request object representing the call parameters. Required.
1338
+ # @return [Array(String, [String, nil], Hash{String => String})]
1339
+ # Uri, Body, Query string parameters
1340
+ def self.transcode_get_default_service_account_request request_pb
1341
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1342
+ .with_bindings(
1343
+ uri_method: :get,
1344
+ uri_template: "/v1/{name}",
1345
+ matches: [
1346
+ ["name", %r{^projects/[^/]+/locations/[^/]+/defaultServiceAccount/?$}, false]
1347
+ ]
1348
+ )
1349
+ transcoder.transcode request_pb
1350
+ end
1290
1351
  end
1291
1352
  end
1292
1353
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V1
24
- VERSION = "1.9.1"
24
+ VERSION = "1.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -17,7 +17,7 @@ require 'google/protobuf/field_mask_pb'
17
17
  require 'google/protobuf/timestamp_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n.google/devtools/cloudbuild/v1/cloudbuild.proto\x12\x1dgoogle.devtools.cloudbuild.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"q\n\x11RetryBuildRequest\x12\x32\n\x04name\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\x01\n\x16RunBuildTriggerRequest\x12\x39\n\x04name\x18\x04 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\"\xea\x01\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x12W\n\x0esource_fetcher\x18\x05 \x01(\x0e\x32:.google.devtools.cloudbuild.v1.StorageSource.SourceFetcherB\x03\xe0\x41\x01\"L\n\rSourceFetcher\x12\x1e\n\x1aSOURCE_FETCHER_UNSPECIFIED\x10\x00\x12\n\n\x06GSUTIL\x10\x01\x12\x0f\n\x0bGCS_FETCHER\x10\x02\"7\n\tGitSource\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0b\n\x03\x64ir\x18\x05 \x01(\t\x12\x10\n\x08revision\x18\x06 \x01(\t\"\xae\x02\n\nRepoSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x0b\n\x03\x64ir\x18\x07 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x08 \x01(\x08\x12S\n\rsubstitutions\x18\t \x03(\x0b\x32<.google.devtools.cloudbuild.v1.RepoSource.SubstitutionsEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08revision\"K\n\x15StorageSourceManifest\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xb5\x02\n\x06Source\x12\x46\n\x0estorage_source\x18\x02 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSourceH\x00\x12@\n\x0brepo_source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSourceH\x00\x12>\n\ngit_source\x18\x05 \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitSourceH\x00\x12W\n\x17storage_source_manifest\x18\x08 \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifestH\x00\x42\x08\n\x06source\"m\n\nBuiltImage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12\x41\n\x0bpush_timing\x18\x04 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa7\x01\n\x15UploadedPythonPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa7\x01\n\x15UploadedMavenArtifact\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa2\x01\n\x10UploadedGoModule\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xa4\x01\n\x12UploadedNpmPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\"\xc5\x04\n\tBuildStep\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x65nv\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x10\n\x08wait_for\x18\x06 \x03(\t\x12\x12\n\nentrypoint\x18\x07 \x01(\t\x12\x12\n\nsecret_env\x18\x08 \x03(\t\x12\x36\n\x07volumes\x18\t \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12<\n\x06timing\x18\n \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12\x41\n\x0bpull_timing\x18\r \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x06status\x18\x0c \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x15\n\rallow_failure\x18\x0e \x01(\x08\x12\x16\n\texit_code\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x10\x61llow_exit_codes\x18\x12 \x03(\x05\x12\x0e\n\x06script\x18\x13 \x01(\t\x12\"\n\x15\x61utomap_substitutions\x18\x14 \x01(\x08H\x00\x88\x01\x01\x42\x18\n\x16_automap_substitutions\"$\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\xa0\x04\n\x07Results\x12\x39\n\x06images\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.BuiltImage\x12\x19\n\x11\x62uild_step_images\x18\x03 \x03(\t\x12\x19\n\x11\x61rtifact_manifest\x18\x04 \x01(\t\x12\x15\n\rnum_artifacts\x18\x05 \x01(\x03\x12\x1a\n\x12\x62uild_step_outputs\x18\x06 \x03(\x0c\x12@\n\x0f\x61rtifact_timing\x18\x07 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan\x12M\n\x0fpython_packages\x18\x08 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedPythonPackage\x12M\n\x0fmaven_artifacts\x18\t \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedMavenArtifact\x12H\n\ngo_modules\x18\n \x03(\x0b\x32/.google.devtools.cloudbuild.v1.UploadedGoModuleB\x03\xe0\x41\x01\x12G\n\x0cnpm_packages\x18\x0c \x03(\x0b\x32\x31.google.devtools.cloudbuild.v1.UploadedNpmPackage\"`\n\x0e\x41rtifactResult\x12\x10\n\x08location\x18\x01 \x01(\t\x12<\n\tfile_hash\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\"\xba\x13\n\x05\x42uild\x12\x11\n\x04name\x18- \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nproject_id\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12@\n\x06status\x18\x02 \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x06source\x18\x03 \x01(\x0b\x32%.google.devtools.cloudbuild.v1.Source\x12\x37\n\x05steps\x18\x0b \x03(\x0b\x32(.google.devtools.cloudbuild.v1.BuildStep\x12<\n\x07results\x18\n \x01(\x0b\x32&.google.devtools.cloudbuild.v1.ResultsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06images\x18\r \x03(\t\x12,\n\tqueue_ttl\x18( \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\tartifacts\x18% \x01(\x0b\x32(.google.devtools.cloudbuild.v1.Artifacts\x12\x13\n\x0blogs_bucket\x18\x13 \x01(\t\x12O\n\x11source_provenance\x18\x15 \x01(\x0b\x32/.google.devtools.cloudbuild.v1.SourceProvenanceB\x03\xe0\x41\x03\x12\x1d\n\x10\x62uild_trigger_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12<\n\x07options\x18\x17 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildOptions\x12\x14\n\x07log_url\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12N\n\rsubstitutions\x18\x1d \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.Build.SubstitutionsEntry\x12\x0c\n\x04tags\x18\x1f \x03(\t\x12\x36\n\x07secrets\x18 \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Secret\x12\x45\n\x06timing\x18! \x03(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.TimingEntryB\x03\xe0\x41\x03\x12\x43\n\x08\x61pproval\x18, \x01(\x0b\x32,.google.devtools.cloudbuild.v1.BuildApprovalB\x03\xe0\x41\x03\x12?\n\x0fservice_account\x18* \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x41\n\x11\x61vailable_secrets\x18/ \x01(\x0b\x32&.google.devtools.cloudbuild.v1.Secrets\x12\x43\n\x08warnings\x18\x31 \x03(\x0b\x32,.google.devtools.cloudbuild.v1.Build.WarningB\x03\xe0\x41\x03\x12\x41\n\ngit_config\x18\x30 \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitConfigB\x03\xe0\x41\x01\x12K\n\x0c\x66\x61ilure_info\x18\x33 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.FailureInfoB\x03\xe0\x41\x03\x12\x44\n\x0c\x64\x65pendencies\x18\x38 \x03(\x0b\x32).google.devtools.cloudbuild.v1.DependencyB\x03\xe0\x41\x01\x1a\xa8\x01\n\x07Warning\x12\x0c\n\x04text\x18\x01 \x01(\t\x12G\n\x08priority\x18\x02 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.Build.Warning.Priority\"F\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x41LERT\x10\x03\x1a\x9e\x02\n\x0b\x46\x61ilureInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.devtools.cloudbuild.v1.Build.FailureInfo.FailureType\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\xb2\x01\n\x0b\x46\x61ilureType\x12\x1c\n\x18\x46\x41ILURE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPUSH_FAILED\x10\x01\x12\x18\n\x14PUSH_IMAGE_NOT_FOUND\x10\x02\x12\x17\n\x13PUSH_NOT_AUTHORIZED\x10\x03\x12\x13\n\x0fLOGGING_FAILURE\x10\x04\x12\x13\n\x0fUSER_BUILD_STEP\x10\x05\x12\x17\n\x13\x46\x45TCH_SOURCE_FAILED\x10\x06\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x0bTimingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan:\x02\x38\x01\"\x99\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\n\x12\n\n\x06QUEUED\x10\x01\x12\x0b\n\x07WORKING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\x0b\n\x07\x46\x41ILURE\x10\x04\x12\x12\n\x0eINTERNAL_ERROR\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t:\x8f\x01\xea\x41\x8b\x01\n\x1f\x63loudbuild.googleapis.com/Build\x12!projects/{project}/builds/{build}\x12\x36projects/{project}/locations/{location}/builds/{build}*\x06\x62uilds2\x05\x62uild\"\xd5\x03\n\nDependency\x12\x0f\n\x05\x65mpty\x18\x01 \x01(\x08H\x00\x12S\n\ngit_source\x18\x02 \x01(\x0b\x32=.google.devtools.cloudbuild.v1.Dependency.GitSourceDependencyH\x00\x1a\xd1\x01\n\x13GitSourceDependency\x12V\n\nrepository\x18\x01 \x01(\x0b\x32=.google.devtools.cloudbuild.v1.Dependency.GitSourceRepositoryB\x03\xe0\x41\x02\x12\x15\n\x08revision\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12recurse_submodules\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x65pth\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tdest_path\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1a\x85\x01\n\x13GitSourceRepository\x12\r\n\x03url\x18\x01 \x01(\tH\x00\x12S\n\x11\x64\x65veloper_connect\x18\x02 \x01(\tB6\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLinkH\x00\x42\n\n\x08repotypeB\x05\n\x03\x64\x65p\"\xb0\x01\n\tGitConfig\x12\x41\n\x04http\x18\x01 \x01(\x0b\x32\x33.google.devtools.cloudbuild.v1.GitConfig.HttpConfig\x1a`\n\nHttpConfig\x12R\n\x19proxy_secret_version_name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\xaa\x07\n\tArtifacts\x12\x0e\n\x06images\x18\x01 \x03(\t\x12I\n\x07objects\x18\x02 \x01(\x0b\x32\x38.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects\x12O\n\x0fmaven_artifacts\x18\x03 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.MavenArtifact\x12J\n\ngo_modules\x18\x04 \x03(\x0b\x32\x31.google.devtools.cloudbuild.v1.Artifacts.GoModuleB\x03\xe0\x41\x01\x12O\n\x0fpython_packages\x18\x05 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.PythonPackage\x12I\n\x0cnpm_packages\x18\x06 \x03(\x0b\x32\x33.google.devtools.cloudbuild.v1.Artifacts.NpmPackage\x1ap\n\x0f\x41rtifactObjects\x12\x10\n\x08location\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12<\n\x06timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x1ai\n\rMavenArtifact\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x13\n\x0b\x61rtifact_id\x18\x03 \x01(\t\x12\x10\n\x08group_id\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x1a\xbf\x01\n\x08GoModule\x12\x1c\n\x0frepository_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13repository_location\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15repository_project_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bsource_path\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bmodule_path\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0emodule_version\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a\x32\n\rPythonPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x1a\x36\n\nNpmPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x14\n\x0cpackage_path\x18\x02 \x01(\t\"h\n\x08TimeSpan\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"M\n\x16\x42uildOperationMetadata\x12\x33\n\x05\x62uild\x18\x01 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.Build\"\xc3\x03\n\x10SourceProvenance\x12M\n\x17resolved_storage_source\x18\x03 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSource\x12G\n\x14resolved_repo_source\x18\x06 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12^\n resolved_storage_source_manifest\x18\t \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifest\x12Y\n\x0b\x66ile_hashes\x18\x04 \x03(\x0b\x32?.google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntryB\x03\xe0\x41\x03\x1a\\\n\x0f\x46ileHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes:\x02\x38\x01\"D\n\nFileHashes\x12\x36\n\tfile_hash\x18\x01 \x03(\x0b\x32#.google.devtools.cloudbuild.v1.Hash\"\x9a\x01\n\x04Hash\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\"G\n\x08HashType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\x12\x10\n\x0cGO_MODULE_H1\x10\x03\x12\n\n\x06SHA512\x10\x04\"\x92\x01\n\x07Secrets\x12J\n\x0esecret_manager\x18\x01 \x03(\x0b\x32\x32.google.devtools.cloudbuild.v1.SecretManagerSecret\x12;\n\x06inline\x18\x02 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.InlineSecret\"\xc5\x01\n\x0cInlineSecret\x12<\n\x0ckms_key_name\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12H\n\x07\x65nv_map\x18\x02 \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.InlineSecret.EnvMapEntry\x1a-\n\x0b\x45nvMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"i\n\x13SecretManagerSecret\x12\x45\n\x0cversion_name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x0b\n\x03\x65nv\x18\x02 \x01(\t\"\x9a\x01\n\x06Secret\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x12H\n\nsecret_env\x18\x03 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.Secret.SecretEnvEntry\x1a\x30\n\x0eSecretEnvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\x9d\x01\n\x12\x43reateBuildRequest\x12\x34\n\x06parent\x18\x04 \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x05\x62uild\x18\x02 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildB\x03\xe0\x41\x02\"o\n\x0fGetBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x99\x01\n\x11ListBuildsRequest\x12\x34\n\x06parent\x18\t \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x08 \x01(\t\"c\n\x12ListBuildsResponse\x12\x34\n\x06\x62uilds\x18\x01 \x03(\x0b\x32$.google.devtools.cloudbuild.v1.Build\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"r\n\x12\x43\x61ncelBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"p\n\x13\x41pproveBuildRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0f\x61pproval_result\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResult\"\xb7\x02\n\rBuildApproval\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.BuildApproval.StateB\x03\xe0\x41\x03\x12\x42\n\x06\x63onfig\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalConfigB\x03\xe0\x41\x03\x12\x42\n\x06result\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResultB\x03\xe0\x41\x03\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\x12\r\n\tCANCELLED\x10\x05\"+\n\x0e\x41pprovalConfig\x12\x19\n\x11\x61pproval_required\x18\x01 \x01(\x08\"\xa0\x02\n\x0e\x41pprovalResult\x12\x1d\n\x10\x61pprover_account\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rapproval_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x08\x64\x65\x63ision\x18\x04 \x01(\x0e\x32\x36.google.devtools.cloudbuild.v1.ApprovalResult.DecisionB\x03\xe0\x41\x02\x12\x14\n\x07\x63omment\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x06 \x01(\tB\x03\xe0\x41\x01\"@\n\x08\x44\x65\x63ision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41PPROVED\x10\x01\x12\x0c\n\x08REJECTED\x10\x02\"\xae\x02\n\rGitRepoSource\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12?\n\nrepository\x18\x06 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/RepositoryH\x00\x12\x0b\n\x03ref\x18\x02 \x01(\t\x12H\n\trepo_type\x18\x03 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.GitFileSource.RepoType\x12Y\n\x18github_enterprise_config\x18\x04 \x01(\tB5\xfa\x41\x32\n0cloudbuild.googleapis.com/GithubEnterpriseConfigH\x01\x42\x08\n\x06sourceB\x13\n\x11\x65nterprise_config\"\xa7\x03\n\rGitFileSource\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12?\n\nrepository\x18\x07 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/RepositoryH\x00\x12H\n\trepo_type\x18\x03 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.GitFileSource.RepoType\x12\x10\n\x08revision\x18\x04 \x01(\t\x12Y\n\x18github_enterprise_config\x18\x05 \x01(\tB5\xfa\x41\x32\n0cloudbuild.googleapis.com/GithubEnterpriseConfigH\x01\"d\n\x08RepoType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1d\n\x19\x43LOUD_SOURCE_REPOSITORIES\x10\x01\x12\n\n\x06GITHUB\x10\x02\x12\x14\n\x10\x42ITBUCKET_SERVER\x10\x03\x12\n\n\x06GITLAB\x10\x04\x42\x08\n\x06sourceB\x13\n\x11\x65nterprise_config\"\xd2\t\n\x0c\x42uildTrigger\x12\x15\n\rresource_name\x18\" \x01(\t\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12\x0c\n\x04name\x18\x15 \x01(\t\x12\x0c\n\x04tags\x18\x13 \x03(\t\x12\x43\n\x10trigger_template\x18\x07 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12\x41\n\x06github\x18\r \x01(\x0b\x32\x31.google.devtools.cloudbuild.v1.GitHubEventsConfig\x12\x42\n\rpubsub_config\x18\x1d \x01(\x0b\x32+.google.devtools.cloudbuild.v1.PubsubConfig\x12\x44\n\x0ewebhook_config\x18\x1f \x01(\x0b\x32,.google.devtools.cloudbuild.v1.WebhookConfig\x12\x14\n\nautodetect\x18\x12 \x01(\x08H\x00\x12\x35\n\x05\x62uild\x18\x04 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildH\x00\x12\x12\n\x08\x66ilename\x18\x08 \x01(\tH\x00\x12G\n\x0fgit_file_source\x18\x18 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.GitFileSourceH\x00\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12U\n\rsubstitutions\x18\x0b \x03(\x0b\x32>.google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry\x12\x15\n\rignored_files\x18\x0f \x03(\t\x12\x16\n\x0eincluded_files\x18\x10 \x03(\t\x12\x13\n\x06\x66ilter\x18\x1e \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0fsource_to_build\x18\x1a \x01(\x0b\x32,.google.devtools.cloudbuild.v1.GitRepoSource\x12?\n\x0fservice_account\x18! \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12U\n\x17repository_event_config\x18\' \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.RepositoryEventConfig\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa2\x01\xea\x41\x9e\x01\n&cloudbuild.googleapis.com/BuildTrigger\x12%projects/{project}/triggers/{trigger}\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07triggerB\x10\n\x0e\x62uild_template\"\xb5\x03\n\x15RepositoryEventConfig\x12=\n\nrepository\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12\x61\n\x0frepository_type\x18\x02 \x01(\x0e\x32\x43.google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryTypeB\x03\xe0\x41\x03\x12H\n\x0cpull_request\x18\x03 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.PullRequestFilterH\x00\x12\x39\n\x04push\x18\x04 \x01(\x0b\x32).google.devtools.cloudbuild.v1.PushFilterH\x00\"k\n\x0eRepositoryType\x12\x1f\n\x1bREPOSITORY_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\x01\x12\x15\n\x11GITHUB_ENTERPRISE\x10\x02\x12\x15\n\x11GITLAB_ENTERPRISE\x10\x03\x42\x08\n\x06\x66ilter\"\xdc\x01\n\x12GitHubEventsConfig\x12\x1b\n\x0finstallation_id\x18\x01 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05owner\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x12H\n\x0cpull_request\x18\x04 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.PullRequestFilterH\x00\x12\x39\n\x04push\x18\x05 \x01(\x0b\x32).google.devtools.cloudbuild.v1.PushFilterH\x00\x42\x07\n\x05\x65vent\"\xff\x02\n\x0cPubsubConfig\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12/\n\x05topic\x18\x02 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x45\n\x15service_account_email\x18\x03 \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12@\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.devtools.cloudbuild.v1.PubsubConfig.State\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x18\n\x14SUBSCRIPTION_DELETED\x10\x02\x12\x11\n\rTOPIC_DELETED\x10\x03\x12\x1e\n\x1aSUBSCRIPTION_MISCONFIGURED\x10\x04\"\xe3\x01\n\rWebhookConfig\x12\x44\n\x06secret\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.WebhookConfig.State\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x12\n\x0eSECRET_DELETED\x10\x02\x42\r\n\x0b\x61uth_method\"\x94\x02\n\x11PullRequestFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12X\n\x0f\x63omment_control\x18\x05 \x01(\x0e\x32?.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl\x12\x14\n\x0cinvert_regex\x18\x06 \x01(\x08\"r\n\x0e\x43ommentControl\x12\x15\n\x11\x43OMMENTS_DISABLED\x10\x00\x12\x14\n\x10\x43OMMENTS_ENABLED\x10\x01\x12\x33\n/COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY\x10\x02\x42\t\n\x07git_ref\"N\n\nPushFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12\r\n\x03tag\x18\x03 \x01(\tH\x00\x12\x14\n\x0cinvert_regex\x18\x04 \x01(\x08\x42\t\n\x07git_ref\"\xb4\x01\n\x19\x43reateBuildTriggerRequest\x12;\n\x06parent\x18\x03 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x02 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\"\x85\x01\n\x16GetBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x97\x01\n\x18ListBuildTriggersRequest\x12;\n\x06parent\x18\x04 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x19ListBuildTriggersResponse\x12=\n\x08triggers\x18\x01 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTrigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x19\x44\x65leteBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc1\x01\n\x19UpdateBuildTriggerRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x03 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa2\x0c\n\x0c\x42uildOptions\x12L\n\x16source_provenance_hash\x18\x01 \x03(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12Y\n\x17requested_verify_option\x18\x02 \x01(\x0e\x32\x38.google.devtools.cloudbuild.v1.BuildOptions.VerifyOption\x12M\n\x0cmachine_type\x18\x03 \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.MachineType\x12\x14\n\x0c\x64isk_size_gb\x18\x06 \x01(\x03\x12[\n\x13substitution_option\x18\x04 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption\x12\x1d\n\x15\x64ynamic_substitutions\x18\x11 \x01(\x08\x12\x1d\n\x15\x61utomap_substitutions\x18\x16 \x01(\x08\x12\\\n\x14log_streaming_option\x18\x05 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption\x12\x17\n\x0bworker_pool\x18\x07 \x01(\tB\x02\x18\x01\x12I\n\x04pool\x18\x13 \x01(\x0b\x32\x36.google.devtools.cloudbuild.v1.BuildOptions.PoolOptionB\x03\xe0\x41\x01\x12H\n\x07logging\x18\x0b \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.LoggingMode\x12\x0b\n\x03\x65nv\x18\x0c \x03(\t\x12\x12\n\nsecret_env\x18\r \x03(\t\x12\x36\n\x07volumes\x18\x0e \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12p\n\x1c\x64\x65\x66\x61ult_logs_bucket_behavior\x18\x15 \x01(\x0e\x32\x45.google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehaviorB\x03\xe0\x41\x01\x12&\n\x19\x65nable_structured_logging\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x45\n\nPoolOption\x12\x37\n\x04name\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\".\n\x0cVerifyOption\x12\x10\n\x0cNOT_VERIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\"w\n\x0bMachineType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cN1_HIGHCPU_8\x10\x01\x12\x11\n\rN1_HIGHCPU_32\x10\x02\x12\x10\n\x0c\x45\x32_HIGHCPU_8\x10\x05\x12\x11\n\rE2_HIGHCPU_32\x10\x06\x12\r\n\tE2_MEDIUM\x10\x07\"5\n\x12SubstitutionOption\x12\x0e\n\nMUST_MATCH\x10\x00\x12\x0f\n\x0b\x41LLOW_LOOSE\x10\x01\"G\n\x12LogStreamingOption\x12\x12\n\x0eSTREAM_DEFAULT\x10\x00\x12\r\n\tSTREAM_ON\x10\x01\x12\x0e\n\nSTREAM_OFF\x10\x02\"|\n\x0bLoggingMode\x12\x17\n\x13LOGGING_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x0c\n\x08GCS_ONLY\x10\x02\x12\x18\n\x10STACKDRIVER_ONLY\x10\x03\x1a\x02\x08\x01\x12\x16\n\x12\x43LOUD_LOGGING_ONLY\x10\x05\x12\x08\n\x04NONE\x10\x04\"|\n\x19\x44\x65\x66\x61ultLogsBucketBehavior\x12,\n(DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREGIONAL_USER_OWNED_BUCKET\x10\x01\x12\x11\n\rLEGACY_BUCKET\x10\x02\"\x85\x01\n\x1cReceiveTriggerWebhookRequest\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\"\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x14.google.api.HttpBody\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0f\n\x07trigger\x18\x03 \x01(\t\x12\x0e\n\x06secret\x18\x04 \x01(\t\"\x1f\n\x1dReceiveTriggerWebhookResponse\"\x89\x04\n\x16GitHubEnterpriseConfig\x12\x11\n\x04name\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08host_url\x18\x03 \x01(\t\x12\x13\n\x06\x61pp_id\x18\x04 \x01(\x03\x42\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0bwebhook_key\x18\x08 \x01(\t\x12>\n\x0epeered_network\x18\t \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12G\n\x07secrets\x18\n \x01(\x0b\x32\x36.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x12\x13\n\x06ssl_ca\x18\x0c \x01(\tB\x03\xe0\x41\x01:\xb5\x01\xea\x41\xb1\x01\n0cloudbuild.googleapis.com/GithubEnterpriseConfig\x12\x33projects/{project}/githubEnterpriseConfigs/{config}\x12Hprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}\"\xed\x02\n\x17GitHubEnterpriseSecrets\x12Q\n\x18private_key_version_name\x18\x05 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12T\n\x1bwebhook_secret_version_name\x18\x06 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12R\n\x19oauth_secret_version_name\x18\x07 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12U\n\x1coauth_client_id_version_name\x18\x08 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x96\x06\n\nWorkerPool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12O\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.devtools.cloudbuild.v1.WorkerPool.AnnotationsEntry\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x08 \x01(\x0e\x32/.google.devtools.cloudbuild.v1.WorkerPool.StateB\x03\xe0\x41\x03\x12T\n\x16private_pool_v1_config\x18\x0c \x01(\x0b\x32\x32.google.devtools.cloudbuild.v1.PrivatePoolV1ConfigH\x00\x12\x11\n\x04\x65tag\x18\x0b \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"b\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x89\x01\xea\x41\x85\x01\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}*\x0bworkerPools2\nworkerPoolR\x01\x01\x42\x08\n\x06\x63onfig\"\xba\x07\n\x13PrivatePoolV1Config\x12V\n\rworker_config\x18\x01 \x01(\x0b\x32?.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig\x12X\n\x0enetwork_config\x18\x02 \x01(\x0b\x32@.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig\x12n\n\x17private_service_connect\x18\x05 \x01(\x0b\x32H.google.devtools.cloudbuild.v1.PrivatePoolV1Config.PrivateServiceConnectB\x03\xe0\x41\x05\x1a\x90\x01\n\x0cWorkerConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\x12.\n\x1c\x65nable_nested_virtualization\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x1f\n\x1d_enable_nested_virtualization\x1a\xb6\x02\n\rNetworkConfig\x12\x41\n\x0epeered_network\x18\x01 \x01(\tB)\xe0\x41\x05\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x64\n\regress_option\x18\x02 \x01(\x0e\x32M.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption\x12$\n\x17peered_network_ip_range\x18\x03 \x01(\tB\x03\xe0\x41\x05\"V\n\x0c\x45gressOption\x12\x1d\n\x19\x45GRESS_OPTION_UNSPECIFIED\x10\x00\x12\x14\n\x10NO_PUBLIC_EGRESS\x10\x01\x12\x11\n\rPUBLIC_EGRESS\x10\x02\x1a\xb4\x01\n\x15PrivateServiceConnect\x12O\n\x12network_attachment\x18\x01 \x01(\tB3\xe0\x41\x05\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/NetworkAttachment\x12*\n\x1apublic_ip_address_disabled\x18\x02 \x01(\x08\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11route_all_traffic\x18\x03 \x01(\x08\x42\x03\xe0\x41\x05\"\xd0\x01\n\x17\x43reateWorkerPoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x43\n\x0bworker_pool\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12\x1e\n\x0eworker_pool_id\x18\x03 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"R\n\x14GetWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\"\x96\x01\n\x17\x44\x65leteWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xa6\x01\n\x17UpdateWorkerPoolRequest\x12\x43\n\x0bworker_pool\x18\x01 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"z\n\x16ListWorkerPoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x17ListWorkerPoolsResponse\x12?\n\x0cworker_pools\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc7\x01\n!CreateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!UpdateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!DeleteWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xa1+\n\nCloudBuild\x12\xae\x02\n\x0b\x43reateBuild\x12\x31.google.devtools.cloudbuild.v1.CreateBuildRequest\x1a\x1d.google.longrunning.Operation\"\xcc\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x10project_id,build\x82\xd3\xe4\x93\x02^\" /v1/projects/{project_id}/builds:\x05\x62uildZ3\"*/v1/{parent=projects/*/locations/*}/builds:\x05\x62uild\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x88\x02\n\x08GetBuild\x12..google.devtools.cloudbuild.v1.GetBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"\xa5\x01\xda\x41\rproject_id,id\x82\xd3\xe4\x93\x02U\x12%/v1/projects/{project_id}/builds/{id}Z,\x12*/v1/{name=projects/*/locations/*/builds/*}\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\x91\x02\n\nListBuilds\x12\x30.google.devtools.cloudbuild.v1.ListBuildsRequest\x1a\x31.google.devtools.cloudbuild.v1.ListBuildsResponse\"\x9d\x01\xda\x41\x11project_id,filter\x82\xd3\xe4\x93\x02P\x12 /v1/projects/{project_id}/buildsZ,\x12*/v1/{parent=projects/*/locations/*}/builds\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xa2\x02\n\x0b\x43\x61ncelBuild\x12\x31.google.devtools.cloudbuild.v1.CancelBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"\xb9\x01\xda\x41\rproject_id,id\x82\xd3\xe4\x93\x02i\",/v1/projects/{project_id}/builds/{id}:cancel:\x01*Z6\"1/v1/{name=projects/*/locations/*/builds/*}:cancel:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xb9\x02\n\nRetryBuild\x12\x30.google.devtools.cloudbuild.v1.RetryBuildRequest\x1a\x1d.google.longrunning.Operation\"\xd9\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\rproject_id,id\x82\xd3\xe4\x93\x02g\"+/v1/projects/{project_id}/builds/{id}:retry:\x01*Z5\"0/v1/{name=projects/*/locations/*/builds/*}:retry:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xc1\x02\n\x0c\x41pproveBuild\x12\x32.google.devtools.cloudbuild.v1.ApproveBuildRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x14name,approval_result\x82\xd3\xe4\x93\x02\x64\"&/v1/{name=projects/*/builds/*}:approve:\x01*Z7\"2/v1/{name=projects/*/locations/*/builds/*}:approve:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xb2\x02\n\x12\x43reateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.CreateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xb4\x01\xda\x41\x12project_id,trigger\x82\xd3\xe4\x93\x02\x66\"\"/v1/projects/{project_id}/triggers:\x07triggerZ7\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb3\x02\n\x0fGetBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.GetBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xbb\x01\xda\x41\x15project_id,trigger_id\x82\xd3\xe4\x93\x02\x61\x12//v1/projects/{project_id}/triggers/{trigger_id}Z.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\xa3\x02\n\x11ListBuildTriggers\x12\x37.google.devtools.cloudbuild.v1.ListBuildTriggersRequest\x1a\x38.google.devtools.cloudbuild.v1.ListBuildTriggersResponse\"\x9a\x01\xda\x41\nproject_id\x82\xd3\xe4\x93\x02T\x12\"/v1/projects/{project_id}/triggersZ.\x12,/v1/{parent=projects/*/locations/*}/triggers\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xa4\x02\n\x12\x44\x65leteBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest\x1a\x16.google.protobuf.Empty\"\xbb\x01\xda\x41\x15project_id,trigger_id\x82\xd3\xe4\x93\x02\x61*//v1/projects/{project_id}/triggers/{trigger_id}Z.*,/v1/{name=projects/*/locations/*/triggers/*}\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\xf6\x02\n\x12UpdateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xf8\x01\xda\x41\x1dproject_id,trigger_id,trigger\x82\xd3\xe4\x93\x02\x84\x01\x32//v1/projects/{project_id}/triggers/{trigger_id}:\x07triggerZH2=/v1/{trigger.resource_name=projects/*/locations/*/triggers/*}:\x07trigger\x8a\xd3\xe4\x93\x02G\x12\x45\n\x15trigger.resource_name\x12,projects/*/locations/{location=*}/triggers/*\x12\xe1\x02\n\x0fRunBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.RunBuildTriggerRequest\x1a\x1d.google.longrunning.Operation\"\xf7\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x1cproject_id,trigger_id,source\x82\xd3\xe4\x93\x02t\"3/v1/projects/{project_id}/triggers/{trigger_id}:run:\x06sourceZ5\"0/v1/{name=projects/*/locations/*/triggers/*}:run:\x01*\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\x95\x02\n\x15ReceiveTriggerWebhook\x12;.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest\x1a<.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\"4/v1/projects/{project_id}/triggers/{trigger}:webhook:\x04\x62odyZ<\"4/v1/{name=projects/*/locations/*/triggers/*}:webhook:\x04\x62ody\x12\xb9\x02\n\x10\x43reateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.CreateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\xca\x41/\n\nWorkerPool\x12!CreateWorkerPoolOperationMetadata\xda\x41!parent,worker_pool,worker_pool_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/workerPools:\x0bworker_pool\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xee\x01\n\rGetWorkerPool\x12\x33.google.devtools.cloudbuild.v1.GetWorkerPoolRequest\x1a).google.devtools.cloudbuild.v1.WorkerPool\"}\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x04name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xa6\x02\n\x10\x44\x65leteWorkerPool\x12\x36.google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41:\n\x15google.protobuf.Empty\x12!DeleteWorkerPoolOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x04name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xd3\x02\n\x10UpdateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xe7\x01\xca\x41/\n\nWorkerPool\x12!UpdateWorkerPoolOperationMetadata\xda\x41\x17worker_pool,update_mask\x82\xd3\xe4\x93\x02J2;/v1/{worker_pool.name=projects/*/locations/*/workerPools/*}:\x0bworker_pool\x8a\xd3\xe4\x93\x02\x45\x12\x43\n\x10worker_pool.name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xf5\x01\n\x0fListWorkerPools\x12\x35.google.devtools.cloudbuild.v1.ListWorkerPoolsRequest\x1a\x36.google.devtools.cloudbuild.v1.ListWorkerPoolsResponse\"s\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/workerPools\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x1aM\xca\x41\x19\x63loudbuild.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xae\n\n\x18\x63om.google.cloudbuild.v1P\x01ZAcloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V1\xca\x02\x15Google\\Cloud\\Build\\V1\xea\x02\x18Google::Cloud::Build::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41\x66\n gkehub.googleapis.com/Membership\x12\x42projects/{project}/locations/{location}/memberships/{cluster_name}\xea\x41p\n!cloudkms.googleapis.com/CryptoKey\x12Kprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\xea\x41U\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\xea\x41v\n(compute.googleapis.com/NetworkAttachment\x12Jprojects/{project}/regions/{region}/networkAttachments/{networkattachment}\xea\x41\x9e\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}\xea\x41\x82\x01\n$cloudbuild.googleapis.com/Repository\x12Zprojects/{project}/locations/{location}/connections/{connection}/repositories/{repository}b\x06proto3"
20
+ descriptor_data = "\n.google/devtools/cloudbuild/v1/cloudbuild.proto\x12\x1dgoogle.devtools.cloudbuild.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"h\n\x1fGetDefaultServiceAccountRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/cloudbuild.googleapis.com/DefaultServiceAccount\"\x82\x02\n\x15\x44\x65\x66\x61ultServiceAccount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12H\n\x15service_account_email\x18\x02 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!iam.googleapis.com/ServiceAccount:\x8b\x01\xea\x41\x87\x01\n/cloudbuild.googleapis.com/DefaultServiceAccount\x12=projects/{project}/locations/{location}/defaultServiceAccount2\x15\x64\x65\x66\x61ultServiceAccount\"q\n\x11RetryBuildRequest\x12\x32\n\x04name\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\x01\n\x16RunBuildTriggerRequest\x12\x39\n\x04name\x18\x04 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\"\xf4\x01\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12W\n\x0esource_fetcher\x18\x05 \x01(\x0e\x32:.google.devtools.cloudbuild.v1.StorageSource.SourceFetcherB\x03\xe0\x41\x01\"L\n\rSourceFetcher\x12\x1e\n\x1aSOURCE_FETCHER_UNSPECIFIED\x10\x00\x12\n\n\x06GSUTIL\x10\x01\x12\x0f\n\x0bGCS_FETCHER\x10\x02\"F\n\tGitSource\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03\x64ir\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08revision\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xc7\x02\n\nRepoSource\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\trepo_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x10\n\x03\x64ir\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cinvert_regex\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12X\n\rsubstitutions\x18\t \x03(\x0b\x32<.google.devtools.cloudbuild.v1.RepoSource.SubstitutionsEntryB\x03\xe0\x41\x01\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08revision\"U\n\x15StorageSourceManifest\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\x80\x01\n\x13\x43onnectedRepository\x12@\n\nrepository\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12\x10\n\x03\x64ir\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08revision\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x8e\x03\n\x06Source\x12\x46\n\x0estorage_source\x18\x02 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSourceH\x00\x12@\n\x0brepo_source\x18\x03 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSourceH\x00\x12>\n\ngit_source\x18\x05 \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitSourceH\x00\x12W\n\x17storage_source_manifest\x18\x08 \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifestH\x00\x12W\n\x14\x63onnected_repository\x18\t \x01(\x0b\x32\x32.google.devtools.cloudbuild.v1.ConnectedRepositoryB\x03\xe0\x41\x01H\x00\x42\x08\n\x06source\"\x95\x01\n\nBuiltImage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12\x41\n\x0bpush_timing\x18\x04 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12&\n\x19\x61rtifact_registry_package\x18\x05 \x01(\tB\x03\xe0\x41\x03\"\xcf\x01\n\x15UploadedPythonPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12&\n\x19\x61rtifact_registry_package\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xcf\x01\n\x15UploadedMavenArtifact\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12&\n\x19\x61rtifact_registry_package\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xca\x01\n\x10UploadedGoModule\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12&\n\x19\x61rtifact_registry_package\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xcc\x01\n\x12UploadedNpmPackage\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12>\n\x0b\x66ile_hashes\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\x12\x41\n\x0bpush_timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12&\n\x19\x61rtifact_registry_package\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xc5\x04\n\tBuildStep\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x65nv\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x10\n\x08wait_for\x18\x06 \x03(\t\x12\x12\n\nentrypoint\x18\x07 \x01(\t\x12\x12\n\nsecret_env\x18\x08 \x03(\t\x12\x36\n\x07volumes\x18\t \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12<\n\x06timing\x18\n \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12\x41\n\x0bpull_timing\x18\r \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x06status\x18\x0c \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x15\n\rallow_failure\x18\x0e \x01(\x08\x12\x16\n\texit_code\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x10\x61llow_exit_codes\x18\x12 \x03(\x05\x12\x0e\n\x06script\x18\x13 \x01(\t\x12\"\n\x15\x61utomap_substitutions\x18\x14 \x01(\x08H\x00\x88\x01\x01\x42\x18\n\x16_automap_substitutions\"$\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\xa0\x04\n\x07Results\x12\x39\n\x06images\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.BuiltImage\x12\x19\n\x11\x62uild_step_images\x18\x03 \x03(\t\x12\x19\n\x11\x61rtifact_manifest\x18\x04 \x01(\t\x12\x15\n\rnum_artifacts\x18\x05 \x01(\x03\x12\x1a\n\x12\x62uild_step_outputs\x18\x06 \x03(\x0c\x12@\n\x0f\x61rtifact_timing\x18\x07 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan\x12M\n\x0fpython_packages\x18\x08 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedPythonPackage\x12M\n\x0fmaven_artifacts\x18\t \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.UploadedMavenArtifact\x12H\n\ngo_modules\x18\n \x03(\x0b\x32/.google.devtools.cloudbuild.v1.UploadedGoModuleB\x03\xe0\x41\x01\x12G\n\x0cnpm_packages\x18\x0c \x03(\x0b\x32\x31.google.devtools.cloudbuild.v1.UploadedNpmPackage\"`\n\x0e\x41rtifactResult\x12\x10\n\x08location\x18\x01 \x01(\t\x12<\n\tfile_hash\x18\x02 \x03(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes\"\xbf\x13\n\x05\x42uild\x12\x11\n\x04name\x18- \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nproject_id\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12@\n\x06status\x18\x02 \x01(\x0e\x32+.google.devtools.cloudbuild.v1.Build.StatusB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12:\n\x06source\x18\x03 \x01(\x0b\x32%.google.devtools.cloudbuild.v1.SourceB\x03\xe0\x41\x01\x12\x37\n\x05steps\x18\x0b \x03(\x0b\x32(.google.devtools.cloudbuild.v1.BuildStep\x12<\n\x07results\x18\n \x01(\x0b\x32&.google.devtools.cloudbuild.v1.ResultsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06images\x18\r \x03(\t\x12,\n\tqueue_ttl\x18( \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\tartifacts\x18% \x01(\x0b\x32(.google.devtools.cloudbuild.v1.Artifacts\x12\x13\n\x0blogs_bucket\x18\x13 \x01(\t\x12O\n\x11source_provenance\x18\x15 \x01(\x0b\x32/.google.devtools.cloudbuild.v1.SourceProvenanceB\x03\xe0\x41\x03\x12\x1d\n\x10\x62uild_trigger_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12<\n\x07options\x18\x17 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildOptions\x12\x14\n\x07log_url\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12N\n\rsubstitutions\x18\x1d \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.Build.SubstitutionsEntry\x12\x0c\n\x04tags\x18\x1f \x03(\t\x12\x36\n\x07secrets\x18 \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Secret\x12\x45\n\x06timing\x18! \x03(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.TimingEntryB\x03\xe0\x41\x03\x12\x43\n\x08\x61pproval\x18, \x01(\x0b\x32,.google.devtools.cloudbuild.v1.BuildApprovalB\x03\xe0\x41\x03\x12?\n\x0fservice_account\x18* \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x41\n\x11\x61vailable_secrets\x18/ \x01(\x0b\x32&.google.devtools.cloudbuild.v1.Secrets\x12\x43\n\x08warnings\x18\x31 \x03(\x0b\x32,.google.devtools.cloudbuild.v1.Build.WarningB\x03\xe0\x41\x03\x12\x41\n\ngit_config\x18\x30 \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitConfigB\x03\xe0\x41\x01\x12K\n\x0c\x66\x61ilure_info\x18\x33 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.Build.FailureInfoB\x03\xe0\x41\x03\x12\x44\n\x0c\x64\x65pendencies\x18\x38 \x03(\x0b\x32).google.devtools.cloudbuild.v1.DependencyB\x03\xe0\x41\x01\x1a\xa8\x01\n\x07Warning\x12\x0c\n\x04text\x18\x01 \x01(\t\x12G\n\x08priority\x18\x02 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.Build.Warning.Priority\"F\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x41LERT\x10\x03\x1a\x9e\x02\n\x0b\x46\x61ilureInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.devtools.cloudbuild.v1.Build.FailureInfo.FailureType\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\xb2\x01\n\x0b\x46\x61ilureType\x12\x1c\n\x18\x46\x41ILURE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPUSH_FAILED\x10\x01\x12\x18\n\x14PUSH_IMAGE_NOT_FOUND\x10\x02\x12\x17\n\x13PUSH_NOT_AUTHORIZED\x10\x03\x12\x13\n\x0fLOGGING_FAILURE\x10\x04\x12\x13\n\x0fUSER_BUILD_STEP\x10\x05\x12\x17\n\x13\x46\x45TCH_SOURCE_FAILED\x10\x06\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x0bTimingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpan:\x02\x38\x01\"\x99\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\n\x12\n\n\x06QUEUED\x10\x01\x12\x0b\n\x07WORKING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\x0b\n\x07\x46\x41ILURE\x10\x04\x12\x12\n\x0eINTERNAL_ERROR\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t:\x8f\x01\xea\x41\x8b\x01\n\x1f\x63loudbuild.googleapis.com/Build\x12!projects/{project}/builds/{build}\x12\x36projects/{project}/locations/{location}/builds/{build}*\x06\x62uilds2\x05\x62uild\"\xd5\x03\n\nDependency\x12\x0f\n\x05\x65mpty\x18\x01 \x01(\x08H\x00\x12S\n\ngit_source\x18\x02 \x01(\x0b\x32=.google.devtools.cloudbuild.v1.Dependency.GitSourceDependencyH\x00\x1a\xd1\x01\n\x13GitSourceDependency\x12V\n\nrepository\x18\x01 \x01(\x0b\x32=.google.devtools.cloudbuild.v1.Dependency.GitSourceRepositoryB\x03\xe0\x41\x02\x12\x15\n\x08revision\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12recurse_submodules\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x65pth\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tdest_path\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1a\x85\x01\n\x13GitSourceRepository\x12\r\n\x03url\x18\x01 \x01(\tH\x00\x12S\n\x11\x64\x65veloper_connect\x18\x02 \x01(\tB6\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLinkH\x00\x42\n\n\x08repotypeB\x05\n\x03\x64\x65p\"\xb0\x01\n\tGitConfig\x12\x41\n\x04http\x18\x01 \x01(\x0b\x32\x33.google.devtools.cloudbuild.v1.GitConfig.HttpConfig\x1a`\n\nHttpConfig\x12R\n\x19proxy_secret_version_name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\xb4\x07\n\tArtifacts\x12\x0e\n\x06images\x18\x01 \x03(\t\x12I\n\x07objects\x18\x02 \x01(\x0b\x32\x38.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects\x12O\n\x0fmaven_artifacts\x18\x03 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.MavenArtifact\x12J\n\ngo_modules\x18\x04 \x03(\x0b\x32\x31.google.devtools.cloudbuild.v1.Artifacts.GoModuleB\x03\xe0\x41\x01\x12O\n\x0fpython_packages\x18\x05 \x03(\x0b\x32\x36.google.devtools.cloudbuild.v1.Artifacts.PythonPackage\x12I\n\x0cnpm_packages\x18\x06 \x03(\x0b\x32\x33.google.devtools.cloudbuild.v1.Artifacts.NpmPackage\x1ap\n\x0f\x41rtifactObjects\x12\x10\n\x08location\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12<\n\x06timing\x18\x03 \x01(\x0b\x32\'.google.devtools.cloudbuild.v1.TimeSpanB\x03\xe0\x41\x03\x1an\n\rMavenArtifact\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x0b\x61rtifact_id\x18\x03 \x01(\t\x12\x10\n\x08group_id\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x1a\xbf\x01\n\x08GoModule\x12\x1c\n\x0frepository_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13repository_location\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15repository_project_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bsource_path\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bmodule_path\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0emodule_version\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a\x32\n\rPythonPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x1a;\n\nNpmPackage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x19\n\x0cpackage_path\x18\x02 \x01(\tB\x03\xe0\x41\x01\"h\n\x08TimeSpan\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"M\n\x16\x42uildOperationMetadata\x12\x33\n\x05\x62uild\x18\x01 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.Build\"\xef\x04\n\x10SourceProvenance\x12M\n\x17resolved_storage_source\x18\x03 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.StorageSource\x12G\n\x14resolved_repo_source\x18\x06 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12^\n resolved_storage_source_manifest\x18\t \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.StorageSourceManifest\x12^\n\x1dresolved_connected_repository\x18\n \x01(\x0b\x32\x32.google.devtools.cloudbuild.v1.ConnectedRepositoryB\x03\xe0\x41\x03\x12J\n\x13resolved_git_source\x18\x0b \x01(\x0b\x32(.google.devtools.cloudbuild.v1.GitSourceB\x03\xe0\x41\x03\x12Y\n\x0b\x66ile_hashes\x18\x04 \x03(\x0b\x32?.google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntryB\x03\xe0\x41\x03\x1a\\\n\x0f\x46ileHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.FileHashes:\x02\x38\x01\"D\n\nFileHashes\x12\x36\n\tfile_hash\x18\x01 \x03(\x0b\x32#.google.devtools.cloudbuild.v1.Hash\"\x9a\x01\n\x04Hash\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\"G\n\x08HashType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\x12\x10\n\x0cGO_MODULE_H1\x10\x03\x12\n\n\x06SHA512\x10\x04\"\x92\x01\n\x07Secrets\x12J\n\x0esecret_manager\x18\x01 \x03(\x0b\x32\x32.google.devtools.cloudbuild.v1.SecretManagerSecret\x12;\n\x06inline\x18\x02 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.InlineSecret\"\xc5\x01\n\x0cInlineSecret\x12<\n\x0ckms_key_name\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12H\n\x07\x65nv_map\x18\x02 \x03(\x0b\x32\x37.google.devtools.cloudbuild.v1.InlineSecret.EnvMapEntry\x1a-\n\x0b\x45nvMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"i\n\x13SecretManagerSecret\x12\x45\n\x0cversion_name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x0b\n\x03\x65nv\x18\x02 \x01(\t\"\x9a\x01\n\x06Secret\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x12H\n\nsecret_env\x18\x03 \x03(\x0b\x32\x34.google.devtools.cloudbuild.v1.Secret.SecretEnvEntry\x1a\x30\n\x0eSecretEnvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\x9d\x01\n\x12\x43reateBuildRequest\x12\x34\n\x06parent\x18\x04 \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x05\x62uild\x18\x02 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildB\x03\xe0\x41\x02\"o\n\x0fGetBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x99\x01\n\x11ListBuildsRequest\x12\x34\n\x06parent\x18\t \x01(\tB$\xfa\x41!\x12\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x08 \x01(\t\"c\n\x12ListBuildsResponse\x12\x34\n\x06\x62uilds\x18\x01 \x03(\x0b\x32$.google.devtools.cloudbuild.v1.Build\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"r\n\x12\x43\x61ncelBuildRequest\x12\x32\n\x04name\x18\x04 \x01(\tB$\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"p\n\x13\x41pproveBuildRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0f\x61pproval_result\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResult\"\xb7\x02\n\rBuildApproval\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.BuildApproval.StateB\x03\xe0\x41\x03\x12\x42\n\x06\x63onfig\x18\x02 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalConfigB\x03\xe0\x41\x03\x12\x42\n\x06result\x18\x03 \x01(\x0b\x32-.google.devtools.cloudbuild.v1.ApprovalResultB\x03\xe0\x41\x03\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\x12\r\n\tCANCELLED\x10\x05\"+\n\x0e\x41pprovalConfig\x12\x19\n\x11\x61pproval_required\x18\x01 \x01(\x08\"\xa0\x02\n\x0e\x41pprovalResult\x12\x1d\n\x10\x61pprover_account\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rapproval_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x08\x64\x65\x63ision\x18\x04 \x01(\x0e\x32\x36.google.devtools.cloudbuild.v1.ApprovalResult.DecisionB\x03\xe0\x41\x02\x12\x14\n\x07\x63omment\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x06 \x01(\tB\x03\xe0\x41\x01\"@\n\x08\x44\x65\x63ision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41PPROVED\x10\x01\x12\x0c\n\x08REJECTED\x10\x02\"\xae\x02\n\rGitRepoSource\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12?\n\nrepository\x18\x06 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/RepositoryH\x00\x12\x0b\n\x03ref\x18\x02 \x01(\t\x12H\n\trepo_type\x18\x03 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.GitFileSource.RepoType\x12Y\n\x18github_enterprise_config\x18\x04 \x01(\tB5\xfa\x41\x32\n0cloudbuild.googleapis.com/GithubEnterpriseConfigH\x01\x42\x08\n\x06sourceB\x13\n\x11\x65nterprise_config\"\xa7\x03\n\rGitFileSource\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12?\n\nrepository\x18\x07 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/RepositoryH\x00\x12H\n\trepo_type\x18\x03 \x01(\x0e\x32\x35.google.devtools.cloudbuild.v1.GitFileSource.RepoType\x12\x10\n\x08revision\x18\x04 \x01(\t\x12Y\n\x18github_enterprise_config\x18\x05 \x01(\tB5\xfa\x41\x32\n0cloudbuild.googleapis.com/GithubEnterpriseConfigH\x01\"d\n\x08RepoType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1d\n\x19\x43LOUD_SOURCE_REPOSITORIES\x10\x01\x12\n\n\x06GITHUB\x10\x02\x12\x14\n\x10\x42ITBUCKET_SERVER\x10\x03\x12\n\n\x06GITLAB\x10\x04\x42\x08\n\x06sourceB\x13\n\x11\x65nterprise_config\"\xd2\t\n\x0c\x42uildTrigger\x12\x15\n\rresource_name\x18\" \x01(\t\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12\x0c\n\x04name\x18\x15 \x01(\t\x12\x0c\n\x04tags\x18\x13 \x03(\t\x12\x43\n\x10trigger_template\x18\x07 \x01(\x0b\x32).google.devtools.cloudbuild.v1.RepoSource\x12\x41\n\x06github\x18\r \x01(\x0b\x32\x31.google.devtools.cloudbuild.v1.GitHubEventsConfig\x12\x42\n\rpubsub_config\x18\x1d \x01(\x0b\x32+.google.devtools.cloudbuild.v1.PubsubConfig\x12\x44\n\x0ewebhook_config\x18\x1f \x01(\x0b\x32,.google.devtools.cloudbuild.v1.WebhookConfig\x12\x14\n\nautodetect\x18\x12 \x01(\x08H\x00\x12\x35\n\x05\x62uild\x18\x04 \x01(\x0b\x32$.google.devtools.cloudbuild.v1.BuildH\x00\x12\x12\n\x08\x66ilename\x18\x08 \x01(\tH\x00\x12G\n\x0fgit_file_source\x18\x18 \x01(\x0b\x32,.google.devtools.cloudbuild.v1.GitFileSourceH\x00\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12U\n\rsubstitutions\x18\x0b \x03(\x0b\x32>.google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry\x12\x15\n\rignored_files\x18\x0f \x03(\t\x12\x16\n\x0eincluded_files\x18\x10 \x03(\t\x12\x13\n\x06\x66ilter\x18\x1e \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0fsource_to_build\x18\x1a \x01(\x0b\x32,.google.devtools.cloudbuild.v1.GitRepoSource\x12?\n\x0fservice_account\x18! \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12U\n\x17repository_event_config\x18\' \x01(\x0b\x32\x34.google.devtools.cloudbuild.v1.RepositoryEventConfig\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa2\x01\xea\x41\x9e\x01\n&cloudbuild.googleapis.com/BuildTrigger\x12%projects/{project}/triggers/{trigger}\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07triggerB\x10\n\x0e\x62uild_template\"\xb5\x03\n\x15RepositoryEventConfig\x12=\n\nrepository\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/Repository\x12\x61\n\x0frepository_type\x18\x02 \x01(\x0e\x32\x43.google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryTypeB\x03\xe0\x41\x03\x12H\n\x0cpull_request\x18\x03 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.PullRequestFilterH\x00\x12\x39\n\x04push\x18\x04 \x01(\x0b\x32).google.devtools.cloudbuild.v1.PushFilterH\x00\"k\n\x0eRepositoryType\x12\x1f\n\x1bREPOSITORY_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\x01\x12\x15\n\x11GITHUB_ENTERPRISE\x10\x02\x12\x15\n\x11GITLAB_ENTERPRISE\x10\x03\x42\x08\n\x06\x66ilter\"\xdc\x01\n\x12GitHubEventsConfig\x12\x1b\n\x0finstallation_id\x18\x01 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05owner\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x12H\n\x0cpull_request\x18\x04 \x01(\x0b\x32\x30.google.devtools.cloudbuild.v1.PullRequestFilterH\x00\x12\x39\n\x04push\x18\x05 \x01(\x0b\x32).google.devtools.cloudbuild.v1.PushFilterH\x00\x42\x07\n\x05\x65vent\"\x82\x03\n\x0cPubsubConfig\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x32\n\x05topic\x18\x02 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x45\n\x15service_account_email\x18\x03 \x01(\tB&\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12@\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.devtools.cloudbuild.v1.PubsubConfig.State\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x18\n\x14SUBSCRIPTION_DELETED\x10\x02\x12\x11\n\rTOPIC_DELETED\x10\x03\x12\x1e\n\x1aSUBSCRIPTION_MISCONFIGURED\x10\x04\"\xe3\x01\n\rWebhookConfig\x12\x44\n\x06secret\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32\x32.google.devtools.cloudbuild.v1.WebhookConfig.State\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x12\n\x0eSECRET_DELETED\x10\x02\x42\r\n\x0b\x61uth_method\"\x94\x02\n\x11PullRequestFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12X\n\x0f\x63omment_control\x18\x05 \x01(\x0e\x32?.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl\x12\x14\n\x0cinvert_regex\x18\x06 \x01(\x08\"r\n\x0e\x43ommentControl\x12\x15\n\x11\x43OMMENTS_DISABLED\x10\x00\x12\x14\n\x10\x43OMMENTS_ENABLED\x10\x01\x12\x33\n/COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY\x10\x02\x42\t\n\x07git_ref\"N\n\nPushFilter\x12\x10\n\x06\x62ranch\x18\x02 \x01(\tH\x00\x12\r\n\x03tag\x18\x03 \x01(\tH\x00\x12\x14\n\x0cinvert_regex\x18\x04 \x01(\x08\x42\t\n\x07git_ref\"\xb4\x01\n\x19\x43reateBuildTriggerRequest\x12;\n\x06parent\x18\x03 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x02 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\"\x85\x01\n\x16GetBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x97\x01\n\x18ListBuildTriggersRequest\x12;\n\x06parent\x18\x04 \x01(\tB+\xfa\x41(\x12&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x19ListBuildTriggersResponse\x12=\n\x08triggers\x18\x01 \x03(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTrigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x19\x44\x65leteBuildTriggerRequest\x12\x39\n\x04name\x18\x03 \x01(\tB+\xfa\x41(\n&cloudbuild.googleapis.com/BuildTrigger\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc1\x01\n\x19UpdateBuildTriggerRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07trigger\x18\x03 \x01(\x0b\x32+.google.devtools.cloudbuild.v1.BuildTriggerB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa2\x0c\n\x0c\x42uildOptions\x12L\n\x16source_provenance_hash\x18\x01 \x03(\x0e\x32,.google.devtools.cloudbuild.v1.Hash.HashType\x12Y\n\x17requested_verify_option\x18\x02 \x01(\x0e\x32\x38.google.devtools.cloudbuild.v1.BuildOptions.VerifyOption\x12M\n\x0cmachine_type\x18\x03 \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.MachineType\x12\x14\n\x0c\x64isk_size_gb\x18\x06 \x01(\x03\x12[\n\x13substitution_option\x18\x04 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption\x12\x1d\n\x15\x64ynamic_substitutions\x18\x11 \x01(\x08\x12\x1d\n\x15\x61utomap_substitutions\x18\x16 \x01(\x08\x12\\\n\x14log_streaming_option\x18\x05 \x01(\x0e\x32>.google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption\x12\x17\n\x0bworker_pool\x18\x07 \x01(\tB\x02\x18\x01\x12I\n\x04pool\x18\x13 \x01(\x0b\x32\x36.google.devtools.cloudbuild.v1.BuildOptions.PoolOptionB\x03\xe0\x41\x01\x12H\n\x07logging\x18\x0b \x01(\x0e\x32\x37.google.devtools.cloudbuild.v1.BuildOptions.LoggingMode\x12\x0b\n\x03\x65nv\x18\x0c \x03(\t\x12\x12\n\nsecret_env\x18\r \x03(\t\x12\x36\n\x07volumes\x18\x0e \x03(\x0b\x32%.google.devtools.cloudbuild.v1.Volume\x12p\n\x1c\x64\x65\x66\x61ult_logs_bucket_behavior\x18\x15 \x01(\x0e\x32\x45.google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehaviorB\x03\xe0\x41\x01\x12&\n\x19\x65nable_structured_logging\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x45\n\nPoolOption\x12\x37\n\x04name\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\".\n\x0cVerifyOption\x12\x10\n\x0cNOT_VERIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\"w\n\x0bMachineType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cN1_HIGHCPU_8\x10\x01\x12\x11\n\rN1_HIGHCPU_32\x10\x02\x12\x10\n\x0c\x45\x32_HIGHCPU_8\x10\x05\x12\x11\n\rE2_HIGHCPU_32\x10\x06\x12\r\n\tE2_MEDIUM\x10\x07\"5\n\x12SubstitutionOption\x12\x0e\n\nMUST_MATCH\x10\x00\x12\x0f\n\x0b\x41LLOW_LOOSE\x10\x01\"G\n\x12LogStreamingOption\x12\x12\n\x0eSTREAM_DEFAULT\x10\x00\x12\r\n\tSTREAM_ON\x10\x01\x12\x0e\n\nSTREAM_OFF\x10\x02\"|\n\x0bLoggingMode\x12\x17\n\x13LOGGING_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x0c\n\x08GCS_ONLY\x10\x02\x12\x18\n\x10STACKDRIVER_ONLY\x10\x03\x1a\x02\x08\x01\x12\x16\n\x12\x43LOUD_LOGGING_ONLY\x10\x05\x12\x08\n\x04NONE\x10\x04\"|\n\x19\x44\x65\x66\x61ultLogsBucketBehavior\x12,\n(DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREGIONAL_USER_OWNED_BUCKET\x10\x01\x12\x11\n\rLEGACY_BUCKET\x10\x02\"\x85\x01\n\x1cReceiveTriggerWebhookRequest\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\"\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x14.google.api.HttpBody\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0f\n\x07trigger\x18\x03 \x01(\t\x12\x0e\n\x06secret\x18\x04 \x01(\t\"\x1f\n\x1dReceiveTriggerWebhookResponse\"\x8e\x04\n\x16GitHubEnterpriseConfig\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x10\n\x08host_url\x18\x03 \x01(\t\x12\x13\n\x06\x61pp_id\x18\x04 \x01(\x03\x42\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0bwebhook_key\x18\x08 \x01(\t\x12>\n\x0epeered_network\x18\t \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12L\n\x07secrets\x18\n \x01(\x0b\x32\x36.google.devtools.cloudbuild.v1.GitHubEnterpriseSecretsB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06ssl_ca\x18\x0c \x01(\tB\x03\xe0\x41\x01:\xb5\x01\xea\x41\xb1\x01\n0cloudbuild.googleapis.com/GithubEnterpriseConfig\x12\x33projects/{project}/githubEnterpriseConfigs/{config}\x12Hprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}\"\xed\x02\n\x17GitHubEnterpriseSecrets\x12Q\n\x18private_key_version_name\x18\x05 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12T\n\x1bwebhook_secret_version_name\x18\x06 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12R\n\x19oauth_secret_version_name\x18\x07 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12U\n\x1coauth_client_id_version_name\x18\x08 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x96\x06\n\nWorkerPool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12O\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32:.google.devtools.cloudbuild.v1.WorkerPool.AnnotationsEntry\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x08 \x01(\x0e\x32/.google.devtools.cloudbuild.v1.WorkerPool.StateB\x03\xe0\x41\x03\x12T\n\x16private_pool_v1_config\x18\x0c \x01(\x0b\x32\x32.google.devtools.cloudbuild.v1.PrivatePoolV1ConfigH\x00\x12\x11\n\x04\x65tag\x18\x0b \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"b\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x89\x01\xea\x41\x85\x01\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}*\x0bworkerPools2\nworkerPoolR\x01\x01\x42\x08\n\x06\x63onfig\"\xba\x07\n\x13PrivatePoolV1Config\x12V\n\rworker_config\x18\x01 \x01(\x0b\x32?.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig\x12X\n\x0enetwork_config\x18\x02 \x01(\x0b\x32@.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig\x12n\n\x17private_service_connect\x18\x05 \x01(\x0b\x32H.google.devtools.cloudbuild.v1.PrivatePoolV1Config.PrivateServiceConnectB\x03\xe0\x41\x05\x1a\x90\x01\n\x0cWorkerConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\x12.\n\x1c\x65nable_nested_virtualization\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x1f\n\x1d_enable_nested_virtualization\x1a\xb6\x02\n\rNetworkConfig\x12\x41\n\x0epeered_network\x18\x01 \x01(\tB)\xe0\x41\x05\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x64\n\regress_option\x18\x02 \x01(\x0e\x32M.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption\x12$\n\x17peered_network_ip_range\x18\x03 \x01(\tB\x03\xe0\x41\x05\"V\n\x0c\x45gressOption\x12\x1d\n\x19\x45GRESS_OPTION_UNSPECIFIED\x10\x00\x12\x14\n\x10NO_PUBLIC_EGRESS\x10\x01\x12\x11\n\rPUBLIC_EGRESS\x10\x02\x1a\xb4\x01\n\x15PrivateServiceConnect\x12O\n\x12network_attachment\x18\x01 \x01(\tB3\xe0\x41\x05\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/NetworkAttachment\x12*\n\x1apublic_ip_address_disabled\x18\x02 \x01(\x08\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11route_all_traffic\x18\x03 \x01(\x08\x42\x03\xe0\x41\x05\"\xd0\x01\n\x17\x43reateWorkerPoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x43\n\x0bworker_pool\x18\x02 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12\x1e\n\x0eworker_pool_id\x18\x03 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"R\n\x14GetWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\"\x96\x01\n\x17\x44\x65leteWorkerPoolRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xab\x01\n\x17UpdateWorkerPoolRequest\x12\x43\n\x0bworker_pool\x18\x01 \x01(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPoolB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"z\n\x16ListWorkerPoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x17ListWorkerPoolsResponse\x12?\n\x0cworker_pools\x18\x01 \x03(\x0b\x32).google.devtools.cloudbuild.v1.WorkerPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc7\x01\n!CreateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!UpdateWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc7\x01\n!DeleteWorkerPoolOperationMetadata\x12>\n\x0bworker_pool\x18\x01 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xf9-\n\nCloudBuild\x12\xb7\x02\n\x0b\x43reateBuild\x12\x31.google.devtools.cloudbuild.v1.CreateBuildRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x10project_id,build\xda\x41\x06parent\x82\xd3\xe4\x93\x02^\" /v1/projects/{project_id}/builds:\x05\x62uildZ3\"*/v1/{parent=projects/*/locations/*}/builds:\x05\x62uild\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x8f\x02\n\x08GetBuild\x12..google.devtools.cloudbuild.v1.GetBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"\xac\x01\xda\x41\rproject_id,id\xda\x41\x04name\x82\xd3\xe4\x93\x02U\x12%/v1/projects/{project_id}/builds/{id}Z,\x12*/v1/{name=projects/*/locations/*/builds/*}\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\x91\x02\n\nListBuilds\x12\x30.google.devtools.cloudbuild.v1.ListBuildsRequest\x1a\x31.google.devtools.cloudbuild.v1.ListBuildsResponse\"\x9d\x01\xda\x41\x11project_id,filter\x82\xd3\xe4\x93\x02P\x12 /v1/projects/{project_id}/buildsZ,\x12*/v1/{parent=projects/*/locations/*}/builds\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xa9\x02\n\x0b\x43\x61ncelBuild\x12\x31.google.devtools.cloudbuild.v1.CancelBuildRequest\x1a$.google.devtools.cloudbuild.v1.Build\"\xc0\x01\xda\x41\rproject_id,id\xda\x41\x04name\x82\xd3\xe4\x93\x02i\",/v1/projects/{project_id}/builds/{id}:cancel:\x01*Z6\"1/v1/{name=projects/*/locations/*/builds/*}:cancel:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xc0\x02\n\nRetryBuild\x12\x30.google.devtools.cloudbuild.v1.RetryBuildRequest\x1a\x1d.google.longrunning.Operation\"\xe0\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\rproject_id,id\xda\x41\x04name\x82\xd3\xe4\x93\x02g\"+/v1/projects/{project_id}/builds/{id}:retry:\x01*Z5\"0/v1/{name=projects/*/locations/*/builds/*}:retry:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xc1\x02\n\x0c\x41pproveBuild\x12\x32.google.devtools.cloudbuild.v1.ApproveBuildRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x14name,approval_result\x82\xd3\xe4\x93\x02\x64\"&/v1/{name=projects/*/builds/*}:approve:\x01*Z7\"2/v1/{name=projects/*/locations/*/builds/*}:approve:\x01*\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x04name\x12*projects/*/locations/{location=*}/builds/*\x12\xbb\x02\n\x12\x43reateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.CreateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xbd\x01\xda\x41\x12project_id,trigger\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x66\"\"/v1/projects/{project_id}/triggers:\x07triggerZ7\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xba\x02\n\x0fGetBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.GetBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xc2\x01\xda\x41\x15project_id,trigger_id\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61\x12//v1/projects/{project_id}/triggers/{trigger_id}Z.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\xa3\x02\n\x11ListBuildTriggers\x12\x37.google.devtools.cloudbuild.v1.ListBuildTriggersRequest\x1a\x38.google.devtools.cloudbuild.v1.ListBuildTriggersResponse\"\x9a\x01\xda\x41\nproject_id\x82\xd3\xe4\x93\x02T\x12\"/v1/projects/{project_id}/triggersZ.\x12,/v1/{parent=projects/*/locations/*}/triggers\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xab\x02\n\x12\x44\x65leteBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest\x1a\x16.google.protobuf.Empty\"\xc2\x01\xda\x41\x15project_id,trigger_id\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61*//v1/projects/{project_id}/triggers/{trigger_id}Z.*,/v1/{name=projects/*/locations/*/triggers/*}\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\xf6\x02\n\x12UpdateBuildTrigger\x12\x38.google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest\x1a+.google.devtools.cloudbuild.v1.BuildTrigger\"\xf8\x01\xda\x41\x1dproject_id,trigger_id,trigger\x82\xd3\xe4\x93\x02\x84\x01\x32//v1/projects/{project_id}/triggers/{trigger_id}:\x07triggerZH2=/v1/{trigger.resource_name=projects/*/locations/*/triggers/*}:\x07trigger\x8a\xd3\xe4\x93\x02G\x12\x45\n\x15trigger.resource_name\x12,projects/*/locations/{location=*}/triggers/*\x12\xe1\x02\n\x0fRunBuildTrigger\x12\x35.google.devtools.cloudbuild.v1.RunBuildTriggerRequest\x1a\x1d.google.longrunning.Operation\"\xf7\x01\xca\x41\x1f\n\x05\x42uild\x12\x16\x42uildOperationMetadata\xda\x41\x1cproject_id,trigger_id,source\x82\xd3\xe4\x93\x02t\"3/v1/projects/{project_id}/triggers/{trigger_id}:run:\x06sourceZ5\"0/v1/{name=projects/*/locations/*/triggers/*}:run:\x01*\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x04name\x12,projects/*/locations/{location=*}/triggers/*\x12\x95\x02\n\x15ReceiveTriggerWebhook\x12;.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest\x1a<.google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\"4/v1/projects/{project_id}/triggers/{trigger}:webhook:\x04\x62odyZ<\"4/v1/{name=projects/*/locations/*/triggers/*}:webhook:\x04\x62ody\x12\xb9\x02\n\x10\x43reateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.CreateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\xca\x41/\n\nWorkerPool\x12!CreateWorkerPoolOperationMetadata\xda\x41!parent,worker_pool,worker_pool_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/workerPools:\x0bworker_pool\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xee\x01\n\rGetWorkerPool\x12\x33.google.devtools.cloudbuild.v1.GetWorkerPoolRequest\x1a).google.devtools.cloudbuild.v1.WorkerPool\"}\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x04name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xa6\x02\n\x10\x44\x65leteWorkerPool\x12\x36.google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41:\n\x15google.protobuf.Empty\x12!DeleteWorkerPoolOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x04name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xd3\x02\n\x10UpdateWorkerPool\x12\x36.google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xe7\x01\xca\x41/\n\nWorkerPool\x12!UpdateWorkerPoolOperationMetadata\xda\x41\x17worker_pool,update_mask\x82\xd3\xe4\x93\x02J2;/v1/{worker_pool.name=projects/*/locations/*/workerPools/*}:\x0bworker_pool\x8a\xd3\xe4\x93\x02\x45\x12\x43\n\x10worker_pool.name\x12/projects/*/locations/{location=*}/workerPools/*\x12\xf5\x01\n\x0fListWorkerPools\x12\x35.google.devtools.cloudbuild.v1.ListWorkerPoolsRequest\x1a\x36.google.devtools.cloudbuild.v1.ListWorkerPoolsResponse\"s\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/workerPools\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xa0\x02\n\x18GetDefaultServiceAccount\x12>.google.devtools.cloudbuild.v1.GetDefaultServiceAccountRequest\x1a\x34.google.devtools.cloudbuild.v1.DefaultServiceAccount\"\x8d\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/defaultServiceAccount}\x8a\xd3\xe4\x93\x02\x41\x12?\n\x04name\x12\x37projects/*/locations/{location=*}/defaultServiceAccount\x1aM\xca\x41\x19\x63loudbuild.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xae\n\n\x18\x63om.google.cloudbuild.v1P\x01ZAcloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V1\xca\x02\x15Google\\Cloud\\Build\\V1\xea\x02\x18Google::Cloud::Build::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41\x66\n gkehub.googleapis.com/Membership\x12\x42projects/{project}/locations/{location}/memberships/{cluster_name}\xea\x41p\n!cloudkms.googleapis.com/CryptoKey\x12Kprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\xea\x41U\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\xea\x41v\n(compute.googleapis.com/NetworkAttachment\x12Jprojects/{project}/regions/{region}/networkAttachments/{networkattachment}\xea\x41\x9e\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}\xea\x41\x82\x01\n$cloudbuild.googleapis.com/Repository\x12Zprojects/{project}/locations/{location}/connections/{connection}/repositories/{repository}b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
@@ -51,6 +51,8 @@ module Google
51
51
  module Cloud
52
52
  module Build
53
53
  module V1
54
+ GetDefaultServiceAccountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.GetDefaultServiceAccountRequest").msgclass
55
+ DefaultServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.DefaultServiceAccount").msgclass
54
56
  RetryBuildRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RetryBuildRequest").msgclass
55
57
  RunBuildTriggerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RunBuildTriggerRequest").msgclass
56
58
  StorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSource").msgclass
@@ -58,6 +60,7 @@ module Google
58
60
  GitSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.GitSource").msgclass
59
61
  RepoSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RepoSource").msgclass
60
62
  StorageSourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSourceManifest").msgclass
63
+ ConnectedRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.ConnectedRepository").msgclass
61
64
  Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Source").msgclass
62
65
  BuiltImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuiltImage").msgclass
63
66
  UploadedPythonPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.UploadedPythonPackage").msgclass
@@ -88,30 +88,20 @@ module Google
88
88
  rpc :RetryBuild, ::Google::Cloud::Build::V1::RetryBuildRequest, ::Google::Longrunning::Operation
89
89
  # Approves or rejects a pending build.
90
90
  #
91
- # If approved, the returned LRO will be analogous to the LRO returned from
92
- # a CreateBuild call.
91
+ # If approved, the returned long-running operation (LRO) will be analogous to
92
+ # the LRO returned from a CreateBuild call.
93
93
  #
94
94
  # If rejected, the returned LRO will be immediately done.
95
95
  rpc :ApproveBuild, ::Google::Cloud::Build::V1::ApproveBuildRequest, ::Google::Longrunning::Operation
96
96
  # Creates a new `BuildTrigger`.
97
- #
98
- # This API is experimental.
99
97
  rpc :CreateBuildTrigger, ::Google::Cloud::Build::V1::CreateBuildTriggerRequest, ::Google::Cloud::Build::V1::BuildTrigger
100
98
  # Returns information about a `BuildTrigger`.
101
- #
102
- # This API is experimental.
103
99
  rpc :GetBuildTrigger, ::Google::Cloud::Build::V1::GetBuildTriggerRequest, ::Google::Cloud::Build::V1::BuildTrigger
104
100
  # Lists existing `BuildTrigger`s.
105
- #
106
- # This API is experimental.
107
101
  rpc :ListBuildTriggers, ::Google::Cloud::Build::V1::ListBuildTriggersRequest, ::Google::Cloud::Build::V1::ListBuildTriggersResponse
108
102
  # Deletes a `BuildTrigger` by its project ID and trigger ID.
109
- #
110
- # This API is experimental.
111
103
  rpc :DeleteBuildTrigger, ::Google::Cloud::Build::V1::DeleteBuildTriggerRequest, ::Google::Protobuf::Empty
112
104
  # Updates a `BuildTrigger` by its project ID and trigger ID.
113
- #
114
- # This API is experimental.
115
105
  rpc :UpdateBuildTrigger, ::Google::Cloud::Build::V1::UpdateBuildTriggerRequest, ::Google::Cloud::Build::V1::BuildTrigger
116
106
  # Runs a `BuildTrigger` at a particular source revision.
117
107
  #
@@ -134,6 +124,8 @@ module Google
134
124
  rpc :UpdateWorkerPool, ::Google::Cloud::Build::V1::UpdateWorkerPoolRequest, ::Google::Longrunning::Operation
135
125
  # Lists `WorkerPool`s.
136
126
  rpc :ListWorkerPools, ::Google::Cloud::Build::V1::ListWorkerPoolsRequest, ::Google::Cloud::Build::V1::ListWorkerPoolsResponse
127
+ # Returns the `DefaultServiceAccount` used by the project.
128
+ rpc :GetDefaultServiceAccount, ::Google::Cloud::Build::V1::GetDefaultServiceAccountRequest, ::Google::Cloud::Build::V1::DefaultServiceAccount
137
129
  end
138
130
 
139
131
  Stub = Service.rpc_stub_class
@@ -21,6 +21,39 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V1
24
+ # Returns the default service account that will be used for `Builds`.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The name of the `DefaultServiceAccount` to retrieve.
28
+ # Format:
29
+ # `projects/{project}/locations/{location}/defaultServiceAccount`
30
+ class GetDefaultServiceAccountRequest
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # The default service account used for `Builds`.
36
+ # @!attribute [rw] name
37
+ # @return [::String]
38
+ # Identifier. Format:
39
+ # `projects/{project}/locations/{location}/defaultServiceAccount`
40
+ # @!attribute [r] service_account_email
41
+ # @return [::String]
42
+ # Output only. The email address of the service account identity that will be
43
+ # used for a build by default.
44
+ #
45
+ # This is returned in the format
46
+ # `projects/{project}/serviceAccounts/{service_account}` where
47
+ # `{service_account}` could be the legacy Cloud Build SA, in the format
48
+ # [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
49
+ # format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
50
+ #
51
+ # If no service account will be used by default, this will be empty.
52
+ class DefaultServiceAccount
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
24
57
  # Specifies a build to retry.
25
58
  # @!attribute [rw] name
26
59
  # @return [::String]
@@ -65,24 +98,25 @@ module Google
65
98
  # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
66
99
  # @!attribute [rw] object
67
100
  # @return [::String]
68
- # Cloud Storage object containing the source.
101
+ # Required. Cloud Storage object containing the source.
69
102
  #
70
103
  # This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`)
71
104
  # containing source to build.
72
105
  # @!attribute [rw] generation
73
106
  # @return [::Integer]
74
- # Cloud Storage generation for the object. If the generation is
107
+ # Optional. Cloud Storage generation for the object. If the generation is
75
108
  # omitted, the latest generation will be used.
76
109
  # @!attribute [rw] source_fetcher
77
110
  # @return [::Google::Cloud::Build::V1::StorageSource::SourceFetcher]
78
- # Option to specify the tool to fetch the source file for the build.
111
+ # Optional. Option to specify the tool to fetch the source file for the
112
+ # build.
79
113
  class StorageSource
80
114
  include ::Google::Protobuf::MessageExts
81
115
  extend ::Google::Protobuf::MessageExts::ClassMethods
82
116
 
83
117
  # Specifies the tool to fetch the source file for the build.
84
118
  module SourceFetcher
85
- # Unspecified. Defaults to GSUTIL.
119
+ # Unspecified defaults to GSUTIL.
86
120
  SOURCE_FETCHER_UNSPECIFIED = 0
87
121
 
88
122
  # Use the "gsutil" tool to download the source file.
@@ -96,20 +130,21 @@ module Google
96
130
  # Location of the source in any accessible Git repository.
97
131
  # @!attribute [rw] url
98
132
  # @return [::String]
99
- # Location of the Git repo to build.
133
+ # Required. Location of the Git repo to build.
100
134
  #
101
135
  # This will be used as a `git remote`, see
102
136
  # https://git-scm.com/docs/git-remote.
103
137
  # @!attribute [rw] dir
104
138
  # @return [::String]
105
- # Directory, relative to the source root, in which to run the build.
139
+ # Optional. Directory, relative to the source root, in which to run the
140
+ # build.
106
141
  #
107
142
  # This must be a relative path. If a step's `dir` is specified and is an
108
143
  # absolute path, this value is ignored for that step's execution.
109
144
  # @!attribute [rw] revision
110
145
  # @return [::String]
111
- # The revision to fetch from the Git repository such as a branch, a tag, a
112
- # commit SHA, or any Git ref.
146
+ # Optional. The revision to fetch from the Git repository such as a branch, a
147
+ # tag, a commit SHA, or any Git ref.
113
148
  #
114
149
  # Cloud Build uses `git fetch` to fetch the revision from the Git
115
150
  # repository; therefore make sure that the string you provide for `revision`
@@ -125,11 +160,11 @@ module Google
125
160
  # Location of the source in a Google Cloud Source Repository.
126
161
  # @!attribute [rw] project_id
127
162
  # @return [::String]
128
- # ID of the project that owns the Cloud Source Repository. If omitted, the
129
- # project ID requesting the build is assumed.
163
+ # Optional. ID of the project that owns the Cloud Source Repository. If
164
+ # omitted, the project ID requesting the build is assumed.
130
165
  # @!attribute [rw] repo_name
131
166
  # @return [::String]
132
- # Name of the Cloud Source Repository.
167
+ # Required. Name of the Cloud Source Repository.
133
168
  # @!attribute [rw] branch_name
134
169
  # @return [::String]
135
170
  # Regex matching branches to build.
@@ -153,17 +188,18 @@ module Google
153
188
  # Note: The following fields are mutually exclusive: `commit_sha`, `branch_name`, `tag_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
154
189
  # @!attribute [rw] dir
155
190
  # @return [::String]
156
- # Directory, relative to the source root, in which to run the build.
191
+ # Optional. Directory, relative to the source root, in which to run the
192
+ # build.
157
193
  #
158
194
  # This must be a relative path. If a step's `dir` is specified and is an
159
195
  # absolute path, this value is ignored for that step's execution.
160
196
  # @!attribute [rw] invert_regex
161
197
  # @return [::Boolean]
162
- # Only trigger a build if the revision regex does NOT match the revision
163
- # regex.
198
+ # Optional. Only trigger a build if the revision regex does NOT match the
199
+ # revision regex.
164
200
  # @!attribute [rw] substitutions
165
201
  # @return [::Google::Protobuf::Map{::String => ::String}]
166
- # Substitutions to use in a triggered build.
202
+ # Optional. Substitutions to use in a triggered build.
167
203
  # Should only be used with RunBuildTrigger
168
204
  class RepoSource
169
205
  include ::Google::Protobuf::MessageExts
@@ -184,12 +220,12 @@ module Google
184
220
  # [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
185
221
  # @!attribute [rw] bucket
186
222
  # @return [::String]
187
- # Cloud Storage bucket containing the source manifest (see [Bucket
223
+ # Required. Cloud Storage bucket containing the source manifest (see [Bucket
188
224
  # Name
189
225
  # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
190
226
  # @!attribute [rw] object
191
227
  # @return [::String]
192
- # Cloud Storage object containing the source manifest.
228
+ # Required. Cloud Storage object containing the source manifest.
193
229
  #
194
230
  # This object must be a JSON file.
195
231
  # @!attribute [rw] generation
@@ -201,30 +237,54 @@ module Google
201
237
  extend ::Google::Protobuf::MessageExts::ClassMethods
202
238
  end
203
239
 
240
+ # Location of the source in a 2nd-gen Google Cloud Build repository resource.
241
+ # @!attribute [rw] repository
242
+ # @return [::String]
243
+ # Required. Name of the Google Cloud Build repository, formatted as
244
+ # `projects/*/locations/*/connections/*/repositories/*`.
245
+ # @!attribute [rw] dir
246
+ # @return [::String]
247
+ # Optional. Directory, relative to the source root, in which to run the
248
+ # build.
249
+ # @!attribute [rw] revision
250
+ # @return [::String]
251
+ # Required. The revision to fetch from the Git repository such as a branch, a
252
+ # tag, a commit SHA, or any Git ref.
253
+ class ConnectedRepository
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+ end
257
+
204
258
  # Location of the source in a supported storage service.
205
259
  # @!attribute [rw] storage_source
206
260
  # @return [::Google::Cloud::Build::V1::StorageSource]
207
261
  # If provided, get the source from this location in Cloud Storage.
208
262
  #
209
- # Note: The following fields are mutually exclusive: `storage_source`, `repo_source`, `git_source`, `storage_source_manifest`. If a field in that set is populated, all other fields in the set will automatically be cleared.
263
+ # Note: The following fields are mutually exclusive: `storage_source`, `repo_source`, `git_source`, `storage_source_manifest`, `connected_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
210
264
  # @!attribute [rw] repo_source
211
265
  # @return [::Google::Cloud::Build::V1::RepoSource]
212
266
  # If provided, get the source from this location in a Cloud Source
213
267
  # Repository.
214
268
  #
215
- # Note: The following fields are mutually exclusive: `repo_source`, `storage_source`, `git_source`, `storage_source_manifest`. If a field in that set is populated, all other fields in the set will automatically be cleared.
269
+ # Note: The following fields are mutually exclusive: `repo_source`, `storage_source`, `git_source`, `storage_source_manifest`, `connected_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
216
270
  # @!attribute [rw] git_source
217
271
  # @return [::Google::Cloud::Build::V1::GitSource]
218
272
  # If provided, get the source from this Git repository.
219
273
  #
220
- # Note: The following fields are mutually exclusive: `git_source`, `storage_source`, `repo_source`, `storage_source_manifest`. If a field in that set is populated, all other fields in the set will automatically be cleared.
274
+ # Note: The following fields are mutually exclusive: `git_source`, `storage_source`, `repo_source`, `storage_source_manifest`, `connected_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
221
275
  # @!attribute [rw] storage_source_manifest
222
276
  # @return [::Google::Cloud::Build::V1::StorageSourceManifest]
223
277
  # If provided, get the source from this manifest in Cloud Storage.
224
278
  # This feature is in Preview; see description
225
279
  # [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
226
280
  #
227
- # Note: The following fields are mutually exclusive: `storage_source_manifest`, `storage_source`, `repo_source`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
281
+ # Note: The following fields are mutually exclusive: `storage_source_manifest`, `storage_source`, `repo_source`, `git_source`, `connected_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
282
+ # @!attribute [rw] connected_repository
283
+ # @return [::Google::Cloud::Build::V1::ConnectedRepository]
284
+ # Optional. If provided, get the source from this 2nd-gen Google Cloud
285
+ # Build repository resource.
286
+ #
287
+ # Note: The following fields are mutually exclusive: `connected_repository`, `storage_source`, `repo_source`, `git_source`, `storage_source_manifest`. If a field in that set is populated, all other fields in the set will automatically be cleared.
228
288
  class Source
229
289
  include ::Google::Protobuf::MessageExts
230
290
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -241,6 +301,9 @@ module Google
241
301
  # @!attribute [r] push_timing
242
302
  # @return [::Google::Cloud::Build::V1::TimeSpan]
243
303
  # Output only. Stores timing information for pushing the specified image.
304
+ # @!attribute [r] artifact_registry_package
305
+ # @return [::String]
306
+ # Output only. Path to the artifact in Artifact Registry.
244
307
  class BuiltImage
245
308
  include ::Google::Protobuf::MessageExts
246
309
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -256,6 +319,9 @@ module Google
256
319
  # @!attribute [r] push_timing
257
320
  # @return [::Google::Cloud::Build::V1::TimeSpan]
258
321
  # Output only. Stores timing information for pushing the specified artifact.
322
+ # @!attribute [r] artifact_registry_package
323
+ # @return [::String]
324
+ # Output only. Path to the artifact in Artifact Registry.
259
325
  class UploadedPythonPackage
260
326
  include ::Google::Protobuf::MessageExts
261
327
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -271,6 +337,9 @@ module Google
271
337
  # @!attribute [r] push_timing
272
338
  # @return [::Google::Cloud::Build::V1::TimeSpan]
273
339
  # Output only. Stores timing information for pushing the specified artifact.
340
+ # @!attribute [r] artifact_registry_package
341
+ # @return [::String]
342
+ # Output only. Path to the artifact in Artifact Registry.
274
343
  class UploadedMavenArtifact
275
344
  include ::Google::Protobuf::MessageExts
276
345
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -287,6 +356,9 @@ module Google
287
356
  # @!attribute [r] push_timing
288
357
  # @return [::Google::Cloud::Build::V1::TimeSpan]
289
358
  # Output only. Stores timing information for pushing the specified artifact.
359
+ # @!attribute [r] artifact_registry_package
360
+ # @return [::String]
361
+ # Output only. Path to the artifact in Artifact Registry.
290
362
  class UploadedGoModule
291
363
  include ::Google::Protobuf::MessageExts
292
364
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -303,6 +375,9 @@ module Google
303
375
  # @!attribute [r] push_timing
304
376
  # @return [::Google::Cloud::Build::V1::TimeSpan]
305
377
  # Output only. Stores timing information for pushing the specified artifact.
378
+ # @!attribute [r] artifact_registry_package
379
+ # @return [::String]
380
+ # Output only. Path to the artifact in Artifact Registry.
306
381
  class UploadedNpmPackage
307
382
  include ::Google::Protobuf::MessageExts
308
383
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -549,7 +624,7 @@ module Google
549
624
  # Output only. Customer-readable message about the current status.
550
625
  # @!attribute [rw] source
551
626
  # @return [::Google::Cloud::Build::V1::Source]
552
- # The location of the source files to build.
627
+ # Optional. The location of the source files to build.
553
628
  # @!attribute [rw] steps
554
629
  # @return [::Array<::Google::Cloud::Build::V1::BuildStep>]
555
630
  # Required. The operations to be performed on the workspace.
@@ -839,8 +914,7 @@ module Google
839
914
  # Note: The following fields are mutually exclusive: `url`, `developer_connect`. If a field in that set is populated, all other fields in the set will automatically be cleared.
840
915
  # @!attribute [rw] developer_connect
841
916
  # @return [::String]
842
- # The Developer Connect Git repository link or the url that matches a
843
- # repository link in the current project, formatted as
917
+ # The Developer Connect Git repository link formatted as
844
918
  # `projects/*/locations/*/connections/*/gitRepositoryLink/*`
845
919
  #
846
920
  # Note: The following fields are mutually exclusive: `developer_connect`, `url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
@@ -968,7 +1042,7 @@ module Google
968
1042
  # Artifact Registry with this location as a prefix.
969
1043
  # @!attribute [rw] path
970
1044
  # @return [::String]
971
- # Path to an artifact in the build's workspace to be uploaded to
1045
+ # Optional. Path to an artifact in the build's workspace to be uploaded to
972
1046
  # Artifact Registry.
973
1047
  # This can be either an absolute path,
974
1048
  # e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar
@@ -1059,8 +1133,10 @@ module Google
1059
1133
  # uploaded to Artifact Registry with this location as a prefix.
1060
1134
  # @!attribute [rw] package_path
1061
1135
  # @return [::String]
1062
- # Path to the package.json.
1136
+ # Optional. Path to the package.json.
1063
1137
  # e.g. workspace/path/to/package
1138
+ #
1139
+ # Only one of `archive` or `package_path` can be specified.
1064
1140
  class NpmPackage
1065
1141
  include ::Google::Protobuf::MessageExts
1066
1142
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1103,6 +1179,14 @@ module Google
1103
1179
  # A copy of the build's `source.storage_source_manifest`, if exists, with any
1104
1180
  # revisions resolved.
1105
1181
  # This feature is in Preview.
1182
+ # @!attribute [r] resolved_connected_repository
1183
+ # @return [::Google::Cloud::Build::V1::ConnectedRepository]
1184
+ # Output only. A copy of the build's `source.connected_repository`, if
1185
+ # exists, with any revisions resolved.
1186
+ # @!attribute [r] resolved_git_source
1187
+ # @return [::Google::Cloud::Build::V1::GitSource]
1188
+ # Output only. A copy of the build's `source.git_source`, if exists, with any
1189
+ # revisions resolved.
1106
1190
  # @!attribute [r] file_hashes
1107
1191
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes}]
1108
1192
  # Output only. Hash(es) of the build source, which can be used to verify that
@@ -1749,8 +1833,8 @@ module Google
1749
1833
  # `projects/{project}/subscriptions/{subscription}`.
1750
1834
  # @!attribute [rw] topic
1751
1835
  # @return [::String]
1752
- # The name of the topic from which this subscription is receiving messages.
1753
- # Format is `projects/{project}/topics/{topic}`.
1836
+ # Optional. The name of the topic from which this subscription is receiving
1837
+ # messages. Format is `projects/{project}/topics/{topic}`.
1754
1838
  # @!attribute [rw] service_account_email
1755
1839
  # @return [::String]
1756
1840
  # Service account that will make the push request.
@@ -1835,14 +1919,14 @@ module Google
1835
1919
  extend ::Google::Protobuf::MessageExts::ClassMethods
1836
1920
 
1837
1921
  # Controls whether or not a `/gcbrun` comment is required from a user with
1838
- # repository write permission or above in order to
1839
- # trigger Build runs for pull requests. Pull Request update events differ
1840
- # between repo types.
1841
- # Check repo specific guides
1922
+ # repository write permission or above in order to
1923
+ # trigger Build runs for pull requests. Pull Request update events differ
1924
+ # between repo types.
1925
+ # Check repo specific guides
1842
1926
  # ([GitHub](https://cloud.google.com/build/docs/automating-builds/github/build-repos-from-github-enterprise#creating_a_github_enterprise_trigger),
1843
1927
  # [Bitbucket](https://cloud.google.com/build/docs/automating-builds/bitbucket/build-repos-from-bitbucket-server#creating_a_bitbucket_server_trigger),
1844
1928
  # [GitLab](https://cloud.google.com/build/docs/automating-builds/gitlab/build-repos-from-gitlab#creating_a_gitlab_trigger)
1845
- # for details.
1929
+ # for details.
1846
1930
  module CommentControl
1847
1931
  # Do not require `/gcbrun` comments from a user with repository write
1848
1932
  # permission or above on pull requests before builds are triggered.
@@ -2236,7 +2320,7 @@ module Google
2236
2320
  # server.
2237
2321
  # @!attribute [rw] name
2238
2322
  # @return [::String]
2239
- # Optional. The full resource name for the GitHubEnterpriseConfig
2323
+ # The full resource name for the GitHubEnterpriseConfig
2240
2324
  # For example:
2241
2325
  # "projects/\\{$project_id}/locations/\\{$location_id}/githubEnterpriseConfigs/\\{$config_id}"
2242
2326
  # @!attribute [rw] host_url
@@ -2267,10 +2351,10 @@ module Google
2267
2351
  # VPC network in the project.
2268
2352
  # @!attribute [rw] secrets
2269
2353
  # @return [::Google::Cloud::Build::V1::GitHubEnterpriseSecrets]
2270
- # Names of secrets in Secret Manager.
2354
+ # Optional. Names of secrets in Secret Manager.
2271
2355
  # @!attribute [rw] display_name
2272
2356
  # @return [::String]
2273
- # Name to display for this config.
2357
+ # Optional. Name to display for this config.
2274
2358
  # @!attribute [rw] ssl_ca
2275
2359
  # @return [::String]
2276
2360
  # Optional. SSL certificate to use for requests to GitHub Enterprise.
@@ -2347,7 +2431,7 @@ module Google
2347
2431
  # Output only. `WorkerPool` state.
2348
2432
  # @!attribute [rw] private_pool_v1_config
2349
2433
  # @return [::Google::Cloud::Build::V1::PrivatePoolV1Config]
2350
- # Legacy Private Pool configuration.
2434
+ # Private Pool configuration.
2351
2435
  # @!attribute [r] etag
2352
2436
  # @return [::String]
2353
2437
  # Output only. Checksum computed by the server. May be sent on update and
@@ -2569,7 +2653,7 @@ module Google
2569
2653
  # Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.
2570
2654
  # @!attribute [rw] update_mask
2571
2655
  # @return [::Google::Protobuf::FieldMask]
2572
- # A mask specifying which fields in `worker_pool` to update.
2656
+ # Optional. A mask specifying which fields in `worker_pool` to update.
2573
2657
  # @!attribute [rw] validate_only
2574
2658
  # @return [::Boolean]
2575
2659
  # If set, validate the request and preview the response, but do not actually
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-build-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC