builds
Creates, updates, deletes, gets or lists a builds
resource.
Overview
Name | builds |
Type | Resource |
Id | google.run.builds |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
submit | exec | projectsId , locationsId | Submits a build in a given project. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string |
Lifecycle Methods
- submit
Submits a build in a given project.
EXEC google.run.builds.submit
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"storageSource": "{{ storageSource }}",
"imageUri": "{{ imageUri }}",
"buildpackBuild": "{{ buildpackBuild }}",
"dockerBuild": "{{ dockerBuild }}",
"serviceAccount": "{{ serviceAccount }}",
"workerPool": "{{ workerPool }}",
"tags": "{{ tags }}",
"machineType": "{{ machineType }}",
"releaseTrack": "{{ releaseTrack }}"
}';