📂 File Browser

AgentAI/vendor/google/apiclient-services/src/ContainerAnalysis
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AliasContext.php
▶ Open 📄 View Source
🐘 AnalysisCompleted.php
▶ Open 📄 View Source
🐘 Artifact.php
▶ Open 📄 View Source
🐘 ArtifactHashes.php
▶ Open 📄 View Source
🐘 ArtifactRule.php
▶ Open 📄 View Source
🐘 Assessment.php
▶ Open 📄 View Source
🐘 Attestation.php
▶ Open 📄 View Source
🐘 AttestationNote.php
▶ Open 📄 View Source
🐘 AttestationOccurrence.php
▶ Open 📄 View Source
🐘 Authority.php
▶ Open 📄 View Source
🐘 BaseImage.php
▶ Open 📄 View Source
🐘 Basis.php
▶ Open 📄 View Source
🐘 BatchCreateNotesRequest.php
▶ Open 📄 View Source
🐘 BatchCreateNotesResponse.php
▶ Open 📄 View Source
🐘 BatchCreateOccurrencesRequest.php
▶ Open 📄 View Source
🐘 BatchCreateOccurrencesResponse.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 Build.php
▶ Open 📄 View Source
🐘 BuildDefinition.php
▶ Open 📄 View Source
🐘 BuildMetadata.php
▶ Open 📄 View Source
🐘 BuildNote.php
▶ Open 📄 View Source
🐘 BuildOccurrence.php
▶ Open 📄 View Source
🐘 BuildProvenance.php
▶ Open 📄 View Source
🐘 BuildSignature.php
▶ Open 📄 View Source
🐘 BuildStep.php
▶ Open 📄 View Source
🐘 BuilderConfig.php
▶ Open 📄 View Source
🐘 ByProducts.php
▶ Open 📄 View Source
🐘 CISAKnownExploitedVulnerabilities.php
▶ Open 📄 View Source
🐘 CVSS.php
▶ Open 📄 View Source
🐘 CVSSv3.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Category.php
▶ Open 📄 View Source
🐘 CisBenchmark.php
▶ Open 📄 View Source
🐘 CloudRepoSourceContext.php
▶ Open 📄 View Source
🐘 CloudStorageLocation.php
▶ Open 📄 View Source
🐘 Command.php
▶ Open 📄 View Source
🐘 Completeness.php
▶ Open 📄 View Source
🐘 ComplianceNote.php
▶ Open 📄 View Source
🐘 ComplianceOccurrence.php
▶ Open 📄 View Source
🐘 ComplianceVersion.php
▶ Open 📄 View Source
🐘 ContaineranalysisEmpty.php
▶ Open 📄 View Source
🐘 ContaineranalysisFile.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Build.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Hash.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Results.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Secret.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Source.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage.php
▶ Open 📄 View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Volume.php
▶ Open 📄 View Source
🐘 ContaineranalysisResource.php
▶ Open 📄 View Source
🐘 DSSEAttestationNote.php
▶ Open 📄 View Source
🐘 DSSEAttestationOccurrence.php
▶ Open 📄 View Source
🐘 DSSEHint.php
▶ Open 📄 View Source
🐘 Deployable.php
▶ Open 📄 View Source
🐘 Deployment.php
▶ Open 📄 View Source
🐘 DeploymentNote.php
▶ Open 📄 View Source
🐘 DeploymentOccurrence.php
▶ Open 📄 View Source
🐘 Derived.php
▶ Open 📄 View Source
🐘 Detail.php
▶ Open 📄 View Source
🐘 Details.php
▶ Open 📄 View Source
🐘 Digest.php
▶ Open 📄 View Source
🐘 Discovered.php
▶ Open 📄 View Source
🐘 Discovery.php
▶ Open 📄 View Source
🐘 DiscoveryNote.php
▶ Open 📄 View Source
🐘 DiscoveryOccurrence.php
▶ Open 📄 View Source
🐘 Distribution.php
▶ Open 📄 View Source
🐘 DocumentNote.php
▶ Open 📄 View Source
🐘 DocumentOccurrence.php
▶ Open 📄 View Source
🐘 Envelope.php
▶ Open 📄 View Source
🐘 EnvelopeSignature.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 ExploitPredictionScoringSystem.php
▶ Open 📄 View Source
🐘 ExportSBOMRequest.php
▶ Open 📄 View Source
🐘 ExportSBOMResponse.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExternalRef.php
▶ Open 📄 View Source
🐘 FileHashes.php
▶ Open 📄 View Source
🐘 FileNote.php
▶ Open 📄 View Source
🐘 FileOccurrence.php
▶ Open 📄 View Source
🐘 Fingerprint.php
▶ Open 📄 View Source
🐘 FixableTotalByDigest.php
▶ Open 📄 View Source
🐘 GeneratePackagesSummaryRequest.php
▶ Open 📄 View Source
🐘 GenericSignedAttestation.php
▶ Open 📄 View Source
🐘 GerritSourceContext.php
▶ Open 📄 View Source
🐘 GetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GetPolicyOptions.php
▶ Open 📄 View Source
🐘 GitSourceContext.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata.php
▶ Open 📄 View Source
🐘 GrafeasV1FileLocation.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1BuildDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1DeploymentDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1DiscoveryDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1ImageDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1IntotoArtifact.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1IntotoDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1IntotoSignature.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1PackageDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1beta1VulnerabilityDetails.php
▶ Open 📄 View Source
🐘 Hash.php
▶ Open 📄 View Source
🐘 Hint.php
▶ Open 📄 View Source
🐘 Identity.php
▶ Open 📄 View Source
🐘 ImageNote.php
▶ Open 📄 View Source
🐘 ImageOccurrence.php
▶ Open 📄 View Source
🐘 InToto.php
▶ Open 📄 View Source
🐘 InTotoProvenance.php
▶ Open 📄 View Source
🐘 InTotoSlsaProvenanceV1.php
▶ Open 📄 View Source
🐘 InTotoStatement.php
▶ Open 📄 View Source
🐘 Installation.php
▶ Open 📄 View Source
🐘 Justification.php
▶ Open 📄 View Source
🐘 Jwt.php
▶ Open 📄 View Source
🐘 KnowledgeBase.php
▶ Open 📄 View Source
🐘 Layer.php
▶ Open 📄 View Source
🐘 LayerDetails.php
▶ Open 📄 View Source
🐘 License.php
▶ Open 📄 View Source
🐘 LicensesSummary.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 ListNoteOccurrencesResponse.php
▶ Open 📄 View Source
🐘 ListNotesResponse.php
▶ Open 📄 View Source
🐘 ListOccurrencesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListScanConfigsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Material.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 NonCompliantFile.php
▶ Open 📄 View Source
🐘 Note.php
▶ Open 📄 View Source
🐘 Occurrence.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Package.php
▶ Open 📄 View Source
🐘 PackageIssue.php
▶ Open 📄 View Source
🐘 PackageNote.php
▶ Open 📄 View Source
🐘 PackageOccurrence.php
▶ Open 📄 View Source
🐘 PackagesSummaryResponse.php
▶ Open 📄 View Source
🐘 PgpSignedAttestation.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Product.php
▶ Open 📄 View Source
🐘 ProjectRepoId.php
▶ Open 📄 View Source
🐘 ProvenanceBuilder.php
▶ Open 📄 View Source
🐘 Publisher.php
▶ Open 📄 View Source
🐘 Recipe.php
▶ Open 📄 View Source
🐘 RelatedUrl.php
▶ Open 📄 View Source
🐘 RelationshipNote.php
▶ Open 📄 View Source
🐘 RelationshipOccurrence.php
▶ Open 📄 View Source
🐘 Remediation.php
▶ Open 📄 View Source
🐘 RepoId.php
▶ Open 📄 View Source
🐘 ResourceDescriptor.php
▶ Open 📄 View Source
🐘 Risk.php
▶ Open 📄 View Source
🐘 RunDetails.php
▶ Open 📄 View Source
🐘 SBOMReferenceNote.php
▶ Open 📄 View Source
🐘 SBOMReferenceOccurrence.php
▶ Open 📄 View Source
🐘 SBOMStatus.php
▶ Open 📄 View Source
🐘 SbomReferenceIntotoPayload.php
▶ Open 📄 View Source
🐘 SbomReferenceIntotoPredicate.php
▶ Open 📄 View Source
🐘 ScanConfig.php
▶ Open 📄 View Source
🐘 SecretLocation.php
▶ Open 📄 View Source
🐘 SecretNote.php
▶ Open 📄 View Source
🐘 SecretOccurrence.php
▶ Open 📄 View Source
🐘 SecretStatus.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Signature.php
▶ Open 📄 View Source
🐘 SigningKey.php
▶ Open 📄 View Source
🐘 SlsaBuilder.php
▶ Open 📄 View Source
🐘 SlsaCompleteness.php
▶ Open 📄 View Source
🐘 SlsaMetadata.php
▶ Open 📄 View Source
🐘 SlsaProvenance.php
▶ Open 📄 View Source
🐘 SlsaProvenanceV1.php
▶ Open 📄 View Source
🐘 SlsaProvenanceZeroTwo.php
▶ Open 📄 View Source
🐘 SlsaRecipe.php
▶ Open 📄 View Source
🐘 Source.php
▶ Open 📄 View Source
🐘 SourceContext.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StepResult.php
▶ Open 📄 View Source
🐘 Subject.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeSpan.php
▶ Open 📄 View Source
🐘 UpgradeDistribution.php
▶ Open 📄 View Source
🐘 UpgradeNote.php
▶ Open 📄 View Source
🐘 UpgradeOccurrence.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 VexAssessment.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 Vulnerability.php
▶ Open 📄 View Source
🐘 VulnerabilityAssessmentNote.php
▶ Open 📄 View Source
🐘 VulnerabilityAttestation.php
▶ Open 📄 View Source
🐘 VulnerabilityLocation.php
▶ Open 📄 View Source
🐘 VulnerabilityNote.php
▶ Open 📄 View Source
🐘 VulnerabilityOccurrence.php
▶ Open 📄 View Source
🐘 VulnerabilityOccurrencesSummary.php
▶ Open 📄 View Source
🐘 WindowsDetail.php
▶ Open 📄 View Source
🐘 WindowsUpdate.php
▶ Open 📄 View Source

