google-apis-cloudbuild_v1 0.10.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54cda4b032e71c13fbb1c3105240510106e3f86754e20d032c461f136e7213e5
4
- data.tar.gz: 6a66a2cb1e0ff6e52d1b195e960329d064d72636ca6ad92ad38d62f4fba16186
3
+ metadata.gz: 14411eeda49095998db48baf87410a67863cc61207613f0b49b4c61e9faa7e01
4
+ data.tar.gz: a0e385e6c39acf817f180a3945f7cb6122a81c877775628631c6a8b7b595bfea
5
5
  SHA512:
6
- metadata.gz: '072684c93416857a321a7686c3d9b4f8cca116d4caf2ddcc7833e326f2e9518f751740062443df4f7f786f348f5fb806d16d226849e887d6323146c949ae7aa3'
7
- data.tar.gz: d8d183fedd676fc631c83e727f43d6467e04b1f36ebd20d39209b446900ddf7264e0820594dec11a52a4a387ca851bc9bb7e385172578acf8f375367f62f6244
6
+ metadata.gz: 97df2a18310dcbf96f70e01da2b52d11497bbb75b1716618d94a1dbf87b5c483b60bf7e0223ebf1386c855b9b415ac6f306f18b6817d4b6e412cd5097e6ea375
7
+ data.tar.gz: 912eb0df0abf5b94c202eeae234fca4d5af9a9be65dfba12f3d3664012a8628cd328d89a3a6ad0aeb024865e567ba5ae39d4ea3a6863f31ec6173092e575cd08
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.14.0 (2021-08-03)
4
+
5
+ * Regenerated from discovery document revision 20210730
6
+
7
+ ### v0.13.0 (2021-07-27)
8
+
9
+ * Regenerated from discovery document revision 20210723
10
+
11
+ ### v0.12.0 (2021-07-20)
12
+
13
+ * Regenerated from discovery document revision 20210715
14
+
15
+ ### v0.11.0 (2021-07-13)
16
+
17
+ * Regenerated from discovery document revision 20210709
18
+
3
19
  ### v0.10.0 (2021-07-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20210701
@@ -151,6 +151,11 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :create_time
153
153
 
154
+ # A fatal problem encountered during the execution of the build.
155
+ # Corresponds to the JSON property `failureInfo`
156
+ # @return [Google::Apis::CloudbuildV1::FailureInfo]
157
+ attr_accessor :failure_info
158
+
154
159
  # Output only. Time at which execution of the build was finished. The difference
155
160
  # between finish_time and start_time is the duration of the build's execution.
156
161
  # Corresponds to the JSON property `finishTime`
@@ -278,9 +283,10 @@ module Google
278
283
  attr_accessor :timeout
279
284
 
280
285
  # Output only. Stores timing information for phases of the build. Valid keys are:
281
- # * BUILD: time to execute all build steps * PUSH: time to push all specified
282
- # images. * FETCHSOURCE: time to fetch source. If the build does not specify
283
- # source or images, these keys will not be included.
286
+ # * BUILD: time to execute all build steps. * PUSH: time to push all specified
287
+ # images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
288
+ # build. If the build does not specify source or images, these keys will not be
289
+ # included.
284
290
  # Corresponds to the JSON property `timing`
285
291
  # @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
286
292
  attr_accessor :timing
@@ -300,6 +306,7 @@ module Google
300
306
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
301
307
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
302
308
  @create_time = args[:create_time] if args.key?(:create_time)
309
+ @failure_info = args[:failure_info] if args.key?(:failure_info)
303
310
  @finish_time = args[:finish_time] if args.key?(:finish_time)
304
311
  @id = args[:id] if args.key?(:id)
305
312
  @images = args[:images] if args.key?(:images)
@@ -403,8 +410,8 @@ module Google
403
410
  attr_accessor :machine_type
404
411
 
405
412
  # Details about how a build should be executed on a `WorkerPool`. See [running
