Lines Matching full:build
21 use Google\Service\CloudBuild\Build; alias
38 * Approves or rejects a pending build. If approved, the returned LRO will be
42 * @param string $name Required. Name of the target build. For example:
55 * Cancels a build in progress. (builds.cancel)
57 * @param string $name The name of the `Build` to cancel. Format:
58 * `projects/{project}/locations/{location}/builds/{build}`
61 * @return Build
67 return $this->call('cancel', [$params], Build::class);
70 * Starts a build with the specified configuration. This method returns a long-
71 * running `Operation`, which includes the build ID. Pass the build ID to
72 * `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).
75 * @param string $parent The parent resource where this build will be created.
77 * @param Build $postBody
83 public function create($parent, Build $postBody, $optParams = [])
90 * Returns information about a previously requested build. The `Build` that is
94 * @param string $name The name of the `Build` to retrieve. Format:
95 * `projects/{project}/locations/{location}/builds/{build}`
98 * @opt_param string id Required. ID of the build.
100 * @return Build
106 return $this->call('get', [$params], Build::class);
134 * Creates a new build based on the specified build. This method creates a new
135 * build using the original build request, which may or may not result in an
136 * identical build. For triggered builds: * Triggered builds resolve to a
137 * precise revision; therefore a retry of a triggered build will result in a
138 * build that uses the same revision. For non-triggered builds that specify
139 * `RepoSource`: * If the original build built from the tip of a branch, the
140 * retried build will build from the tip of that branch, which may not be the
141 * same revision as the original build. * If the original build specified a
142 * commit sha or revision ID, the retried build will use the identical source.
143 * For builds that specify `StorageSource`: * If the original build pulled
145 * object, the new build will use the current object, which may be different
146 * from the original build source. * If the original build pulled source from
147 * Cloud Storage and specified the generation of the object, the new build will
151 * @param string $name The name of the `Build` to retry. Format:
152 * `projects/{project}/locations/{location}/builds/{build}`