📄 Source: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ContainerAnalysis;

class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep extends \Google\Collection
{
  /**
   * Status of the build is unknown.
   */
  public const STATUS_STATUS_UNKNOWN = 'STATUS_UNKNOWN';
  /**
   * Build has been created and is pending execution and queuing. It has not
   * been queued.
   */
  public const STATUS_PENDING = 'PENDING';
  /**
   * Build or step is queued; work has not yet begun.
   */
  public const STATUS_QUEUED = 'QUEUED';
  /**
   * Build or step is being executed.
   */
  public const STATUS_WORKING = 'WORKING';
  /**
   * Build or step finished successfully.
   */
  public const STATUS_SUCCESS = 'SUCCESS';
  /**
   * Build or step failed to complete successfully.
   */
  public const STATUS_FAILURE = 'FAILURE';
  /**
   * Build or step failed due to an internal cause.
   */
  public const STATUS_INTERNAL_ERROR = 'INTERNAL_ERROR';
  /**
   * Build or step took longer than was allowed.
   */
  public const STATUS_TIMEOUT = 'TIMEOUT';
  /**
   * Build or step was canceled by a user.
   */
  public const STATUS_CANCELLED = 'CANCELLED';
  /**
   * Build was enqueued for longer than the value of `queue_ttl`.
   */
  public const STATUS_EXPIRED = 'EXPIRED';
  protected $collection_key = 'waitFor';
  /**
   * Allow this build step to fail without failing the entire build if and only
   * if the exit code is one of the specified codes. If allow_failure is also
   * specified, this field will take precedence.
   *
   * @var int[]
   */
  public $allowExitCodes;
  /**
   * Allow this build step to fail without failing the entire build. If false,
   * the entire build will fail if this step fails. Otherwise, the build will
   * succeed, but this step will still have a failure status. Error information
   * will be reported in the failure_detail field.
   *
   * @var bool
   */
  public $allowFailure;
  /**
   * 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.
   *
   * @var string[]
   */
  public $args;
  /**
   * Option to include built-in and custom substitutions as env variables for
   * this build step. This option will override the global option in
   * BuildOption.
   *
   * @var bool
   */
  public $automapSubstitutions;
  /**
   * 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.
   *
   * @var string
   */
  public $dir;
  /**
   * Entrypoint to be used instead of the build step image's default entrypoint.
   * If unset, the image's default entrypoint is used.
   *
   * @var string
   */
  public $entrypoint;
  /**
   * 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".
   *
   * @var string[]
   */
  public $env;
  /**
   * Output only. Return code from running the step.
   *
   * @var int
   */
  public $exitCode;
  /**
   * Unique identifier for this build step, used in `wait_for` to reference this
   * build step as a dependency.
   *
   * @var string
   */
  public $id;
  /**
   * 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.
   *
   * @var string
   */
  public $name;
  protected $pullTimingType = ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::class;
  protected $pullTimingDataType = '';
  /**
   * A shell script to be executed in the step. When script is provided, the
   * user cannot specify the entrypoint or args.
   *
   * @var string
   */
  public $script;
  /**
   * 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`.
   *
   * @var string[]
   */
  public $secretEnv;
  /**
   * 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.
   *
   * @var string
   */
  public $status;
  /**
   * 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.
   *
   * @var string
   */
  public $timeout;
  protected $timingType = ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::class;
  protected $timingDataType = '';
  protected $volumesType = ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::class;
  protected $volumesDataType = 'array';
  /**
   * 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.
   *
   * @var string[]
   */
  public $waitFor;

