📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ANR.php
▶ Open 📄 View Source
🐘 AndroidAppInfo.php
▶ Open 📄 View Source
🐘 AndroidInstrumentationTest.php
▶ Open 📄 View Source
🐘 AndroidRoboTest.php
▶ Open 📄 View Source
🐘 AndroidTest.php
▶ Open 📄 View Source
🐘 AndroidTestLoop.php
▶ Open 📄 View Source
🐘 Any.php
▶ Open 📄 View Source
🐘 AppStartTime.php
▶ Open 📄 View Source
🐘 AssetIssue.php
▶ Open 📄 View Source
🐘 AvailableDeepLinks.php
▶ Open 📄 View Source
🐘 BasicPerfSampleSeries.php
▶ Open 📄 View Source
🐘 BatchCreatePerfSamplesRequest.php
▶ Open 📄 View Source
🐘 BatchCreatePerfSamplesResponse.php
▶ Open 📄 View Source
🐘 BlankScreen.php
▶ Open 📄 View Source
🐘 CPUInfo.php
▶ Open 📄 View Source
🐘 CrashDialogError.php
▶ Open 📄 View Source
🐘 DetectedAppSplashScreen.php
▶ Open 📄 View Source
🐘 DeviceOutOfMemory.php
▶ Open 📄 View Source
🐘 Duration.php
▶ Open 📄 View Source
🐘 EncounteredLoginScreen.php
▶ Open 📄 View Source
🐘 EncounteredNonAndroidUiWidgetScreen.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 EnvironmentDimensionValueEntry.php
▶ Open 📄 View Source
🐘 Execution.php
▶ Open 📄 View Source
🐘 FailedToInstall.php
▶ Open 📄 View Source
🐘 FailureDetail.php
▶ Open 📄 View Source
🐘 FatalException.php
▶ Open 📄 View Source
🐘 FileReference.php
▶ Open 📄 View Source
🐘 GraphicsStats.php
▶ Open 📄 View Source
🐘 GraphicsStatsBucket.php
▶ Open 📄 View Source
🐘 History.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 InAppPurchasesFound.php
▶ Open 📄 View Source
🐘 InconclusiveDetail.php
▶ Open 📄 View Source
🐘 IndividualOutcome.php
▶ Open 📄 View Source
🐘 InsufficientCoverage.php
▶ Open 📄 View Source
🐘 IosAppCrashed.php
▶ Open 📄 View Source
🐘 IosAppInfo.php
▶ Open 📄 View Source
🐘 IosRoboTest.php
▶ Open 📄 View Source
🐘 IosTest.php
▶ Open 📄 View Source
🐘 IosTestLoop.php
▶ Open 📄 View Source
🐘 IosXcTest.php
▶ Open 📄 View Source
🐘 LauncherActivityNotFound.php
▶ Open 📄 View Source
🐘 ListEnvironmentsResponse.php
▶ Open 📄 View Source
🐘 ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListHistoriesResponse.php
▶ Open 📄 View Source
🐘 ListPerfSampleSeriesResponse.php
▶ Open 📄 View Source
🐘 ListPerfSamplesResponse.php
▶ Open 📄 View Source
🐘 ListScreenshotClustersResponse.php
▶ Open 📄 View Source
🐘 ListStepAccessibilityClustersResponse.php
▶ Open 📄 View Source
🐘 ListStepThumbnailsResponse.php
▶ Open 📄 View Source
🐘 ListStepsResponse.php
▶ Open 📄 View Source
🐘 ListTestCasesResponse.php
▶ Open 📄 View Source
🐘 LogcatCollectionError.php
▶ Open 📄 View Source
🐘 MatrixDimensionDefinition.php
▶ Open 📄 View Source
🐘 MemoryInfo.php
▶ Open 📄 View Source
🐘 MergedResult.php
▶ Open 📄 View Source
🐘 MultiStep.php
▶ Open 📄 View Source
🐘 NativeCrash.php
▶ Open 📄 View Source
🐘 NonSdkApi.php
▶ Open 📄 View Source
🐘 NonSdkApiInsight.php
▶ Open 📄 View Source
🐘 NonSdkApiUsageViolation.php
▶ Open 📄 View Source
🐘 NonSdkApiUsageViolationReport.php
▶ Open 📄 View Source
🐘 Outcome.php
▶ Open 📄 View Source
🐘 OverlappingUIElements.php
▶ Open 📄 View Source
🐘 PendingGoogleUpdateInsight.php
▶ Open 📄 View Source
🐘 PerfEnvironment.php
▶ Open 📄 View Source
🐘 PerfMetricsSummary.php
▶ Open 📄 View Source
🐘 PerfSample.php
▶ Open 📄 View Source
🐘 PerfSampleSeries.php
▶ Open 📄 View Source
🐘 PerformedGoogleLogin.php
▶ Open 📄 View Source
🐘 PerformedMonkeyActions.php
▶ Open 📄 View Source
🐘 PrimaryStep.php
▶ Open 📄 View Source
🐘 ProjectSettings.php
▶ Open 📄 View Source
🐘 PublishXunitXmlFilesRequest.php
▶ Open 📄 View Source
🐘 RegionProto.php
▶ Open 📄 View Source
🐘 ResultsStorage.php
▶ Open 📄 View Source
🐘 RoboScriptExecution.php
▶ Open 📄 View Source
🐘 SafeHtmlProto.php
▶ Open 📄 View Source
🐘 Screen.php
▶ Open 📄 View Source
🐘 ScreenshotCluster.php
▶ Open 📄 View Source
🐘 ShardSummary.php
▶ Open 📄 View Source
🐘 SkippedDetail.php
▶ Open 📄 View Source
🐘 Specification.php
▶ Open 📄 View Source
🐘 StackTrace.php
▶ Open 📄 View Source
🐘 StartActivityNotFound.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 StepDimensionValueEntry.php
▶ Open 📄 View Source
🐘 StepLabelsEntry.php
▶ Open 📄 View Source
🐘 StepSummary.php
▶ Open 📄 View Source
🐘 SuccessDetail.php
▶ Open 📄 View Source
🐘 SuggestionClusterProto.php
▶ Open 📄 View Source
🐘 SuggestionProto.php
▶ Open 📄 View Source
🐘 TestCase.php
▶ Open 📄 View Source
🐘 TestCaseReference.php
▶ Open 📄 View Source
🐘 TestExecutionStep.php
▶ Open 📄 View Source
🐘 TestIssue.php
▶ Open 📄 View Source
🐘 TestSuiteOverview.php
▶ Open 📄 View Source
🐘 TestTiming.php
▶ Open 📄 View Source
🐘 Thumbnail.php
▶ Open 📄 View Source
🐘 Timestamp.php
▶ Open 📄 View Source
🐘 ToolExecution.php
▶ Open 📄 View Source
🐘 ToolExecutionStep.php
▶ Open 📄 View Source
🐘 ToolExitCode.php
▶ Open 📄 View Source
🐘 ToolOutputReference.php
▶ Open 📄 View Source
🐘 UIElementTooDeep.php
▶ Open 📄 View Source
🐘 UnspecifiedWarning.php
▶ Open 📄 View Source
🐘 UnusedRoboDirective.php
▶ Open 📄 View Source
🐘 UpgradeInsight.php
▶ Open 📄 View Source
🐘 UsedRoboDirective.php
▶ Open 📄 View Source
🐘 UsedRoboIgnoreDirective.php
▶ Open 📄 View Source

