📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Addressable.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthorizedDomain.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 ConfigMapEnvSource.php
▶ Open 📄 View Source
🐘 ConfigMapKeySelector.php
▶ Open 📄 View Source
🐘 ConfigMapVolumeSource.php
▶ Open 📄 View Source
🐘 Configuration.php
▶ Open 📄 View Source
🐘 ConfigurationSpec.php
▶ Open 📄 View Source
🐘 ConfigurationStatus.php
▶ Open 📄 View Source
🐘 Container.php
▶ Open 📄 View Source
🐘 ContainerPort.php
▶ Open 📄 View Source
🐘 DomainMapping.php
▶ Open 📄 View Source
🐘 DomainMappingSpec.php
▶ Open 📄 View Source
🐘 DomainMappingStatus.php
▶ Open 📄 View Source
🐘 EnvFromSource.php
▶ Open 📄 View Source
🐘 EnvVar.php
▶ Open 📄 View Source
🐘 EnvVarSource.php
▶ Open 📄 View Source
🐘 ExecAction.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2BinaryAuthorization.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2CloudSqlInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Container.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ContainerPort.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2EnvVar.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2EnvVarSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2ResourceRequirements.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Revision.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2RevisionScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2RevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2SecretKeySelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2SecretVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Service.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2TrafficTarget.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2TrafficTargetStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VersionToPath.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2Volume.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VolumeMount.php
▶ Open 📄 View Source
🐘 GoogleCloudRunOpV2VpcAccess.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV1Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BinaryAuthorization.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2BuildpacksBuild.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CancelExecutionRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CloudSqlInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2CloudStorageSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Condition.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Container.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerOverride.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerPort.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ContainerStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2DockerBuild.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EmptyDirVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EnvVar.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2EnvVarSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Execution.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExecutionReference.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExecutionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportImageRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportImageResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ExportStatusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2GCSVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2GRPCAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2HTTPGetAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2HTTPHeader.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ImageExportStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InlinedSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Instance.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InstanceSplit.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2InstanceSplitStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Job.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListInstancesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListJobsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListTasksResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ListWorkerPoolsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Metadata.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2MultiRegionSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NFSVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NetworkInterface.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2NodeSelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Overrides.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Probe.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ResourceRequirements.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Revision.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionScalingStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2RunJobRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SecretKeySelector.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SecretVolumeSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Service.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ServiceMesh.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2ServiceScaling.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SourceCode.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SourceFile.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StartInstanceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StopInstanceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2StorageSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SubmitBuildRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2SubmitBuildResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TCPSocketAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Task.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TaskAttemptResult.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TaskTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TrafficTarget.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2TrafficTargetStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VersionToPath.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2Volume.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VolumeMount.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2VpcAccess.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPool.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPoolRevisionTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudRunV2WorkerPoolScaling.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ApprovalConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ApprovalResult.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ArtifactObjects.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Artifacts.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Build.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildApproval.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildOptions.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildStep.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuiltImage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1ConnectedRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Dependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1FailureInfo.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1FileHashes.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GCSLocation.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GenericArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GenericArtifactDependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSourceDependency.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GitSourceRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1GoModule.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Hash.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1HttpConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1InlineSecret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1MavenArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1NpmPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Oci.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1PoolOption.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1PythonPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1RepoSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Results.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Secret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1SecretManagerSecret.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Secrets.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Source.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1SourceProvenance.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1StorageSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1StorageSourceManifest.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1TimeSpan.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedGenericArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedGoModule.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedMavenArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedNpmPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1UploadedPythonPackage.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Volume.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1Warning.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditLogConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1Binding.php
▶ Open 📄 View Source
🐘 GoogleIamV1Policy.php
▶ Open 📄 View Source
🐘 GoogleIamV1SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GoogleIamV1TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 GoogleIamV1TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningCancelOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleLongrunningWaitOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 GoogleTypeExpr.php
▶ Open 📄 View Source
🐘 HTTPGetAction.php
▶ Open 📄 View Source
🐘 HTTPHeader.php
▶ Open 📄 View Source
🐘 KeyToPath.php
▶ Open 📄 View Source
🐘 ListAuthorizedDomainsResponse.php
▶ Open 📄 View Source
🐘 ListConfigurationsResponse.php
▶ Open 📄 View Source
🐘 ListDomainMappingsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMeta.php
▶ Open 📄 View Source
🐘 ListRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListRoutesResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 LocalObjectReference.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 ObjectMeta.php
▶ Open 📄 View Source
🐘 OwnerReference.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Probe.php
▶ Open 📄 View Source
🐘 Proto2BridgeMessageSet.php
▶ Open 📄 View Source
🐘 ResourceRecord.php
▶ Open 📄 View Source
🐘 ResourceRequirements.php
▶ Open 📄 View Source
🐘 Revision.php
▶ Open 📄 View Source
🐘 RevisionSpec.php
▶ Open 📄 View Source
🐘 RevisionStatus.php
▶ Open 📄 View Source
🐘 RevisionTemplate.php
▶ Open 📄 View Source
🐘 Route.php
▶ Open 📄 View Source
🐘 RouteSpec.php
▶ Open 📄 View Source
🐘 RouteStatus.php
▶ Open 📄 View Source
🐘 RunEmpty.php
▶ Open 📄 View Source
🐘 SecretEnvSource.php
▶ Open 📄 View Source
🐘 SecretKeySelector.php
▶ Open 📄 View Source
🐘 SecretVolumeSource.php
▶ Open 📄 View Source
🐘 SecurityContext.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 ServiceSpec.php
▶ Open 📄 View Source
🐘 ServiceStatus.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusCause.php
▶ Open 📄 View Source
🐘 StatusDetails.php
▶ Open 📄 View Source
🐘 TCPSocketAction.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TrafficTarget.php
▶ Open 📄 View Source
🐘 UtilStatusProto.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 VolumeMount.php
▶ Open 📄 View Source

📄 Source: GoogleDevtoolsCloudbuildV1BuildStep.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\CloudRun;

class GoogleDevtoolsCloudbuildV1BuildStep 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 = GoogleDevtoolsCloudbuildV1TimeSpan::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 = GoogleDevtoolsCloudbuildV1TimeSpan::class;
  protected $timingDataType = '';
  protected $volumesType = GoogleDevtoolsCloudbuildV1Volume::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 GoogleDevtoolsCloudbuildV1TimeSpan $pullTiming
   */
  public function setPullTiming(GoogleDevtoolsCloudbuildV1TimeSpan $pullTiming)
  {
    $this->pullTiming = $pullTiming;
  }
  /**
   * @return GoogleDevtoolsCloudbuildV1TimeSpan
   */
  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 GoogleDevtoolsCloudbuildV1TimeSpan $timing
   */
  public function setTiming(GoogleDevtoolsCloudbuildV1TimeSpan $timing)
  {
    $this->timing = $timing;
  }
  /**
   * @return GoogleDevtoolsCloudbuildV1TimeSpan
   */
  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 GoogleDevtoolsCloudbuildV1Volume[] $volumes
   */
  public function setVolumes($volumes)
  {
    $this->volumes = $volumes;
  }
  /**
   * @return GoogleDevtoolsCloudbuildV1Volume[]
   */
  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(GoogleDevtoolsCloudbuildV1BuildStep::class, 'Google_Service_CloudRun_GoogleDevtoolsCloudbuildV1BuildStep');
← Back