406
- # builds in a custom worker pool](https://cloud.google.com/build/docs/custom-
407
- # workers/run-builds-in-custom-worker-pool) for more information.
413
+ # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
414
+ # run-builds-in-private-pool) for more information.
408
415
  # Corresponds to the JSON property `pool`
409
416
  # @return [Google::Apis::CloudbuildV1::PoolOption]
410
417
  attr_accessor :pool
@@ -653,7 +660,7 @@ module Google
653
660
  attr_accessor :filter
654
661
 
655
662
  # GitHubEventsConfig describes the configuration of a trigger that creates a
656
- # build whenever a GitHub event is received. This message is experimental.
663
+ # build whenever a GitHub event is received.
657
664
  # Corresponds to the JSON property `github`
658
665
  # @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
659
666
  attr_accessor :github
@@ -704,6 +711,20 @@ module Google
704
711
  # @return [String]
705
712
  attr_accessor :resource_name
706
713
 
714
+ # Optional. The service account used for all user-controlled operations
715
+ # including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild.
716
+ # If no service account is set, then the standard Cloud Build service account ([
717
+ # PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `
718
+ # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_ID_OR_EMAIL``
719
+ # Corresponds to the JSON property `serviceAccount`
720
+ # @return [String]
721
+ attr_accessor :service_account
722
+
723
+ # GitRepoSource describes a repo and ref of a code repository.
724
+ # Corresponds to the JSON property `sourceToBuild`
725
+ # @return [Google::Apis::CloudbuildV1::GitRepoSource]
726
+ attr_accessor :source_to_build
727
+
707
728
  # Substitutions for Build resource. The keys must match the following regular
708
729
  # expression: `^_[A-Z0-9_]+$`.
709
730
  # Corresponds to the JSON property `substitutions`
@@ -746,6 +767,8 @@ module Google
746
767
  @name = args[:name] if args.key?(:name)
747
768
  @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
748
769
  @resource_name = args[:resource_name] if args.key?(:resource_name)
770
+ @service_account = args[:service_account] if args.key?(:service_account)
771
+ @source_to_build = args[:source_to_build] if args.key?(:source_to_build)
749
772
  @substitutions = args[:substitutions] if args.key?(:substitutions)
750
773
  @tags = args[:tags] if args.key?(:tags)
751
774
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
@@ -830,6 +853,38 @@ module Google
830
853
  end
831
854
  end
832
855
 
856
+ # Metadata for `CreateGithubEnterpriseConfig` operation.
857
+ class CreateGitHubEnterpriseConfigOperationMetadata
858
+ include Google::Apis::Core::Hashable
859
+
860
+ # Time the operation was completed.
861
+ # Corresponds to the JSON property `completeTime`
862
+ # @return [String]
863
+ attr_accessor :complete_time
864
+
865
+ # Time the operation was created.
866
+ # Corresponds to the JSON property `createTime`
867
+ # @return [String]
868
+ attr_accessor :create_time
869
+
870
+ # The resource name of the GitHubEnterprise to be created. Format: `projects/`
871
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
872
+ # Corresponds to the JSON property `githubEnterpriseConfig`
873
+ # @return [String]
874
+ attr_accessor :github_enterprise_config
875
+
876
+ def initialize(**args)
877
+ update!(**args)
878
+ end
879
+
880
+ # Update properties of this object
881
+ def update!(**args)
882
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
883
+ @create_time = args[:create_time] if args.key?(:create_time)
884
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
885
+ end
886
+ end
887
+
833
888
  # Metadata for the `CreateWorkerPool` operation.
834
889
  class CreateWorkerPoolOperationMetadata
835
890
  include Google::Apis::Core::Hashable
@@ -862,6 +917,38 @@ module Google
862
917
  end
863
918
  end
864
919
 
