📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Account.php
▶ Open 📄 View Source
🐘 AndroidDevice.php
▶ Open 📄 View Source
🐘 AndroidDeviceCatalog.php
▶ Open 📄 View Source
🐘 AndroidDeviceList.php
▶ Open 📄 View Source
🐘 AndroidInstrumentationTest.php
▶ Open 📄 View Source
🐘 AndroidMatrix.php
▶ Open 📄 View Source
🐘 AndroidModel.php
▶ Open 📄 View Source
🐘 AndroidRoboTest.php
▶ Open 📄 View Source
🐘 AndroidRuntimeConfiguration.php
▶ Open 📄 View Source
🐘 AndroidTestLoop.php
▶ Open 📄 View Source
🐘 AndroidVersion.php
▶ Open 📄 View Source
🐘 Apk.php
▶ Open 📄 View Source
🐘 ApkDetail.php
▶ Open 📄 View Source
🐘 ApkManifest.php
▶ Open 📄 View Source
🐘 ApkSplits.php
▶ Open 📄 View Source
🐘 AppBundle.php
▶ Open 📄 View Source
🐘 CancelDeviceSessionRequest.php
▶ Open 📄 View Source
🐘 CancelTestMatrixResponse.php
▶ Open 📄 View Source
🐘 ClientInfo.php
▶ Open 📄 View Source
🐘 ClientInfoDetail.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DeviceFile.php
▶ Open 📄 View Source
🐘 DeviceIpBlock.php
▶ Open 📄 View Source
🐘 DeviceIpBlockCatalog.php
▶ Open 📄 View Source
🐘 DeviceSession.php
▶ Open 📄 View Source
🐘 DirectAccessVersionInfo.php
▶ Open 📄 View Source
🐘 Distribution.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 EnvironmentMatrix.php
▶ Open 📄 View Source
🐘 EnvironmentVariable.php
▶ Open 📄 View Source
🐘 FileReference.php
▶ Open 📄 View Source
🐘 GetApkDetailsResponse.php
▶ Open 📄 View Source
🐘 GoogleAuto.php
▶ Open 📄 View Source
🐘 GoogleCloudStorage.php
▶ Open 📄 View Source
🐘 IntentFilter.php
▶ Open 📄 View Source
🐘 IosDevice.php
▶ Open 📄 View Source
🐘 IosDeviceCatalog.php
▶ Open 📄 View Source
🐘 IosDeviceFile.php
▶ Open 📄 View Source
🐘 IosDeviceList.php
▶ Open 📄 View Source
🐘 IosModel.php
▶ Open 📄 View Source
🐘 IosRoboTest.php
▶ Open 📄 View Source
🐘 IosRuntimeConfiguration.php
▶ Open 📄 View Source
🐘 IosTestLoop.php
▶ Open 📄 View Source
🐘 IosTestSetup.php
▶ Open 📄 View Source
🐘 IosVersion.php
▶ Open 📄 View Source
🐘 IosXcTest.php
▶ Open 📄 View Source
🐘 LabInfo.php
▶ Open 📄 View Source
🐘 LauncherActivityIntent.php
▶ Open 📄 View Source
🐘 ListDeviceSessionsResponse.php
▶ Open 📄 View Source
🐘 Locale.php
▶ Open 📄 View Source
🐘 ManualSharding.php
▶ Open 📄 View Source
🐘 MatrixErrorDetail.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 NetworkConfiguration.php
▶ Open 📄 View Source
🐘 NetworkConfigurationCatalog.php
▶ Open 📄 View Source
🐘 NoActivityIntent.php
▶ Open 📄 View Source
🐘 ObbFile.php
▶ Open 📄 View Source
🐘 Orientation.php
▶ Open 📄 View Source
🐘 PerAndroidVersionInfo.php
▶ Open 📄 View Source
🐘 PerIosVersionInfo.php
▶ Open 📄 View Source
🐘 ProvidedSoftwareCatalog.php
▶ Open 📄 View Source
🐘 RegularFile.php
▶ Open 📄 View Source
🐘 ResultStorage.php
▶ Open 📄 View Source
🐘 RoboDirective.php
▶ Open 📄 View Source
🐘 RoboStartingIntent.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 SessionStateEvent.php
▶ Open 📄 View Source
🐘 Shard.php
▶ Open 📄 View Source
🐘 ShardingOption.php
▶ Open 📄 View Source
🐘 SmartSharding.php
▶ Open 📄 View Source
🐘 StartActivityIntent.php
▶ Open 📄 View Source
🐘 SystraceSetup.php
▶ Open 📄 View Source
🐘 TestDetails.php
▶ Open 📄 View Source
🐘 TestEnvironmentCatalog.php
▶ Open 📄 View Source
🐘 TestExecution.php
▶ Open 📄 View Source
🐘 TestMatrix.php
▶ Open 📄 View Source
🐘 TestSetup.php
▶ Open 📄 View Source
🐘 TestSpecification.php
▶ Open 📄 View Source
🐘 TestTargetsForShard.php
▶ Open 📄 View Source
🐘 TestingEmpty.php
▶ Open 📄 View Source
🐘 ToolResultsExecution.php
▶ Open 📄 View Source
🐘 ToolResultsHistory.php
▶ Open 📄 View Source
🐘 ToolResultsStep.php
▶ Open 📄 View Source
🐘 TrafficRule.php
▶ Open 📄 View Source
🐘 UniformSharding.php
▶ Open 📄 View Source
🐘 UsesFeature.php
▶ Open 📄 View Source
🐘 UsesPermissionTag.php
▶ Open 📄 View Source
🐘 XcodeVersion.php
▶ Open 📄 View Source

