📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Address.php
▶ Open 📄 View Source
🐘 BuildVersion.php
▶ Open 📄 View Source
🐘 ClientConfig.php
▶ Open 📄 View Source
🐘 ClientStatusRequest.php
▶ Open 📄 View Source
🐘 ClientStatusResponse.php
▶ Open 📄 View Source
🐘 ClustersConfigDump.php
▶ Open 📄 View Source
🐘 ContextParams.php
▶ Open 📄 View Source
🐘 DoubleMatcher.php
▶ Open 📄 View Source
🐘 DoubleRange.php
▶ Open 📄 View Source
🐘 DynamicCluster.php
▶ Open 📄 View Source
🐘 DynamicEndpointConfig.php
▶ Open 📄 View Source
🐘 DynamicListener.php
▶ Open 📄 View Source
🐘 DynamicListenerState.php
▶ Open 📄 View Source
🐘 DynamicRouteConfig.php
▶ Open 📄 View Source
🐘 DynamicScopedRouteConfigs.php
▶ Open 📄 View Source
🐘 EndpointsConfigDump.php
▶ Open 📄 View Source
🐘 EnvoyInternalAddress.php
▶ Open 📄 View Source
🐘 Extension.php
▶ Open 📄 View Source
🐘 GenericXdsConfig.php
▶ Open 📄 View Source
🐘 GoogleRE2.php
▶ Open 📄 View Source
🐘 InlineScopedRouteConfigs.php
▶ Open 📄 View Source
🐘 ListMatcher.php
▶ Open 📄 View Source
🐘 ListenersConfigDump.php
▶ Open 📄 View Source
🐘 Locality.php
▶ Open 📄 View Source
🐘 Node.php
▶ Open 📄 View Source
🐘 NodeMatcher.php
▶ Open 📄 View Source
🐘 NullMatch.php
▶ Open 📄 View Source
🐘 OrMatcher.php
▶ Open 📄 View Source
🐘 PathSegment.php
▶ Open 📄 View Source
🐘 PerXdsConfig.php
▶ Open 📄 View Source
🐘 Pipe.php
▶ Open 📄 View Source
🐘 RegexMatcher.php
▶ Open 📄 View Source
🐘 RoutesConfigDump.php
▶ Open 📄 View Source
🐘 ScopedRoutesConfigDump.php
▶ Open 📄 View Source
🐘 SemanticVersion.php
▶ Open 📄 View Source
🐘 SocketAddress.php
▶ Open 📄 View Source
🐘 StaticCluster.php
▶ Open 📄 View Source
🐘 StaticEndpointConfig.php
▶ Open 📄 View Source
🐘 StaticListener.php
▶ Open 📄 View Source
🐘 StaticRouteConfig.php
▶ Open 📄 View Source
🐘 StringMatcher.php
▶ Open 📄 View Source
🐘 StructMatcher.php
▶ Open 📄 View Source
🐘 TypedExtensionConfig.php
▶ Open 📄 View Source
🐘 UpdateFailureState.php
▶ Open 📄 View Source
🐘 ValueMatcher.php
▶ Open 📄 View Source

📄 Source: PerXdsConfig.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\TrafficDirectorService;

