📂 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: GoogleCloudRunV2Task.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 GoogleCloudRunV2Task extends \Google\Collection
{
  /**
   * Unspecified
   */
  public const EXECUTION_ENVIRONMENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 'EXECUTION_ENVIRONMENT_UNSPECIFIED';
  /**
   * Uses the First Generation environment.
   */
  public const EXECUTION_ENVIRONMENT_EXECUTION_ENVIRONMENT_GEN1 = 'EXECUTION_ENVIRONMENT_GEN1';
  /**
   * Uses Second Generation environment.
   */
  public const EXECUTION_ENVIRONMENT_EXECUTION_ENVIRONMENT_GEN2 = 'EXECUTION_ENVIRONMENT_GEN2';
  protected $collection_key = 'volumes';
  /**
   * Output only. Unstructured key value map that may be set by external tools
   * to store and arbitrary metadata. They are not queryable and should be
   * preserved when modifying objects.
   *
   * @var string[]
   */
  public $annotations;
  /**
   * Output only. Represents time when the Task was completed. It is not
   * guaranteed to be set in happens-before order across separate operations.
   *
   * @var string
   */
  public $completionTime;
  protected $conditionsType = GoogleCloudRunV2Condition::class;
  protected $conditionsDataType = 'array';
  protected $containersType = GoogleCloudRunV2Container::class;
  protected $containersDataType = 'array';
  /**
   * Output only. Represents time when the task was created by the system. It is
   * not guaranteed to be set in happens-before order across separate
   * operations.
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. For a deleted resource, the deletion time. It is only
   * populated as a response to a Delete request.
   *
   * @var string
   */
  public $deleteTime;
  /**
   * Output only. A reference to a customer managed encryption key (CMEK) to use
   * to encrypt this container image. For more information, go to
   * https://cloud.google.com/run/docs/securing/using-cmek
   *
   * @var string
   */
  public $encryptionKey;
  /**
   * Output only. A system-generated fingerprint for this version of the
   * resource. May be used to detect modification conflict during updates.
   *
   * @var string
   */
  public $etag;
  /**
   * Output only. The name of the parent Execution.
   *
   * @var string
   */
  public $execution;
  /**
   * The execution environment being used to host this Task.
   *
   * @var string
   */
  public $executionEnvironment;
  /**
   * Output only. For a deleted resource, the time after which it will be
   * permamently deleted. It is only populated as a response to a Delete
   * request.
   *
   * @var string
   */
  public $expireTime;
  /**
   * Output only. A number that monotonically increases every time the user
   * modifies the desired state.
   *
   * @var string
   */
  public $generation;
  /**
   * Optional. Output only. True if GPU zonal redundancy is disabled on this
   * task.
   *
   * @var bool
   */
  public $gpuZonalRedundancyDisabled;
  /**
   * Output only. Index of the Task, unique per execution, and beginning at 0.
   *
   * @var int
   */
  public $index;
  /**
   * Output only. The name of the parent Job.
   *
   * @var string
   */
  public $job;
  /**
   * Output only. Unstructured key value map that can be used to organize and
   * categorize objects. User-provided labels are shared with Google's billing
   * system, so they can be used to filter, or break down billing charges by
   * team, component, environment, state, etc. For more information, visit
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
   * https://cloud.google.com/run/docs/configuring/labels
   *
   * @var string[]
   */
  public $labels;
  protected $lastAttemptResultType = GoogleCloudRunV2TaskAttemptResult::class;
  protected $lastAttemptResultDataType = '';
  /**
   * Output only. URI where logs for this execution can be found in Cloud
   * Console.
   *
   * @var string
   */
  public $logUri;
  /**
   * Number of retries allowed per Task, before marking this Task failed.
   *
   * @var int
   */
  public $maxRetries;
  /**
   * Output only. The unique name of this Task.
   *
   * @var string
   */
  public $name;
  protected $nodeSelectorType = GoogleCloudRunV2NodeSelector::class;
  protected $nodeSelectorDataType = '';
  /**
   * Output only. The generation of this Task. See comments in `Job.reconciling`
   * for additional information on reconciliation process in Cloud Run.
   *
   * @var string
   */
  public $observedGeneration;
  /**
   * Output only. Indicates whether the resource's reconciliation is still in
   * progress. See comments in `Job.reconciling` for additional information on
   * reconciliation process in Cloud Run.
   *
   * @var bool
   */
  public $reconciling;
  /**
   * Output only. The number of times this Task was retried. Tasks are retried
   * when they fail up to the maxRetries limit.
   *
   * @var int
   */
  public $retried;
  /**
   * Output only. Reserved for future use.
   *
   * @var bool
   */
  public $satisfiesPzs;
  /**
   * Output only. Represents time when the task was scheduled to run by the
   * system. It is not guaranteed to be set in happens-before order across
   * separate operations.
   *
   * @var string
   */
  public $scheduledTime;
  /**
   * Email address of the IAM service account associated with the Task of a Job.
   * The service account represents the identity of the running task, and
   * determines what permissions the task has. If not provided, the task will
   * use the project's default service account.
   *
   * @var string
   */
  public $serviceAccount;
  /**
   * Output only. Represents time when the task started to run. It is not
   * guaranteed to be set in happens-before order across separate operations.
   *
   * @var string
   */
  public $startTime;
  /**
   * Max allowed time duration the Task may be active before the system will
   * actively try to mark it failed and kill associated containers. This applies
   * per attempt of a task, meaning each retry can run for the full timeout.
   *
   * @var string
   */
  public $timeout;
  /**
   * Output only. Server assigned unique identifier for the Task. The value is a
   * UUID4 string and guaranteed to remain unchanged until the resource is
   * deleted.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. The last-modified time.
   *
   * @var string
   */
  public $updateTime;
  protected $volumesType = GoogleCloudRunV2Volume::class;
  protected $volumesDataType = 'array';
  protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
  protected $vpcAccessDataType = '';

  /**
   * Output only. Unstructured key value map that may be set by external tools
   * to store and arbitrary metadata. They are not queryable and should be
   * preserved when modifying objects.
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Output only. Represents time when the Task was completed. It is not
   * guaranteed to be set in happens-before order across separate operations.
   *
   * @param string $completionTime
   */
  public function setCompletionTime($completionTime)
  {
    $this->completionTime = $completionTime;
  }
  /**
   * @return string
   */
  public function getCompletionTime()
  {
    return $this->completionTime;
  }
  /**
   * Output only. The Condition of this Task, containing its readiness status,
   * and detailed error information in case it did not reach the desired state.
   *
   * @param GoogleCloudRunV2Condition[] $conditions
   */
  public function setConditions($conditions)
  {
    $this->conditions = $conditions;
  }
  /**
   * @return GoogleCloudRunV2Condition[]
   */
  public function getConditions()
  {
    return $this->conditions;
  }
  /**
   * Holds the single container that defines the unit of execution for this
   * task.
   *
   * @param GoogleCloudRunV2Container[] $containers
   */
  public function setContainers($containers)
  {
    $this->containers = $containers;
  }
  /**
   * @return GoogleCloudRunV2Container[]
   */
  public function getContainers()
  {
    return $this->containers;
  }
  /**
   * Output only. Represents time when the task was created by the system. It is
   * not guaranteed to be set in happens-before order across separate
   * operations.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. For a deleted resource, the deletion time. It is only
   * populated as a response to a Delete request.
   *
   * @param string $deleteTime
   */
  public function setDeleteTime($deleteTime)
  {
    $this->deleteTime = $deleteTime;
  }
  /**
   * @return string
   */
  public function getDeleteTime()
  {
    return $this->deleteTime;
  }
  /**
   * Output only. A reference to a customer managed encryption key (CMEK) to use
   * to encrypt this container image. For more information, go to
   * https://cloud.google.com/run/docs/securing/using-cmek
   *
   * @param string $encryptionKey
   */
  public function setEncryptionKey($encryptionKey)
  {
    $this->encryptionKey = $encryptionKey;
  }
  /**
   * @return string
   */
  public function getEncryptionKey()
  {
    return $this->encryptionKey;
  }
  /**
   * Output only. A system-generated fingerprint for this version of the
   * resource. May be used to detect modification conflict during updates.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. The name of the parent Execution.
   *
   * @param string $execution
   */
  public function setExecution($execution)
  {
    $this->execution = $execution;
  }
  /**
   * @return string
   */
  public function getExecution()
  {
    return $this->execution;
  }
  /**
   * The execution environment being used to host this Task.
   *
   * Accepted values: EXECUTION_ENVIRONMENT_UNSPECIFIED,
   * EXECUTION_ENVIRONMENT_GEN1, EXECUTION_ENVIRONMENT_GEN2
   *
   * @param self::EXECUTION_ENVIRONMENT_* $executionEnvironment
   */
  public function setExecutionEnvironment($executionEnvironment)
  {
    $this->executionEnvironment = $executionEnvironment;
  }
  /**
   * @return self::EXECUTION_ENVIRONMENT_*
   */
  public function getExecutionEnvironment()
  {
    return $this->executionEnvironment;
  }
  /**
   * Output only. For a deleted resource, the time after which it will be
   * permamently deleted. It is only populated as a response to a Delete
   * request.
   *
   * @param string $expireTime
   */
  public function setExpireTime($expireTime)
  {
    $this->expireTime = $expireTime;
  }
  /**
   * @return string
   */
  public function getExpireTime()
  {
    return $this->expireTime;
  }
  /**
   * Output only. A number that monotonically increases every time the user
   * modifies the desired state.
   *
   * @param string $generation
   */
  public function setGeneration($generation)
  {
    $this->generation = $generation;
  }
  /**
   * @return string
   */
  public function getGeneration()
  {
    return $this->generation;
  }
  /**
   * Optional. Output only. True if GPU zonal redundancy is disabled on this
   * task.
   *
   * @param bool $gpuZonalRedundancyDisabled
   */
  public function setGpuZonalRedundancyDisabled($gpuZonalRedundancyDisabled)
  {
    $this->gpuZonalRedundancyDisabled = $gpuZonalRedundancyDisabled;
  }
  /**
   * @return bool
   */
  public function getGpuZonalRedundancyDisabled()
  {
    return $this->gpuZonalRedundancyDisabled;
  }
  /**
   * Output only. Index of the Task, unique per execution, and beginning at 0.
   *
   * @param int $index
   */
  public function setIndex($index)
  {
    $this->index = $index;
  }
  /**
   * @return int
   */
  public function getIndex()
  {
    return $this->index;
  }
  /**
   * Output only. The name of the parent Job.
   *
   * @param string $job
   */
  public function setJob($job)
  {
    $this->job = $job;
  }
  /**
   * @return string
   */
  public function getJob()
  {
    return $this->job;
  }
  /**
   * Output only. Unstructured key value map that can be used to organize and
   * categorize objects. User-provided labels are shared with Google's billing
   * system, so they can be used to filter, or break down billing charges by
   * team, component, environment, state, etc. For more information, visit
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
   * https://cloud.google.com/run/docs/configuring/labels
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Output only. Result of the last attempt of this Task.
   *
   * @param GoogleCloudRunV2TaskAttemptResult $lastAttemptResult
   */
  public function setLastAttemptResult(GoogleCloudRunV2TaskAttemptResult $lastAttemptResult)
  {
    $this->lastAttemptResult = $lastAttemptResult;
  }
  /**
   * @return GoogleCloudRunV2TaskAttemptResult
   */
  public function getLastAttemptResult()
  {
    return $this->lastAttemptResult;
  }
  /**
   * Output only. URI where logs for this execution can be found in Cloud
   * Console.
   *
   * @param string $logUri
   */
  public function setLogUri($logUri)
  {
    $this->logUri = $logUri;
  }
  /**
   * @return string
   */
  public function getLogUri()
  {
    return $this->logUri;
  }
  /**
   * Number of retries allowed per Task, before marking this Task failed.
   *
   * @param int $maxRetries
   */
  public function setMaxRetries($maxRetries)
  {
    $this->maxRetries = $maxRetries;
  }
  /**
   * @return int
   */
  public function getMaxRetries()
  {
    return $this->maxRetries;
  }
  /**
   * Output only. The unique name of this Task.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The node selector for the task.
   *
   * @param GoogleCloudRunV2NodeSelector $nodeSelector
   */
  public function setNodeSelector(GoogleCloudRunV2NodeSelector $nodeSelector)
  {
    $this->nodeSelector = $nodeSelector;
  }
  /**
   * @return GoogleCloudRunV2NodeSelector
   */
  public function getNodeSelector()
  {
    return $this->nodeSelector;
  }
  /**
   * Output only. The generation of this Task. See comments in `Job.reconciling`
   * for additional information on reconciliation process in Cloud Run.
   *
   * @param string $observedGeneration
   */
  public function setObservedGeneration($observedGeneration)
  {
    $this->observedGeneration = $observedGeneration;
  }
  /**
   * @return string
   */
  public function getObservedGeneration()
  {
    return $this->observedGeneration;
  }
  /**
   * Output only. Indicates whether the resource's reconciliation is still in
   * progress. See comments in `Job.reconciling` for additional information on
   * reconciliation process in Cloud Run.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * Output only. The number of times this Task was retried. Tasks are retried
   * when they fail up to the maxRetries limit.
   *
   * @param int $retried
   */
  public function setRetried($retried)
  {
    $this->retried = $retried;
  }
  /**
   * @return int
   */
  public function getRetried()
  {
    return $this->retried;
  }
  /**
   * Output only. Reserved for future use.
   *
   * @param bool $satisfiesPzs
   */
  public function setSatisfiesPzs($satisfiesPzs)
  {
    $this->satisfiesPzs = $satisfiesPzs;
  }
  /**
   * @return bool
   */
  public function getSatisfiesPzs()
  {
    return $this->satisfiesPzs;
  }
  /**
   * Output only. Represents time when the task was scheduled to run by the
   * system. It is not guaranteed to be set in happens-before order across
   * separate operations.
   *
   * @param string $scheduledTime
   */
  public function setScheduledTime($scheduledTime)
  {
    $this->scheduledTime = $scheduledTime;
  }
  /**
   * @return string
   */
  public function getScheduledTime()
  {
    return $this->scheduledTime;
  }
  /**
   * Email address of the IAM service account associated with the Task of a Job.
   * The service account represents the identity of the running task, and
   * determines what permissions the task has. If not provided, the task will
   * use the project's default service account.
   *
   * @param string $serviceAccount
   */
  public function setServiceAccount($serviceAccount)
  {
    $this->serviceAccount = $serviceAccount;
  }
  /**
   * @return string
   */
  public function getServiceAccount()
  {
    return $this->serviceAccount;
  }
  /**
   * Output only. Represents time when the task started to run. It is not
   * guaranteed to be set in happens-before order across separate operations.
   *
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
  /**
   * Max allowed time duration the Task may be active before the system will
   * actively try to mark it failed and kill associated containers. This applies
   * per attempt of a task, meaning each retry can run for the full timeout.
   *
   * @param string $timeout
   */
  public function setTimeout($timeout)
  {
    $this->timeout = $timeout;
  }
  /**
   * @return string
   */
  public function getTimeout()
  {
    return $this->timeout;
  }
  /**
   * Output only. Server assigned unique identifier for the Task. The value is a
   * UUID4 string and guaranteed to remain unchanged until the resource is
   * deleted.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. The last-modified time.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
  /**
   * A list of Volumes to make available to containers.
   *
   * @param GoogleCloudRunV2Volume[] $volumes
   */
  public function setVolumes($volumes)
  {
    $this->volumes = $volumes;
  }
  /**
   * @return GoogleCloudRunV2Volume[]
   */
  public function getVolumes()
  {
    return $this->volumes;
  }
  /**
   * Output only. VPC Access configuration to use for this Task. For more
   * information, visit
   * https://cloud.google.com/run/docs/configuring/connecting-vpc.
   *
   * @param GoogleCloudRunV2VpcAccess $vpcAccess
   */
  public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
  {
    $this->vpcAccess = $vpcAccess;
  }
  /**
   * @return GoogleCloudRunV2VpcAccess
   */
  public function getVpcAccess()
  {
    return $this->vpcAccess;
  }
}

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