Regen docs (#364)
diff --git a/docs/dyn/cloudbuild_v1.projects.builds.html b/docs/dyn/cloudbuild_v1.projects.builds.html
index 8ae8b6e..3aa52c4 100644
--- a/docs/dyn/cloudbuild_v1.projects.builds.html
+++ b/docs/dyn/cloudbuild_v1.projects.builds.html
@@ -127,26 +127,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.
@@ -160,10 +158,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
@@ -184,21 +183,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.
@@ -217,14 +223,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"
@@ -240,15 +247,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
@@ -270,22 +280,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.
#
@@ -297,12 +306,8 @@
# 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
}</pre>
@@ -337,26 +342,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.
@@ -370,10 +373,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
@@ -394,21 +398,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.
@@ -427,14 +438,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"
@@ -450,15 +462,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
@@ -480,22 +495,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.
#
@@ -507,12 +521,8 @@
# 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
}
@@ -533,22 +543,6 @@
# long-running operation should document the metadata type, if any.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
- "done": True or False, # If the value is `false`, it means the operation is still in progress.
- # If true, the operation is completed, and either `error` or `response` is
- # available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
- "name": "A String", # The server-assigned name, which is only unique within the same service that
- # originally returns it. If you use the default HTTP mapping, the
- # `name` should have the format of `operations/some/unique/name`.
"error": { # The `Status` type defines a logical error model that is suitable for different # The error result of the operation in case of failure or cancellation.
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -612,6 +606,22 @@
},
],
},
+ "done": True or False, # If the value is `false`, it means the operation is still in progress.
+ # If true, the operation is completed, and either `error` or `response` is
+ # available.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # The server-assigned name, which is only unique within the same service that
+ # originally returns it. If you use the default HTTP mapping, the
+ # `name` should have the format of `operations/some/unique/name`.
}</pre>
</div>
@@ -649,26 +659,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.
@@ -682,10 +690,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
@@ -706,21 +715,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.
@@ -739,14 +755,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"
@@ -762,15 +779,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
@@ -792,22 +812,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.
#
@@ -819,12 +838,8 @@
# 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
}</pre>
@@ -869,26 +884,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.
@@ -902,10 +915,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
@@ -926,21 +940,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.
@@ -959,14 +980,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"
@@ -982,15 +1004,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
@@ -1012,22 +1037,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.
#
@@ -1039,12 +1063,8 @@
# 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
},