class PerXdsConfig extends \Google\Model
{
  /**
   * Config status is not available/unknown.
   */
  public const CLIENT_STATUS_CLIENT_UNKNOWN = 'CLIENT_UNKNOWN';
  /**
   * Client requested the config but hasn't received any config from management
   * server yet.
   */
  public const CLIENT_STATUS_CLIENT_REQUESTED = 'CLIENT_REQUESTED';
  /**
   * Client received the config and replied with ACK.
   */
  public const CLIENT_STATUS_CLIENT_ACKED = 'CLIENT_ACKED';
  /**
   * Client received the config and replied with NACK. Notably, the attached
   * config dump is not the NACKed version, but the most recent accepted one. If
   * no config is accepted yet, the attached config dump will be empty.
   */
  public const CLIENT_STATUS_CLIENT_NACKED = 'CLIENT_NACKED';
  /**
   * Client received an error from the control plane. The attached config dump
   * is the most recent accepted one. If no config is accepted yet, the attached
   * config dump will be empty.
   */
  public const CLIENT_STATUS_CLIENT_RECEIVED_ERROR = 'CLIENT_RECEIVED_ERROR';
  /**
   * Status info is not available/unknown.
   */
  public const STATUS_UNKNOWN = 'UNKNOWN';
  /**
   * Management server has sent the config to client and received ACK.
   */
  public const STATUS_SYNCED = 'SYNCED';
  /**
   * Config is not sent.
   */
  public const STATUS_NOT_SENT = 'NOT_SENT';
  /**
   * Management server has sent the config to client but hasn’t received
   * ACK/NACK.
   */
  public const STATUS_STALE = 'STALE';
  /**
   * Management server has sent the config to client but received NACK. The
   * attached config dump will be the latest config (the rejected one), since it
   * is the persisted version in the management server.
   */
  public const STATUS_ERROR = 'ERROR';
  /**
   * Client config status is populated by xDS clients. Will not be present if
   * the CSDS server is an xDS server. No matter what the client config status
   * is, xDS clients should always dump the most recent accepted xDS config. ..
   * attention:: This field is deprecated. Use :ref:`ClientResourceStatus ` for
   * per-resource config status instead.
   *
   * @deprecated
   * @var string
   */
  public $clientStatus;
  protected $clusterConfigType = ClustersConfigDump::class;
  protected $clusterConfigDataType = '';
  protected $endpointConfigType = EndpointsConfigDump::class;
  protected $endpointConfigDataType = '';
  protected $listenerConfigType = ListenersConfigDump::class;
  protected $listenerConfigDataType = '';
  protected $routeConfigType = RoutesConfigDump::class;
  protected $routeConfigDataType = '';
  protected $scopedRouteConfigType = ScopedRoutesConfigDump::class;
  protected $scopedRouteConfigDataType = '';
  /**
   * Config status generated by management servers. Will not be present if the
   * CSDS server is an xDS client.
   *
   * @var string
   */
  public $status;

  /**
   * Client config status is populated by xDS clients. Will not be present if
   * the CSDS server is an xDS server. No matter what the client config status
   * is, xDS clients should always dump the most recent accepted xDS config. ..
   * attention:: This field is deprecated. Use :ref:`ClientResourceStatus ` for
   * per-resource config status instead.
   *
   * Accepted values: CLIENT_UNKNOWN, CLIENT_REQUESTED, CLIENT_ACKED,
   * CLIENT_NACKED, CLIENT_RECEIVED_ERROR
   *
   * @deprecated
   * @param self::CLIENT_STATUS_* $clientStatus
   */
  public function setClientStatus($clientStatus)
  {
    $this->clientStatus = $clientStatus;
  }
  /**
   * @deprecated
   * @return self::CLIENT_STATUS_*
   */
  public function getClientStatus()
  {
    return $this->clientStatus;
  }
  /**
   * @param ClustersConfigDump $clusterConfig
   */
  public function setClusterConfig(ClustersConfigDump $clusterConfig)
  {
    $this->clusterConfig = $clusterConfig;
  }
  /**
   * @return ClustersConfigDump
   */
  public function getClusterConfig()
  {
    return $this->clusterConfig;
  }
  /**
   * @param EndpointsConfigDump $endpointConfig
   */
  public function setEndpointConfig(EndpointsConfigDump $endpointConfig)
  {
    $this->endpointConfig = $endpointConfig;
  }
  /**
   * @return EndpointsConfigDump
   */
  public function getEndpointConfig()
  {
    return $this->endpointConfig;
  }
  /**
   * @param ListenersConfigDump $listenerConfig
   */
  public function setListenerConfig(ListenersConfigDump $listenerConfig)
  {
    $this->listenerConfig = $listenerConfig;
  }
  /**
   * @return ListenersConfigDump
   */
  public function getListenerConfig()
  {
    return $this->listenerConfig;
  }
  /**
   * @param RoutesConfigDump $routeConfig
   */
  public function setRouteConfig(RoutesConfigDump $routeConfig)
  {
    $this->routeConfig = $routeConfig;
  }
  /**
   * @return RoutesConfigDump
   */
  public function getRouteConfig()
  {
    return $this->routeConfig;
  }
  /**
   * @param ScopedRoutesConfigDump $scopedRouteConfig
   */
  public function setScopedRouteConfig(ScopedRoutesConfigDump $scopedRouteConfig)
  {
    $this->scopedRouteConfig = $scopedRouteConfig;
  }
  /**
   * @return ScopedRoutesConfigDump
   */
  public function getScopedRouteConfig()
  {
    return $this->scopedRouteConfig;
  }
  /**
   * Config status generated by management servers. Will not be present if the
   * CSDS server is an xDS client.
   *
   * Accepted values: UNKNOWN, SYNCED, NOT_SENT, STALE, ERROR
   *
   * @param self::STATUS_* $status
   */
  public function setStatus($status)
  {
    $this->status = $status;
  }
  /**
   * @return self::STATUS_*
   */
  public function getStatus()
  {
    return $this->status;
  }
}

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