920
+ # Metadata for `DeleteGitHubEnterpriseConfig` operation.
921
+ class DeleteGitHubEnterpriseConfigOperationMetadata
922
+ include Google::Apis::Core::Hashable
923
+
924
+ # Time the operation was completed.
925
+ # Corresponds to the JSON property `completeTime`
926
+ # @return [String]
927
+ attr_accessor :complete_time
928
+
929
+ # Time the operation was created.
930
+ # Corresponds to the JSON property `createTime`
931
+ # @return [String]
932
+ attr_accessor :create_time
933
+
934
+ # The resource name of the GitHubEnterprise to be deleted. Format: `projects/`
935
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
936
+ # Corresponds to the JSON property `githubEnterpriseConfig`
937
+ # @return [String]
938
+ attr_accessor :github_enterprise_config
939
+
940
+ def initialize(**args)
941
+ update!(**args)
942
+ end
943
+
944
+ # Update properties of this object
945
+ def update!(**args)
946
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
947
+ @create_time = args[:create_time] if args.key?(:create_time)
948
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
949
+ end
950
+ end
951
+
865
952
  # Metadata for the `DeleteWorkerPool` operation.
866
953
  class DeleteWorkerPoolOperationMetadata
867
954
  include Google::Apis::Core::Hashable
@@ -911,6 +998,31 @@ module Google
911
998
  end
912
999
  end
913
1000
 
1001
+ # A fatal problem encountered during the execution of the build.
1002
+ class FailureInfo
1003
+ include Google::Apis::Core::Hashable
1004
+
1005
+ # Explains the failure issue in more detail using hard-coded text.
1006
+ # Corresponds to the JSON property `detail`
1007
+ # @return [String]
1008
+ attr_accessor :detail
1009
+
1010
+ # The name of the failure.
1011
+ # Corresponds to the JSON property `type`
1012
+ # @return [String]
1013
+ attr_accessor :type
1014
+
1015
+ def initialize(**args)
1016
+ update!(**args)
1017
+ end
1018
+
1019
+ # Update properties of this object
1020
+ def update!(**args)
1021
+ @detail = args[:detail] if args.key?(:detail)
1022
+ @type = args[:type] if args.key?(:type)
1023
+ end
1024
+ end
1025
+
914
1026
  # Container message for hashes of byte content of files, used in
915
1027
  # SourceProvenance messages to verify integrity of source input to the build.
916
1028
  class FileHashes
@@ -931,11 +1043,159 @@ module Google
931
1043
  end
932
1044
  end
933
1045
 
