Regen docs (#364)
diff --git a/docs/dyn/cloudbuild_v1.projects.triggers.html b/docs/dyn/cloudbuild_v1.projects.triggers.html
index bf98749..6ca863a 100644
--- a/docs/dyn/cloudbuild_v1.projects.triggers.html
+++ b/docs/dyn/cloudbuild_v1.projects.triggers.html
@@ -104,11 +104,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -126,26 +140,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -159,10 +171,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -183,21 +196,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -216,14 +236,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -239,15 +260,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -269,22 +293,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -296,31 +319,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
}
x__xgafv: string, V1 error format.
@@ -334,11 +342,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -356,26 +378,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -389,10 +409,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -413,21 +434,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -446,14 +474,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -469,15 +498,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -499,22 +531,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -526,31 +557,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
}</pre>
</div>
@@ -603,11 +619,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -625,26 +655,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -658,10 +686,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -682,21 +711,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -715,14 +751,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -738,15 +775,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -768,22 +808,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -795,31 +834,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
}</pre>
</div>
@@ -844,11 +868,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -866,26 +904,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -899,10 +935,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -923,21 +960,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -956,14 +1000,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -979,15 +1024,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -1009,22 +1057,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -1036,31 +1083,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
},
],
}</pre>
@@ -1081,11 +1113,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -1103,26 +1149,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -1136,10 +1180,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -1160,21 +1205,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -1193,14 +1245,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -1216,15 +1269,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -1246,22 +1302,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -1273,31 +1328,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
}
x__xgafv: string, V1 error format.
@@ -1311,11 +1351,25 @@
{ # Configuration for an automated build in response to source repository
# changes.
"description": "A String", # Human-readable description of this trigger.
+ "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
+ #
+ # Branch and tag names in trigger templates are interpreted as regular
+ # expressions. Any branch or tag change that matches that regular expression
+ # will trigger a build.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
+ },
"createTime": "A String", # Time when the trigger was created.
#
# @OutputOnly
- "filename": "A String", # Path, from the source root, to a file whose contents is used for the
- # template.
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"disabled": True or False, # If true, the trigger will never result in a build.
"build": { # A build resource in the Container Builder API. # Contents of the build template.
#
@@ -1333,26 +1387,24 @@
# - $TAG_NAME: the tag name specified by RepoSource.
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
# resolved from the specified branch or tag.
- "status": "A String", # Status of the build.
- # @OutputOnly
"finishTime": "A String", # Time at which execution of the build was finished.
#
# The difference between finish_time and start_time is the duration of the
# build's execution.
# @OutputOnly
+ "status": "A String", # Status of the build.
+ # @OutputOnly
"timeout": "A String", # Amount of time that this build should be allowed to run, to second
# granularity. If this amount of time elapses, work on the build will cease
# and the build status will be TIMEOUT.
#
# Default time is ten minutes.
- "statusDetail": "A String", # Customer-readable message about the current status.
- # @OutputOnly
"startTime": "A String", # Time at which execution of the build was started.
# @OutputOnly
- "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
- # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
+ "projectId": "A String", # ID of the project.
+ # @OutputOnly.
+ "id": "A String", # Unique identifier of the build.
+ # @OutputOnly
"results": { # Results describes the artifacts created by the build pipeline. # Results of the build.
# @OutputOnly
"images": [ # Images that were built as a part of the build.
@@ -1366,10 +1418,11 @@
"A String",
],
},
- "createTime": "A String", # Time at which the request to create the build was received.
+ "statusDetail": "A String", # Customer-readable message about the current status.
# @OutputOnly
- "id": "A String", # Unique identifier of the build.
- # @OutputOnly
+ "substitutions": { # Substitutions data for Build resource.
+ "a_key": "A String",
+ },
"source": { # Source describes the location of the source in a supported storage # Describes where to find the source files to build.
# service.
"storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
@@ -1390,21 +1443,28 @@
"projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
# the build is assumed.
"branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
"commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
"buildTriggerId": "A String", # The ID of the BuildTrigger that triggered this build, if it was
# triggered automatically.
# @OutputOnly
+ "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
+ "requestedVerifyOption": "A String", # Requested verifiability options.
+ "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
+ "A String",
+ ],
+ },
"steps": [ # Describes the operations to be performed on the workspace.
{ # BuildStep describes a step to perform in the build pipeline.
- "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
- # This build step will not start until all the build steps in wait_for
- # have completed successfully. If wait_for is empty, this build step will
- # start when all previous build steps in the Build.Steps list have completed
- # successfully.
+ "args": [ # A list of arguments that will be presented to the step when it is started.
+ #
+ # If the image used to run the step's container has an entrypoint, these args
+ # will be used as arguments to that entrypoint. If the image does not define
+ # an entrypoint, the first element in args will be used as the entrypoint,
+ # and the remainder will be used as arguments.
"A String",
],
"name": "A String", # The name of the container image that will run this particular build step.
@@ -1423,14 +1483,15 @@
# If you built an image in a previous build step, it will be stored in the
# host's Docker daemon's cache and is available to use as the name for a
# later build step.
- "args": [ # A list of arguments that will be presented to the step when it is started.
- #
- # If the image used to run the step's container has an entrypoint, these args
- # will be used as arguments to that entrypoint. If the image does not define
- # an entrypoint, the first element in args will be used as the entrypoint,
- # and the remainder will be used as arguments.
+ "waitFor": [ # The ID(s) of the step(s) that this build step depends on.
+ # This build step will not start until all the build steps in wait_for
+ # have completed successfully. If wait_for is empty, this build step will
+ # start when all previous build steps in the Build.Steps list have completed
+ # successfully.
"A String",
],
+ "entrypoint": "A String", # Optional entrypoint to be used instead of the build step image's default
+ # If unset, the image's default will be used.
"env": [ # A list of environment variable definitions to be used when running a step.
#
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
@@ -1446,15 +1507,18 @@
"sourceProvenance": { # Provenance of the source. Ways to find the original source, or verify that # A permanent fixed identifier for source.
# @OutputOnly
# some source was used for this build.
- "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
- # revisions resolved.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
+ "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
+ # generations resolved.
+ # Google Cloud Storage.
+ "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
+ # omitted, the latest generation will be used.
+ "object": "A String", # Google Cloud Storage object containing source.
+ #
+ # This object must be a gzipped archive file (.tar.gz) containing source to
+ # build.
+ "bucket": "A String", # Google Cloud Storage bucket containing source (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
},
"fileHashes": { # Hash(es) of the build source, which can be used to verify that the original
# source integrity was maintained in the build. Note that FileHashes will
@@ -1476,22 +1540,21 @@
],
},
},
- "resolvedStorageSource": { # StorageSource describes the location of the source in an archive file in # A copy of the build's source.storage_source, if exists, with any
- # generations resolved.
- # Google Cloud Storage.
- "generation": "A String", # Google Cloud Storage generation for the object. If the generation is
- # omitted, the latest generation will be used.
- "object": "A String", # Google Cloud Storage object containing source.
- #
- # This object must be a gzipped archive file (.tar.gz) containing source to
- # build.
- "bucket": "A String", # Google Cloud Storage bucket containing source (see
- # [Bucket Name
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ "resolvedRepoSource": { # RepoSource describes the location of the source in a Google Cloud Source # A copy of the build's source.repo_source, if exists, with any
+ # revisions resolved.
+ # Repository.
+ "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
+ # the build is assumed.
+ "branchName": "A String", # Name of the branch to build.
+ "commitSha": "A String", # Explicit commit SHA to build.
+ "tagName": "A String", # Name of the tag to build.
+ "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
},
},
- "projectId": "A String", # ID of the project.
- # @OutputOnly.
+ "logsBucket": "A String", # Google Cloud Storage bucket where logs should be written (see
+ # [Bucket Name
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ # Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
"images": [ # A list of images to be pushed upon the successful completion of all build
# steps.
#
@@ -1503,31 +1566,16 @@
# If any of the images fail to be pushed, the build is marked FAILURE.
"A String",
],
- "options": { # Optional arguments to enable specific features of builds. # Special options for this build.
- "requestedVerifyOption": "A String", # Requested verifiability options.
- "sourceProvenanceHash": [ # Requested hash for SourceProvenance.
- "A String",
- ],
- },
+ "createTime": "A String", # Time at which the request to create the build was received.
+ # @OutputOnly
"logUrl": "A String", # URL to logs for this build in Google Cloud Logging.
# @OutputOnly
},
+ "filename": "A String", # Path, from the source root, to a file whose contents is used for the
+ # template.
"id": "A String", # Unique identifier of the trigger.
#
# @OutputOnly
- "triggerTemplate": { # RepoSource describes the location of the source in a Google Cloud Source # Template describing the types of source changes to trigger a build.
- #
- # Branch and tag names in trigger templates are interpreted as regular
- # expressions. Any branch or tag change that matches that regular expression
- # will trigger a build.
- # Repository.
- "projectId": "A String", # ID of the project that owns the repo. If omitted, the project ID requesting
- # the build is assumed.
- "branchName": "A String", # Name of the branch to build.
- "repoName": "A String", # Name of the repo. If omitted, the name "default" is assumed.
- "tagName": "A String", # Name of the tag to build.
- "commitSha": "A String", # Explicit commit SHA to build.
- },
}</pre>
</div>