📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddBitbucketServerConnectedRepositoryRequest.php
▶ Open 📄 View Source
🐘 AddBitbucketServerConnectedRepositoryResponse.php
▶ Open 📄 View Source
🐘 ApprovalConfig.php
▶ Open 📄 View Source
🐘 ApprovalResult.php
▶ Open 📄 View Source
🐘 ApproveBuildRequest.php
▶ Open 📄 View Source
🐘 ArtifactObjects.php
▶ Open 📄 View Source
🐘 ArtifactResult.php
▶ Open 📄 View Source
🐘 Artifacts.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 BatchCreateBitbucketServerConnectedRepositoriesRequest.php
▶ Open 📄 View Source
🐘 BatchCreateBitbucketServerConnectedRepositoriesResponse.php
▶ Open 📄 View Source
🐘 BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata.php
▶ Open 📄 View Source
🐘 BatchCreateGitLabConnectedRepositoriesRequest.php
▶ Open 📄 View Source
🐘 BatchCreateGitLabConnectedRepositoriesResponse.php
▶ Open 📄 View Source
🐘 BatchCreateGitLabConnectedRepositoriesResponseMetadata.php
▶ Open 📄 View Source
🐘 BatchCreateRepositoriesRequest.php
▶ Open 📄 View Source
🐘 BatchCreateRepositoriesResponse.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BitbucketCloudConfig.php
▶ Open 📄 View Source
🐘 BitbucketDataCenterConfig.php
▶ Open 📄 View Source
🐘 BitbucketServerConfig.php
▶ Open 📄 View Source
🐘 BitbucketServerConnectedRepository.php
▶ Open 📄 View Source
🐘 BitbucketServerRepository.php
▶ Open 📄 View Source
🐘 BitbucketServerRepositoryId.php
▶ Open 📄 View Source
🐘 BitbucketServerSecrets.php
▶ Open 📄 View Source
🐘 BitbucketServerTriggerConfig.php
▶ Open 📄 View Source
🐘 Build.php
▶ Open 📄 View Source
🐘 BuildApproval.php
▶ Open 📄 View Source
🐘 BuildOperationMetadata.php
▶ Open 📄 View Source
🐘 BuildOptions.php
▶ Open 📄 View Source
🐘 BuildStep.php
▶ Open 📄 View Source
🐘 BuildTrigger.php
▶ Open 📄 View Source
🐘 BuiltImage.php
▶ Open 📄 View Source
🐘 CancelBuildRequest.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Capabilities.php
▶ Open 📄 View Source
🐘 ChildStatusReference.php
▶ Open 📄 View Source
🐘 CloudbuildEmpty.php
▶ Open 📄 View Source
🐘 ConnectedRepository.php
▶ Open 📄 View Source
🐘 Connection.php
▶ Open 📄 View Source
🐘 CreateBitbucketServerConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateBitbucketServerConnectedRepositoryRequest.php
▶ Open 📄 View Source
🐘 CreateGitHubEnterpriseConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateGitLabConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateGitLabConnectedRepositoryRequest.php
▶ Open 📄 View Source
🐘 CreateRepositoryRequest.php
▶ Open 📄 View Source
🐘 CreateWorkerPoolOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteBitbucketServerConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteGitHubEnterpriseConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteGitLabConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteWorkerPoolOperationMetadata.php
▶ Open 📄 View Source
🐘 EmbeddedTask.php
▶ Open 📄 View Source
🐘 EmptyDirVolumeSource.php
▶ Open 📄 View Source
🐘 EnvVar.php
▶ Open 📄 View Source
🐘 ExecAction.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FailureInfo.php
▶ Open 📄 View Source
🐘 FetchGitRefsResponse.php
▶ Open 📄 View Source
🐘 FetchLinkableRepositoriesResponse.php
▶ Open 📄 View Source
🐘 FetchReadTokenRequest.php
▶ Open 📄 View Source
🐘 FetchReadTokenResponse.php
▶ Open 📄 View Source
🐘 FetchReadWriteTokenRequest.php
▶ Open 📄 View Source
🐘 FetchReadWriteTokenResponse.php
▶ Open 📄 View Source
🐘 FileHashes.php
▶ Open 📄 View Source
🐘 GitFileSource.php
▶ Open 📄 View Source
🐘 GitHubConfig.php
▶ Open 📄 View Source
🐘 GitHubEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GitHubEnterpriseSecrets.php
▶ Open 📄 View Source
🐘 GitHubEventsConfig.php
▶ Open 📄 View Source
🐘 GitLabConfig.php
▶ Open 📄 View Source
🐘 GitLabConnectedRepository.php
▶ Open 📄 View Source
🐘 GitLabEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GitLabEventsConfig.php
▶ Open 📄 View Source
🐘 GitLabRepository.php
▶ Open 📄 View Source
🐘 GitLabRepositoryId.php
▶ Open 📄 View Source
🐘 GitLabSecrets.php
▶ Open 📄 View Source
🐘 GitRepoSource.php
▶ Open 📄 View Source
🐘 GitSource.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV2Condition.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV2GitLabConfig.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV2OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.php
▶ Open 📄 View Source
🐘 HTTPDelivery.php
▶ Open 📄 View Source
🐘 Hash.php
▶ Open 📄 View Source
🐘 HttpBody.php
▶ Open 📄 View Source
🐘 HybridPoolConfig.php
▶ Open 📄 View Source
🐘 HybridWorkerConfig.php
▶ Open 📄 View Source
🐘 InlineSecret.php
▶ Open 📄 View Source
🐘 InstallationState.php
▶ Open 📄 View Source
🐘 ListBitbucketServerConfigsResponse.php
▶ Open 📄 View Source
🐘 ListBitbucketServerRepositoriesResponse.php
▶ Open 📄 View Source
🐘 ListBuildTriggersResponse.php
▶ Open 📄 View Source
🐘 ListBuildsResponse.php
▶ Open 📄 View Source
🐘 ListConnectionsResponse.php
▶ Open 📄 View Source
🐘 ListGitLabConfigsResponse.php
▶ Open 📄 View Source
🐘 ListGitLabRepositoriesResponse.php
▶ Open 📄 View Source
🐘 ListGithubEnterpriseConfigsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListRepositoriesResponse.php
▶ Open 📄 View Source
🐘 ListWorkerPoolsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MavenArtifact.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 NotifierConfig.php
▶ Open 📄 View Source
🐘 NotifierMetadata.php
▶ Open 📄 View Source
🐘 NotifierSecret.php
▶ Open 📄 View Source
🐘 NotifierSecretRef.php
▶ Open 📄 View Source
🐘 NotifierSpec.php
▶ Open 📄 View Source
🐘 NpmPackage.php
▶ Open 📄 View Source
🐘 OAuthCredential.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Param.php
▶ Open 📄 View Source
🐘 ParamSpec.php
▶ Open 📄 View Source
🐘 ParamValue.php
▶ Open 📄 View Source
🐘 PipelineRef.php
▶ Open 📄 View Source
🐘 PipelineResult.php
▶ Open 📄 View Source
🐘 PipelineRun.php
▶ Open 📄 View Source
🐘 PipelineRunResult.php
▶ Open 📄 View Source
🐘 PipelineSpec.php
▶ Open 📄 View Source
🐘 PipelineTask.php
▶ Open 📄 View Source
🐘 PipelineWorkspaceDeclaration.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PoolOption.php
▶ Open 📄 View Source
🐘 PrivatePoolV1Config.php
▶ Open 📄 View Source
🐘 Probe.php
▶ Open 📄 View Source
🐘 ProcessAppManifestCallbackOperationMetadata.php
▶ Open 📄 View Source
🐘 PropertySpec.php
▶ Open 📄 View Source
🐘 Provenance.php
▶ Open 📄 View Source
🐘 PubsubConfig.php
▶ Open 📄 View Source
🐘 PullRequestFilter.php
▶ Open 📄 View Source
🐘 PushFilter.php
▶ Open 📄 View Source
🐘 PythonPackage.php
▶ Open 📄 View Source
🐘 ReceiveTriggerWebhookResponse.php
▶ Open 📄 View Source
🐘 RemoveBitbucketServerConnectedRepositoryRequest.php
▶ Open 📄 View Source
🐘 RemoveGitLabConnectedRepositoryRequest.php
▶ Open 📄 View Source
🐘 RepoSource.php
▶ Open 📄 View Source
🐘 Repository.php
▶ Open 📄 View Source
🐘 RepositoryEventConfig.php
▶ Open 📄 View Source
🐘 ResultValue.php
▶ Open 📄 View Source
🐘 Results.php
▶ Open 📄 View Source
🐘 RetryBuildRequest.php
▶ Open 📄 View Source
🐘 RunBuildTriggerRequest.php
▶ Open 📄 View Source
🐘 RunWorkflowCustomOperationMetadata.php
▶ Open 📄 View Source
🐘 SMTPDelivery.php
▶ Open 📄 View Source
🐘 Secret.php
▶ Open 📄 View Source
🐘 SecretManagerSecret.php
▶ Open 📄 View Source
🐘 SecretVolumeSource.php
▶ Open 📄 View Source
🐘 Secrets.php
▶ Open 📄 View Source
🐘 Security.php
▶ Open 📄 View Source
🐘 SecurityContext.php
▶ Open 📄 View Source
🐘 ServiceDirectoryConfig.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Sidecar.php
▶ Open 📄 View Source
🐘 SkippedTask.php
▶ Open 📄 View Source
🐘 SlackDelivery.php
▶ Open 📄 View Source
🐘 Source.php
▶ Open 📄 View Source
🐘 SourceProvenance.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 StepRef.php
▶ Open 📄 View Source
🐘 StepTemplate.php
▶ Open 📄 View Source
🐘 StorageSource.php
▶ Open 📄 View Source
🐘 StorageSourceManifest.php
▶ Open 📄 View Source
🐘 TaskRef.php
▶ Open 📄 View Source
🐘 TaskResult.php
▶ Open 📄 View Source
🐘 TaskSpec.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeSpan.php
▶ Open 📄 View Source
🐘 TimeoutFields.php
▶ Open 📄 View Source
🐘 UpdateBitbucketServerConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateGitHubEnterpriseConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateGitLabConfigOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateWorkerPoolOperationMetadata.php
▶ Open 📄 View Source
🐘 UploadedMavenArtifact.php
▶ Open 📄 View Source
🐘 UploadedNpmPackage.php
▶ Open 📄 View Source
🐘 UploadedPythonPackage.php
▶ Open 📄 View Source
🐘 UserCredential.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 VolumeClaim.php
▶ Open 📄 View Source
🐘 VolumeMount.php
▶ Open 📄 View Source
🐘 VolumeSource.php
▶ Open 📄 View Source
🐘 Warning.php
▶ Open 📄 View Source
🐘 WebhookConfig.php
▶ Open 📄 View Source
🐘 WhenExpression.php
▶ Open 📄 View Source
🐘 Worker.php
▶ Open 📄 View Source
🐘 WorkerConfig.php
▶ Open 📄 View Source
🐘 WorkerPool.php
▶ Open 📄 View Source
🐘 WorkspaceBinding.php
▶ Open 📄 View Source
🐘 WorkspaceDeclaration.php
▶ Open 📄 View Source
🐘 WorkspacePipelineTaskBinding.php
▶ Open 📄 View Source

