Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- cloudbuild.operations.cancel
- cloudbuild.operations.get
- cloudbuild.operations.list
- cloudbuild.projects.builds.cancel
- cloudbuild.projects.builds.create
- cloudbuild.projects.builds.get
- cloudbuild.projects.builds.list
- cloudbuild.projects.triggers.create
- cloudbuild.projects.triggers.delete
- cloudbuild.projects.triggers.get
- cloudbuild.projects.triggers.list
- cloudbuild.projects.triggers.patch
- Types
- BuildStep
- SourceProvenance
- ListBuildsResponse
- Status
- ListOperationsResponse
- CancelOperationRequest
- Hash
- Results
- RepoSource
- Operation
- Empty
- StatusDetailsItem
- Build
- SourceProvenanceFileHashes
- CancelBuildRequest
- StorageSource
- ListBuildTriggersResponse
- BuildOptionsRequestedVerifyOption
- FileHashes
- Xgafv
- BuildStatus
- HashType
- Source
- OperationMetadata
- BuildOperationMetadata
- BuildOptions
- OperationResponse
- BuildTrigger
- BuiltImage
Builds container images in the cloud.
- containerBuilderService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type ContainerBuilderAPI = OperationsListResource :<|> (OperationsGetResource :<|> (OperationsCancelResource :<|> (ProjectsBuildsListResource :<|> (ProjectsBuildsGetResource :<|> (ProjectsBuildsCreateResource :<|> (ProjectsBuildsCancelResource :<|> (ProjectsTriggersListResource :<|> (ProjectsTriggersPatchResource :<|> (ProjectsTriggersGetResource :<|> (ProjectsTriggersCreateResource :<|> ProjectsTriggersDeleteResource))))))))))
- module Network.Google.Resource.Cloudbuild.Operations.Cancel
- module Network.Google.Resource.Cloudbuild.Operations.Get
- module Network.Google.Resource.Cloudbuild.Operations.List
- module Network.Google.Resource.Cloudbuild.Projects.Builds.Cancel
- module Network.Google.Resource.Cloudbuild.Projects.Builds.Create
- module Network.Google.Resource.Cloudbuild.Projects.Builds.Get
- module Network.Google.Resource.Cloudbuild.Projects.Builds.List
- module Network.Google.Resource.Cloudbuild.Projects.Triggers.Create
- module Network.Google.Resource.Cloudbuild.Projects.Triggers.Delete
- module Network.Google.Resource.Cloudbuild.Projects.Triggers.Get
- module Network.Google.Resource.Cloudbuild.Projects.Triggers.List
- module Network.Google.Resource.Cloudbuild.Projects.Triggers.Patch
- data BuildStep
- buildStep :: BuildStep
- bsDir :: Lens' BuildStep (Maybe Text)
- bsArgs :: Lens' BuildStep [Text]
- bsEnv :: Lens' BuildStep [Text]
- bsEntrypoint :: Lens' BuildStep (Maybe Text)
- bsWaitFor :: Lens' BuildStep [Text]
- bsName :: Lens' BuildStep (Maybe Text)
- bsId :: Lens' BuildStep (Maybe Text)
- data SourceProvenance
- sourceProvenance :: SourceProvenance
- spResolvedRepoSource :: Lens' SourceProvenance (Maybe RepoSource)
- spResolvedStorageSource :: Lens' SourceProvenance (Maybe StorageSource)
- spFileHashes :: Lens' SourceProvenance (Maybe SourceProvenanceFileHashes)
- data ListBuildsResponse
- listBuildsResponse :: ListBuildsResponse
- lbrNextPageToken :: Lens' ListBuildsResponse (Maybe Text)
- lbrBuilds :: Lens' ListBuildsResponse [Build]
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data CancelOperationRequest
- cancelOperationRequest :: CancelOperationRequest
- data Hash
- hash :: Hash
- hValue :: Lens' Hash (Maybe ByteString)
- hType :: Lens' Hash (Maybe HashType)
- data Results
- results :: Results
- rImages :: Lens' Results [BuiltImage]
- rBuildStepImages :: Lens' Results [Text]
- data RepoSource
- repoSource :: RepoSource
- rsRepoName :: Lens' RepoSource (Maybe Text)
- rsCommitSha :: Lens' RepoSource (Maybe Text)
- rsBranchName :: Lens' RepoSource (Maybe Text)
- rsTagName :: Lens' RepoSource (Maybe Text)
- rsProjectId :: Lens' RepoSource (Maybe Text)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data Empty
- empty :: Empty
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data Build
- build :: Build
- bImages :: Lens' Build [Text]
- bStatus :: Lens' Build (Maybe BuildStatus)
- bSourceProvenance :: Lens' Build (Maybe SourceProvenance)
- bLogURL :: Lens' Build (Maybe Text)
- bResults :: Lens' Build (Maybe Results)
- bStartTime :: Lens' Build (Maybe UTCTime)
- bLogsBucket :: Lens' Build (Maybe Text)
- bSteps :: Lens' Build [BuildStep]
- bStatusDetail :: Lens' Build (Maybe Text)
- bSource :: Lens' Build (Maybe Source)
- bId :: Lens' Build (Maybe Text)
- bOptions :: Lens' Build (Maybe BuildOptions)
- bProjectId :: Lens' Build (Maybe Text)
- bBuildTriggerId :: Lens' Build (Maybe Text)
- bTimeout :: Lens' Build (Maybe Scientific)
- bFinishTime :: Lens' Build (Maybe UTCTime)
- bCreateTime :: Lens' Build (Maybe UTCTime)
- data SourceProvenanceFileHashes
- sourceProvenanceFileHashes :: HashMap Text FileHashes -> SourceProvenanceFileHashes
- spfhAddtional :: Lens' SourceProvenanceFileHashes (HashMap Text FileHashes)
- data CancelBuildRequest
- cancelBuildRequest :: CancelBuildRequest
- data StorageSource
- storageSource :: StorageSource
- ssBucket :: Lens' StorageSource (Maybe Text)
- ssObject :: Lens' StorageSource (Maybe Text)
- ssGeneration :: Lens' StorageSource (Maybe Int64)
- data ListBuildTriggersResponse
- listBuildTriggersResponse :: ListBuildTriggersResponse
- lbtrTriggers :: Lens' ListBuildTriggersResponse [BuildTrigger]
- data BuildOptionsRequestedVerifyOption
- data FileHashes
- fileHashes :: FileHashes
- fhFileHash :: Lens' FileHashes [Hash]
- data Xgafv
- data BuildStatus
- data HashType
- data Source
- source :: Source
- sRepoSource :: Lens' Source (Maybe RepoSource)
- sStorageSource :: Lens' Source (Maybe StorageSource)
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data BuildOperationMetadata
- buildOperationMetadata :: BuildOperationMetadata
- bomBuild :: Lens' BuildOperationMetadata (Maybe Build)
- data BuildOptions
- buildOptions :: BuildOptions
- boRequestedVerifyOption :: Lens' BuildOptions (Maybe BuildOptionsRequestedVerifyOption)
- boSourceProvenanceHash :: Lens' BuildOptions [Text]
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data BuildTrigger
- buildTrigger :: BuildTrigger
- btDisabled :: Lens' BuildTrigger (Maybe Bool)
- btTriggerTemplate :: Lens' BuildTrigger (Maybe RepoSource)
- btBuild :: Lens' BuildTrigger (Maybe Build)
- btId :: Lens' BuildTrigger (Maybe Text)
- btDescription :: Lens' BuildTrigger (Maybe Text)
- btFilename :: Lens' BuildTrigger (Maybe Text)
- btCreateTime :: Lens' BuildTrigger (Maybe UTCTime)
- data BuiltImage
- builtImage :: BuiltImage
- biName :: Lens' BuiltImage (Maybe Text)
- biDigest :: Lens' BuiltImage (Maybe Text)
Service Configuration
containerBuilderService :: ServiceConfig Source #
Default request referring to version v1
of the Google Cloud Container Builder API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type ContainerBuilderAPI = OperationsListResource :<|> (OperationsGetResource :<|> (OperationsCancelResource :<|> (ProjectsBuildsListResource :<|> (ProjectsBuildsGetResource :<|> (ProjectsBuildsCreateResource :<|> (ProjectsBuildsCancelResource :<|> (ProjectsTriggersListResource :<|> (ProjectsTriggersPatchResource :<|> (ProjectsTriggersGetResource :<|> (ProjectsTriggersCreateResource :<|> ProjectsTriggersDeleteResource)))))))))) Source #
Represents the entirety of the methods and resources available for the Google Cloud Container Builder API service.
Resources
cloudbuild.operations.cancel
cloudbuild.operations.get
cloudbuild.operations.list
cloudbuild.projects.builds.cancel
cloudbuild.projects.builds.create
cloudbuild.projects.builds.get
cloudbuild.projects.builds.list
cloudbuild.projects.triggers.create
cloudbuild.projects.triggers.delete
cloudbuild.projects.triggers.get
cloudbuild.projects.triggers.list
cloudbuild.projects.triggers.patch
Types
BuildStep
BuildStep describes a step to perform in the build pipeline.
See: buildStep
smart constructor.
bsDir :: Lens' BuildStep (Maybe Text) Source #
Working directory (relative to project source root) to use when running this operation's container.
bsArgs :: Lens' BuildStep [Text] Source #
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.
bsEnv :: Lens' BuildStep [Text] Source #
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" being given the value "VALUE".
bsEntrypoint :: Lens' BuildStep (Maybe Text) Source #
Optional entrypoint to be used instead of the build step image's default If unset, the image's default will be used.
bsWaitFor :: Lens' BuildStep [Text] Source #
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.
bsName :: Lens' BuildStep (Maybe Text) Source #
The name of the container image that will run this particular build step. If the image is already available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. 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.
bsId :: Lens' BuildStep (Maybe Text) Source #
Optional unique identifier for this build step, used in wait_for to reference this build step as a dependency.
SourceProvenance
data SourceProvenance Source #
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
See: sourceProvenance
smart constructor.
sourceProvenance :: SourceProvenance Source #
Creates a value of SourceProvenance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spResolvedRepoSource :: Lens' SourceProvenance (Maybe RepoSource) Source #
A copy of the build's source.repo_source, if exists, with any revisions resolved.
spResolvedStorageSource :: Lens' SourceProvenance (Maybe StorageSource) Source #
A copy of the build's source.storage_source, if exists, with any generations resolved.
spFileHashes :: Lens' SourceProvenance (Maybe SourceProvenanceFileHashes) Source #
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 only be populated if BuildOptions has requested a SourceProvenanceHash. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file. 'OutputOnly
ListBuildsResponse
data ListBuildsResponse Source #
Response including listed builds.
See: listBuildsResponse
smart constructor.
listBuildsResponse :: ListBuildsResponse Source #
Creates a value of ListBuildsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbrNextPageToken :: Lens' ListBuildsResponse (Maybe Text) Source #
Token to receive the next page of results.
lbrBuilds :: Lens' ListBuildsResponse [Build] Source #
Builds will be sorted by create_time, descending.
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations that matches the specified filter in the request.
CancelOperationRequest
data CancelOperationRequest Source #
The request message for Operations.CancelOperation.
See: cancelOperationRequest
smart constructor.
cancelOperationRequest :: CancelOperationRequest Source #
Creates a value of CancelOperationRequest
with the minimum fields required to make a request.
Hash
Container message for hash values.
See: hash
smart constructor.
Results
Results describes the artifacts created by the build pipeline.
See: results
smart constructor.
Creates a value of Results
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rBuildStepImages :: Lens' Results [Text] Source #
List of build step digests, in order corresponding to build step indices.
RepoSource
data RepoSource Source #
RepoSource describes the location of the source in a Google Cloud Source Repository.
See: repoSource
smart constructor.
repoSource :: RepoSource Source #
Creates a value of RepoSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsRepoName :: Lens' RepoSource (Maybe Text) Source #
Name of the repo. If omitted, the name "default" is assumed.
rsCommitSha :: Lens' RepoSource (Maybe Text) Source #
Explicit commit SHA to build.
rsBranchName :: Lens' RepoSource (Maybe Text) Source #
Name of the branch to build.
rsProjectId :: Lens' RepoSource (Maybe Text) Source #
ID of the project that owns the repo. If omitted, the project ID requesting the build is assumed.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
oDone :: Lens' Operation (Maybe Bool) Source #
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.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
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`.
oName :: Lens' Operation (Maybe Text) Source #
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`.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
StatusDetailsItem
data StatusDetailsItem Source #
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Build
Creates a value of Build
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bImages :: Lens' Build [Text] Source #
A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
bSourceProvenance :: Lens' Build (Maybe SourceProvenance) Source #
A permanent fixed identifier for source. 'OutputOnly
bLogURL :: Lens' Build (Maybe Text) Source #
URL to logs for this build in Google Cloud Logging. 'OutputOnly
bStartTime :: Lens' Build (Maybe UTCTime) Source #
Time at which execution of the build was started. 'OutputOnly
bLogsBucket :: Lens' Build (Maybe Text) Source #
Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format `logsbucket/log−{build_id}.txt`.
bSteps :: Lens' Build [BuildStep] Source #
Describes the operations to be performed on the workspace.
bStatusDetail :: Lens' Build (Maybe Text) Source #
Customer-readable message about the current status. 'OutputOnly
bBuildTriggerId :: Lens' Build (Maybe Text) Source #
The ID of the BuildTrigger that triggered this build, if it was triggered automatically. 'OutputOnly
bTimeout :: Lens' Build (Maybe Scientific) Source #
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.
bFinishTime :: Lens' Build (Maybe UTCTime) Source #
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
bCreateTime :: Lens' Build (Maybe UTCTime) Source #
Time at which the request to create the build was received. 'OutputOnly
SourceProvenanceFileHashes
data SourceProvenanceFileHashes Source #
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 only be populated if BuildOptions has requested a SourceProvenanceHash. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file. 'OutputOnly
See: sourceProvenanceFileHashes
smart constructor.
sourceProvenanceFileHashes Source #
Creates a value of SourceProvenanceFileHashes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CancelBuildRequest
data CancelBuildRequest Source #
Request to cancel an ongoing build.
See: cancelBuildRequest
smart constructor.
cancelBuildRequest :: CancelBuildRequest Source #
Creates a value of CancelBuildRequest
with the minimum fields required to make a request.
StorageSource
data StorageSource Source #
StorageSource describes the location of the source in an archive file in Google Cloud Storage.
See: storageSource
smart constructor.
storageSource :: StorageSource Source #
Creates a value of StorageSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssBucket :: Lens' StorageSource (Maybe Text) Source #
Google Cloud Storage bucket containing source (see Bucket Name Requirements).
ssObject :: Lens' StorageSource (Maybe Text) Source #
Google Cloud Storage object containing source. This object must be a gzipped archive file (.tar.gz) containing source to build.
ssGeneration :: Lens' StorageSource (Maybe Int64) Source #
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
ListBuildTriggersResponse
data ListBuildTriggersResponse Source #
Response containing existing BuildTriggers.
See: listBuildTriggersResponse
smart constructor.
listBuildTriggersResponse :: ListBuildTriggersResponse Source #
Creates a value of ListBuildTriggersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtrTriggers :: Lens' ListBuildTriggersResponse [BuildTrigger] Source #
BuildTriggers for the project, sorted by create_time descending.
BuildOptionsRequestedVerifyOption
data BuildOptionsRequestedVerifyOption Source #
Requested verifiability options.
NotVerified |
|
Verified |
|
FileHashes
data FileHashes Source #
Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.
See: fileHashes
smart constructor.
fileHashes :: FileHashes Source #
Creates a value of FileHashes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fhFileHash :: Lens' FileHashes [Hash] Source #
Collection of file hashes.
Xgafv
V1 error format.
BuildStatus
data BuildStatus Source #
Status of the build. 'OutputOnly
StatusUnknown |
|
Queued |
|
Working |
|
Success |
|
Failure |
|
InternalError |
|
Timeout |
|
Cancelled |
|
HashType
The type of hash that was performed.
Source
Source describes the location of the source in a supported storage service.
See: source
smart constructor.
Creates a value of Source
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sRepoSource :: Lens' Source (Maybe RepoSource) Source #
If provided, get source from this location in a Cloud Repo.
sStorageSource :: Lens' Source (Maybe StorageSource) Source #
If provided, get the source from this location in in Google Cloud Storage.
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
BuildOperationMetadata
data BuildOperationMetadata Source #
Metadata for build operations.
See: buildOperationMetadata
smart constructor.
buildOperationMetadata :: BuildOperationMetadata Source #
Creates a value of BuildOperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bomBuild :: Lens' BuildOperationMetadata (Maybe Build) Source #
The build that the operation is tracking.
BuildOptions
data BuildOptions Source #
Optional arguments to enable specific features of builds.
See: buildOptions
smart constructor.
buildOptions :: BuildOptions Source #
Creates a value of BuildOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
boRequestedVerifyOption :: Lens' BuildOptions (Maybe BuildOptionsRequestedVerifyOption) Source #
Requested verifiability options.
boSourceProvenanceHash :: Lens' BuildOptions [Text] Source #
Requested hash for SourceProvenance.
OperationResponse
data OperationResponse Source #
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`.
See: operationResponse
smart constructor.
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
BuildTrigger
data BuildTrigger Source #
Configuration for an automated build in response to source repository changes.
See: buildTrigger
smart constructor.
buildTrigger :: BuildTrigger Source #
Creates a value of BuildTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
btDisabled :: Lens' BuildTrigger (Maybe Bool) Source #
If true, the trigger will never result in a build.
btTriggerTemplate :: Lens' BuildTrigger (Maybe RepoSource) 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.
btDescription :: Lens' BuildTrigger (Maybe Text) Source #
Human-readable description of this trigger.
btFilename :: Lens' BuildTrigger (Maybe Text) Source #
Path, from the source root, to a file whose contents is used for the template.
btCreateTime :: Lens' BuildTrigger (Maybe UTCTime) Source #
Time when the trigger was created. 'OutputOnly
BuiltImage
data BuiltImage Source #
BuiltImage describes an image built by the pipeline.
See: builtImage
smart constructor.
builtImage :: BuiltImage Source #
Creates a value of BuiltImage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: