You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/cloudbuild_v1.projects.builds.html
+64
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,21 @@ <h3>Method Details</h3>
251
251
},
252
252
"buildTriggerId": "A String", # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
253
253
"createTime": "A String", # Output only. Time at which the request to create the build was received.
254
+
"dependencies": [ # Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
255
+
{ # A dependency that the Cloud Build worker will fetch before executing user steps.
256
+
"empty": True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
257
+
"gitSource": { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
258
+
"depth": "A String", # Optional. How much history should be fetched for the build (default 1, -1 for all history).
259
+
"destPath": "A String", # Required. Where should the files be placed on the worker.
260
+
"recurseSubmodules": True or False, # Optional. True if submodules should be fetched too (default false).
261
+
"repository": { # A repository for a git source. # Required. The kind of repo (url or dev connect).
262
+
"developerConnect": "A String", # The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`
263
+
"url": "A String", # Location of the Git repository.
264
+
},
265
+
"revision": "A String", # Required. The revision that we will fetch the repo at.
266
+
},
267
+
},
268
+
],
254
269
"failureInfo": { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
255
270
"detail": "A String", # Explains the failure issue in more detail using hard-coded text.
256
271
"type": "A String", # The name of the failure.
@@ -283,6 +298,7 @@ <h3>Method Details</h3>
283
298
"pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
284
299
"name": "A String", # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
285
300
},
301
+
"pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates.
"secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.
288
304
"A String",
@@ -649,6 +665,21 @@ <h3>Method Details</h3>
649
665
},
650
666
"buildTriggerId": "A String", # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
651
667
"createTime": "A String", # Output only. Time at which the request to create the build was received.
668
+
"dependencies": [ # Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
669
+
{ # A dependency that the Cloud Build worker will fetch before executing user steps.
670
+
"empty": True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
671
+
"gitSource": { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
672
+
"depth": "A String", # Optional. How much history should be fetched for the build (default 1, -1 for all history).
673
+
"destPath": "A String", # Required. Where should the files be placed on the worker.
674
+
"recurseSubmodules": True or False, # Optional. True if submodules should be fetched too (default false).
675
+
"repository": { # A repository for a git source. # Required. The kind of repo (url or dev connect).
676
+
"developerConnect": "A String", # The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`
677
+
"url": "A String", # Location of the Git repository.
678
+
},
679
+
"revision": "A String", # Required. The revision that we will fetch the repo at.
680
+
},
681
+
},
682
+
],
652
683
"failureInfo": { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
653
684
"detail": "A String", # Explains the failure issue in more detail using hard-coded text.
654
685
"type": "A String", # The name of the failure.
@@ -681,6 +712,7 @@ <h3>Method Details</h3>
681
712
"pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
682
713
"name": "A String", # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
683
714
},
715
+
"pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates.
"secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.
686
718
"A String",
@@ -1078,6 +1110,21 @@ <h3>Method Details</h3>
1078
1110
},
1079
1111
"buildTriggerId": "A String", # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
1080
1112
"createTime": "A String", # Output only. Time at which the request to create the build was received.
1113
+
"dependencies": [ # Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
1114
+
{ # A dependency that the Cloud Build worker will fetch before executing user steps.
1115
+
"empty": True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
1116
+
"gitSource": { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
1117
+
"depth": "A String", # Optional. How much history should be fetched for the build (default 1, -1 for all history).
1118
+
"destPath": "A String", # Required. Where should the files be placed on the worker.
1119
+
"recurseSubmodules": True or False, # Optional. True if submodules should be fetched too (default false).
1120
+
"repository": { # A repository for a git source. # Required. The kind of repo (url or dev connect).
1121
+
"developerConnect": "A String", # The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`
1122
+
"url": "A String", # Location of the Git repository.
1123
+
},
1124
+
"revision": "A String", # Required. The revision that we will fetch the repo at.
1125
+
},
1126
+
},
1127
+
],
1081
1128
"failureInfo": { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
1082
1129
"detail": "A String", # Explains the failure issue in more detail using hard-coded text.
1083
1130
"type": "A String", # The name of the failure.
@@ -1110,6 +1157,7 @@ <h3>Method Details</h3>
1110
1157
"pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
1111
1158
"name": "A String", # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
1112
1159
},
1160
+
"pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates.
"secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.
1115
1163
"A String",
@@ -1482,6 +1530,21 @@ <h3>Method Details</h3>
1482
1530
},
1483
1531
"buildTriggerId": "A String", # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
1484
1532
"createTime": "A String", # Output only. Time at which the request to create the build was received.
1533
+
"dependencies": [ # Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
1534
+
{ # A dependency that the Cloud Build worker will fetch before executing user steps.
1535
+
"empty": True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
1536
+
"gitSource": { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
1537
+
"depth": "A String", # Optional. How much history should be fetched for the build (default 1, -1 for all history).
1538
+
"destPath": "A String", # Required. Where should the files be placed on the worker.
1539
+
"recurseSubmodules": True or False, # Optional. True if submodules should be fetched too (default false).
1540
+
"repository": { # A repository for a git source. # Required. The kind of repo (url or dev connect).
1541
+
"developerConnect": "A String", # The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`
1542
+
"url": "A String", # Location of the Git repository.
1543
+
},
1544
+
"revision": "A String", # Required. The revision that we will fetch the repo at.
1545
+
},
1546
+
},
1547
+
],
1485
1548
"failureInfo": { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
1486
1549
"detail": "A String", # Explains the failure issue in more detail using hard-coded text.
1487
1550
"type": "A String", # The name of the failure.
@@ -1514,6 +1577,7 @@ <h3>Method Details</h3>
1514
1577
"pool": { # Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. # Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
1515
1578
"name": "A String", # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
1516
1579
},
1580
+
"pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates.
"secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.
0 commit comments