📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/WorkflowExecutions
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Callback.php
▶ Open 📄 View Source
🐘 CancelExecutionRequest.php
▶ Open 📄 View Source
🐘 DeleteExecutionHistoryRequest.php
▶ Open 📄 View Source
🐘 Error.php
▶ Open 📄 View Source
🐘 Exception.php
▶ Open 📄 View Source
🐘 Execution.php
▶ Open 📄 View Source
🐘 ExportDataResponse.php
▶ Open 📄 View Source
🐘 ListCallbacksResponse.php
▶ Open 📄 View Source
🐘 ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListStepEntriesResponse.php
▶ Open 📄 View Source
🐘 NavigationInfo.php
▶ Open 📄 View Source
🐘 Position.php
▶ Open 📄 View Source
🐘 PubsubMessage.php
▶ Open 📄 View Source
🐘 StackTrace.php
▶ Open 📄 View Source
🐘 StackTraceElement.php
▶ Open 📄 View Source
🐘 StateError.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 StepEntry.php
▶ Open 📄 View Source
🐘 StepEntryMetadata.php
▶ Open 📄 View Source
🐘 TriggerPubsubExecutionRequest.php
▶ Open 📄 View Source
🐘 VariableData.php
▶ Open 📄 View Source
🐘 WorkflowexecutionsEmpty.php
▶ Open 📄 View Source

📄 Source: Callback.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\WorkflowExecutions;

class Callback extends \Google\Collection
{
  protected $collection_key = 'availablePayloads';
  /**
   * Output only. The payloads received by the callback that have not been
   * processed by a waiting execution step.
   *
   * @var string[]
   */
  public $availablePayloads;
  /**
   * Output only. The method accepted by the callback. For example: GET, POST,
   * PUT.
   *
   * @var string
   */
  public $method;
  /**
   * Output only. The resource name of the callback. Format: projects/{project}/
   * locations/{location}/workflows/{workflow}/executions/{execution}/callback/{
   * callback}
   *
   * @var string
   */
  public $name;
  /**
   * Output only. Number of execution steps waiting on this callback.
   *
   * @var string
   */
  public $waiters;

  /**
   * Output only. The payloads received by the callback that have not been
   * processed by a waiting execution step.
   *
   * @param string[] $availablePayloads
   */
  public function setAvailablePayloads($availablePayloads)
  {
    $this->availablePayloads = $availablePayloads;
  }
  /**
   * @return string[]
   */
  public function getAvailablePayloads()
  {
    return $this->availablePayloads;
  }
  /**
   * Output only. The method accepted by the callback. For example: GET, POST,
   * PUT.
   *
   * @param string $method
   */
  public function setMethod($method)
  {
    $this->method = $method;
  }
  /**
   * @return string
   */
  public function getMethod()
  {
    return $this->method;
  }
  /**
   * Output only. The resource name of the callback. Format: projects/{project}/
   * locations/{location}/workflows/{workflow}/executions/{execution}/callback/{
   * callback}
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. Number of execution steps waiting on this callback.
   *
   * @param string $waiters
   */
  public function setWaiters($waiters)
  {
    $this->waiters = $waiters;
  }
  /**
   * @return string
   */
  public function getWaiters()
  {
    return $this->waiters;
  }
}

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