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
- BuildStep
- SourceProvenance
- ListBuildsResponse
- Status
- RetryBuildRequest
- ListOperationsResponse
- CancelOperationRequest
- Hash
- Results
- BuildTriggerSubstitutions
- RepoSource
- Operation
- Empty
- SecretSecretEnv
- Artifacts
- BuildStepStatus
- ArtifactObjects
- Volume
- StatusDetailsItem
- Build
- SourceProvenanceFileHashes
- Secret
- CancelBuildRequest
- TimeSpan
- StorageSource
- ListBuildTriggersResponse
- ArtifactResult
- BuildOptionsRequestedVerifyOption
- FileHashes
- BuildSubstitutions
- Xgafv
- BuildStatus
- BuildOptionsSubstitutionOption
- HashType
- BuildOptionsLogStreamingOption
- Source
- BuildOptionsLogging
- OperationMetadata
- BuildOptionsMachineType
- BuildTiming
- BuildOperationMetadata
- BuildOptions
- OperationResponse
- BuildTrigger
- BuiltImage
Synopsis
- containerBuilderService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data BuildStep
- buildStep :: BuildStep
- bsStatus :: Lens' BuildStep (Maybe BuildStepStatus)
- bsDir :: Lens' BuildStep (Maybe Text)
- bsArgs :: Lens' BuildStep [Text]
- bsEnv :: Lens' BuildStep [Text]
- bsPullTiming :: Lens' BuildStep (Maybe TimeSpan)
- bsEntrypoint :: Lens' BuildStep (Maybe Text)
- bsWaitFor :: Lens' BuildStep [Text]
- bsName :: Lens' BuildStep (Maybe Text)
- bsId :: Lens' BuildStep (Maybe Text)
- bsTiming :: Lens' BuildStep (Maybe TimeSpan)
- bsSecretEnv :: Lens' BuildStep [Text]
- bsTimeout :: Lens' BuildStep (Maybe Scientific)
- bsVolumes :: Lens' BuildStep [Volume]
- 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 RetryBuildRequest
- retryBuildRequest :: RetryBuildRequest
- 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]
- rArtifactManifest :: Lens' Results (Maybe Text)
- rBuildStepOutputs :: Lens' Results [ByteString]
- rNumArtifacts :: Lens' Results (Maybe Int64)
- data BuildTriggerSubstitutions
- buildTriggerSubstitutions :: HashMap Text Text -> BuildTriggerSubstitutions
- btsAddtional :: Lens' BuildTriggerSubstitutions (HashMap Text Text)
- data RepoSource
- repoSource :: RepoSource
- rsRepoName :: Lens' RepoSource (Maybe Text)
- rsDir :: 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 SecretSecretEnv
- secretSecretEnv :: HashMap Text ByteString -> SecretSecretEnv
- sseAddtional :: Lens' SecretSecretEnv (HashMap Text ByteString)
- data Artifacts
- artifacts :: Artifacts
- aImages :: Lens' Artifacts [Text]
- aObjects :: Lens' Artifacts (Maybe ArtifactObjects)
- data BuildStepStatus
- data ArtifactObjects
- artifactObjects :: ArtifactObjects
- aoLocation :: Lens' ArtifactObjects (Maybe Text)
- aoTiming :: Lens' ArtifactObjects (Maybe TimeSpan)
- aoPaths :: Lens' ArtifactObjects [Text]
- data Volume
- volume :: Volume
- vPath :: Lens' Volume (Maybe Text)
- vName :: Lens' Volume (Maybe Text)
- 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)
- bSubstitutions :: Lens' Build (Maybe BuildSubstitutions)
- bLogURL :: Lens' Build (Maybe Text)
- bResults :: Lens' Build (Maybe Results)
- bSecrets :: Lens' Build [Secret]
- bStartTime :: Lens' Build (Maybe UTCTime)
- bArtifacts :: Lens' Build (Maybe Artifacts)
- 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)
- bTiming :: Lens' Build (Maybe BuildTiming)
- bBuildTriggerId :: Lens' Build (Maybe Text)
- bTimeout :: Lens' Build (Maybe Scientific)
- bFinishTime :: Lens' Build (Maybe UTCTime)
- bCreateTime :: Lens' Build (Maybe UTCTime)
- bTags :: Lens' Build [Text]
- data SourceProvenanceFileHashes
- sourceProvenanceFileHashes :: HashMap Text FileHashes -> SourceProvenanceFileHashes
- spfhAddtional :: Lens' SourceProvenanceFileHashes (HashMap Text FileHashes)
- data Secret
- secret :: Secret
- sKmsKeyName :: Lens' Secret (Maybe Text)
- sSecretEnv :: Lens' Secret (Maybe SecretSecretEnv)
- data CancelBuildRequest
- cancelBuildRequest :: CancelBuildRequest
- data TimeSpan
- timeSpan :: TimeSpan
- tsStartTime :: Lens' TimeSpan (Maybe UTCTime)
- tsEndTime :: Lens' TimeSpan (Maybe UTCTime)
- 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 ArtifactResult
- artifactResult :: ArtifactResult
- arFileHash :: Lens' ArtifactResult [FileHashes]
- arLocation :: Lens' ArtifactResult (Maybe Text)
- data BuildOptionsRequestedVerifyOption
- data FileHashes
- fileHashes :: FileHashes
- fhFileHash :: Lens' FileHashes [Hash]
- data BuildSubstitutions
- buildSubstitutions :: HashMap Text Text -> BuildSubstitutions
- bsAddtional :: Lens' BuildSubstitutions (HashMap Text Text)
- data Xgafv
- data BuildStatus
- data BuildOptionsSubstitutionOption
- data HashType
- data BuildOptionsLogStreamingOption
- data Source
- source :: Source
- sRepoSource :: Lens' Source (Maybe RepoSource)
- sStorageSource :: Lens' Source (Maybe StorageSource)
- data BuildOptionsLogging
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data BuildOptionsMachineType
- data BuildTiming
- buildTiming :: HashMap Text TimeSpan -> BuildTiming
- btAddtional :: Lens' BuildTiming (HashMap Text TimeSpan)
- data BuildOperationMetadata
- buildOperationMetadata :: BuildOperationMetadata
- bomBuild :: Lens' BuildOperationMetadata (Maybe Build)
- data BuildOptions
- buildOptions :: BuildOptions
- boDiskSizeGb :: Lens' BuildOptions (Maybe Int64)
- boEnv :: Lens' BuildOptions [Text]
- boSubstitutionOption :: Lens' BuildOptions (Maybe BuildOptionsSubstitutionOption)
- boRequestedVerifyOption :: Lens' BuildOptions (Maybe BuildOptionsRequestedVerifyOption)
- boWorkerPool :: Lens' BuildOptions (Maybe Text)
- boMachineType :: Lens' BuildOptions (Maybe BuildOptionsMachineType)
- boSecretEnv :: Lens' BuildOptions [Text]
- boVolumes :: Lens' BuildOptions [Volume]
- boLogStreamingOption :: Lens' BuildOptions (Maybe BuildOptionsLogStreamingOption)
- boLogging :: Lens' BuildOptions (Maybe BuildOptionsLogging)
- boSourceProvenanceHash :: Lens' BuildOptions [Text]
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data BuildTrigger
- buildTrigger :: BuildTrigger
- btSubstitutions :: Lens' BuildTrigger (Maybe BuildTriggerSubstitutions)
- btIncludedFiles :: Lens' BuildTrigger [Text]
- btDisabled :: Lens' BuildTrigger (Maybe Bool)
- btTriggerTemplate :: Lens' BuildTrigger (Maybe RepoSource)
- btBuild :: Lens' BuildTrigger (Maybe Build)
- btIgnoredFiles :: Lens' BuildTrigger [Text]
- btId :: Lens' BuildTrigger (Maybe Text)
- btDescription :: Lens' BuildTrigger (Maybe Text)
- btFilename :: Lens' BuildTrigger (Maybe Text)
- btCreateTime :: Lens' BuildTrigger (Maybe UTCTime)
- data BuiltImage
- builtImage :: BuiltImage
- biPushTiming :: Lens' BuiltImage (Maybe TimeSpan)
- biName :: Lens' BuiltImage (Maybe Text)
- biDigest :: Lens' BuiltImage (Maybe Text)
Service Configuration
containerBuilderService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Build 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
BuildStep
A step in the build pipeline.
See: buildStep
smart constructor.
Instances
buildStep :: BuildStep Source #
Creates a value of BuildStep
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsStatus :: Lens' BuildStep (Maybe BuildStepStatus) Source #
Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.
bsDir :: Lens' BuildStep (Maybe Text) Source #
Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
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, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is 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".
bsPullTiming :: Lens' BuildStep (Maybe TimeSpan) Source #
Output only. Stores timing information for pulling this build step's builder image only.
bsEntrypoint :: Lens' BuildStep (Maybe Text) Source #
Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is 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 #
Required. The name of the container image that will run this particular build step. If the image is 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](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 #
Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.
bsTiming :: Lens' BuildStep (Maybe TimeSpan) Source #
Output only. Stores timing information for executing this build step.
bsSecretEnv :: Lens' BuildStep [Text] Source #
A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.
bsTimeout :: Lens' BuildStep (Maybe Scientific) Source #
Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
bsVolumes :: Lens' BuildStep [Volume] Source #
List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
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.
Instances
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 #
Output only. Hash(es) of the build source, which can be used to verify that the originalsource integrity was maintained in the build. Note that `FileHashes` willonly 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.
ListBuildsResponse
data ListBuildsResponse Source #
Response including listed builds.
See: listBuildsResponse
smart constructor.
Instances
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` that 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. - 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.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is 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.
RetryBuildRequest
data RetryBuildRequest Source #
Specifies a build to retry.
See: retryBuildRequest
smart constructor.
Instances
retryBuildRequest :: RetryBuildRequest Source #
Creates a value of RetryBuildRequest
with the minimum fields required to make a request.
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
Instances
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.
Instances
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.
Instances
Eq Hash Source # | |
Data Hash Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Hash -> c Hash # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Hash # dataTypeOf :: Hash -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Hash) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Hash) # gmapT :: (forall b. Data b => b -> b) -> Hash -> Hash # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Hash -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Hash -> r # gmapQ :: (forall d. Data d => d -> u) -> Hash -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Hash -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Hash -> m Hash # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Hash -> m Hash # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Hash -> m Hash # | |
Show Hash Source # | |
Generic Hash Source # | |
ToJSON Hash Source # | |
FromJSON Hash Source # | |
type Rep Hash Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Hash = D1 (MetaData "Hash" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Hash'" PrefixI True) (S1 (MetaSel (Just "_hValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_hType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HashType)))) |
Results
Artifacts created by the build pipeline.
See: results
smart constructor.
Instances
Eq Results Source # | |
Data Results Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Results -> c Results # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Results # toConstr :: Results -> Constr # dataTypeOf :: Results -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Results) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Results) # gmapT :: (forall b. Data b => b -> b) -> Results -> Results # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Results -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Results -> r # gmapQ :: (forall d. Data d => d -> u) -> Results -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Results -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Results -> m Results # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Results -> m Results # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Results -> m Results # | |
Show Results Source # | |
Generic Results Source # | |
ToJSON Results Source # | |
FromJSON Results Source # | |
type Rep Results Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Results = D1 (MetaData "Results" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Results'" PrefixI True) ((S1 (MetaSel (Just "_rImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BuiltImage])) :*: S1 (MetaSel (Just "_rBuildStepImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_rArtifactManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rBuildStepOutputs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Bytes])) :*: S1 (MetaSel (Just "_rNumArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))) |
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:
rImages :: Lens' Results [BuiltImage] Source #
Container images that were built as a part of the build.
rBuildStepImages :: Lens' Results [Text] Source #
List of build step digests, in the order corresponding to build step indices.
rArtifactManifest :: Lens' Results (Maybe Text) Source #
Path to the artifact manifest. Only populated when artifacts are uploaded.
rBuildStepOutputs :: Lens' Results [ByteString] Source #
List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.
rNumArtifacts :: Lens' Results (Maybe Int64) Source #
Number of artifacts uploaded. Only populated when artifacts are uploaded.
BuildTriggerSubstitutions
data BuildTriggerSubstitutions Source #
Substitutions data for Build resource.
See: buildTriggerSubstitutions
smart constructor.
Instances
buildTriggerSubstitutions Source #
Creates a value of BuildTriggerSubstitutions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
RepoSource
data RepoSource Source #
Location of the source in a Google Cloud Source Repository.
See: repoSource
smart constructor.
Instances
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 Cloud Source Repository. If omitted, the name "default" is assumed.
rsDir :: Lens' RepoSource (Maybe Text) Source #
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.
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 Cloud Source Repository. 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.
Instances
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.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
SecretSecretEnv
data SecretSecretEnv Source #
Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
See: secretSecretEnv
smart constructor.
Instances
Creates a value of SecretSecretEnv
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Artifacts
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
See: artifacts
smart constructor.
Instances
Eq Artifacts Source # | |
Data Artifacts Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Artifacts -> c Artifacts # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Artifacts # toConstr :: Artifacts -> Constr # dataTypeOf :: Artifacts -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Artifacts) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Artifacts) # gmapT :: (forall b. Data b => b -> b) -> Artifacts -> Artifacts # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Artifacts -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Artifacts -> r # gmapQ :: (forall d. Data d => d -> u) -> Artifacts -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Artifacts -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Artifacts -> m Artifacts # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Artifacts -> m Artifacts # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Artifacts -> m Artifacts # | |
Show Artifacts Source # | |
Generic Artifacts Source # | |
ToJSON Artifacts Source # | |
FromJSON Artifacts Source # | |
type Rep Artifacts Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Artifacts = D1 (MetaData "Artifacts" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Artifacts'" PrefixI True) (S1 (MetaSel (Just "_aImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_aObjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ArtifactObjects)))) |
aImages :: Lens' Artifacts [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.
aObjects :: Lens' Artifacts (Maybe ArtifactObjects) Source #
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE.
BuildStepStatus
data BuildStepStatus Source #
Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.
StatusUnknown |
|
Queued |
|
Working |
|
Success |
|
Failure |
|
InternalError |
|
Timeout |
|
Cancelled |
|
Instances
ArtifactObjects
data ArtifactObjects Source #
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
See: artifactObjects
smart constructor.
Instances
artifactObjects :: ArtifactObjects Source #
Creates a value of ArtifactObjects
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aoLocation :: Lens' ArtifactObjects (Maybe Text) Source #
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
aoTiming :: Lens' ArtifactObjects (Maybe TimeSpan) Source #
Output only. Stores timing information for pushing all artifact objects.
aoPaths :: Lens' ArtifactObjects [Text] Source #
Path globs used to match files in the build's workspace.
Volume
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
See: volume
smart constructor.
Instances
Eq Volume Source # | |
Data Volume Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Volume -> c Volume # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Volume # toConstr :: Volume -> Constr # dataTypeOf :: Volume -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Volume) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Volume) # gmapT :: (forall b. Data b => b -> b) -> Volume -> Volume # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Volume -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Volume -> r # gmapQ :: (forall d. Data d => d -> u) -> Volume -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Volume -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Volume -> m Volume # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Volume -> m Volume # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Volume -> m Volume # | |
Show Volume Source # | |
Generic Volume Source # | |
ToJSON Volume Source # | |
FromJSON Volume Source # | |
type Rep Volume Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Volume = D1 (MetaData "Volume" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Volume'" PrefixI True) (S1 (MetaSel (Just "_vPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
vPath :: Lens' Volume (Maybe Text) Source #
Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
vName :: Lens' Volume (Maybe Text) Source #
Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
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
Instances
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 are 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 status is marked `FAILURE`.
bSourceProvenance :: Lens' Build (Maybe SourceProvenance) Source #
Output only. A permanent fixed identifier for source.
bSubstitutions :: Lens' Build (Maybe BuildSubstitutions) Source #
Substitutions data for `Build` resource.
bLogURL :: Lens' Build (Maybe Text) Source #
Output only. URL to logs for this build in Google Cloud Console.
bStartTime :: Lens' Build (Maybe UTCTime) Source #
Output only. Time at which execution of the build was started.
bArtifacts :: Lens' Build (Maybe Artifacts) Source #
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
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 #
Required. The operations to be performed on the workspace.
bStatusDetail :: Lens' Build (Maybe Text) Source #
Output only. Customer-readable message about the current status.
bTiming :: Lens' Build (Maybe BuildTiming) Source #
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
bBuildTriggerId :: Lens' Build (Maybe Text) Source #
Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
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 #
Output only. 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.
bCreateTime :: Lens' Build (Maybe UTCTime) Source #
Output only. Time at which the request to create the build was received.
SourceProvenanceFileHashes
data SourceProvenanceFileHashes Source #
Output only. Hash(es) of the build source, which can be used to verify that the originalsource integrity was maintained in the build. Note that `FileHashes` willonly 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.
See: sourceProvenanceFileHashes
smart constructor.
Instances
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:
Secret
Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.
See: secret
smart constructor.
Instances
Eq Secret Source # | |
Data Secret Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Secret -> c Secret # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Secret # toConstr :: Secret -> Constr # dataTypeOf :: Secret -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Secret) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Secret) # gmapT :: (forall b. Data b => b -> b) -> Secret -> Secret # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Secret -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Secret -> r # gmapQ :: (forall d. Data d => d -> u) -> Secret -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Secret -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Secret -> m Secret # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Secret -> m Secret # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Secret -> m Secret # | |
Show Secret Source # | |
Generic Secret Source # | |
ToJSON Secret Source # | |
FromJSON Secret Source # | |
type Rep Secret Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Secret = D1 (MetaData "Secret" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Secret'" PrefixI True) (S1 (MetaSel (Just "_sKmsKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sSecretEnv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SecretSecretEnv)))) |
Creates a value of Secret
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sSecretEnv :: Lens' Secret (Maybe SecretSecretEnv) Source #
Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
CancelBuildRequest
data CancelBuildRequest Source #
Request to cancel an ongoing build.
See: cancelBuildRequest
smart constructor.
Instances
cancelBuildRequest :: CancelBuildRequest Source #
Creates a value of CancelBuildRequest
with the minimum fields required to make a request.
TimeSpan
Start and end times for a build execution phase.
See: timeSpan
smart constructor.
Instances
Eq TimeSpan Source # | |
Data TimeSpan Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeSpan -> c TimeSpan # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeSpan # toConstr :: TimeSpan -> Constr # dataTypeOf :: TimeSpan -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeSpan) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeSpan) # gmapT :: (forall b. Data b => b -> b) -> TimeSpan -> TimeSpan # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeSpan -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeSpan -> r # gmapQ :: (forall d. Data d => d -> u) -> TimeSpan -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeSpan -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeSpan -> m TimeSpan # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeSpan -> m TimeSpan # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeSpan -> m TimeSpan # | |
Show TimeSpan Source # | |
Generic TimeSpan Source # | |
ToJSON TimeSpan Source # | |
FromJSON TimeSpan Source # | |
type Rep TimeSpan Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep TimeSpan = D1 (MetaData "TimeSpan" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "TimeSpan'" PrefixI True) (S1 (MetaSel (Just "_tsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_tsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) |
Creates a value of TimeSpan
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
StorageSource
data StorageSource Source #
Location of the source in an archive file in Google Cloud Storage.
See: storageSource
smart constructor.
Instances
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 the source (see Bucket Name Requirements).
ssObject :: Lens' StorageSource (Maybe Text) Source #
Google Cloud Storage object containing the 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.
Instances
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.
ArtifactResult
data ArtifactResult Source #
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
See: artifactResult
smart constructor.
Instances
artifactResult :: ArtifactResult Source #
Creates a value of ArtifactResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arFileHash :: Lens' ArtifactResult [FileHashes] Source #
The file hash of the artifact.
arLocation :: Lens' ArtifactResult (Maybe Text) Source #
The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.
BuildOptionsRequestedVerifyOption
data BuildOptionsRequestedVerifyOption Source #
Requested verifiability options.
NotVerified |
|
Verified |
|
Instances
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.
Instances
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.
BuildSubstitutions
data BuildSubstitutions Source #
Substitutions data for `Build` resource.
See: buildSubstitutions
smart constructor.
Instances
Creates a value of BuildSubstitutions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Xgafv
V1 error format.
Instances
BuildStatus
data BuildStatus Source #
Output only. Status of the build.
BSStatusUnknown |
|
BSQueued |
|
BSWorking |
|
BSSuccess |
|
BSFailure |
|
BSInternalError |
|
BSTimeout |
|
BSCancelled |
|
Instances
BuildOptionsSubstitutionOption
data BuildOptionsSubstitutionOption Source #
Option to specify behavior when there is an error in the substitution checks.
MustMatch |
|
AllowLoose |
|
Instances
HashType
The type of hash that was performed.
Instances
BuildOptionsLogStreamingOption
data BuildOptionsLogStreamingOption Source #
Option to define build log streaming behavior to Google Cloud Storage.
StreamDefault |
|
StreamOn |
|
StreamOff |
|
Instances
Source
Location of the source in a supported storage service.
See: source
smart constructor.
Instances
Eq Source Source # | |
Data Source Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Source -> c Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Source # toConstr :: Source -> Constr # dataTypeOf :: Source -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Source) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Source) # gmapT :: (forall b. Data b => b -> b) -> Source -> Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQ :: (forall d. Data d => d -> u) -> Source -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Source -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # | |
Show Source Source # | |
Generic Source Source # | |
ToJSON Source Source # | |
FromJSON Source Source # | |
type Rep Source Source # | |
Defined in Network.Google.ContainerBuilder.Types.Product type Rep Source = D1 (MetaData "Source" "Network.Google.ContainerBuilder.Types.Product" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "Source'" PrefixI True) (S1 (MetaSel (Just "_sRepoSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RepoSource)) :*: S1 (MetaSel (Just "_sStorageSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StorageSource)))) |
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 the source from this location in a Cloud Source Repository.
sStorageSource :: Lens' Source (Maybe StorageSource) Source #
If provided, get the source from this location in Google Cloud Storage.
BuildOptionsLogging
data BuildOptionsLogging Source #
Option to specify the logging mode, which determines where the logs are stored.
LoggingUnspecified |
|
Legacy |
|
GcsOnly |
|
Instances
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.
Instances
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.
BuildOptionsMachineType
data BuildOptionsMachineType Source #
Compute Engine machine type on which to run the build.
Unspecified |
|
N1Highcpu8 |
|
N1Highcpu32 |
|
Instances
BuildTiming
data BuildTiming Source #
Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.
See: buildTiming
smart constructor.
Instances
Creates a value of BuildTiming
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
BuildOperationMetadata
data BuildOperationMetadata Source #
Metadata for build operations.
See: buildOperationMetadata
smart constructor.
Instances
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.
Instances
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:
boDiskSizeGb :: Lens' BuildOptions (Maybe Int64) Source #
Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
boEnv :: Lens' BuildOptions [Text] Source #
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
boSubstitutionOption :: Lens' BuildOptions (Maybe BuildOptionsSubstitutionOption) Source #
Option to specify behavior when there is an error in the substitution checks.
boRequestedVerifyOption :: Lens' BuildOptions (Maybe BuildOptionsRequestedVerifyOption) Source #
Requested verifiability options.
boWorkerPool :: Lens' BuildOptions (Maybe Text) Source #
Option to specify a `WorkerPool` for the build. User specifies the pool with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". This is an experimental field.
boMachineType :: Lens' BuildOptions (Maybe BuildOptionsMachineType) Source #
Compute Engine machine type on which to run the build.
boSecretEnv :: Lens' BuildOptions [Text] Source #
A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.
boVolumes :: Lens' BuildOptions [Volume] Source #
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
boLogStreamingOption :: Lens' BuildOptions (Maybe BuildOptionsLogStreamingOption) Source #
Option to define build log streaming behavior to Google Cloud Storage.
boLogging :: Lens' BuildOptions (Maybe BuildOptionsLogging) Source #
Option to specify the logging mode, which determines where the logs are stored.
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.
Instances
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.
Instances
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:
btSubstitutions :: Lens' BuildTrigger (Maybe BuildTriggerSubstitutions) Source #
Substitutions data for Build resource.
btIncludedFiles :: Lens' BuildTrigger [Text] Source #
If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.
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.
btIgnoredFiles :: Lens' BuildTrigger [Text] Source #
ignored_files and included_files are file glob matches using http://godoc/pkg/path/filepath#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not 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 #
Output only. Time when the trigger was created.
BuiltImage
data BuiltImage Source #
An image built by the pipeline.
See: builtImage
smart constructor.
Instances
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:
biPushTiming :: Lens' BuiltImage (Maybe TimeSpan) Source #
Output only. Stores timing information for pushing the specified image.