1046
+ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise
1047
+ # server.
1048
+ class GitHubEnterpriseConfig
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise
1052
+ # server.
1053
+ # Corresponds to the JSON property `appId`
1054
+ # @return [Fixnum]
1055
+ attr_accessor :app_id
1056
+
1057
+ # Output only. Time when the installation was associated with the project.
1058
+ # Corresponds to the JSON property `createTime`
1059
+ # @return [String]
1060
+ attr_accessor :create_time
1061
+
1062
+ # Name to display for this config.
1063
+ # Corresponds to the JSON property `displayName`
1064
+ # @return [String]
1065
+ attr_accessor :display_name
1066
+
1067
+ # The URL of the github enterprise host the configuration is for.
1068
+ # Corresponds to the JSON property `hostUrl`
1069
+ # @return [String]
1070
+ attr_accessor :host_url
1071
+
1072
+ # Optional. The full resource name for the GitHubEnterpriseConfig For example: "
1073
+ # projects/`$project_id`/githubEnterpriseConfig/`$config_id`"
1074
+ # Corresponds to the JSON property `name`
1075
+ # @return [String]
1076
+ attr_accessor :name
1077
+
1078
+ # Optional. The network to be used when reaching out to the GitHub Enterprise
1079
+ # server. The VPC network must be enabled for private service connection. This
1080
+ # should be set if the GitHub Enterprise server is hosted on-premises and not
1081
+ # reachable by public internet. If this field is left empty, no network peering
1082
+ # will occur and calls to the GitHub Enterprise server will be made over the
1083
+ # public internet. Must be in the format `projects/`project`/global/networks/`
1084
+ # network``, where `project` is a project number or id and `network` is the name
1085
+ # of a VPC network in the project.
1086
+ # Corresponds to the JSON property `peeredNetwork`
1087
+ # @return [String]
1088
+ attr_accessor :peered_network
1089
+
1090
+ # GitHubEnterpriseSecrets represents the names of all necessary secrets in
1091
+ # Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
1092
+ # Corresponds to the JSON property `secrets`
1093
+ # @return [Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets]
1094
+ attr_accessor :secrets
1095
+
1096
+ # Optional. SSL certificate to use for requests to GitHub Enterprise.
1097
+ # Corresponds to the JSON property `sslCa`
1098
+ # @return [String]
1099
+ attr_accessor :ssl_ca
1100
+
1101
+ # The key that should be attached to webhook calls to the ReceiveWebhook
1102
+ # endpoint.
1103
+ # Corresponds to the JSON property `webhookKey`
1104
+ # @return [String]
1105
+ attr_accessor :webhook_key
1106
+
1107
+ def initialize(**args)
1108
+ update!(**args)
1109
+ end
1110
+
1111
+ # Update properties of this object
1112
+ def update!(**args)
1113
+ @app_id = args[:app_id] if args.key?(:app_id)
1114
+ @create_time = args[:create_time] if args.key?(:create_time)
1115
+ @display_name = args[:display_name] if args.key?(:display_name)
1116
+ @host_url = args[:host_url] if args.key?(:host_url)
1117
+ @name = args[:name] if args.key?(:name)
1118
+ @peered_network = args[:peered_network] if args.key?(:peered_network)
1119
+ @secrets = args[:secrets] if args.key?(:secrets)
1120
+ @ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
1121
+ @webhook_key = args[:webhook_key] if args.key?(:webhook_key)
1122
+ end
1123
+ end
1124
+
1125
+ # GitHubEnterpriseSecrets represents the names of all necessary secrets in
1126
+ # Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
1127
+ class GitHubEnterpriseSecrets
1128
+ include Google::Apis::Core::Hashable
1129
+
1130
+ # The resource name for the OAuth client ID secret in Secret Manager.
1131
+ # Corresponds to the JSON property `oauthClientIdName`
1132
+ # @return [String]
1133
+ attr_accessor :oauth_client_id_name
1134
+
1135
+ # The resource name for the OAuth client ID secret version in Secret Manager.
1136
+ # Corresponds to the JSON property `oauthClientIdVersionName`
1137
+ # @return [String]
1138
+ attr_accessor :oauth_client_id_version_name
1139
+
1140
+ # The resource name for the OAuth secret in Secret Manager.
1141
+ # Corresponds to the JSON property `oauthSecretName`
1142
+ # @return [String]
1143
+ attr_accessor :oauth_secret_name
1144
+
1145
+ # The resource name for the OAuth secret secret version in Secret Manager.
1146
+ # Corresponds to the JSON property `oauthSecretVersionName`
1147
+ # @return [String]
1148
+ attr_accessor :oauth_secret_version_name
1149
+
1150
+ # The resource name for the private key secret.
1151
+ # Corresponds to the JSON property `privateKeyName`
1152
+ # @return [String]
1153
+ attr_accessor :private_key_name
1154
+
1155
+ # The resource name for the private key secret version.
1156
+ # Corresponds to the JSON property `privateKeyVersionName`
1157
+ # @return [String]
1158
+ attr_accessor :private_key_version_name
1159
+
1160
+ # The resource name for the webhook secret in Secret Manager.
1161
+ # Corresponds to the JSON property `webhookSecretName`
1162
+ # @return [String]
1163
+ attr_accessor :webhook_secret_name
1164
+
1165
+ # The resource name for the webhook secret secret version in Secret Manager.
1166
+ # Corresponds to the JSON property `webhookSecretVersionName`
1167
+ # @return [String]
1168
+ attr_accessor :webhook_secret_version_name
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ @oauth_client_id_name = args[:oauth_client_id_name] if args.key?(:oauth_client_id_name)
1177
+ @oauth_client_id_version_name = args[:oauth_client_id_version_name] if args.key?(:oauth_client_id_version_name)
1178
+ @oauth_secret_name = args[:oauth_secret_name] if args.key?(:oauth_secret_name)
1179
+ @oauth_secret_version_name = args[:oauth_secret_version_name] if args.key?(:oauth_secret_version_name)
1180
+ @private_key_name = args[:private_key_name] if args.key?(:private_key_name)
1181
+ @private_key_version_name = args[:private_key_version_name] if args.key?(:private_key_version_name)
1182
+ @webhook_secret_name = args[:webhook_secret_name] if args.key?(:webhook_secret_name)
1183
+ @webhook_secret_version_name = args[:webhook_secret_version_name] if args.key?(:webhook_secret_version_name)
1184
+ end
1185
+ end
1186
+
934
1187
  # GitHubEventsConfig describes the configuration of a trigger that creates a