📄 Source: PipelineRun.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\CloudBuild;

class PipelineRun extends \Google\Collection
{
  /**
   * Default enum type; should not be used.
   */
  public const PIPELINE_RUN_STATUS_PIPELINE_RUN_STATUS_UNSPECIFIED = 'PIPELINE_RUN_STATUS_UNSPECIFIED';
  /**
   * Cancelled status.
   */
  public const PIPELINE_RUN_STATUS_PIPELINE_RUN_CANCELLED = 'PIPELINE_RUN_CANCELLED';
  protected $collection_key = 'workspaces';
  /**
   * User annotations. See https://google.aip.dev/128#annotations
   *
   * @var string[]
   */
  public $annotations;
  protected $childReferencesType = ChildStatusReference::class;
  protected $childReferencesDataType = 'array';
  /**
   * Output only. Time the pipeline completed.
   *
   * @var string
   */
  public $completionTime;
  protected $conditionsType = GoogleDevtoolsCloudbuildV2Condition::class;
  protected $conditionsDataType = 'array';
  /**
   * Output only. Time at which the request to create the `PipelineRun` was
   * received.
   *
   * @var string
   */
  public $createTime;
  /**
   * Needed for declarative-friendly resources.
   *
   * @var string
   */
  public $etag;
  /**
   * Output only. FinallyStartTime is when all non-finally tasks have been
   * completed and only finally tasks are being executed. +optional
   *
   * @var string
   */
  public $finallyStartTime;
  /**
   * Output only. GCB default params.
   *
   * @var string[]
   */
  public $gcbParams;
  /**
   * Output only. The `PipelineRun` name with format
   * `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`
   *
   * @var string
   */
  public $name;
  protected $paramsType = Param::class;
  protected $paramsDataType = 'array';
  protected $pipelineRefType = PipelineRef::class;
  protected $pipelineRefDataType = '';
  /**
   * Pipelinerun status the user can provide. Used for cancellation.
   *
   * @var string
   */
  public $pipelineRunStatus;
  protected $pipelineSpecType = PipelineSpec::class;
  protected $pipelineSpecDataType = '';
  /**
   * Output only. Inline pipelineSpec yaml string, used by workflow run
   * requests.
   *
   * @var string
   */
  public $pipelineSpecYaml;
  protected $provenanceType = Provenance::class;
  protected $provenanceDataType = '';
  /**
   * Output only. The `Record` of this `PipelineRun`. Format: `projects/{project
   * }/locations/{location}/results/{result_id}/records/{record_id}`
   *
   * @var string
   */
  public $record;
  protected $resolvedPipelineSpecType = PipelineSpec::class;
  protected $resolvedPipelineSpecDataType = '';
  protected $resultsType = PipelineRunResult::class;
  protected $resultsDataType = 'array';
  protected $securityType = Security::class;
  protected $securityDataType = '';
  /**
   * Service account used in the Pipeline. Deprecated; please use
   * security.service_account instead.
   *
   * @deprecated
   * @var string
   */
  public $serviceAccount;
  protected $skippedTasksType = SkippedTask::class;
  protected $skippedTasksDataType = 'array';
  /**
   * Output only. Time the pipeline is actually started.
   *
   * @var string
   */
  public $startTime;
  protected $timeoutsType = TimeoutFields::class;
  protected $timeoutsDataType = '';
  /**
   * Output only. A unique identifier for the `PipelineRun`.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. Time at which the request to update the `PipelineRun` was
   * received.
   *
   * @var string
   */
  public $updateTime;
  protected $workerType = Worker::class;
  protected $workerDataType = '';
  /**
   * Output only. The WorkerPool used to run this PipelineRun.
   *
   * @var string
   */
  public $workerPool;
  /**
   * Output only. The Workflow used to create this PipelineRun.
   *
   * @var string
   */
  public $workflow;
  protected $workspacesType = WorkspaceBinding::class;
  protected $workspacesDataType = 'array';

