📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ApiConfigHandler.php
▶ Open 📄 View Source
🐘 ApiEndpointHandler.php
▶ Open 📄 View Source
🐘 AppengineEmpty.php
▶ Open 📄 View Source
🐘 Application.php
▶ Open 📄 View Source
🐘 AuthorizedCertificate.php
▶ Open 📄 View Source
🐘 AuthorizedDomain.php
▶ Open 📄 View Source
🐘 AutomaticScaling.php
▶ Open 📄 View Source
🐘 BasicScaling.php
▶ Open 📄 View Source
🐘 BatchUpdateIngressRulesRequest.php
▶ Open 📄 View Source
🐘 BatchUpdateIngressRulesResponse.php
▶ Open 📄 View Source
🐘 CertificateRawData.php
▶ Open 📄 View Source
🐘 CloudBuildOptions.php
▶ Open 📄 View Source
🐘 ContainerInfo.php
▶ Open 📄 View Source
🐘 ContainerState.php
▶ Open 📄 View Source
🐘 CpuUtilization.php
▶ Open 📄 View Source
🐘 CreateVersionMetadataV1.php
▶ Open 📄 View Source
🐘 CreateVersionMetadataV1Alpha.php
▶ Open 📄 View Source
🐘 CreateVersionMetadataV1Beta.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DebugInstanceRequest.php
▶ Open 📄 View Source
🐘 Deployment.php
▶ Open 📄 View Source
🐘 DiskUtilization.php
▶ Open 📄 View Source
🐘 DomainMapping.php
▶ Open 📄 View Source
🐘 EndpointsApiService.php
▶ Open 📄 View Source
🐘 Entrypoint.php
▶ Open 📄 View Source
🐘 ErrorHandler.php
▶ Open 📄 View Source
🐘 ExportAppImageRequest.php
▶ Open 📄 View Source
🐘 FeatureSettings.php
▶ Open 📄 View Source
🐘 FileInfo.php
▶ Open 📄 View Source
🐘 FirewallRule.php
▶ Open 📄 View Source
🐘 FlexibleRuntimeSettings.php
▶ Open 📄 View Source
🐘 GceTag.php
▶ Open 📄 View Source
🐘 GoogleAppengineV1betaLocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppengineV2OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppengineV2mainOperationMetadata.php
▶ Open 📄 View Source
🐘 HealthCheck.php
▶ Open 📄 View Source
🐘 IdentityAwareProxy.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 Library.php
▶ Open 📄 View Source
🐘 ListAuthorizedCertificatesResponse.php
▶ Open 📄 View Source
🐘 ListAuthorizedDomainsResponse.php
▶ Open 📄 View Source
🐘 ListDomainMappingsResponse.php
▶ Open 📄 View Source
🐘 ListIngressRulesResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListRuntimesResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 ListVersionsResponse.php
▶ Open 📄 View Source
🐘 LivenessCheck.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 ManagedCertificate.php
▶ Open 📄 View Source
🐘 ManualScaling.php
▶ Open 📄 View Source
🐘 Network.php
▶ Open 📄 View Source
🐘 NetworkSettings.php
▶ Open 📄 View Source
🐘 NetworkUtilization.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadataV1.php
▶ Open 📄 View Source
🐘 OperationMetadataV1Alpha.php
▶ Open 📄 View Source
🐘 OperationMetadataV1Beta.php
▶ Open 📄 View Source
🐘 ProjectEvent.php
▶ Open 📄 View Source
🐘 ProjectState.php
▶ Open 📄 View Source
🐘 ProjectsMetadata.php
▶ Open 📄 View Source
🐘 ReadinessCheck.php
▶ Open 📄 View Source
🐘 Reasons.php
▶ Open 📄 View Source
🐘 RepairApplicationRequest.php
▶ Open 📄 View Source
🐘 RequestUtilization.php
▶ Open 📄 View Source
🐘 ResourceEvent.php
▶ Open 📄 View Source
🐘 ResourceRecord.php
▶ Open 📄 View Source
🐘 Resources.php
▶ Open 📄 View Source
🐘 Runtime.php
▶ Open 📄 View Source
🐘 ScriptHandler.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 SslSettings.php
▶ Open 📄 View Source
🐘 StandardSchedulerSettings.php
▶ Open 📄 View Source
🐘 StaticFilesHandler.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TrafficSplit.php
▶ Open 📄 View Source
🐘 UrlDispatchRule.php
▶ Open 📄 View Source
🐘 UrlMap.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 VpcAccessConnector.php
▶ Open 📄 View Source
🐘 ZipInfo.php
▶ Open 📄 View Source

📄 Source: ApiConfigHandler.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\Appengine;