935
- # build whenever a GitHub event is received. This message is experimental.
1188
+ # build whenever a GitHub event is received.
936
1189
  class GitHubEventsConfig
937
1190
  include Google::Apis::Core::Hashable
938
1191
 
1192
+ # Optional. The resource name of the github enterprise config that should be
1193
+ # applied to this installation. For example: "projects/`$project_id`/
1194
+ # githubEnterpriseConfig/`$config_id`"
1195
+ # Corresponds to the JSON property `enterpriseConfigResourceName`
1196
+ # @return [String]
1197
+ attr_accessor :enterprise_config_resource_name
1198
+
939
1199
  # The installationID that emits the GitHub event.
940
1200
  # Corresponds to the JSON property `installationId`
941
1201
  # @return [Fixnum]
@@ -969,6 +1229,7 @@ module Google
969
1229
 
970
1230
  # Update properties of this object
971
1231
  def update!(**args)
1232
+ @enterprise_config_resource_name = args[:enterprise_config_resource_name] if args.key?(:enterprise_config_resource_name)
972
1233
  @installation_id = args[:installation_id] if args.key?(:installation_id)
973
1234
  @name = args[:name] if args.key?(:name)
974
1235
  @owner = args[:owner] if args.key?(:owner)
@@ -977,6 +1238,96 @@ module Google
977
1238
  end
978
1239
  end
979
1240
 
