Skip to content

Commit 9066056

Browse files
feat(cloudbuild): update the api
#### cloudbuild:v1 The following keys were added: - schemas.Build.properties.failureInfo (Total Keys: 2) - schemas.BuildTrigger.properties.sourceToBuild.$ref (Total Keys: 1) - schemas.FailureInfo (Total Keys: 4) - schemas.GitRepoSource (Total Keys: 5) - schemas.GoogleDevtoolsCloudbuildV2OperationMetadata (Total Keys: 18) - schemas.OperationMetadata (Total Keys: 18) #### cloudbuild:v1alpha1 The following keys were added: - schemas.Build.properties.failureInfo (Total Keys: 2) - schemas.FailureInfo (Total Keys: 4) - schemas.GoogleDevtoolsCloudbuildV2OperationMetadata (Total Keys: 18) - schemas.OperationMetadata (Total Keys: 18) #### cloudbuild:v1alpha2 The following keys were added: - schemas.Build.properties.failureInfo (Total Keys: 2) - schemas.FailureInfo (Total Keys: 4) - schemas.GoogleDevtoolsCloudbuildV2OperationMetadata (Total Keys: 18) - schemas.OperationMetadata (Total Keys: 18) #### cloudbuild:v1beta1 The following keys were added: - schemas.Build.properties.failureInfo (Total Keys: 2) - schemas.FailureInfo (Total Keys: 4) - schemas.GoogleDevtoolsCloudbuildV2OperationMetadata (Total Keys: 18) - schemas.OperationMetadata (Total Keys: 18)
1 parent 5be1260 commit 9066056

9 files changed

+691
-14
lines changed

docs/dyn/cloudbuild_v1.projects.builds.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ <h3>Method Details</h3>
154154
},
155155
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
156156
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
157+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
158+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
159+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
160+
},
157161
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
158162
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
159163
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -392,6 +396,10 @@ <h3>Method Details</h3>
392396
},
393397
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
394398
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
399+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
400+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
401+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
402+
},
395403
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
396404
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
397405
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -661,6 +669,10 @@ <h3>Method Details</h3>
661669
},
662670
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
663671
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
672+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
673+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
674+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
675+
},
664676
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
665677
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
666678
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -905,6 +917,10 @@ <h3>Method Details</h3>
905917
},
906918
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
907919
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
920+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
921+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
922+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
923+
},
908924
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
909925
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
910926
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ <h3>Method Details</h3>
153153
},
154154
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
155155
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
156+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
157+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
158+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
159+
},
156160
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
157161
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
158162
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -391,6 +395,10 @@ <h3>Method Details</h3>
391395
},
392396
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
393397
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
398+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
399+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
400+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
401+
},
394402
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
395403
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
396404
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -660,6 +668,10 @@ <h3>Method Details</h3>
660668
},
661669
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
662670
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
671+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
672+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
673+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
674+
},
663675
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
664676
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
665677
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
@@ -904,6 +916,10 @@ <h3>Method Details</h3>
904916
},
905917
&quot;buildTriggerId&quot;: &quot;A String&quot;, # Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
906918
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the request to create the build was received.
919+
&quot;failureInfo&quot;: { # A fatal problem encountered during the execution of the build. # Output only. Contains information about the build when status=FAILURE.
920+
&quot;detail&quot;: &quot;A String&quot;, # Explains the failure issue in more detail using hard-coded text.
921+
&quot;type&quot;: &quot;A String&quot;, # The name of the failure.
922+
},
907923
&quot;finishTime&quot;: &quot;A String&quot;, # Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build&#x27;s execution.
908924
&quot;id&quot;: &quot;A String&quot;, # Output only. Unique identifier of the build.
909925
&quot;images&quot;: [ # A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account&#x27;s credentials. The digests of the pushed images will be stored in the `Build` resource&#x27;s results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.

0 commit comments

Comments
 (0)