📄 Source: Execution.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\ToolResults;

class Execution extends \Google\Collection
{
  /**
   * Should never be in this state. Exists for proto deserialization backward
   * compatibility.
   */
  public const STATE_unknownState = 'unknownState';
  /**
   * The Execution/Step is created, ready to run, but not running yet. If an
   * Execution/Step is created without initial state, it is assumed that the
   * Execution/Step is in PENDING state.
   */
  public const STATE_pending = 'pending';
  /**
   * The Execution/Step is in progress.
   */
  public const STATE_inProgress = 'inProgress';
  /**
   * The finalized, immutable state. Steps/Executions in this state cannot be
   * modified.
   */
  public const STATE_complete = 'complete';
  protected $collection_key = 'dimensionDefinitions';
  protected $completionTimeType = Timestamp::class;
  protected $completionTimeDataType = '';
  protected $creationTimeType = Timestamp::class;
  protected $creationTimeDataType = '';
  protected $dimensionDefinitionsType = MatrixDimensionDefinition::class;
  protected $dimensionDefinitionsDataType = 'array';
  /**
   * A unique identifier within a History for this Execution. Returns
   * INVALID_ARGUMENT if this field is set or overwritten by the caller. - In
   * response always set - In create/update request: never set
   *
   * @var string
   */
  public $executionId;
  protected $outcomeType = Outcome::class;
  protected $outcomeDataType = '';
  protected $specificationType = Specification::class;
  protected $specificationDataType = '';
  /**
   * The initial state is IN_PROGRESS. The only legal state transitions is from
   * IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an
   * invalid transition is requested. The state can only be set to COMPLETE
   * once. A FAILED_PRECONDITION will be returned if the state is set to
   * COMPLETE multiple times. If the state is set to COMPLETE, all the in-
   * progress steps within the execution will be set as COMPLETE. If the outcome
   * of the step is not set, the outcome will be set to INCONCLUSIVE. - In
   * response always set - In create/update request: optional
   *
   * @var string
   */
  public $state;
  /**
   * TestExecution Matrix ID that the TestExecutionService uses. - In response:
   * present if set by create - In create: optional - In update: never set
   *
   * @var string
   */
  public $testExecutionMatrixId;