1241
+ # GitRepoSource describes a repo and ref of a code repository.
1242
+ class GitRepoSource
1243
+ include Google::Apis::Core::Hashable
1244
+
1245
+ # The branch or tag to use. Must start with "refs/" (required).
1246
+ # Corresponds to the JSON property `ref`
1247
+ # @return [String]
1248
+ attr_accessor :ref
1249
+
1250
+ # See RepoType below.
1251
+ # Corresponds to the JSON property `repoType`
1252
+ # @return [String]
1253
+ attr_accessor :repo_type
1254
+
1255
+ # The URI of the repo (required).
1256
+ # Corresponds to the JSON property `uri`
1257
+ # @return [String]
1258
+ attr_accessor :uri
1259
+
1260
+ def initialize(**args)
1261
+ update!(**args)
1262
+ end
1263
+
1264
+ # Update properties of this object
1265
+ def update!(**args)
1266
+ @ref = args[:ref] if args.key?(:ref)
1267
+ @repo_type = args[:repo_type] if args.key?(:repo_type)
1268
+ @uri = args[:uri] if args.key?(:uri)
1269
+ end
1270
+ end
1271
+
1272
+ # Represents the metadata of the long-running operation.
1273
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
1274
+ include Google::Apis::Core::Hashable
1275
+
1276
+ # Output only. API version used to start the operation.
1277
+ # Corresponds to the JSON property `apiVersion`
1278
+ # @return [String]
1279
+ attr_accessor :api_version
1280
+
1281
+ # Output only. The time the operation was created.
1282
+ # Corresponds to the JSON property `createTime`
1283
+ # @return [String]
1284
+ attr_accessor :create_time
1285
+
1286
+ # Output only. The time the operation finished running.
1287
+ # Corresponds to the JSON property `endTime`
1288
+ # @return [String]
1289
+ attr_accessor :end_time
1290
+
1291
+ # Output only. Identifies whether the user has requested cancellation of the
1292
+ # operation. Operations that have successfully been cancelled have Operation.
1293
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1294
+ # CANCELLED`.
1295
+ # Corresponds to the JSON property `requestedCancellation`
1296
+ # @return [Boolean]
1297
+ attr_accessor :requested_cancellation
1298
+ alias_method :requested_cancellation?, :requested_cancellation
1299
+
1300
+ # Output only. Human-readable status of the operation, if any.
1301
+ # Corresponds to the JSON property `statusMessage`
1302
+ # @return [String]
1303
+ attr_accessor :status_message
1304
+
1305
+ # Output only. Server-defined resource path for the target of the operation.
1306
+ # Corresponds to the JSON property `target`
1307
+ # @return [String]
1308
+ attr_accessor :target
1309
+
1310
+ # Output only. Name of the verb executed by the operation.
1311
+ # Corresponds to the JSON property `verb`
1312
+ # @return [String]
1313
+ attr_accessor :verb
1314
+
1315
+ def initialize(**args)
1316
+ update!(**args)
1317
+ end
1318
+
1319
+ # Update properties of this object
1320
+ def update!(**args)
1321
+ @api_version = args[:api_version] if args.key?(:api_version)
1322
+ @create_time = args[:create_time] if args.key?(:create_time)
1323
+ @end_time = args[:end_time] if args.key?(:end_time)
1324
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1325
+ @status_message = args[:status_message] if args.key?(:status_message)
1326
+ @target = args[:target] if args.key?(:target)
1327
+ @verb = args[:verb] if args.key?(:verb)
1328
+ end
1329
+ end
1330
+
980
1331
  # HTTPDelivery is the delivery configuration for an HTTP notification.
981
1332
  class HttpDelivery
982
1333
  include Google::Apis::Core::Hashable
@@ -1151,6 +1502,25 @@ module Google
1151
1502
  end
1152
1503
  end
1153
1504
 
1505
+ # RPC response object returned by ListGithubEnterpriseConfigs RPC method.
1506
+ class ListGithubEnterpriseConfigsResponse
1507
+ include Google::Apis::Core::Hashable
1508
+
1509
+ # A list of GitHubEnterpriseConfigs
1510
+ # Corresponds to the JSON property `configs`
1511
+ # @return [Array<Google::Apis::CloudbuildV1::GitHubEnterpriseConfig>]
1512
+ attr_accessor :configs
1513
+
1514
+ def initialize(**args)
1515
+ update!(**args)
1516
+ end
1517
+
1518
+ # Update properties of this object
1519
+ def update!(**args)
1520
+ @configs = args[:configs] if args.key?(:configs)
1521
+ end
1522
+ end
1523
+
1154
1524
  # Response containing existing `WorkerPools`.
1155
1525
  class ListWorkerPoolsResponse
1156
1526
  include Google::Apis::Core::Hashable
@@ -1192,8 +1562,7 @@ module Google
1192
1562
  # project`/global/networks/`network``, where ``project`` is a project number,
1193
1563
  # such as `12345`, and ``network`` is the name of a VPC network in the project.
1194
1564
  # See [Understanding network configuration options](https://cloud.google.com/
1195
- # cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#
1196
- # understanding_the_network_configuration_options)
1565
+ # build/docs/private-pools/set-up-private-pool-environment)
1197
1566
  # Corresponds to the JSON property `peeredNetwork`
1198
1567
  # @return [String]
1199
1568
  attr_accessor :peered_network
@@ -1463,9 +1832,68 @@ module Google
1463
1832
  end
1464
1833
  end
1465
1834
 
