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-approve$clj

(builds-approve$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

{:approvalResult {:url string, :approvalTime string, :approverAccount string, :comment string, :decision string}}

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

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

Required parameters: name

Optional parameters: none

Body: 

{:approvalResult {:url string,
                  :approvalTime string,
                  :approverAccount string,
                  :comment string,
                  :decision string}}

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
sourceraw 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: id, projectId

Optional parameters: none

Body:

{:projectId string, :name string, :id string}

Cancels a build in progress.

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

Required parameters: id, projectId

Optional parameters: none

Body: 

{:projectId string, :name string, :id string}

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: parent

Body:

{:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [{:secretEnv {}, :kmsKeyName string}], :name string, :failureInfo {:detail string, :type string}, :steps [{:args [string], :waitFor [string], :dir string, :script string, :name string, :pullTiming TimeSpan, :env [string], :volumes [Volume], :status string, :id string, :secretEnv [string], :timing TimeSpan, :entrypoint string, :timeout string}], :createTime string, :substitutions {}, :warnings [{:text string, :priority string}], :source {:storageSource StorageSource, :storageSourceManifest StorageSourceManifest, :repoSource RepoSource}, :logUrl string, :finishTime string, :availableSecrets {:secretManager [SecretManagerSecret], :inline [InlineSecret]}, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance {:fileHashes {}, :resolvedStorageSourceManifest StorageSourceManifest, :resolvedRepoSource RepoSource, :resolvedStorageSource StorageSource}, :projectId string, :options {:dynamicSubstitutions boolean, :pool PoolOption, :sourceProvenanceHash [string], :machineType string, :env [string], :volumes [Volume], :logging string, :secretEnv [string], :diskSizeGb string, :logStreamingOption string, :workerPool string, :substitutionOption string, :requestedVerifyOption string}, :timeout string, :approval {:result ApprovalResult, :state string, :config ApprovalConfig}, :artifacts {:objects ArtifactObjects, :images [string]}, :results {:artifactManifest string, :buildStepImages [string], :images [BuiltImage], :numArtifacts string, :artifactTiming TimeSpan, :buildStepOutputs [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: parent

Body: 

{:serviceAccount string,
 :tags [string],
 :statusDetail string,
 :logsBucket string,
 :startTime string,
 :buildTriggerId string,
 :images [string],
 :secrets [{:secretEnv {}, :kmsKeyName string}],
 :name string,
 :failureInfo {:detail string, :type string},
 :steps [{:args [string],
          :waitFor [string],
          :dir string,
          :script string,
          :name string,
          :pullTiming TimeSpan,
          :env [string],
          :volumes [Volume],
          :status string,
          :id string,
          :secretEnv [string],
          :timing TimeSpan,
          :entrypoint string,
          :timeout string}],
 :createTime string,
 :substitutions {},
 :warnings [{:text string, :priority string}],
 :source {:storageSource StorageSource,
          :storageSourceManifest StorageSourceManifest,
          :repoSource RepoSource},
 :logUrl string,
 :finishTime string,
 :availableSecrets {:secretManager [SecretManagerSecret],
                    :inline [InlineSecret]},
 :status string,
 :id string,
 :timing {},
 :queueTtl string,
 :sourceProvenance {:fileHashes {},
                    :resolvedStorageSourceManifest StorageSourceManifest,
                    :resolvedRepoSource RepoSource,
                    :resolvedStorageSource StorageSource},
 :projectId string,
 :options {:dynamicSubstitutions boolean,
           :pool PoolOption,
           :sourceProvenanceHash [string],
           :machineType string,
           :env [string],
           :volumes [Volume],
           :logging string,
           :secretEnv [string],
           :diskSizeGb string,
           :logStreamingOption string,
           :workerPool string,
           :substitutionOption string,
           :requestedVerifyOption string},
 :timeout string,
 :approval {:result ApprovalResult,
            :state string,
            :config ApprovalConfig},
 :artifacts {:objects ArtifactObjects, :images [string]},
 :results {:artifactManifest string,
           :buildStepImages [string],
           :images [BuiltImage],
           :numArtifacts string,
           :artifactTiming TimeSpan,
           :buildStepOutputs [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: name

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: name

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: filter, pageToken, parent, pageSize

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: filter, pageToken, parent, pageSize

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: projectId, id

Optional parameters: none

Body:

{:projectId string, :id string, :name string}

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: projectId, id

Optional parameters: none

Body: 

{:projectId string, :id string, :name string}

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

githubEnterpriseConfigs-create$clj

(githubEnterpriseConfigs-create$ auth parameters body)

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

Required parameters: parent

Optional parameters: projectId

Body:

{:webhookKey string, :peeredNetwork string, :displayName string, :secrets {:webhookSecretName string, :privateKeyName string, :oauthSecretVersionName string, :oauthClientIdName string, :oauthClientIdVersionName string, :oauthSecretName string, :privateKeyVersionName string, :webhookSecretVersionName string}, :name string, :createTime string, :hostUrl string, :appId string, :sslCa string}

Create an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: parent

Optional parameters: projectId

Body: 

{:webhookKey string,
 :peeredNetwork string,
 :displayName string,
 :secrets {:webhookSecretName string,
           :privateKeyName string,
           :oauthSecretVersionName string,
           :oauthClientIdName string,
           :oauthClientIdVersionName string,
           :oauthSecretName string,
           :privateKeyVersionName string,
           :webhookSecretVersionName string},
 :name string,
 :createTime string,
 :hostUrl string,
 :appId string,
 :sslCa string}

Create an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

githubEnterpriseConfigs-delete$clj

(githubEnterpriseConfigs-delete$ auth parameters)

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

Required parameters: name

Optional parameters: projectId, configId

Delete an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: name

Optional parameters: projectId, configId

Delete an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

githubEnterpriseConfigs-get$clj

(githubEnterpriseConfigs-get$ auth parameters)

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

Required parameters: name

Optional parameters: configId, projectId

Retrieve a GitHubEnterpriseConfig.

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

Required parameters: name

Optional parameters: configId, projectId

Retrieve a GitHubEnterpriseConfig.
sourceraw docstring

githubEnterpriseConfigs-list$clj

(githubEnterpriseConfigs-list$ auth parameters)

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

Required parameters: parent

Optional parameters: projectId

List all GitHubEnterpriseConfigs for a given project.

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

Required parameters: parent

Optional parameters: projectId

List all GitHubEnterpriseConfigs for a given project.
sourceraw docstring

githubEnterpriseConfigs-patch$clj

(githubEnterpriseConfigs-patch$ auth parameters body)

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

Required parameters: name

Optional parameters: updateMask

Body:

{:webhookKey string, :peeredNetwork string, :displayName string, :secrets {:webhookSecretName string, :privateKeyName string, :oauthSecretVersionName string, :oauthClientIdName string, :oauthClientIdVersionName string, :oauthSecretName string, :privateKeyVersionName string, :webhookSecretVersionName string}, :name string, :createTime string, :hostUrl string, :appId string, :sslCa string}

Update an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: name

Optional parameters: updateMask

Body: 

{:webhookKey string,
 :peeredNetwork string,
 :displayName string,
 :secrets {:webhookSecretName string,
           :privateKeyName string,
           :oauthSecretVersionName string,
           :oauthClientIdName string,
           :oauthClientIdVersionName string,
           :oauthSecretName string,
           :privateKeyVersionName string,
           :webhookSecretVersionName string},
 :name string,
 :createTime string,
 :hostUrl string,
 :appId string,
 :sslCa string}

Update an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

locations-builds-approve$clj

(locations-builds-approve$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

{:approvalResult {:url string, :approvalTime string, :approverAccount string, :comment string, :decision string}}

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

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

Required parameters: name

Optional parameters: none

Body: 

{:approvalResult {:url string,
                  :approvalTime string,
                  :approverAccount string,
                  :comment string,
                  :decision string}}

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
sourceraw docstring

locations-builds-cancel$clj

(locations-builds-cancel$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

{:projectId string, :name string, :id string}

Cancels a build in progress.

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

Required parameters: name

Optional parameters: none

Body: 

{:projectId string, :name string, :id string}

Cancels a build in progress.
sourceraw docstring

locations-builds-create$clj

(locations-builds-create$ auth parameters body)

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

Required parameters: parent

Optional parameters: projectId

Body:

{:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [{:secretEnv {}, :kmsKeyName string}], :name string, :failureInfo {:detail string, :type string}, :steps [{:args [string], :waitFor [string], :dir string, :script string, :name string, :pullTiming TimeSpan, :env [string], :volumes [Volume], :status string, :id string, :secretEnv [string], :timing TimeSpan, :entrypoint string, :timeout string}], :createTime string, :substitutions {}, :warnings [{:text string, :priority string}], :source {:storageSource StorageSource, :storageSourceManifest StorageSourceManifest, :repoSource RepoSource}, :logUrl string, :finishTime string, :availableSecrets {:secretManager [SecretManagerSecret], :inline [InlineSecret]}, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance {:fileHashes {}, :resolvedStorageSourceManifest StorageSourceManifest, :resolvedRepoSource RepoSource, :resolvedStorageSource StorageSource}, :projectId string, :options {:dynamicSubstitutions boolean, :pool PoolOption, :sourceProvenanceHash [string], :machineType string, :env [string], :volumes [Volume], :logging string, :secretEnv [string], :diskSizeGb string, :logStreamingOption string, :workerPool string, :substitutionOption string, :requestedVerifyOption string}, :timeout string, :approval {:result ApprovalResult, :state string, :config ApprovalConfig}, :artifacts {:objects ArtifactObjects, :images [string]}, :results {:artifactManifest string, :buildStepImages [string], :images [BuiltImage], :numArtifacts string, :artifactTiming TimeSpan, :buildStepOutputs [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/locations/builds/create

Required parameters: parent

Optional parameters: projectId

Body: 

{:serviceAccount string,
 :tags [string],
 :statusDetail string,
 :logsBucket string,
 :startTime string,
 :buildTriggerId string,
 :images [string],
 :secrets [{:secretEnv {}, :kmsKeyName string}],
 :name string,
 :failureInfo {:detail string, :type string},
 :steps [{:args [string],
          :waitFor [string],
          :dir string,
          :script string,
          :name string,
          :pullTiming TimeSpan,
          :env [string],
          :volumes [Volume],
          :status string,
          :id string,
          :secretEnv [string],
          :timing TimeSpan,
          :entrypoint string,
          :timeout string}],
 :createTime string,
 :substitutions {},
 :warnings [{:text string, :priority string}],
 :source {:storageSource StorageSource,
          :storageSourceManifest StorageSourceManifest,
          :repoSource RepoSource},
 :logUrl string,
 :finishTime string,
 :availableSecrets {:secretManager [SecretManagerSecret],
                    :inline [InlineSecret]},
 :status string,
 :id string,
 :timing {},
 :queueTtl string,
 :sourceProvenance {:fileHashes {},
                    :resolvedStorageSourceManifest StorageSourceManifest,
                    :resolvedRepoSource RepoSource,
                    :resolvedStorageSource StorageSource},
 :projectId string,
 :options {:dynamicSubstitutions boolean,
           :pool PoolOption,
           :sourceProvenanceHash [string],
           :machineType string,
           :env [string],
           :volumes [Volume],
           :logging string,
           :secretEnv [string],
           :diskSizeGb string,
           :logStreamingOption string,
           :workerPool string,
           :substitutionOption string,
           :requestedVerifyOption string},
 :timeout string,
 :approval {:result ApprovalResult,
            :state string,
            :config ApprovalConfig},
 :artifacts {:objects ArtifactObjects, :images [string]},
 :results {:artifactManifest string,
           :buildStepImages [string],
           :images [BuiltImage],
           :numArtifacts string,
           :artifactTiming TimeSpan,
           :buildStepOutputs [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

locations-builds-get$clj

(locations-builds-get$ auth parameters)

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

Required parameters: name

Optional parameters: id, projectId

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/locations/builds/get

Required parameters: name

Optional parameters: id, projectId

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

locations-builds-list$clj

(locations-builds-list$ auth parameters)

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

Required parameters: parent

Optional parameters: projectId, pageSize, pageToken, 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/locations/builds/list

Required parameters: parent

Optional parameters: projectId, pageSize, pageToken, filter

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

locations-builds-retry$clj

(locations-builds-retry$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

{:projectId string, :id string, :name string}

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/locations/builds/retry

Required parameters: name

Optional parameters: none

Body: 

{:projectId string, :id string, :name string}

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

locations-githubEnterpriseConfigs-create$clj

(locations-githubEnterpriseConfigs-create$ auth parameters body)

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

Required parameters: parent

Optional parameters: projectId

Body:

{:webhookKey string, :peeredNetwork string, :displayName string, :secrets {:webhookSecretName string, :privateKeyName string, :oauthSecretVersionName string, :oauthClientIdName string, :oauthClientIdVersionName string, :oauthSecretName string, :privateKeyVersionName string, :webhookSecretVersionName string}, :name string, :createTime string, :hostUrl string, :appId string, :sslCa string}

Create an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: parent

Optional parameters: projectId

Body: 

{:webhookKey string,
 :peeredNetwork string,
 :displayName string,
 :secrets {:webhookSecretName string,
           :privateKeyName string,
           :oauthSecretVersionName string,
           :oauthClientIdName string,
           :oauthClientIdVersionName string,
           :oauthSecretName string,
           :privateKeyVersionName string,
           :webhookSecretVersionName string},
 :name string,
 :createTime string,
 :hostUrl string,
 :appId string,
 :sslCa string}

Create an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

locations-githubEnterpriseConfigs-delete$clj

(locations-githubEnterpriseConfigs-delete$ auth parameters)

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

Required parameters: name

Optional parameters: projectId, configId

Delete an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: name

Optional parameters: projectId, configId

Delete an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

locations-githubEnterpriseConfigs-get$clj

(locations-githubEnterpriseConfigs-get$ auth parameters)

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

Required parameters: name

Optional parameters: projectId, configId

Retrieve a GitHubEnterpriseConfig.

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

Required parameters: name

Optional parameters: projectId, configId

Retrieve a GitHubEnterpriseConfig.
sourceraw docstring

locations-githubEnterpriseConfigs-list$clj

(locations-githubEnterpriseConfigs-list$ auth parameters)

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

Required parameters: parent

Optional parameters: projectId

List all GitHubEnterpriseConfigs for a given project.

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

Required parameters: parent

Optional parameters: projectId

List all GitHubEnterpriseConfigs for a given project.
sourceraw docstring

locations-githubEnterpriseConfigs-patch$clj

(locations-githubEnterpriseConfigs-patch$ auth parameters body)

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

Required parameters: name

Optional parameters: updateMask

Body:

{:webhookKey string, :peeredNetwork string, :displayName string, :secrets {:webhookSecretName string, :privateKeyName string, :oauthSecretVersionName string, :oauthClientIdName string, :oauthClientIdVersionName string, :oauthSecretName string, :privateKeyVersionName string, :webhookSecretVersionName string}, :name string, :createTime string, :hostUrl string, :appId string, :sslCa string}

Update an association between a GCP project and a GitHub Enterprise server.

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

Required parameters: name

Optional parameters: updateMask

Body: 

{:webhookKey string,
 :peeredNetwork string,
 :displayName string,
 :secrets {:webhookSecretName string,
           :privateKeyName string,
           :oauthSecretVersionName string,
           :oauthClientIdName string,
           :oauthClientIdVersionName string,
           :oauthSecretName string,
           :privateKeyVersionName string,
           :webhookSecretVersionName string},
 :name string,
 :createTime string,
 :hostUrl string,
 :appId string,
 :sslCa string}

Update an association between a GCP project and a GitHub Enterprise server.
sourceraw docstring

locations-operations-cancel$clj

(locations-operations-cancel$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

{}

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

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

Required parameters: name

Optional parameters: none

Body: 

{}

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
sourceraw docstring

locations-operations-get$clj

(locations-operations-get$ auth parameters)

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

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

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

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
sourceraw docstring

locations-triggers-create$clj

(locations-triggers-create$ auth parameters body)

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

Required parameters: parent

Optional parameters: projectId

Body:

{:description string, :serviceAccount string, :tags [string], :github {:push PushFilter, :enterpriseConfigResourceName string, :pullRequest PullRequestFilter, :owner string, :installationId string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :autodetect boolean, :resourceName string, :webhookConfig {:state string, :secret string}, :includedFiles [string], :filename string, :build {:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :name string, :failureInfo FailureInfo, :steps [BuildStep], :createTime string, :substitutions {}, :warnings [Warning], :source Source, :logUrl string, :finishTime string, :availableSecrets Secrets, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :approval BuildApproval, :artifacts Artifacts, :results Results}, :filter string, :gitFileSource {:uri string, :repoType string, :path string, :revision string}, :id string, :approvalConfig {:approvalRequired boolean}, :sourceToBuild {:ref string, :uri string, :repoType string}, :pubsubConfig {:subscription string, :topic string, :state string, :serviceAccountEmail string}, :triggerTemplate {:tagName string, :branchName string, :commitSha string, :dir string, :repoName string, :invertRegex boolean, :projectId string, :substitutions {}}}

Creates a new BuildTrigger. This API is experimental.

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

Required parameters: parent

Optional parameters: projectId

Body: 

{:description string,
 :serviceAccount string,
 :tags [string],
 :github {:push PushFilter,
          :enterpriseConfigResourceName string,
          :pullRequest PullRequestFilter,
          :owner string,
          :installationId string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :autodetect boolean,
 :resourceName string,
 :webhookConfig {:state string, :secret string},
 :includedFiles [string],
 :filename string,
 :build {:serviceAccount string,
         :tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :name string,
         :failureInfo FailureInfo,
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :warnings [Warning],
         :source Source,
         :logUrl string,
         :finishTime string,
         :availableSecrets Secrets,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :approval BuildApproval,
         :artifacts Artifacts,
         :results Results},
 :filter string,
 :gitFileSource {:uri string,
                 :repoType string,
                 :path string,
                 :revision string},
 :id string,
 :approvalConfig {:approvalRequired boolean},
 :sourceToBuild {:ref string, :uri string, :repoType string},
 :pubsubConfig {:subscription string,
                :topic string,
                :state string,
                :serviceAccountEmail string},
 :triggerTemplate {:tagName string,
                   :branchName string,
                   :commitSha string,
                   :dir string,
                   :repoName string,
                   :invertRegex boolean,
                   :projectId string,
                   :substitutions {}}}

Creates a new `BuildTrigger`. This API is experimental.
sourceraw docstring

locations-triggers-delete$clj

(locations-triggers-delete$ auth parameters)

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

Required parameters: name

Optional parameters: triggerId, projectId

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/locations/triggers/delete

Required parameters: name

Optional parameters: triggerId, projectId

Deletes a `BuildTrigger` by its project ID and trigger ID. This API is experimental.
sourceraw docstring

locations-triggers-get$clj

(locations-triggers-get$ auth parameters)

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

Required parameters: name

Optional parameters: triggerId, projectId

Returns information about a BuildTrigger. This API is experimental.

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

Required parameters: name

Optional parameters: triggerId, projectId

Returns information about a `BuildTrigger`. This API is experimental.
sourceraw docstring

locations-triggers-list$clj

(locations-triggers-list$ auth parameters)

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

Required parameters: parent

Optional parameters: projectId, pageSize, pageToken

Lists existing BuildTriggers. This API is experimental.

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

Required parameters: parent

Optional parameters: projectId, pageSize, pageToken

Lists existing `BuildTrigger`s. This API is experimental.
sourceraw docstring

locations-triggers-patch$clj

(locations-triggers-patch$ auth parameters body)

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

Required parameters: resourceName

Optional parameters: triggerId, projectId

Body:

{:description string, :serviceAccount string, :tags [string], :github {:push PushFilter, :enterpriseConfigResourceName string, :pullRequest PullRequestFilter, :owner string, :installationId string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :autodetect boolean, :resourceName string, :webhookConfig {:state string, :secret string}, :includedFiles [string], :filename string, :build {:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :name string, :failureInfo FailureInfo, :steps [BuildStep], :createTime string, :substitutions {}, :warnings [Warning], :source Source, :logUrl string, :finishTime string, :availableSecrets Secrets, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :approval BuildApproval, :artifacts Artifacts, :results Results}, :filter string, :gitFileSource {:uri string, :repoType string, :path string, :revision string}, :id string, :approvalConfig {:approvalRequired boolean}, :sourceToBuild {:ref string, :uri string, :repoType string}, :pubsubConfig {:subscription string, :topic string, :state string, :serviceAccountEmail string}, :triggerTemplate {:tagName string, :branchName string, :commitSha string, :dir string, :repoName string, :invertRegex boolean, :projectId string, :substitutions {}}}

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/locations/triggers/patch

Required parameters: resourceName

Optional parameters: triggerId, projectId

Body: 

{:description string,
 :serviceAccount string,
 :tags [string],
 :github {:push PushFilter,
          :enterpriseConfigResourceName string,
          :pullRequest PullRequestFilter,
          :owner string,
          :installationId string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :autodetect boolean,
 :resourceName string,
 :webhookConfig {:state string, :secret string},
 :includedFiles [string],
 :filename string,
 :build {:serviceAccount string,
         :tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :name string,
         :failureInfo FailureInfo,
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :warnings [Warning],
         :source Source,
         :logUrl string,
         :finishTime string,
         :availableSecrets Secrets,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :approval BuildApproval,
         :artifacts Artifacts,
         :results Results},
 :filter string,
 :gitFileSource {:uri string,
                 :repoType string,
                 :path string,
                 :revision string},
 :id string,
 :approvalConfig {:approvalRequired boolean},
 :sourceToBuild {:ref string, :uri string, :repoType string},
 :pubsubConfig {:subscription string,
                :topic string,
                :state string,
                :serviceAccountEmail string},
 :triggerTemplate {:tagName string,
                   :branchName string,
                   :commitSha string,
                   :dir string,
                   :repoName string,
                   :invertRegex boolean,
                   :projectId string,
                   :substitutions {}}}

Updates a `BuildTrigger` by its project ID and trigger ID. This API is experimental.
sourceraw docstring

locations-triggers-run$clj

(locations-triggers-run$ auth parameters body)

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

Required parameters: name

Optional parameters: none

Body:

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

Runs a BuildTrigger at a particular source revision.

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

Required parameters: name

Optional parameters: none

Body: 

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

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

locations-triggers-webhook$clj

(locations-triggers-webhook$ auth parameters body)

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

Required parameters: name

Optional parameters: projectId, trigger, secret

Body:

{:data string, :extensions [{}], :contentType string}

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

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

Required parameters: name

Optional parameters: projectId, trigger, secret

Body: 

{:data string, :extensions [{}], :contentType string}

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
sourceraw docstring

locations-workerPools-create$clj

(locations-workerPools-create$ auth parameters body)

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

Required parameters: parent

Optional parameters: validateOnly, workerPoolId

Body:

{:deleteTime string, :displayName string, :uid string, :name string, :createTime string, :privatePoolV1Config {:networkConfig NetworkConfig, :workerConfig WorkerConfig}, :etag string, :state string, :updateTime string, :annotations {}}

Creates a WorkerPool.

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

Required parameters: parent

Optional parameters: validateOnly, workerPoolId

Body: 

{:deleteTime string,
 :displayName string,
 :uid string,
 :name string,
 :createTime string,
 :privatePoolV1Config {:networkConfig NetworkConfig,
                       :workerConfig WorkerConfig},
 :etag string,
 :state string,
 :updateTime string,
 :annotations {}}

Creates a `WorkerPool`.
sourceraw docstring

locations-workerPools-delete$clj

(locations-workerPools-delete$ auth parameters)

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

Required parameters: name

Optional parameters: etag, allowMissing, validateOnly

Deletes a WorkerPool.

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

Required parameters: name

Optional parameters: etag, allowMissing, validateOnly

Deletes a `WorkerPool`.
sourceraw docstring

locations-workerPools-get$clj

(locations-workerPools-get$ auth parameters)

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

Required parameters: name

Optional parameters: none

Returns details of a WorkerPool.

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

Required parameters: name

Optional parameters: none

Returns details of a `WorkerPool`.
sourceraw docstring

locations-workerPools-list$clj

(locations-workerPools-list$ auth parameters)

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

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists WorkerPools.

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

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists `WorkerPool`s.
sourceraw docstring

locations-workerPools-patch$clj

(locations-workerPools-patch$ auth parameters body)

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

Required parameters: name

Optional parameters: updateMask, validateOnly

Body:

{:deleteTime string, :displayName string, :uid string, :name string, :createTime string, :privatePoolV1Config {:networkConfig NetworkConfig, :workerConfig WorkerConfig}, :etag string, :state string, :updateTime string, :annotations {}}

Updates a WorkerPool.

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

Required parameters: name

Optional parameters: updateMask, validateOnly

Body: 

{:deleteTime string,
 :displayName string,
 :uid string,
 :name string,
 :createTime string,
 :privatePoolV1Config {:networkConfig NetworkConfig,
                       :workerConfig WorkerConfig},
 :etag string,
 :state string,
 :updateTime string,
 :annotations {}}

Updates a `WorkerPool`.
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: parent

Body:

{:description string, :serviceAccount string, :tags [string], :github {:push PushFilter, :enterpriseConfigResourceName string, :pullRequest PullRequestFilter, :owner string, :installationId string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :autodetect boolean, :resourceName string, :webhookConfig {:state string, :secret string}, :includedFiles [string], :filename string, :build {:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :name string, :failureInfo FailureInfo, :steps [BuildStep], :createTime string, :substitutions {}, :warnings [Warning], :source Source, :logUrl string, :finishTime string, :availableSecrets Secrets, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :approval BuildApproval, :artifacts Artifacts, :results Results}, :filter string, :gitFileSource {:uri string, :repoType string, :path string, :revision string}, :id string, :approvalConfig {:approvalRequired boolean}, :sourceToBuild {:ref string, :uri string, :repoType string}, :pubsubConfig {:subscription string, :topic string, :state string, :serviceAccountEmail string}, :triggerTemplate {:tagName string, :branchName string, :commitSha string, :dir string, :repoName string, :invertRegex boolean, :projectId string, :substitutions {}}}

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: parent

Body: 

{:description string,
 :serviceAccount string,
 :tags [string],
 :github {:push PushFilter,
          :enterpriseConfigResourceName string,
          :pullRequest PullRequestFilter,
          :owner string,
          :installationId string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :autodetect boolean,
 :resourceName string,
 :webhookConfig {:state string, :secret string},
 :includedFiles [string],
 :filename string,
 :build {:serviceAccount string,
         :tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :name string,
         :failureInfo FailureInfo,
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :warnings [Warning],
         :source Source,
         :logUrl string,
         :finishTime string,
         :availableSecrets Secrets,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :approval BuildApproval,
         :artifacts Artifacts,
         :results Results},
 :filter string,
 :gitFileSource {:uri string,
                 :repoType string,
                 :path string,
                 :revision string},
 :id string,
 :approvalConfig {:approvalRequired boolean},
 :sourceToBuild {:ref string, :uri string, :repoType string},
 :pubsubConfig {:subscription string,
                :topic string,
                :state string,
                :serviceAccountEmail string},
 :triggerTemplate {:tagName string,
                   :branchName string,
                   :commitSha string,
                   :dir string,
                   :repoName string,
                   :invertRegex boolean,
                   :projectId string,
                   :substitutions {}}}

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: projectId, triggerId

Optional parameters: name

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: projectId, triggerId

Optional parameters: name

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: projectId, triggerId

Optional parameters: name

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: projectId, triggerId

Optional parameters: name

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, parent, 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, parent, 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, :serviceAccount string, :tags [string], :github {:push PushFilter, :enterpriseConfigResourceName string, :pullRequest PullRequestFilter, :owner string, :installationId string, :name string}, :disabled boolean, :name string, :createTime string, :ignoredFiles [string], :substitutions {}, :autodetect boolean, :resourceName string, :webhookConfig {:state string, :secret string}, :includedFiles [string], :filename string, :build {:serviceAccount string, :tags [string], :statusDetail string, :logsBucket string, :startTime string, :buildTriggerId string, :images [string], :secrets [Secret], :name string, :failureInfo FailureInfo, :steps [BuildStep], :createTime string, :substitutions {}, :warnings [Warning], :source Source, :logUrl string, :finishTime string, :availableSecrets Secrets, :status string, :id string, :timing {}, :queueTtl string, :sourceProvenance SourceProvenance, :projectId string, :options BuildOptions, :timeout string, :approval BuildApproval, :artifacts Artifacts, :results Results}, :filter string, :gitFileSource {:uri string, :repoType string, :path string, :revision string}, :id string, :approvalConfig {:approvalRequired boolean}, :sourceToBuild {:ref string, :uri string, :repoType string}, :pubsubConfig {:subscription string, :topic string, :state string, :serviceAccountEmail string}, :triggerTemplate {:tagName string, :branchName string, :commitSha string, :dir string, :repoName string, :invertRegex boolean, :projectId string, :substitutions {}}}

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,
 :serviceAccount string,
 :tags [string],
 :github {:push PushFilter,
          :enterpriseConfigResourceName string,
          :pullRequest PullRequestFilter,
          :owner string,
          :installationId string,
          :name string},
 :disabled boolean,
 :name string,
 :createTime string,
 :ignoredFiles [string],
 :substitutions {},
 :autodetect boolean,
 :resourceName string,
 :webhookConfig {:state string, :secret string},
 :includedFiles [string],
 :filename string,
 :build {:serviceAccount string,
         :tags [string],
         :statusDetail string,
         :logsBucket string,
         :startTime string,
         :buildTriggerId string,
         :images [string],
         :secrets [Secret],
         :name string,
         :failureInfo FailureInfo,
         :steps [BuildStep],
         :createTime string,
         :substitutions {},
         :warnings [Warning],
         :source Source,
         :logUrl string,
         :finishTime string,
         :availableSecrets Secrets,
         :status string,
         :id string,
         :timing {},
         :queueTtl string,
         :sourceProvenance SourceProvenance,
         :projectId string,
         :options BuildOptions,
         :timeout string,
         :approval BuildApproval,
         :artifacts Artifacts,
         :results Results},
 :filter string,
 :gitFileSource {:uri string,
                 :repoType string,
                 :path string,
                 :revision string},
 :id string,
 :approvalConfig {:approvalRequired boolean},
 :sourceToBuild {:ref string, :uri string, :repoType string},
 :pubsubConfig {:subscription string,
                :topic string,
                :state string,
                :serviceAccountEmail string},
 :triggerTemplate {:tagName string,
                   :branchName string,
                   :commitSha string,
                   :dir string,
                   :repoName string,
                   :invertRegex boolean,
                   :projectId string,
                   :substitutions {}}}

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: name

Body:

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

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: name

Body: 

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

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

triggers-webhook$clj

(triggers-webhook$ auth parameters body)

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

Required parameters: trigger, projectId

Optional parameters: secret, name

Body:

{:data string, :extensions [{}], :contentType string}

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

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

Required parameters: trigger, projectId

Optional parameters: secret, name

Body: 

{:data string, :extensions [{}], :contentType string}

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
sourceraw docstring

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

× close