  /**
   * The time when the Execution status transitioned to COMPLETE. This value
   * will be set automatically when state transitions to COMPLETE. - In
   * response: set if the execution state is COMPLETE. - In create/update
   * request: never set
   *
   * @param Timestamp $completionTime
   */
  public function setCompletionTime(Timestamp $completionTime)
  {
    $this->completionTime = $completionTime;
  }
  /**
   * @return Timestamp
   */
  public function getCompletionTime()
  {
    return $this->completionTime;
  }
  /**
   * The time when the Execution was created. This value will be set
   * automatically when CreateExecution is called. - In response: always set -
   * In create/update request: never set
   *
   * @param Timestamp $creationTime
   */
  public function setCreationTime(Timestamp $creationTime)
  {
    $this->creationTime = $creationTime;
  }
  /**
   * @return Timestamp
   */
  public function getCreationTime()
  {
    return $this->creationTime;
  }
  /**
   * The dimensions along which different steps in this execution may vary. This
   * must remain fixed over the life of the execution. Returns INVALID_ARGUMENT
   * if this field is set in an update request. Returns INVALID_ARGUMENT if the
   * same name occurs in more than one dimension_definition. Returns
   * INVALID_ARGUMENT if the size of the list is over 100. - In response:
   * present if set by create - In create request: optional - In update request:
   * never set
   *
   * @param MatrixDimensionDefinition[] $dimensionDefinitions
   */
  public function setDimensionDefinitions($dimensionDefinitions)
  {
    $this->dimensionDefinitions = $dimensionDefinitions;
  }
  /**
   * @return MatrixDimensionDefinition[]
   */
  public function getDimensionDefinitions()
  {
    return $this->dimensionDefinitions;
  }
  /**
   * A unique identifier within a History for this Execution. Returns
   * INVALID_ARGUMENT if this field is set or overwritten by the caller. - In
   * response always set - In create/update request: never set
   *
   * @param string $executionId
   */
  public function setExecutionId($executionId)
  {
    $this->executionId = $executionId;
  }
  /**
   * @return string
   */
  public function getExecutionId()
  {
    return $this->executionId;
  }
  /**
   * Classify the result, for example into SUCCESS or FAILURE - In response:
   * present if set by create/update request - In create/update request:
   * optional
   *
   * @param Outcome $outcome
   */
  public function setOutcome(Outcome $outcome)
  {
    $this->outcome = $outcome;
  }
  /**
   * @return Outcome
   */
  public function getOutcome()
  {
    return $this->outcome;
  }
  /**
   * Lightweight information about execution request. - In response: present if
   * set by create - In create: optional - In update: optional
   *
   * @param Specification $specification
   */
  public function setSpecification(Specification $specification)
  {
    $this->specification = $specification;
  }
  /**
   * @return Specification
   */
  public function getSpecification()
  {
    return $this->specification;
  }
  /**
   * The initial state is IN_PROGRESS. The only legal state transitions is from
   * IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an
   * invalid transition is requested. The state can only be set to COMPLETE
   * once. A FAILED_PRECONDITION will be returned if the state is set to
   * COMPLETE multiple times. If the state is set to COMPLETE, all the in-
   * progress steps within the execution will be set as COMPLETE. If the outcome
   * of the step is not set, the outcome will be set to INCONCLUSIVE. - In
   * response always set - In create/update request: optional
   *
   * Accepted values: unknownState, pending, inProgress, complete
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * TestExecution Matrix ID that the TestExecutionService uses. - In response:
   * present if set by create - In create: optional - In update: never set
   *
   * @param string $testExecutionMatrixId
   */
  public function setTestExecutionMatrixId($testExecutionMatrixId)
  {
    $this->testExecutionMatrixId = $testExecutionMatrixId;
  }
  /**
   * @return string
   */
  public function getTestExecutionMatrixId()
  {
    return $this->testExecutionMatrixId;
  }
}

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