Liking cljdoc? Tell your friends :D

happygapi.cloudbuild.projects

Cloud Build API: projects. Creates and manages builds on Google Cloud Platform. See: https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects

Cloud Build API: projects.
Creates and manages builds on Google Cloud Platform.
See: https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects
raw docstring

builds-cancel$clj

(builds-cancel$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/cancel

Required parameters: projectId, id

Optional parameters: none

Body:

{}

Cancels a build in progress.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/cancel

Required parameters: projectId, id

Optional parameters: none

Body: 

{}

Cancels a build in progress.
sourceraw docstring

builds-create$clj

(builds-create$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/create

Required parameters: projectId

Optional parameters: none

Body:

{:tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [{:kmsKeyName string, :secretEnv {}}], :steps [{:args [string], :waitFor [string], :dir string, :name string, :pullTiming TimeSpan, :env [string], :volumes [Volume], :status string, :id string, :secretEnv [string], :timing TimeSpan, :entrypoint string, :timeout string}], :createTime string, :substitutions {}, :source {:storageSource StorageSource, :repoSource RepoSource}, :logUrl string, :finishTime string, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance {:resolvedRepoSource RepoSource, :resolvedStorageSource StorageSource, :fileHashes {}}, :projectId string, :options {:sourceProvenanceHash [string], :machineType string, :env [string], :volumes [Volume], :logging string, :secretEnv [string], :diskSizeGb string, :logStreamingOption string, :workerPool string, :substitutionOption string, :requestedVerifyOption string}, :timeout string, :artifacts {:images [string], :objects ArtifactObjects}, :results {:artifactTiming TimeSpan, :buildStepOutputs [string], :images [BuiltImage], :numArtifacts string, :artifactManifest string, :buildStepImages [string]}}

Starts a build with the specified configuration.

This method returns a long-running Operation, which includes the build ID. Pass the build ID to GetBuild to determine the build status (such as SUCCESS or FAILURE).

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/create

Required parameters: projectId

Optional parameters: none

Body: 

{:tags [string],
 :statusDetail string,
 :logsBucket string,
 :startTime string,
 :buildTriggerId string,
 :images [string],
 :secrets [{:kmsKeyName string, :secretEnv {}}],
 :steps [{:args [string],
          :waitFor [string],
          :dir string,
          :name string,
          :pullTiming TimeSpan,
          :env [string],
          :volumes [Volume],
          :status string,
          :id string,
          :secretEnv [string],
          :timing TimeSpan,
          :entrypoint string,
          :timeout string}],
 :createTime string,
 :substitutions {},
 :source {:storageSource StorageSource, :repoSource RepoSource},
 :logUrl string,
 :finishTime string,
 :status string,
 :id string,
 :timing {},
 :queueTtl string,
 :sourceProvenance {:resolvedRepoSource RepoSource,
                    :resolvedStorageSource StorageSource,
                    :fileHashes {}},
 :projectId string,
 :options {:sourceProvenanceHash [string],
           :machineType string,
           :env [string],
           :volumes [Volume],
           :logging string,
           :secretEnv [string],
           :diskSizeGb string,
           :logStreamingOption string,
           :workerPool string,
           :substitutionOption string,
           :requestedVerifyOption string},
 :timeout string,
 :artifacts {:images [string], :objects ArtifactObjects},
 :results {:artifactTiming TimeSpan,
           :buildStepOutputs [string],
           :images [BuiltImage],
           :numArtifacts string,
           :artifactManifest string,
           :buildStepImages [string]}}

Starts a build with the specified configuration.

This method returns a long-running `Operation`, which includes the build
ID. Pass the build ID to `GetBuild` to determine the build status (such as
`SUCCESS` or `FAILURE`).
sourceraw docstring

builds-get$clj

(builds-get$ auth parameters)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/get

Required parameters: projectId, id

Optional parameters: none

Returns information about a previously requested build.

The Build that is returned includes its status (such as SUCCESS, FAILURE, or WORKING), and timing information.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/get

Required parameters: projectId, id

Optional parameters: none

Returns information about a previously requested build.

The `Build` that is returned includes its status (such as `SUCCESS`,
`FAILURE`, or `WORKING`), and timing information.
sourceraw docstring

builds-list$clj

(builds-list$ auth parameters)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/list

Required parameters: projectId

Optional parameters: pageToken, pageSize, filter

Lists previously requested builds.

Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/list

Required parameters: projectId

Optional parameters: pageToken, pageSize, filter

Lists previously requested builds.

Previously requested builds may still be in-progress, or may have finished
successfully or unsuccessfully.
sourceraw docstring

builds-retry$clj

(builds-retry$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/retry

Required parameters: id, projectId

Optional parameters: none

Body:

{}

Creates a new build based on the specified build.

This method creates a new build using the original build request, which may or may not result in an identical build.

For triggered builds:

  • Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision.

For non-triggered builds that specify RepoSource:

  • If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build.
  • If the original build specified a commit sha or revision ID, the retried build will use the identical source.

For builds that specify StorageSource:

  • If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source.
  • If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/builds/retry

Required parameters: id, projectId

Optional parameters: none

Body: 

{}

Creates a new build based on the specified build.

This method creates a new build using the original build request, which may
or may not result in an identical build.

For triggered builds:

* Triggered builds resolve to a precise revision; therefore a retry of a
triggered build will result in a build that uses the same revision.

For non-triggered builds that specify `RepoSource`:

* If the original build built from the tip of a branch, the retried build
will build from the tip of that branch, which may not be the same revision
as the original build.
* If the original build specified a commit sha or revision ID, the retried
build will use the identical source.

For builds that specify `StorageSource`:

* If the original build pulled source from Google Cloud Storage without
specifying the generation of the object, the new build will use the current
object, which may be different from the original build source.
* If the original build pulled source from Cloud Storage and specified the
generation of the object, the new build will attempt to use the same
object, which may or may not be available depending on the bucket's
lifecycle management settings.
sourceraw docstring

triggers-create$clj

(triggers-create$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/create

Required parameters: projectId

Optional parameters: none

Body:

{:description string, :tags [string], :github {:pullRequest PullRequestFilter, :push PushFilter, :installationId string, :owner string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :includedFiles [string], :filename string, :build {:tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :steps [BuildStep], :createTime string, :substitutions {}, :source Source, :logUrl string, :finishTime string, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :artifacts Artifacts, :results Results}, :id string, :triggerTemplate {:repoName string, :projectId string, :commitSha string, :substitutions {}, :invertRegex boolean, :dir string, :branchName string, :tagName string}}

Creates a new BuildTrigger.

This API is experimental.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/create

Required parameters: projectId

Optional parameters: none

Body: 

{:description string,
 :tags [string],
 :github {:pullRequest PullRequestFilter,
          :push PushFilter,
          :installationId string,
          :owner string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :includedFiles [string],
 :filename string,
 :build {:tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :source Source,
         :logUrl string,
         :finishTime string,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :artifacts Artifacts,
         :results Results},
 :id string,
 :triggerTemplate {:repoName string,
                   :projectId string,
                   :commitSha string,
                   :substitutions {},
                   :invertRegex boolean,
                   :dir string,
                   :branchName string,
                   :tagName string}}

Creates a new `BuildTrigger`.

This API is experimental.
sourceraw docstring

triggers-delete$clj

(triggers-delete$ auth parameters)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/delete

Required parameters: triggerId, projectId

Optional parameters: none

Deletes a BuildTrigger by its project ID and trigger ID.

This API is experimental.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/delete

Required parameters: triggerId, projectId

Optional parameters: none

Deletes a `BuildTrigger` by its project ID and trigger ID.

This API is experimental.
sourceraw docstring

triggers-get$clj

(triggers-get$ auth parameters)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/get

Required parameters: triggerId, projectId

Optional parameters: none

Returns information about a BuildTrigger.

This API is experimental.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/get

Required parameters: triggerId, projectId

Optional parameters: none

Returns information about a `BuildTrigger`.

This API is experimental.
sourceraw docstring

triggers-list$clj

(triggers-list$ auth parameters)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/list

Required parameters: projectId

Optional parameters: pageToken, pageSize

Lists existing BuildTriggers.

This API is experimental.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/list

Required parameters: projectId

Optional parameters: pageToken, pageSize

Lists existing `BuildTrigger`s.

This API is experimental.
sourceraw docstring

triggers-patch$clj

(triggers-patch$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/patch

Required parameters: triggerId, projectId

Optional parameters: none

Body:

{:description string, :tags [string], :github {:pullRequest PullRequestFilter, :push PushFilter, :installationId string, :owner string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :includedFiles [string], :filename string, :build {:tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :steps [BuildStep], :createTime string, :substitutions {}, :source Source, :logUrl string, :finishTime string, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :artifacts Artifacts, :results Results}, :id string, :triggerTemplate {:repoName string, :projectId string, :commitSha string, :substitutions {}, :invertRegex boolean, :dir string, :branchName string, :tagName string}}

Updates a BuildTrigger by its project ID and trigger ID.

This API is experimental.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/patch

Required parameters: triggerId, projectId

Optional parameters: none

Body: 

{:description string,
 :tags [string],
 :github {:pullRequest PullRequestFilter,
          :push PushFilter,
          :installationId string,
          :owner string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :includedFiles [string],
 :filename string,
 :build {:tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :source Source,
         :logUrl string,
         :finishTime string,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :artifacts Artifacts,
         :results Results},
 :id string,
 :triggerTemplate {:repoName string,
                   :projectId string,
                   :commitSha string,
                   :substitutions {},
                   :invertRegex boolean,
                   :dir string,
                   :branchName string,
                   :tagName string}}

Updates a `BuildTrigger` by its project ID and trigger ID.

This API is experimental.
sourceraw docstring

triggers-run$clj

(triggers-run$ auth parameters body)

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/run

Required parameters: projectId, triggerId

Optional parameters: none

Body:

{:repoName string, :projectId string, :commitSha string, :substitutions {}, :invertRegex boolean, :dir string, :branchName string, :tagName string}

Runs a BuildTrigger at a particular source revision.

https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects/triggers/run

Required parameters: projectId, triggerId

Optional parameters: none

Body: 

{:repoName string,
 :projectId string,
 :commitSha string,
 :substitutions {},
 :invertRegex boolean,
 :dir string,
 :branchName string,
 :tagName string}

Runs a `BuildTrigger` at a particular source revision.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close