1835
+ # Represents the metadata of the long-running operation.
1836
+ class OperationMetadata
1837
+ include Google::Apis::Core::Hashable
1838
+
1839
+ # Output only. API version used to start the operation.
1840
+ # Corresponds to the JSON property `apiVersion`
1841
+ # @return [String]
1842
+ attr_accessor :api_version
1843
+
1844
+ # Output only. Identifies whether the user has requested cancellation of the
1845
+ # operation. Operations that have successfully been cancelled have Operation.
1846
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1847
+ # CANCELLED`.
1848
+ # Corresponds to the JSON property `cancelRequested`
1849
+ # @return [Boolean]
1850
+ attr_accessor :cancel_requested
1851
+ alias_method :cancel_requested?, :cancel_requested
1852
+
1853
+ # Output only. The time the operation was created.
1854
+ # Corresponds to the JSON property `createTime`
1855
+ # @return [String]
1856
+ attr_accessor :create_time
1857
+
1858
+ # Output only. The time the operation finished running.
1859
+ # Corresponds to the JSON property `endTime`
1860
+ # @return [String]
1861
+ attr_accessor :end_time
1862
+
1863
+ # Output only. Human-readable status of the operation, if any.
1864
+ # Corresponds to the JSON property `statusDetail`
1865
+ # @return [String]
1866
+ attr_accessor :status_detail
1867
+
1868
+ # Output only. Server-defined resource path for the target of the operation.
1869
+ # Corresponds to the JSON property `target`
1870
+ # @return [String]
1871
+ attr_accessor :target
1872
+
1873
+ # Output only. Name of the verb executed by the operation.
1874
+ # Corresponds to the JSON property `verb`
1875
+ # @return [String]
1876
+ attr_accessor :verb
1877
+
1878
+ def initialize(**args)
1879
+ update!(**args)
1880
+ end
1881
+
1882
+ # Update properties of this object
1883
+ def update!(**args)
1884
+ @api_version = args[:api_version] if args.key?(:api_version)
1885
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1886
+ @create_time = args[:create_time] if args.key?(:create_time)
1887
+ @end_time = args[:end_time] if args.key?(:end_time)
1888
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1889
+ @target = args[:target] if args.key?(:target)
1890
+ @verb = args[:verb] if args.key?(:verb)
1891
+ end
1892
+ end
1893
+
1466
1894
  # Details about how a build should be executed on a `WorkerPool`. See [running
1467
- # builds in a custom worker pool](https://cloud.google.com/build/docs/custom-
1468
- # workers/run-builds-in-custom-worker-pool) for more information.
1895
+ # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1896
+ # run-builds-in-private-pool) for more information.
1469
1897
  class PoolOption
1470
1898
  include Google::Apis::Core::Hashable
1471
1899
 
@@ -1511,6 +1939,38 @@ module Google
1511
1939
  end
1512
1940
  end
1513
1941
 
1942
+ # Metadata for `ProcessAppManifestCallback` operation.
1943
+ class ProcessAppManifestCallbackOperationMetadata
1944
+ include Google::Apis::Core::Hashable
1945
+
1946
+ # Time the operation was completed.
1947
+ # Corresponds to the JSON property `completeTime`
1948
+ # @return [String]
1949
+ attr_accessor :complete_time
1950
+
1951
+ # Time the operation was created.
1952
+ # Corresponds to the JSON property `createTime`
1953
+ # @return [String]
1954
+ attr_accessor :create_time
1955
+
1956
+ # The resource name of the GitHubEnterprise to be created. Format: `projects/`
1957
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
1958
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1959
+ # @return [String]
1960
+ attr_accessor :github_enterprise_config
1961
+
1962
+ def initialize(**args)
1963
+ update!(**args)
1964
+ end
1965
+
1966
+ # Update properties of this object
1967
+ def update!(**args)
1968
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1969
+ @create_time = args[:create_time] if args.key?(:create_time)
1970
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1971
+ end
1972
+ end
1973
+
1514
1974
  # PubsubConfig describes the configuration of a trigger that creates a build
