📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ApiObservation.php
▶ Open 📄 View Source
🐘 ApiOperation.php
▶ Open 📄 View Source
🐘 ApimEmpty.php
▶ Open 📄 View Source
🐘 BatchEditTagsApiObservationsRequest.php
▶ Open 📄 View Source
🐘 BatchEditTagsApiObservationsResponse.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 DisableObservationJobRequest.php
▶ Open 📄 View Source
🐘 EditTagsApiObservationsRequest.php
▶ Open 📄 View Source
🐘 EnableObservationJobRequest.php
▶ Open 📄 View Source
🐘 Entitlement.php
▶ Open 📄 View Source
🐘 GclbObservationSource.php
▶ Open 📄 View Source
🐘 GclbObservationSourcePscNetworkConfig.php
▶ Open 📄 View Source
🐘 HttpOperation.php
▶ Open 📄 View Source
🐘 HttpOperationHeader.php
▶ Open 📄 View Source
🐘 HttpOperationHttpRequest.php
▶ Open 📄 View Source
🐘 HttpOperationHttpResponse.php
▶ Open 📄 View Source
🐘 HttpOperationPathParam.php
▶ Open 📄 View Source
🐘 HttpOperationQueryParam.php
▶ Open 📄 View Source
🐘 ListApiObservationTagsResponse.php
▶ Open 📄 View Source
🐘 ListApiObservationsResponse.php
▶ Open 📄 View Source
🐘 ListApiOperationsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListObservationJobsResponse.php
▶ Open 📄 View Source
🐘 ListObservationSourcesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 ObservationJob.php
▶ Open 📄 View Source
🐘 ObservationSource.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TagAction.php
▶ Open 📄 View Source

📄 Source: HttpOperation.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\APIManagement;

class HttpOperation extends \Google\Collection
{
  /**
   * Unspecified HTTP method
   */
  public const METHOD_HTTP_METHOD_UNSPECIFIED = 'HTTP_METHOD_UNSPECIFIED';
  /**
   * GET HTTP method
   */
  public const METHOD_GET = 'GET';
  /**
   * HEAD HTTP method
   */
  public const METHOD_HEAD = 'HEAD';
  /**
   * POST HTTP method
   */
  public const METHOD_POST = 'POST';
  /**
   * PUT HTTP method
   */
  public const METHOD_PUT = 'PUT';
  /**
   * PATCH HTTP method
   */
  public const METHOD_PATCH = 'PATCH';
  /**
   * DELETE HTTP method
   */
  public const METHOD_DELETE = 'DELETE';
  /**
   * TRACE HTTP method
   */
  public const METHOD_TRACE = 'TRACE';
  /**
   * OPTIONS HTTP method
   */
  public const METHOD_OPTIONS = 'OPTIONS';
  /**
   * CONNECT HTTP method
   */
  public const METHOD_CONNECT = 'CONNECT';
  protected $collection_key = 'pathParams';
  /**
   * HTTP Method.
   *
   * @var string
   */
  public $method;
  /**
   * Path of the HTTP request.
   *
   * @var string
   */
  public $path;
  protected $pathParamsType = HttpOperationPathParam::class;
  protected $pathParamsDataType = 'array';
  protected $queryParamsType = HttpOperationQueryParam::class;
  protected $queryParamsDataType = 'map';
  protected $requestType = HttpOperationHttpRequest::class;
  protected $requestDataType = '';
  protected $responseType = HttpOperationHttpResponse::class;
  protected $responseDataType = '';

  /**
   * HTTP Method.
   *
   * Accepted values: HTTP_METHOD_UNSPECIFIED, GET, HEAD, POST, PUT, PATCH,
   * DELETE, TRACE, OPTIONS, CONNECT
   *
   * @param self::METHOD_* $method
   */
  public function setMethod($method)
  {
    $this->method = $method;
  }
  /**
   * @return self::METHOD_*
   */
  public function getMethod()
  {
    return $this->method;
  }
  /**
   * Path of the HTTP request.
   *
   * @param string $path
   */
  public function setPath($path)
  {
    $this->path = $path;
  }
  /**
   * @return string
   */
  public function getPath()
  {
    return $this->path;
  }
  /**
   * Path params of HttpOperation
   *
   * @param HttpOperationPathParam[] $pathParams
   */
  public function setPathParams($pathParams)
  {
    $this->pathParams = $pathParams;
  }
  /**
   * @return HttpOperationPathParam[]
   */
  public function getPathParams()
  {
    return $this->pathParams;
  }
  /**
   * Query params of HttpOperation
   *
   * @param HttpOperationQueryParam[] $queryParams
   */
  public function setQueryParams($queryParams)
  {
    $this->queryParams = $queryParams;
  }
  /**
   * @return HttpOperationQueryParam[]
   */
  public function getQueryParams()
  {
    return $this->queryParams;
  }
  /**
   * Request metadata.
   *
   * @param HttpOperationHttpRequest $request
   */
  public function setRequest(HttpOperationHttpRequest $request)
  {
    $this->request = $request;
  }
  /**
   * @return HttpOperationHttpRequest
   */
  public function getRequest()
  {
    return $this->request;
  }
  /**
   * Response metadata.
   *
   * @param HttpOperationHttpResponse $response
   */
  public function setResponse(HttpOperationHttpResponse $response)
  {
    $this->response = $response;
  }
  /**
   * @return HttpOperationHttpResponse
   */
  public function getResponse()
  {
    return $this->response;
  }
}

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