Skip to content

Commit

Permalink
feat(cloudbuild): update the api
Browse files Browse the repository at this point in the history
#### cloudbuild:v1

The following keys were added:
- schemas.Build.properties.warnings (Total Keys: 3)
- schemas.Warning (Total Keys: 4)

#### cloudbuild:v1alpha1

The following keys were added:
- schemas.Build.properties.warnings (Total Keys: 3)
- schemas.Warning (Total Keys: 4)

#### cloudbuild:v1alpha2

The following keys were added:
- schemas.Build.properties.warnings (Total Keys: 3)
- schemas.Warning (Total Keys: 4)

#### cloudbuild:v1beta1

The following keys were added:
- schemas.Build.properties.warnings (Total Keys: 3)
- schemas.Warning (Total Keys: 4)
  • Loading branch information
yoshi-automation committed May 15, 2021
1 parent a8228db commit c9d8208
Show file tree
Hide file tree
Showing 7 changed files with 228 additions and 4 deletions.
24 changes: 24 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.builds.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}</pre>
</div>

Expand Down Expand Up @@ -561,6 +567,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}

parent: string, The parent resource where this build will be created. Format: `projects/{project}/locations/{location}`
Expand Down Expand Up @@ -821,6 +833,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}</pre>
</div>

Expand Down Expand Up @@ -1056,6 +1074,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to receive the next page of results. This will be absent if the end of the response list has been reached.
Expand Down
24 changes: 24 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.locations.builds.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}</pre>
</div>

Expand Down Expand Up @@ -560,6 +566,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}

projectId: string, Required. ID of the project.
Expand Down Expand Up @@ -820,6 +832,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
}</pre>
</div>

Expand Down Expand Up @@ -1055,6 +1073,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to receive the next page of results. This will be absent if the end of the response list has been reached.
Expand Down
36 changes: 36 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.triggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down Expand Up @@ -605,6 +611,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down Expand Up @@ -908,6 +920,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down Expand Up @@ -1196,6 +1214,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down Expand Up @@ -1491,6 +1515,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down Expand Up @@ -1767,6 +1797,12 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Start of time span.
},
},
&quot;warnings&quot;: [ # Output only. Non-fatal problems encountered during the execution of the build.
{ # A non-fatal problem encountered during the execution of the build.
&quot;priority&quot;: &quot;A String&quot;, # The priority for this warning.
&quot;text&quot;: &quot;A String&quot;, # Explanation of the warning generated.
},
],
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the trigger was created.
&quot;description&quot;: &quot;A String&quot;, # Human-readable description of this trigger.
Expand Down
37 changes: 36 additions & 1 deletion googleapiclient/discovery_cache/documents/cloudbuild.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@
}
}
},
"revision": "20210501",
"revision": "20210511",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -1046,6 +1046,14 @@
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.",
"readOnly": true,
"type": "object"
},
"warnings": {
"description": "Output only. Non-fatal problems encountered during the execution of the build.",
"items": {
"$ref": "Warning"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -2176,6 +2184,33 @@
}
},
"type": "object"
},
"Warning": {
"description": "A non-fatal problem encountered during the execution of the build.",
"id": "Warning",
"properties": {
"priority": {
"description": "The priority for this warning.",
"enum": [
"PRIORITY_UNSPECIFIED",
"INFO",
"WARNING",
"ALERT"
],
"enumDescriptions": [
"Should not be used.",
"e.g. deprecation warnings and alternative feature highlights.",
"e.g. automated detection of possible issues with the build.",
"e.g. alerts that a feature used in the build is pending removal"
],
"type": "string"
},
"text": {
"description": "Explanation of the warning generated.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20210501",
"revision": "20210511",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -533,6 +533,14 @@
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.",
"readOnly": true,
"type": "object"
},
"warnings": {
"description": "Output only. Non-fatal problems encountered during the execution of the build.",
"items": {
"$ref": "Warning"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1394,6 +1402,33 @@
},
"type": "object"
},
"Warning": {
"description": "A non-fatal problem encountered during the execution of the build.",
"id": "Warning",
"properties": {
"priority": {
"description": "The priority for this warning.",
"enum": [
"PRIORITY_UNSPECIFIED",
"INFO",
"WARNING",
"ALERT"
],
"enumDescriptions": [
"Should not be used.",
"e.g. deprecation warnings and alternative feature highlights.",
"e.g. automated detection of possible issues with the build.",
"e.g. alerts that a feature used in the build is pending removal"
],
"type": "string"
},
"text": {
"description": "Explanation of the warning generated.",
"type": "string"
}
},
"type": "object"
},
"WorkerConfig": {
"description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.",
"id": "WorkerConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
}
}
},
"revision": "20210501",
"revision": "20210511",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -544,6 +544,14 @@
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.",
"readOnly": true,
"type": "object"
},
"warnings": {
"description": "Output only. Non-fatal problems encountered during the execution of the build.",
"items": {
"$ref": "Warning"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1397,6 +1405,33 @@
},
"type": "object"
},
"Warning": {
"description": "A non-fatal problem encountered during the execution of the build.",
"id": "Warning",
"properties": {
"priority": {
"description": "The priority for this warning.",
"enum": [
"PRIORITY_UNSPECIFIED",
"INFO",
"WARNING",
"ALERT"
],
"enumDescriptions": [
"Should not be used.",
"e.g. deprecation warnings and alternative feature highlights.",
"e.g. automated detection of possible issues with the build.",
"e.g. alerts that a feature used in the build is pending removal"
],
"type": "string"
},
"text": {
"description": "Explanation of the warning generated.",
"type": "string"
}
},
"type": "object"
},
"WorkerConfig": {
"description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.",
"id": "WorkerConfig",
Expand Down
Loading

0 comments on commit c9d8208

Please sign in to comment.