  /**
   * Allow this build step to fail without failing the entire build if and only
   * if the exit code is one of the specified codes. If allow_failure is also
   * specified, this field will take precedence.
   *
   * @param int[] $allowExitCodes
   */
  public function setAllowExitCodes($allowExitCodes)
  {
    $this->allowExitCodes = $allowExitCodes;
  }
  /**
   * @return int[]
   */
  public function getAllowExitCodes()
  {
    return $this->allowExitCodes;
  }
  /**
   * Allow this build step to fail without failing the entire build. If false,
   * the entire build will fail if this step fails. Otherwise, the build will
   * succeed, but this step will still have a failure status. Error information
   * will be reported in the failure_detail field.
   *
   * @param bool $allowFailure
   */
  public function setAllowFailure($allowFailure)
  {
    $this->allowFailure = $allowFailure;
  }
  /**
   * @return bool
   */
  public function getAllowFailure()
  {
    return $this->allowFailure;
  }
  /**
   * 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.
   *
   * @param string[] $args
   */
  public function setArgs($args)
  {
    $this->args = $args;
  }
  /**
   * @return string[]
   */
  public function getArgs()
  {
    return $this->args;
  }
  /**
   * Option to include built-in and custom substitutions as env variables for
   * this build step. This option will override the global option in
   * BuildOption.
   *
   * @param bool $automapSubstitutions
   */
  public function setAutomapSubstitutions($automapSubstitutions)
  {
    $this->automapSubstitutions = $automapSubstitutions;
  }
  /**
   * @return bool
   */
  public function getAutomapSubstitutions()
  {
    return $this->automapSubstitutions;
  }
  /**
   * 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.
   *
   * @param string $dir
   */
  public function setDir($dir)
  {
    $this->dir = $dir;
  }
  /**
   * @return string
   */
  public function getDir()
  {
    return $this->dir;
  }
  /**
   * Entrypoint to be used instead of the build step image's default entrypoint.
   * If unset, the image's default entrypoint is used.
   *
   * @param string $entrypoint
   */
  public function setEntrypoint($entrypoint)
  {
    $this->entrypoint = $entrypoint;
  }
  /**
   * @return string
   */
  public function getEntrypoint()
  {
    return $this->entrypoint;
  }
  /**
   * 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".
   *
   * @param string[] $env
   */
  public function setEnv($env)
  {
    $this->env = $env;
  }
  /**
   * @return string[]
   */
  public function getEnv()
  {
    return $this->env;
  }
  /**
   * Output only. Return code from running the step.
   *
   * @param int $exitCode
   */
  public function setExitCode($exitCode)
  {
    $this->exitCode = $exitCode;
  }
  /**
   * @return int
   */
  public function getExitCode()
  {
    return $this->exitCode;
  }
  /**
   * Unique identifier for this build step, used in `wait_for` to reference this
   * build step as a dependency.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * 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.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. Stores timing information for pulling this build step's
   * builder image only.
   *
   * @param ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan $pullTiming
   */
  public function setPullTiming(ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan $pullTiming)
  {
    $this->pullTiming = $pullTiming;
  }
  /**
   * @return ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
   */
  public function getPullTiming()
  {
    return $this->pullTiming;
  }
  /**
   * A shell script to be executed in the step. When script is provided, the
   * user cannot specify the entrypoint or args.
   *
   * @param string $script
   */
  public function setScript($script)
  {
    $this->script = $script;
  }
  /**
   * @return string
   */
  public function getScript()
  {
    return $this->script;
  }
  /**
   * 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`.
   *
   * @param string[] $secretEnv
   */
  public function setSecretEnv($secretEnv)
  {
    $this->secretEnv = $secretEnv;
  }
  /**
   * @return string[]
   */
  public function getSecretEnv()
  {
    return $this->secretEnv;
  }
  /**
   * 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.
   *
   * Accepted values: STATUS_UNKNOWN, PENDING, QUEUED, WORKING, SUCCESS,
   * FAILURE, INTERNAL_ERROR, TIMEOUT, CANCELLED, EXPIRED
   *
   * @param self::STATUS_* $status
   */
  public function setStatus($status)
  {
    $this->status = $status;
  }
  /**
   * @return self::STATUS_*
   */
  public function getStatus()
  {
    return $this->status;
  }
  /**
   * 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.
   *
   * @param string $timeout
   */
  public function setTimeout($timeout)
  {
    $this->timeout = $timeout;
  }
  /**
   * @return string
   */
  public function getTimeout()
  {
    return $this->timeout;
  }
  /**
   * Output only. Stores timing information for executing this build step.
   *
   * @param ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan $timing
   */
  public function setTiming(ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan $timing)
  {
    $this->timing = $timing;
  }
  /**
   * @return ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
   */
  public function getTiming()
  {
    return $this->timing;
  }
  /**
   * 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.
   *
   * @param ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[] $volumes
   */
  public function setVolumes($volumes)
  {
    $this->volumes = $volumes;
  }
  /**
   * @return ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[]
   */
  public function getVolumes()
  {
    return $this->volumes;
  }
  /**
   * 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.
   *
   * @param string[] $waitFor
   */
  public function setWaitFor($waitFor)
  {
    $this->waitFor = $waitFor;
  }
  /**
   * @return string[]
   */
  public function getWaitFor()
  {
    return $this->waitFor;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep');
← Back