πŸ“‚ 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: TaskSpec.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 TaskSpec extends \Google\Collection
{
  protected $collection_key = 'workspaces';
  /**
   * Description of the task.
   *
   * @var string
   */
  public $description;
  /**
   * Sidecars that run alongside the Task’s step containers that should be added
   * to this Task.
   *
   * @var string[]
   */
  public $managedSidecars;
  protected $paramsType = ParamSpec::class;
  protected $paramsDataType = 'array';
  protected $resultsType = TaskResult::class;
  protected $resultsDataType = 'array';
  protected $sidecarsType = Sidecar::class;
  protected $sidecarsDataType = 'array';
  protected $stepTemplateType = StepTemplate::class;
  protected $stepTemplateDataType = '';
  protected $stepsType = Step::class;
  protected $stepsDataType = 'array';
  protected $volumesType = VolumeSource::class;
  protected $volumesDataType = 'array';
  protected $workspacesType = WorkspaceDeclaration::class;
  protected $workspacesDataType = 'array';

  /**
   * Description of the task.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Sidecars that run alongside the Task’s step containers that should be added
   * to this Task.
   *
   * @param string[] $managedSidecars
   */
  public function setManagedSidecars($managedSidecars)
  {
    $this->managedSidecars = $managedSidecars;
  }
  /**
   * @return string[]
   */
  public function getManagedSidecars()
  {
    return $this->managedSidecars;
  }
  /**
   * List of parameters.
   *
   * @param ParamSpec[] $params
   */
  public function setParams($params)
  {
    $this->params = $params;
  }
  /**
   * @return ParamSpec[]
   */
  public function getParams()
  {
    return $this->params;
  }
  /**
   * Values that this Task can output.
   *
   * @param TaskResult[] $results
   */
  public function setResults($results)
  {
    $this->results = $results;
  }
  /**
   * @return TaskResult[]
   */
  public function getResults()
  {
    return $this->results;
  }
  /**
   * Sidecars that run alongside the Task's step containers.
   *
   * @param Sidecar[] $sidecars
   */
  public function setSidecars($sidecars)
  {
    $this->sidecars = $sidecars;
  }
  /**
   * @return Sidecar[]
   */
  public function getSidecars()
  {
    return $this->sidecars;
  }
  /**
   * Optional. StepTemplate can be used as the basis for all step containers
   * within the Task, so that the steps inherit settings on the base container.
   *
   * @param StepTemplate $stepTemplate
   */
  public function setStepTemplate(StepTemplate $stepTemplate)
  {
    $this->stepTemplate = $stepTemplate;
  }
  /**
   * @return StepTemplate
   */
  public function getStepTemplate()
  {
    return $this->stepTemplate;
  }
  /**
   * Steps of the task.
   *
   * @param Step[] $steps
   */
  public function setSteps($steps)
  {
    $this->steps = $steps;
  }
  /**
   * @return Step[]
   */
  public function getSteps()
  {
    return $this->steps;
  }
  /**
   * A collection of volumes that are available to mount into steps.
   *
   * @param VolumeSource[] $volumes
   */
  public function setVolumes($volumes)
  {
    $this->volumes = $volumes;
  }
  /**
   * @return VolumeSource[]
   */
  public function getVolumes()
  {
    return $this->volumes;
  }
  /**
   * The volumes that this Task requires.
   *
   * @param WorkspaceDeclaration[] $workspaces
   */
  public function setWorkspaces($workspaces)
  {
    $this->workspaces = $workspaces;
  }
  /**
   * @return WorkspaceDeclaration[]
   */
  public function getWorkspaces()
  {
    return $this->workspaces;
  }
}

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