1515
1975
  # whenever a Pub/Sub message is published.
1516
1976
  class PubsubConfig
@@ -2117,7 +2577,7 @@ module Google
2117
2577
  attr_accessor :generation
2118
2578
 
2119
2579
  # Google Cloud Storage object containing the source. This object must be a
2120
- # gzipped archive file (`.tar.gz`) containing source to build.
2580
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2121
2581
  # Corresponds to the JSON property `object`
2122
2582
  # @return [String]
2123
2583
  attr_accessor :object
@@ -2196,6 +2656,38 @@ module Google
2196
2656
  end
2197
2657
  end
2198
2658
 
2659
+ # Metadata for `UpdateGitHubEnterpriseConfig` operation.
2660
+ class UpdateGitHubEnterpriseConfigOperationMetadata
2661
+ include Google::Apis::Core::Hashable
2662
+
2663
+ # Time the operation was completed.
2664
+ # Corresponds to the JSON property `completeTime`
2665
+ # @return [String]
2666
+ attr_accessor :complete_time
2667
+
2668
+ # Time the operation was created.
2669
+ # Corresponds to the JSON property `createTime`
2670
+ # @return [String]
2671
+ attr_accessor :create_time
2672
+
2673
+ # The resource name of the GitHubEnterprise to be updated. Format: `projects/`
2674
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
2675
+ # Corresponds to the JSON property `githubEnterpriseConfig`
2676
+ # @return [String]
2677
+ attr_accessor :github_enterprise_config
2678
+
2679
+ def initialize(**args)
2680
+ update!(**args)
2681
+ end
2682
+
2683
+ # Update properties of this object
2684
+ def update!(**args)
2685
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
2686
+ @create_time = args[:create_time] if args.key?(:create_time)
2687
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
2688
+ end
2689
+ end
2690
+
2199
2691
  # Metadata for the `UpdateWorkerPool` operation.
2200
2692
  class UpdateWorkerPoolOperationMetadata
2201
2693
  include Google::Apis::Core::Hashable
@@ -2315,16 +2807,16 @@ module Google
2315
2807
  include Google::Apis::Core::Hashable
2316
2808
 
2317
2809
  # Size of the disk attached to the worker, in GB. See [Worker pool config file](
2318
- # https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-
2319
- # file). Specify a value of up to 1000. If `0` is specified, Cloud Build will
2810
+ # https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-
2811
+ # schema). Specify a value of up to 1000. If `0` is specified, Cloud Build will
2320
2812
  # use a standard disk size.
2321
2813
  # Corresponds to the JSON property `diskSizeGb`
2322
2814
  # @return [Fixnum]
2323
2815
  attr_accessor :disk_size_gb
2324
2816
 
2325
2817
  # Machine type of a worker, such as `e2-medium`. See [Worker pool config file](
2326
- # https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-
2327
- # file). If left blank, Cloud Build will use a sensible default.
2818
+ # https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-
2819
+ # schema). If left blank, Cloud Build will use a sensible default.
2328
2820
  # Corresponds to the JSON property `machineType`
2329
2821
  # @return [String]
2330
2822
  attr_accessor :machine_type
@@ -2346,9 +2838,9 @@ module Google
2346
2838
  # your build needs access to resources on a private network, create and use a `
2347
2839
  # WorkerPool` to run your builds. Private `WorkerPool`s give your builds access
2348
2840
  # to any single VPC network that you administer, including any on-prem resources
2349
- # connected to that VPC network. For an overview of custom worker pools, see [
2350
- # Custom workers overview](https://cloud.google.com/cloud-build/docs/custom-
2351
- # workers/custom-workers-overview).
2841
+ # connected to that VPC network. For an overview of private pools, see [Private
2842
+ # pools overview](https://cloud.google.com/build/docs/private-pools/private-
2843
+ # pools-overview).
2352
2844
  class WorkerPool
2353
2845
  include Google::Apis::Core::Hashable
2354
2846