Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 030ff7d

Browse files
committedFeb 18, 2025
feat(cloudbuild): update the api
#### cloudbuild:v1 The following keys were added: - schemas.Build.properties.dependencies (Total Keys: 2) - schemas.BuildOptions.properties.pubsubTopic.type (Total Keys: 1) - schemas.Dependency (Total Keys: 4) - schemas.GitSourceDependency (Total Keys: 7) - schemas.GitSourceRepository (Total Keys: 3) #### cloudbuild:v2 The following keys were added: - resources.projects.resources.locations.resources.connections.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - resources.projects.resources.locations.resources.connections.resources.repositories.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - schemas.ListConnectionsResponse.properties.unreachable (Total Keys: 2) - schemas.ListRepositoriesResponse.properties.unreachable (Total Keys: 2)
1 parent 1bc5611 commit 030ff7d

8 files changed

+427
-6
lines changed
 

‎docs/dyn/cloudbuild_v1.projects.builds.html

+64
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,21 @@ <h3>Method Details</h3>
251251
},
252252
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
253253
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
254+
&quot;dependencies&quot;: [ # 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+
&quot;empty&quot;: True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
257+
&quot;gitSource&quot;: { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
258+
&quot;depth&quot;: &quot;A String&quot;, # Optional. How much history should be fetched for the build (default 1, -1 for all history).
259+
&quot;destPath&quot;: &quot;A String&quot;, # Required. Where should the files be placed on the worker.
260+
&quot;recurseSubmodules&quot;: True or False, # Optional. True if submodules should be fetched too (default false).
261+
&quot;repository&quot;: { # A repository for a git source. # Required. The kind of repo (url or dev connect).
262+
&quot;developerConnect&quot;: &quot;A String&quot;, # 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+
&quot;url&quot;: &quot;A String&quot;, # Location of the Git repository.
264+
},
265+
&quot;revision&quot;: &quot;A String&quot;, # Required. The revision that we will fetch the repo at.
266+
},
267+
},
268+
],
254269
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
255270
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
256271
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
@@ -283,6 +298,7 @@ <h3>Method Details</h3>
283298
&quot;pool&quot;: { # 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.
284299
&quot;name&quot;: &quot;A String&quot;, # 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}
285300
},
301+
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. Option to specify the Pub/Sub topic to receive build status updates.
286302
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
287303
&quot;secretEnv&quot;: [ # 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&#x27;s `Secret`. These variables will be available to all build steps in this build.
288304
&quot;A String&quot;,
@@ -649,6 +665,21 @@ <h3>Method Details</h3>
649665
},
650666
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
651667
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
668+
&quot;dependencies&quot;: [ # 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+
&quot;empty&quot;: True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
671+
&quot;gitSource&quot;: { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
672+
&quot;depth&quot;: &quot;A String&quot;, # Optional. How much history should be fetched for the build (default 1, -1 for all history).
673+
&quot;destPath&quot;: &quot;A String&quot;, # Required. Where should the files be placed on the worker.
674+
&quot;recurseSubmodules&quot;: True or False, # Optional. True if submodules should be fetched too (default false).
675+
&quot;repository&quot;: { # A repository for a git source. # Required. The kind of repo (url or dev connect).
676+
&quot;developerConnect&quot;: &quot;A String&quot;, # 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+
&quot;url&quot;: &quot;A String&quot;, # Location of the Git repository.
678+
},
679+
&quot;revision&quot;: &quot;A String&quot;, # Required. The revision that we will fetch the repo at.
680+
},
681+
},
682+
],
652683
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
653684
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
654685
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
@@ -681,6 +712,7 @@ <h3>Method Details</h3>
681712
&quot;pool&quot;: { # 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.
682713
&quot;name&quot;: &quot;A String&quot;, # 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}
683714
},
715+
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. Option to specify the Pub/Sub topic to receive build status updates.
684716
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
685717
&quot;secretEnv&quot;: [ # 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&#x27;s `Secret`. These variables will be available to all build steps in this build.
686718
&quot;A String&quot;,
@@ -1078,6 +1110,21 @@ <h3>Method Details</h3>
10781110
},
10791111
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
10801112
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
1113+
&quot;dependencies&quot;: [ # 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+
&quot;empty&quot;: True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
1116+
&quot;gitSource&quot;: { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
1117+
&quot;depth&quot;: &quot;A String&quot;, # Optional. How much history should be fetched for the build (default 1, -1 for all history).
1118+
&quot;destPath&quot;: &quot;A String&quot;, # Required. Where should the files be placed on the worker.
1119+
&quot;recurseSubmodules&quot;: True or False, # Optional. True if submodules should be fetched too (default false).
1120+
&quot;repository&quot;: { # A repository for a git source. # Required. The kind of repo (url or dev connect).
1121+
&quot;developerConnect&quot;: &quot;A String&quot;, # 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+
&quot;url&quot;: &quot;A String&quot;, # Location of the Git repository.
1123+
},
1124+
&quot;revision&quot;: &quot;A String&quot;, # Required. The revision that we will fetch the repo at.
1125+
},
1126+
},
1127+
],
10811128
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
10821129
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
10831130
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
@@ -1110,6 +1157,7 @@ <h3>Method Details</h3>
11101157
&quot;pool&quot;: { # 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.
11111158
&quot;name&quot;: &quot;A String&quot;, # 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}
11121159
},
1160+
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. Option to specify the Pub/Sub topic to receive build status updates.
11131161
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
11141162
&quot;secretEnv&quot;: [ # 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&#x27;s `Secret`. These variables will be available to all build steps in this build.
11151163
&quot;A String&quot;,
@@ -1482,6 +1530,21 @@ <h3>Method Details</h3>
14821530
},
14831531
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
14841532
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
1533+
&quot;dependencies&quot;: [ # 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+
&quot;empty&quot;: True or False, # If set to true disable all dependency fetching (ignoring the default source as well).
1536+
&quot;gitSource&quot;: { # Represents a git repository as a build dependency. # Represents a git repository as a build dependency.
1537+
&quot;depth&quot;: &quot;A String&quot;, # Optional. How much history should be fetched for the build (default 1, -1 for all history).
1538+
&quot;destPath&quot;: &quot;A String&quot;, # Required. Where should the files be placed on the worker.
1539+
&quot;recurseSubmodules&quot;: True or False, # Optional. True if submodules should be fetched too (default false).
1540+
&quot;repository&quot;: { # A repository for a git source. # Required. The kind of repo (url or dev connect).
1541+
&quot;developerConnect&quot;: &quot;A String&quot;, # 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+
&quot;url&quot;: &quot;A String&quot;, # Location of the Git repository.
1543+
},
1544+
&quot;revision&quot;: &quot;A String&quot;, # Required. The revision that we will fetch the repo at.
1545+
},
1546+
},
1547+
],
14851548
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
14861549
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
14871550
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
@@ -1514,6 +1577,7 @@ <h3>Method Details</h3>
15141577
&quot;pool&quot;: { # 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.
15151578
&quot;name&quot;: &quot;A String&quot;, # 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}
15161579
},
1580+
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. Option to specify the Pub/Sub topic to receive build status updates.
15171581
&quot;requestedVerifyOption&quot;: &quot;A String&quot;, # Requested verifiability options.
15181582
&quot;secretEnv&quot;: [ # 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&#x27;s `Secret`. These variables will be available to all build steps in this build.
15191583
&quot;A String&quot;,

0 commit comments

Comments
 (0)
Please sign in to comment.