📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Content.php
▶ Open 📄 View Source
🐘 CreateProjectRequest.php
▶ Open 📄 View Source
🐘 Deployment.php
▶ Open 📄 View Source
🐘 DeploymentConfig.php
▶ Open 📄 View Source
🐘 EntryPoint.php
▶ Open 📄 View Source
🐘 ExecuteStreamResponse.php
▶ Open 📄 View Source
🐘 ExecutionError.php
▶ Open 📄 View Source
🐘 ExecutionRequest.php
▶ Open 📄 View Source
🐘 ExecutionResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeAddOnEntryPoint.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeExecutionApiConfig.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeExecutionApiEntryPoint.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeFunction.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeFunctionSet.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeProcess.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeUser.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeWebAppConfig.php
▶ Open 📄 View Source
🐘 GoogleAppsScriptTypeWebAppEntryPoint.php
▶ Open 📄 View Source
🐘 ListDeploymentsResponse.php
▶ Open 📄 View Source
🐘 ListScriptProcessesResponse.php
▶ Open 📄 View Source
🐘 ListUserProcessesResponse.php
▶ Open 📄 View Source
🐘 ListValue.php
▶ Open 📄 View Source
🐘 ListVersionsResponse.php
▶ Open 📄 View Source
🐘 Metrics.php
▶ Open 📄 View Source
🐘 MetricsValue.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Project.php
▶ Open 📄 View Source
🐘 ScriptEmpty.php
▶ Open 📄 View Source
🐘 ScriptExecutionResult.php
▶ Open 📄 View Source
🐘 ScriptFile.php
▶ Open 📄 View Source
🐘 ScriptStackTraceElement.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Struct.php
▶ Open 📄 View Source
🐘 UpdateDeploymentRequest.php
▶ Open 📄 View Source
🐘 Value.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source

📄 Source: Status.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\Script;

class Status extends \Google\Collection
{
  protected $collection_key = 'details';
  /**
   * The status code. For this API, this value either: - 10, indicating a
   * `SCRIPT_TIMEOUT` error, - 3, indicating an `INVALID_ARGUMENT` error, or -
   * 1, indicating a `CANCELLED` execution.
   *
   * @var int
   */
  public $code;
  /**
   * An array that contains a single ExecutionError object that provides
   * information about the nature of the error.
   *
   * @var array[]
   */
  public $details;
  /**
   * A developer-facing error message, which is in English. Any user-facing
   * error message is localized and sent in the details field, or localized by
   * the client.
   *
   * @var string
   */
  public $message;

  /**
   * The status code. For this API, this value either: - 10, indicating a
   * `SCRIPT_TIMEOUT` error, - 3, indicating an `INVALID_ARGUMENT` error, or -
   * 1, indicating a `CANCELLED` execution.
   *
   * @param int $code
   */
  public function setCode($code)
  {
    $this->code = $code;
  }
  /**
   * @return int
   */
  public function getCode()
  {
    return $this->code;
  }
  /**
   * An array that contains a single ExecutionError object that provides
   * information about the nature of the error.
   *
   * @param array[] $details
   */
  public function setDetails($details)
  {
    $this->details = $details;
  }
  /**
   * @return array[]
   */
  public function getDetails()
  {
    return $this->details;
  }
  /**
   * A developer-facing error message, which is in English. Any user-facing
   * error message is localized and sent in the details field, or localized by
   * the client.
   *
   * @param string $message
   */
  public function setMessage($message)
  {
    $this->message = $message;
  }
  /**
   * @return string
   */
  public function getMessage()
  {
    return $this->message;
  }
}

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