📄 Source: RoboDirective.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\Testing;

class RoboDirective extends \Google\Model
{
  /**
   * DO NOT USE. For proto versioning only.
   */
  public const ACTION_TYPE_ACTION_TYPE_UNSPECIFIED = 'ACTION_TYPE_UNSPECIFIED';
  /**
   * Direct Robo to click on the specified element. No-op if specified element
   * is not clickable.
   */
  public const ACTION_TYPE_SINGLE_CLICK = 'SINGLE_CLICK';
  /**
   * Direct Robo to enter text on the specified element. No-op if specified
   * element is not enabled or does not allow text entry.
   */
  public const ACTION_TYPE_ENTER_TEXT = 'ENTER_TEXT';
  /**
   * Direct Robo to ignore interactions with a specific element.
   */
  public const ACTION_TYPE_IGNORE = 'IGNORE';
  /**
   * Required. The type of action that Robo should perform on the specified
   * element.
   *
   * @var string
   */
  public $actionType;
  /**
   * The text that Robo is directed to set. If left empty, the directive will be
   * treated as a CLICK on the element matching the resource_name.
   *
   * @var string
   */
  public $inputText;
  /**
   * Required. The android resource name of the target UI element. For example,
   * in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed.
   * Reference doc:
   * https://developer.android.com/guide/topics/resources/accessing-
   * resources.html
   *
   * @var string
   */
  public $resourceName;

  /**
   * Required. The type of action that Robo should perform on the specified
   * element.
   *
   * Accepted values: ACTION_TYPE_UNSPECIFIED, SINGLE_CLICK, ENTER_TEXT, IGNORE
   *
   * @param self::ACTION_TYPE_* $actionType
   */
  public function setActionType($actionType)
  {
    $this->actionType = $actionType;
  }
  /**
   * @return self::ACTION_TYPE_*
   */
  public function getActionType()
  {
    return $this->actionType;
  }
  /**
   * The text that Robo is directed to set. If left empty, the directive will be
   * treated as a CLICK on the element matching the resource_name.
   *
   * @param string $inputText
   */
  public function setInputText($inputText)
  {
    $this->inputText = $inputText;
  }
  /**
   * @return string
   */
  public function getInputText()
  {
    return $this->inputText;
  }
  /**
   * Required. The android resource name of the target UI element. For example,
   * in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed.
   * Reference doc:
   * https://developer.android.com/guide/topics/resources/accessing-
   * resources.html
   *
   * @param string $resourceName
   */
  public function setResourceName($resourceName)
  {
    $this->resourceName = $resourceName;
  }
  /**
   * @return string
   */
  public function getResourceName()
  {
    return $this->resourceName;
  }
}

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