class ApiConfigHandler extends \Google\Model
{
  /**
   * Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.
   */
  public const AUTH_FAIL_ACTION_AUTH_FAIL_ACTION_UNSPECIFIED = 'AUTH_FAIL_ACTION_UNSPECIFIED';
  /**
   * Redirects user to "accounts.google.com". The user is redirected back to the
   * application URL after signing in or creating an account.
   */
  public const AUTH_FAIL_ACTION_AUTH_FAIL_ACTION_REDIRECT = 'AUTH_FAIL_ACTION_REDIRECT';
  /**
   * Rejects request with a 401 HTTP status code and an error message.
   */
  public const AUTH_FAIL_ACTION_AUTH_FAIL_ACTION_UNAUTHORIZED = 'AUTH_FAIL_ACTION_UNAUTHORIZED';
  /**
   * Not specified. LOGIN_OPTIONAL is assumed.
   */
  public const LOGIN_LOGIN_UNSPECIFIED = 'LOGIN_UNSPECIFIED';
  /**
   * Does not require that the user is signed in.
   */
  public const LOGIN_LOGIN_OPTIONAL = 'LOGIN_OPTIONAL';
  /**
   * If the user is not signed in, the auth_fail_action is taken. In addition,
   * if the user is not an administrator for the application, they are given an
   * error message regardless of auth_fail_action. If the user is an
   * administrator, the handler proceeds.
   */
  public const LOGIN_LOGIN_ADMIN = 'LOGIN_ADMIN';
  /**
   * If the user has signed in, the handler proceeds normally. Otherwise, the
   * auth_fail_action is taken.
   */
  public const LOGIN_LOGIN_REQUIRED = 'LOGIN_REQUIRED';
  /**
   * Not specified.
   */
  public const SECURITY_LEVEL_SECURE_UNSPECIFIED = 'SECURE_UNSPECIFIED';
  /**
   * Both HTTP and HTTPS requests with URLs that match the handler succeed
   * without redirects. The application can examine the request to determine
   * which protocol was used, and respond accordingly.
   */
  public const SECURITY_LEVEL_SECURE_DEFAULT = 'SECURE_DEFAULT';
  /**
   * Requests for a URL that match this handler that use HTTPS are automatically
   * redirected to the HTTP equivalent URL.
   */
  public const SECURITY_LEVEL_SECURE_NEVER = 'SECURE_NEVER';
  /**
   * Both HTTP and HTTPS requests with URLs that match the handler succeed
   * without redirects. The application can examine the request to determine
   * which protocol was used and respond accordingly.
   */
  public const SECURITY_LEVEL_SECURE_OPTIONAL = 'SECURE_OPTIONAL';
  /**
   * Requests for a URL that match this handler that do not use HTTPS are
   * automatically redirected to the HTTPS URL with the same path. Query
   * parameters are reserved for the redirect.
   */
  public const SECURITY_LEVEL_SECURE_ALWAYS = 'SECURE_ALWAYS';
  /**
   * Action to take when users access resources that require authentication.
   * Defaults to redirect.
   *
   * @var string
   */
  public $authFailAction;
  /**
   * Level of login required to access this resource. Defaults to optional.
   *
   * @var string
   */
  public $login;
  /**
   * Path to the script from the application root directory.
   *
   * @var string
   */
  public $script;
  /**
   * Security (HTTPS) enforcement for this URL.
   *
   * @var string
   */
  public $securityLevel;
  /**
   * URL to serve the endpoint at.
   *
   * @var string
   */
  public $url;

  /**
   * Action to take when users access resources that require authentication.
   * Defaults to redirect.
   *
   * Accepted values: AUTH_FAIL_ACTION_UNSPECIFIED, AUTH_FAIL_ACTION_REDIRECT,
   * AUTH_FAIL_ACTION_UNAUTHORIZED
   *
   * @param self::AUTH_FAIL_ACTION_* $authFailAction
   */
  public function setAuthFailAction($authFailAction)
  {
    $this->authFailAction = $authFailAction;
  }
  /**
   * @return self::AUTH_FAIL_ACTION_*
   */
  public function getAuthFailAction()
  {
    return $this->authFailAction;
  }
  /**
   * Level of login required to access this resource. Defaults to optional.
   *
   * Accepted values: LOGIN_UNSPECIFIED, LOGIN_OPTIONAL, LOGIN_ADMIN,
   * LOGIN_REQUIRED
   *
   * @param self::LOGIN_* $login
   */
  public function setLogin($login)
  {
    $this->login = $login;
  }
  /**
   * @return self::LOGIN_*
   */
  public function getLogin()
  {
    return $this->login;
  }
  /**
   * Path to the script from the application root directory.
   *
   * @param string $script
   */
  public function setScript($script)
  {
    $this->script = $script;
  }
  /**
   * @return string
   */
  public function getScript()
  {
    return $this->script;
  }
  /**
   * Security (HTTPS) enforcement for this URL.
   *
   * Accepted values: SECURE_UNSPECIFIED, SECURE_DEFAULT, SECURE_NEVER,
   * SECURE_OPTIONAL, SECURE_ALWAYS
   *
   * @param self::SECURITY_LEVEL_* $securityLevel
   */
  public function setSecurityLevel($securityLevel)
  {
    $this->securityLevel = $securityLevel;
  }
  /**
   * @return self::SECURITY_LEVEL_*
   */
  public function getSecurityLevel()
  {
    return $this->securityLevel;
  }
  /**
   * URL to serve the endpoint at.
   *
   * @param string $url
   */
  public function setUrl($url)
  {
    $this->url = $url;
  }
  /**
   * @return string
   */
  public function getUrl()
  {
    return $this->url;
  }
}

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