  /**
   * User annotations. See https://google.aip.dev/128#annotations
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Output only. List of TaskRun and Run names and PipelineTask names for
   * children of this PipelineRun.
   *
   * @param ChildStatusReference[] $childReferences
   */
  public function setChildReferences($childReferences)
  {
    $this->childReferences = $childReferences;
  }
  /**
   * @return ChildStatusReference[]
   */
  public function getChildReferences()
  {
    return $this->childReferences;
  }
  /**
   * Output only. Time the pipeline completed.
   *
   * @param string $completionTime
   */
  public function setCompletionTime($completionTime)
  {
    $this->completionTime = $completionTime;
  }
  /**
   * @return string
   */
  public function getCompletionTime()
  {
    return $this->completionTime;
  }
  /**
   * Output only. Kubernetes Conditions convention for PipelineRun status and
   * error.
   *
   * @param GoogleDevtoolsCloudbuildV2Condition[] $conditions
   */
  public function setConditions($conditions)
  {
    $this->conditions = $conditions;
  }
  /**
   * @return GoogleDevtoolsCloudbuildV2Condition[]
   */
  public function getConditions()
  {
    return $this->conditions;
  }
  /**
   * Output only. Time at which the request to create the `PipelineRun` was
   * received.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Needed for declarative-friendly resources.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. FinallyStartTime is when all non-finally tasks have been
   * completed and only finally tasks are being executed. +optional
   *
   * @param string $finallyStartTime
   */
  public function setFinallyStartTime($finallyStartTime)
  {
    $this->finallyStartTime = $finallyStartTime;
  }
  /**
   * @return string
   */
  public function getFinallyStartTime()
  {
    return $this->finallyStartTime;
  }
  /**
   * Output only. GCB default params.
   *
   * @param string[] $gcbParams
   */
  public function setGcbParams($gcbParams)
  {
    $this->gcbParams = $gcbParams;
  }
  /**
   * @return string[]
   */
  public function getGcbParams()
  {
    return $this->gcbParams;
  }
  /**
   * Output only. The `PipelineRun` name with format
   * `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Params is a list of parameter names and values.
   *
   * @param Param[] $params
   */
  public function setParams($params)
  {
    $this->params = $params;
  }
  /**
   * @return Param[]
   */
  public function getParams()
  {
    return $this->params;
  }
  /**
   * PipelineRef refer to a specific instance of a Pipeline.
   *
   * @param PipelineRef $pipelineRef
   */
  public function setPipelineRef(PipelineRef $pipelineRef)
  {
    $this->pipelineRef = $pipelineRef;
  }
  /**
   * @return PipelineRef
   */
  public function getPipelineRef()
  {
    return $this->pipelineRef;
  }
  /**
   * Pipelinerun status the user can provide. Used for cancellation.
   *
   * Accepted values: PIPELINE_RUN_STATUS_UNSPECIFIED, PIPELINE_RUN_CANCELLED
   *
   * @param self::PIPELINE_RUN_STATUS_* $pipelineRunStatus
   */
  public function setPipelineRunStatus($pipelineRunStatus)
  {
    $this->pipelineRunStatus = $pipelineRunStatus;
  }
  /**
   * @return self::PIPELINE_RUN_STATUS_*
   */
  public function getPipelineRunStatus()
  {
    return $this->pipelineRunStatus;
  }
  /**
   * PipelineSpec defines the desired state of Pipeline.
   *
   * @param PipelineSpec $pipelineSpec
   */
  public function setPipelineSpec(PipelineSpec $pipelineSpec)
  {
    $this->pipelineSpec = $pipelineSpec;
  }
  /**
   * @return PipelineSpec
   */
  public function getPipelineSpec()
  {
    return $this->pipelineSpec;
  }
  /**
   * Output only. Inline pipelineSpec yaml string, used by workflow run
   * requests.
   *
   * @param string $pipelineSpecYaml
   */
  public function setPipelineSpecYaml($pipelineSpecYaml)
  {
    $this->pipelineSpecYaml = $pipelineSpecYaml;
  }
  /**
   * @return string
   */
  public function getPipelineSpecYaml()
  {
    return $this->pipelineSpecYaml;
  }
  /**
   * Optional. Provenance configuration.
   *
   * @param Provenance $provenance
   */
  public function setProvenance(Provenance $provenance)
  {
    $this->provenance = $provenance;
  }
  /**
   * @return Provenance
   */
  public function getProvenance()
  {
    return $this->provenance;
  }
  /**
   * Output only. The `Record` of this `PipelineRun`. Format: `projects/{project
   * }/locations/{location}/results/{result_id}/records/{record_id}`
   *
   * @param string $record
   */
  public function setRecord($record)
  {
    $this->record = $record;
  }
  /**
   * @return string
   */
  public function getRecord()
  {
    return $this->record;
  }
  /**
   * Output only. The exact PipelineSpec used to instantiate the run.
   *
   * @param PipelineSpec $resolvedPipelineSpec
   */
  public function setResolvedPipelineSpec(PipelineSpec $resolvedPipelineSpec)
  {
    $this->resolvedPipelineSpec = $resolvedPipelineSpec;
  }
  /**
   * @return PipelineSpec
   */
  public function getResolvedPipelineSpec()
  {
    return $this->resolvedPipelineSpec;
  }
  /**
   * Optional. Output only. List of results written out by the pipeline's
   * containers
   *
   * @param PipelineRunResult[] $results
   */
  public function setResults($results)
  {
    $this->results = $results;
  }
  /**
   * @return PipelineRunResult[]
   */
  public function getResults()
  {
    return $this->results;
  }
  /**
   * Optional. Security configuration.
   *
   * @param Security $security
   */
  public function setSecurity(Security $security)
  {
    $this->security = $security;
  }
  /**
   * @return Security
   */
  public function getSecurity()
  {
    return $this->security;
  }
  /**
   * Service account used in the Pipeline. Deprecated; please use
   * security.service_account instead.
   *
   * @deprecated
   * @param string $serviceAccount
   */
  public function setServiceAccount($serviceAccount)
  {
    $this->serviceAccount = $serviceAccount;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getServiceAccount()
  {
    return $this->serviceAccount;
  }
  /**
   * Output only. List of tasks that were skipped due to when expressions
   * evaluating to false.
   *
   * @param SkippedTask[] $skippedTasks
   */
  public function setSkippedTasks($skippedTasks)
  {
    $this->skippedTasks = $skippedTasks;
  }
  /**
   * @return SkippedTask[]
   */
  public function getSkippedTasks()
  {
    return $this->skippedTasks;
  }
  /**
   * Output only. Time the pipeline is actually started.
   *
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
  /**
   * Time after which the Pipeline times out. Currently three keys are accepted
   * in the map pipeline, tasks and finally with Timeouts.pipeline >=
   * Timeouts.tasks + Timeouts.finally
   *
   * @param TimeoutFields $timeouts
   */
  public function setTimeouts(TimeoutFields $timeouts)
  {
    $this->timeouts = $timeouts;
  }
  /**
   * @return TimeoutFields
   */
  public function getTimeouts()
  {
    return $this->timeouts;
  }
  /**
   * Output only. A unique identifier for the `PipelineRun`.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. Time at which the request to update the `PipelineRun` was
   * received.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
  /**
   * Optional. Worker configuration.
   *
   * @param Worker $worker
   */
  public function setWorker(Worker $worker)
  {
    $this->worker = $worker;
  }
  /**
   * @return Worker
   */
  public function getWorker()
  {
    return $this->worker;
  }
  /**
   * Output only. The WorkerPool used to run this PipelineRun.
   *
   * @param string $workerPool
   */
  public function setWorkerPool($workerPool)
  {
    $this->workerPool = $workerPool;
  }
  /**
   * @return string
   */
  public function getWorkerPool()
  {
    return $this->workerPool;
  }
  /**
   * Output only. The Workflow used to create this PipelineRun.
   *
   * @param string $workflow
   */
  public function setWorkflow($workflow)
  {
    $this->workflow = $workflow;
  }
  /**
   * @return string
   */
  public function getWorkflow()
  {
    return $this->workflow;
  }
  /**
   * Workspaces is a list of WorkspaceBindings from volumes to workspaces.
   *
   * @param WorkspaceBinding[] $workspaces
   */
  public function setWorkspaces($workspaces)
  {
    $this->workspaces = $workspaces;
  }
  /**
   * @return WorkspaceBinding[]
   */
  public function getWorkspaces()
  {
    return $this->workspaces;
  }
}

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