Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,74 @@
<?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 Address extends \Google\Model
{
protected $envoyInternalAddressType = EnvoyInternalAddress::class;
protected $envoyInternalAddressDataType = '';
protected $pipeType = Pipe::class;
protected $pipeDataType = '';
protected $socketAddressType = SocketAddress::class;
protected $socketAddressDataType = '';
/**
* @param EnvoyInternalAddress
*/
public function setEnvoyInternalAddress(EnvoyInternalAddress $envoyInternalAddress)
{
$this->envoyInternalAddress = $envoyInternalAddress;
}
/**
* @return EnvoyInternalAddress
*/
public function getEnvoyInternalAddress()
{
return $this->envoyInternalAddress;
}
/**
* @param Pipe
*/
public function setPipe(Pipe $pipe)
{
$this->pipe = $pipe;
}
/**
* @return Pipe
*/
public function getPipe()
{
return $this->pipe;
}
/**
* @param SocketAddress
*/
public function setSocketAddress(SocketAddress $socketAddress)
{
$this->socketAddress = $socketAddress;
}
/**
* @return SocketAddress
*/
public function getSocketAddress()
{
return $this->socketAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Address::class, 'Google_Service_TrafficDirectorService_Address');
@@ -0,0 +1,60 @@
<?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 BuildVersion extends \Google\Model
{
/**
* @var array[]
*/
public $metadata;
protected $versionType = SemanticVersion::class;
protected $versionDataType = '';
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param SemanticVersion
*/
public function setVersion(SemanticVersion $version)
{
$this->version = $version;
}
/**
* @return SemanticVersion
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildVersion::class, 'Google_Service_TrafficDirectorService_BuildVersion');
@@ -0,0 +1,93 @@
<?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 ClientConfig extends \Google\Collection
{
protected $collection_key = 'xdsConfig';
/**
* @var string
*/
public $clientScope;
protected $genericXdsConfigsType = GenericXdsConfig::class;
protected $genericXdsConfigsDataType = 'array';
protected $nodeType = Node::class;
protected $nodeDataType = '';
protected $xdsConfigType = PerXdsConfig::class;
protected $xdsConfigDataType = 'array';
/**
* @param string
*/
public function setClientScope($clientScope)
{
$this->clientScope = $clientScope;
}
/**
* @return string
*/
public function getClientScope()
{
return $this->clientScope;
}
/**
* @param GenericXdsConfig[]
*/
public function setGenericXdsConfigs($genericXdsConfigs)
{
$this->genericXdsConfigs = $genericXdsConfigs;
}
/**
* @return GenericXdsConfig[]
*/
public function getGenericXdsConfigs()
{
return $this->genericXdsConfigs;
}
/**
* @param Node
*/
public function setNode(Node $node)
{
$this->node = $node;
}
/**
* @return Node
*/
public function getNode()
{
return $this->node;
}
/**
* @param PerXdsConfig[]
*/
public function setXdsConfig($xdsConfig)
{
$this->xdsConfig = $xdsConfig;
}
/**
* @return PerXdsConfig[]
*/
public function getXdsConfig()
{
return $this->xdsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientConfig::class, 'Google_Service_TrafficDirectorService_ClientConfig');
@@ -0,0 +1,77 @@
<?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 ClientStatusRequest extends \Google\Collection
{
protected $collection_key = 'nodeMatchers';
/**
* @var bool
*/
public $excludeResourceContents;
protected $nodeType = Node::class;
protected $nodeDataType = '';
protected $nodeMatchersType = NodeMatcher::class;
protected $nodeMatchersDataType = 'array';
/**
* @param bool
*/
public function setExcludeResourceContents($excludeResourceContents)
{
$this->excludeResourceContents = $excludeResourceContents;
}
/**
* @return bool
*/
public function getExcludeResourceContents()
{
return $this->excludeResourceContents;
}
/**
* @param Node
*/
public function setNode(Node $node)
{
$this->node = $node;
}
/**
* @return Node
*/
public function getNode()
{
return $this->node;
}
/**
* @param NodeMatcher[]
*/
public function setNodeMatchers($nodeMatchers)
{
$this->nodeMatchers = $nodeMatchers;
}
/**
* @return NodeMatcher[]
*/
public function getNodeMatchers()
{
return $this->nodeMatchers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientStatusRequest::class, 'Google_Service_TrafficDirectorService_ClientStatusRequest');
@@ -0,0 +1,43 @@
<?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 ClientStatusResponse extends \Google\Collection
{
protected $collection_key = 'config';
protected $configType = ClientConfig::class;
protected $configDataType = 'array';
/**
* @param ClientConfig[]
*/
public function setConfig($config)
{
$this->config = $config;
}
/**
* @return ClientConfig[]
*/
public function getConfig()
{
return $this->config;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientStatusResponse::class, 'Google_Service_TrafficDirectorService_ClientStatusResponse');
@@ -0,0 +1,93 @@
<?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 ClustersConfigDump extends \Google\Collection
{
protected $collection_key = 'staticClusters';
protected $dynamicActiveClustersType = DynamicCluster::class;
protected $dynamicActiveClustersDataType = 'array';
protected $dynamicWarmingClustersType = DynamicCluster::class;
protected $dynamicWarmingClustersDataType = 'array';
protected $staticClustersType = StaticCluster::class;
protected $staticClustersDataType = 'array';
/**
* @var string
*/
public $versionInfo;
/**
* @param DynamicCluster[]
*/
public function setDynamicActiveClusters($dynamicActiveClusters)
{
$this->dynamicActiveClusters = $dynamicActiveClusters;
}
/**
* @return DynamicCluster[]
*/
public function getDynamicActiveClusters()
{
return $this->dynamicActiveClusters;
}
/**
* @param DynamicCluster[]
*/
public function setDynamicWarmingClusters($dynamicWarmingClusters)
{
$this->dynamicWarmingClusters = $dynamicWarmingClusters;
}
/**
* @return DynamicCluster[]
*/
public function getDynamicWarmingClusters()
{
return $this->dynamicWarmingClusters;
}
/**
* @param StaticCluster[]
*/
public function setStaticClusters($staticClusters)
{
$this->staticClusters = $staticClusters;
}
/**
* @return StaticCluster[]
*/
public function getStaticClusters()
{
return $this->staticClusters;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClustersConfigDump::class, 'Google_Service_TrafficDirectorService_ClustersConfigDump');
@@ -0,0 +1,44 @@
<?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 ContextParams extends \Google\Model
{
/**
* @var string[]
*/
public $params;
/**
* @param string[]
*/
public function setParams($params)
{
$this->params = $params;
}
/**
* @return string[]
*/
public function getParams()
{
return $this->params;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContextParams::class, 'Google_Service_TrafficDirectorService_ContextParams');
@@ -0,0 +1,51 @@
<?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 DoubleMatcher extends \Google\Model
{
public $exact;
protected $rangeType = DoubleRange::class;
protected $rangeDataType = '';
public function setExact($exact)
{
$this->exact = $exact;
}
public function getExact()
{
return $this->exact;
}
/**
* @param DoubleRange
*/
public function setRange(DoubleRange $range)
{
$this->range = $range;
}
/**
* @return DoubleRange
*/
public function getRange()
{
return $this->range;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DoubleMatcher::class, 'Google_Service_TrafficDirectorService_DoubleMatcher');
@@ -0,0 +1,44 @@
<?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 DoubleRange extends \Google\Model
{
public $end;
public $start;
public function setEnd($end)
{
$this->end = $end;
}
public function getEnd()
{
return $this->end;
}
public function setStart($start)
{
$this->start = $start;
}
public function getStart()
{
return $this->start;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DoubleRange::class, 'Google_Service_TrafficDirectorService_DoubleRange');
@@ -0,0 +1,114 @@
<?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 DynamicCluster extends \Google\Model
{
/**
* @var string
*/
public $clientStatus;
/**
* @var array[]
*/
public $cluster;
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param array[]
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return array[]
*/
public function getCluster()
{
return $this->cluster;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicCluster::class, 'Google_Service_TrafficDirectorService_DynamicCluster');
@@ -0,0 +1,114 @@
<?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 DynamicEndpointConfig extends \Google\Model
{
/**
* @var string
*/
public $clientStatus;
/**
* @var array[]
*/
public $endpointConfig;
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param array[]
*/
public function setEndpointConfig($endpointConfig)
{
$this->endpointConfig = $endpointConfig;
}
/**
* @return array[]
*/
public function getEndpointConfig()
{
return $this->endpointConfig;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicEndpointConfig::class, 'Google_Service_TrafficDirectorService_DynamicEndpointConfig');
@@ -0,0 +1,126 @@
<?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 DynamicListener extends \Google\Model
{
protected $activeStateType = DynamicListenerState::class;
protected $activeStateDataType = '';
/**
* @var string
*/
public $clientStatus;
protected $drainingStateType = DynamicListenerState::class;
protected $drainingStateDataType = '';
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var string
*/
public $name;
protected $warmingStateType = DynamicListenerState::class;
protected $warmingStateDataType = '';
/**
* @param DynamicListenerState
*/
public function setActiveState(DynamicListenerState $activeState)
{
$this->activeState = $activeState;
}
/**
* @return DynamicListenerState
*/
public function getActiveState()
{
return $this->activeState;
}
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param DynamicListenerState
*/
public function setDrainingState(DynamicListenerState $drainingState)
{
$this->drainingState = $drainingState;
}
/**
* @return DynamicListenerState
*/
public function getDrainingState()
{
return $this->drainingState;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param DynamicListenerState
*/
public function setWarmingState(DynamicListenerState $warmingState)
{
$this->warmingState = $warmingState;
}
/**
* @return DynamicListenerState
*/
public function getWarmingState()
{
return $this->warmingState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicListener::class, 'Google_Service_TrafficDirectorService_DynamicListener');
@@ -0,0 +1,80 @@
<?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 DynamicListenerState extends \Google\Model
{
/**
* @var string
*/
public $lastUpdated;
/**
* @var array[]
*/
public $listener;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param array[]
*/
public function setListener($listener)
{
$this->listener = $listener;
}
/**
* @return array[]
*/
public function getListener()
{
return $this->listener;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicListenerState::class, 'Google_Service_TrafficDirectorService_DynamicListenerState');
@@ -0,0 +1,114 @@
<?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 DynamicRouteConfig extends \Google\Model
{
/**
* @var string
*/
public $clientStatus;
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var string
*/
public $lastUpdated;
/**
* @var array[]
*/
public $routeConfig;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param array[]
*/
public function setRouteConfig($routeConfig)
{
$this->routeConfig = $routeConfig;
}
/**
* @return array[]
*/
public function getRouteConfig()
{
return $this->routeConfig;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicRouteConfig::class, 'Google_Service_TrafficDirectorService_DynamicRouteConfig');
@@ -0,0 +1,133 @@
<?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 DynamicScopedRouteConfigs extends \Google\Collection
{
protected $collection_key = 'scopedRouteConfigs';
/**
* @var string
*/
public $clientStatus;
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $scopedRouteConfigs;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setScopedRouteConfigs($scopedRouteConfigs)
{
$this->scopedRouteConfigs = $scopedRouteConfigs;
}
/**
* @return array[]
*/
public function getScopedRouteConfigs()
{
return $this->scopedRouteConfigs;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicScopedRouteConfigs::class, 'Google_Service_TrafficDirectorService_DynamicScopedRouteConfigs');
@@ -0,0 +1,59 @@
<?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 EndpointsConfigDump extends \Google\Collection
{
protected $collection_key = 'staticEndpointConfigs';
protected $dynamicEndpointConfigsType = DynamicEndpointConfig::class;
protected $dynamicEndpointConfigsDataType = 'array';
protected $staticEndpointConfigsType = StaticEndpointConfig::class;
protected $staticEndpointConfigsDataType = 'array';
/**
* @param DynamicEndpointConfig[]
*/
public function setDynamicEndpointConfigs($dynamicEndpointConfigs)
{
$this->dynamicEndpointConfigs = $dynamicEndpointConfigs;
}
/**
* @return DynamicEndpointConfig[]
*/
public function getDynamicEndpointConfigs()
{
return $this->dynamicEndpointConfigs;
}
/**
* @param StaticEndpointConfig[]
*/
public function setStaticEndpointConfigs($staticEndpointConfigs)
{
$this->staticEndpointConfigs = $staticEndpointConfigs;
}
/**
* @return StaticEndpointConfig[]
*/
public function getStaticEndpointConfigs()
{
return $this->staticEndpointConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EndpointsConfigDump::class, 'Google_Service_TrafficDirectorService_EndpointsConfigDump');
@@ -0,0 +1,62 @@
<?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 EnvoyInternalAddress extends \Google\Model
{
/**
* @var string
*/
public $endpointId;
/**
* @var string
*/
public $serverListenerName;
/**
* @param string
*/
public function setEndpointId($endpointId)
{
$this->endpointId = $endpointId;
}
/**
* @return string
*/
public function getEndpointId()
{
return $this->endpointId;
}
/**
* @param string
*/
public function setServerListenerName($serverListenerName)
{
$this->serverListenerName = $serverListenerName;
}
/**
* @return string
*/
public function getServerListenerName()
{
return $this->serverListenerName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvoyInternalAddress::class, 'Google_Service_TrafficDirectorService_EnvoyInternalAddress');
@@ -0,0 +1,133 @@
<?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 Extension extends \Google\Collection
{
protected $collection_key = 'typeUrls';
/**
* @var string
*/
public $category;
/**
* @var bool
*/
public $disabled;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $typeDescriptor;
/**
* @var string[]
*/
public $typeUrls;
protected $versionType = BuildVersion::class;
protected $versionDataType = '';
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTypeDescriptor($typeDescriptor)
{
$this->typeDescriptor = $typeDescriptor;
}
/**
* @return string
*/
public function getTypeDescriptor()
{
return $this->typeDescriptor;
}
/**
* @param string[]
*/
public function setTypeUrls($typeUrls)
{
$this->typeUrls = $typeUrls;
}
/**
* @return string[]
*/
public function getTypeUrls()
{
return $this->typeUrls;
}
/**
* @param BuildVersion
*/
public function setVersion(BuildVersion $version)
{
$this->version = $version;
}
/**
* @return BuildVersion
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Extension::class, 'Google_Service_TrafficDirectorService_Extension');
@@ -0,0 +1,186 @@
<?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 GenericXdsConfig extends \Google\Model
{
/**
* @var string
*/
public $clientStatus;
/**
* @var string
*/
public $configStatus;
protected $errorStateType = UpdateFailureState::class;
protected $errorStateDataType = '';
/**
* @var bool
*/
public $isStaticResource;
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $typeUrl;
/**
* @var string
*/
public $versionInfo;
/**
* @var array[]
*/
public $xdsConfig;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param string
*/
public function setConfigStatus($configStatus)
{
$this->configStatus = $configStatus;
}
/**
* @return string
*/
public function getConfigStatus()
{
return $this->configStatus;
}
/**
* @param UpdateFailureState
*/
public function setErrorState(UpdateFailureState $errorState)
{
$this->errorState = $errorState;
}
/**
* @return UpdateFailureState
*/
public function getErrorState()
{
return $this->errorState;
}
/**
* @param bool
*/
public function setIsStaticResource($isStaticResource)
{
$this->isStaticResource = $isStaticResource;
}
/**
* @return bool
*/
public function getIsStaticResource()
{
return $this->isStaticResource;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTypeUrl($typeUrl)
{
$this->typeUrl = $typeUrl;
}
/**
* @return string
*/
public function getTypeUrl()
{
return $this->typeUrl;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
/**
* @param array[]
*/
public function setXdsConfig($xdsConfig)
{
$this->xdsConfig = $xdsConfig;
}
/**
* @return array[]
*/
public function getXdsConfig()
{
return $this->xdsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenericXdsConfig::class, 'Google_Service_TrafficDirectorService_GenericXdsConfig');
@@ -0,0 +1,44 @@
<?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 GoogleRE2 extends \Google\Model
{
/**
* @var string
*/
public $maxProgramSize;
/**
* @param string
*/
public function setMaxProgramSize($maxProgramSize)
{
$this->maxProgramSize = $maxProgramSize;
}
/**
* @return string
*/
public function getMaxProgramSize()
{
return $this->maxProgramSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleRE2::class, 'Google_Service_TrafficDirectorService_GoogleRE2');
@@ -0,0 +1,81 @@
<?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 InlineScopedRouteConfigs extends \Google\Collection
{
protected $collection_key = 'scopedRouteConfigs';
/**
* @var string
*/
public $lastUpdated;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $scopedRouteConfigs;
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setScopedRouteConfigs($scopedRouteConfigs)
{
$this->scopedRouteConfigs = $scopedRouteConfigs;
}
/**
* @return array[]
*/
public function getScopedRouteConfigs()
{
return $this->scopedRouteConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InlineScopedRouteConfigs::class, 'Google_Service_TrafficDirectorService_InlineScopedRouteConfigs');
@@ -0,0 +1,42 @@
<?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 ListMatcher extends \Google\Model
{
protected $oneOfType = ValueMatcher::class;
protected $oneOfDataType = '';
/**
* @param ValueMatcher
*/
public function setOneOf(ValueMatcher $oneOf)
{
$this->oneOf = $oneOf;
}
/**
* @return ValueMatcher
*/
public function getOneOf()
{
return $this->oneOf;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMatcher::class, 'Google_Service_TrafficDirectorService_ListMatcher');
@@ -0,0 +1,77 @@
<?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 ListenersConfigDump extends \Google\Collection
{
protected $collection_key = 'staticListeners';
protected $dynamicListenersType = DynamicListener::class;
protected $dynamicListenersDataType = 'array';
protected $staticListenersType = StaticListener::class;
protected $staticListenersDataType = 'array';
/**
* @var string
*/
public $versionInfo;
/**
* @param DynamicListener[]
*/
public function setDynamicListeners($dynamicListeners)
{
$this->dynamicListeners = $dynamicListeners;
}
/**
* @return DynamicListener[]
*/
public function getDynamicListeners()
{
return $this->dynamicListeners;
}
/**
* @param StaticListener[]
*/
public function setStaticListeners($staticListeners)
{
$this->staticListeners = $staticListeners;
}
/**
* @return StaticListener[]
*/
public function getStaticListeners()
{
return $this->staticListeners;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListenersConfigDump::class, 'Google_Service_TrafficDirectorService_ListenersConfigDump');
@@ -0,0 +1,80 @@
<?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 Locality extends \Google\Model
{
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $subZone;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setSubZone($subZone)
{
$this->subZone = $subZone;
}
/**
* @return string
*/
public function getSubZone()
{
return $this->subZone;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Locality::class, 'Google_Service_TrafficDirectorService_Locality');
@@ -0,0 +1,215 @@
<?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 Node extends \Google\Collection
{
protected $collection_key = 'listeningAddresses';
/**
* @var string[]
*/
public $clientFeatures;
/**
* @var string
*/
public $cluster;
protected $dynamicParametersType = ContextParams::class;
protected $dynamicParametersDataType = 'map';
protected $extensionsType = Extension::class;
protected $extensionsDataType = 'array';
/**
* @var string
*/
public $id;
protected $listeningAddressesType = Address::class;
protected $listeningAddressesDataType = 'array';
protected $localityType = Locality::class;
protected $localityDataType = '';
/**
* @var array[]
*/
public $metadata;
protected $userAgentBuildVersionType = BuildVersion::class;
protected $userAgentBuildVersionDataType = '';
/**
* @var string
*/
public $userAgentName;
/**
* @var string
*/
public $userAgentVersion;
/**
* @param string[]
*/
public function setClientFeatures($clientFeatures)
{
$this->clientFeatures = $clientFeatures;
}
/**
* @return string[]
*/
public function getClientFeatures()
{
return $this->clientFeatures;
}
/**
* @param string
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
/**
* @param ContextParams[]
*/
public function setDynamicParameters($dynamicParameters)
{
$this->dynamicParameters = $dynamicParameters;
}
/**
* @return ContextParams[]
*/
public function getDynamicParameters()
{
return $this->dynamicParameters;
}
/**
* @param Extension[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return Extension[]
*/
public function getExtensions()
{
return $this->extensions;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Address[]
*/
public function setListeningAddresses($listeningAddresses)
{
$this->listeningAddresses = $listeningAddresses;
}
/**
* @return Address[]
*/
public function getListeningAddresses()
{
return $this->listeningAddresses;
}
/**
* @param Locality
*/
public function setLocality(Locality $locality)
{
$this->locality = $locality;
}
/**
* @return Locality
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param BuildVersion
*/
public function setUserAgentBuildVersion(BuildVersion $userAgentBuildVersion)
{
$this->userAgentBuildVersion = $userAgentBuildVersion;
}
/**
* @return BuildVersion
*/
public function getUserAgentBuildVersion()
{
return $this->userAgentBuildVersion;
}
/**
* @param string
*/
public function setUserAgentName($userAgentName)
{
$this->userAgentName = $userAgentName;
}
/**
* @return string
*/
public function getUserAgentName()
{
return $this->userAgentName;
}
/**
* @param string
*/
public function setUserAgentVersion($userAgentVersion)
{
$this->userAgentVersion = $userAgentVersion;
}
/**
* @return string
*/
public function getUserAgentVersion()
{
return $this->userAgentVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Node::class, 'Google_Service_TrafficDirectorService_Node');
@@ -0,0 +1,59 @@
<?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 NodeMatcher extends \Google\Collection
{
protected $collection_key = 'nodeMetadatas';
protected $nodeIdType = StringMatcher::class;
protected $nodeIdDataType = '';
protected $nodeMetadatasType = StructMatcher::class;
protected $nodeMetadatasDataType = 'array';
/**
* @param StringMatcher
*/
public function setNodeId(StringMatcher $nodeId)
{
$this->nodeId = $nodeId;
}
/**
* @return StringMatcher
*/
public function getNodeId()
{
return $this->nodeId;
}
/**
* @param StructMatcher[]
*/
public function setNodeMetadatas($nodeMetadatas)
{
$this->nodeMetadatas = $nodeMetadatas;
}
/**
* @return StructMatcher[]
*/
public function getNodeMetadatas()
{
return $this->nodeMetadatas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeMatcher::class, 'Google_Service_TrafficDirectorService_NodeMatcher');
@@ -0,0 +1,25 @@
<?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 NullMatch extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NullMatch::class, 'Google_Service_TrafficDirectorService_NullMatch');
@@ -0,0 +1,43 @@
<?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 OrMatcher extends \Google\Collection
{
protected $collection_key = 'valueMatchers';
protected $valueMatchersType = ValueMatcher::class;
protected $valueMatchersDataType = 'array';
/**
* @param ValueMatcher[]
*/
public function setValueMatchers($valueMatchers)
{
$this->valueMatchers = $valueMatchers;
}
/**
* @return ValueMatcher[]
*/
public function getValueMatchers()
{
return $this->valueMatchers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrMatcher::class, 'Google_Service_TrafficDirectorService_OrMatcher');
@@ -0,0 +1,44 @@
<?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 PathSegment extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PathSegment::class, 'Google_Service_TrafficDirectorService_PathSegment');
@@ -0,0 +1,142 @@
<?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
{
/**
* @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 = '';
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setClientStatus($clientStatus)
{
$this->clientStatus = $clientStatus;
}
/**
* @return string
*/
public function getClientStatus()
{
return $this->clientStatus;
}
/**
* @param ClustersConfigDump
*/
public function setClusterConfig(ClustersConfigDump $clusterConfig)
{
$this->clusterConfig = $clusterConfig;
}
/**
* @return ClustersConfigDump
*/
public function getClusterConfig()
{
return $this->clusterConfig;
}
/**
* @param EndpointsConfigDump
*/
public function setEndpointConfig(EndpointsConfigDump $endpointConfig)
{
$this->endpointConfig = $endpointConfig;
}
/**
* @return EndpointsConfigDump
*/
public function getEndpointConfig()
{
return $this->endpointConfig;
}
/**
* @param ListenersConfigDump
*/
public function setListenerConfig(ListenersConfigDump $listenerConfig)
{
$this->listenerConfig = $listenerConfig;
}
/**
* @return ListenersConfigDump
*/
public function getListenerConfig()
{
return $this->listenerConfig;
}
/**
* @param RoutesConfigDump
*/
public function setRouteConfig(RoutesConfigDump $routeConfig)
{
$this->routeConfig = $routeConfig;
}
/**
* @return RoutesConfigDump
*/
public function getRouteConfig()
{
return $this->routeConfig;
}
/**
* @param ScopedRoutesConfigDump
*/
public function setScopedRouteConfig(ScopedRoutesConfigDump $scopedRouteConfig)
{
$this->scopedRouteConfig = $scopedRouteConfig;
}
/**
* @return ScopedRoutesConfigDump
*/
public function getScopedRouteConfig()
{
return $this->scopedRouteConfig;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
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');
@@ -0,0 +1,62 @@
<?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 Pipe extends \Google\Model
{
/**
* @var string
*/
public $mode;
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return string
*/
public function getMode()
{
return $this->mode;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Pipe::class, 'Google_Service_TrafficDirectorService_Pipe');
@@ -0,0 +1,60 @@
<?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 RegexMatcher extends \Google\Model
{
protected $googleRe2Type = GoogleRE2::class;
protected $googleRe2DataType = '';
/**
* @var string
*/
public $regex;
/**
* @param GoogleRE2
*/
public function setGoogleRe2(GoogleRE2 $googleRe2)
{
$this->googleRe2 = $googleRe2;
}
/**
* @return GoogleRE2
*/
public function getGoogleRe2()
{
return $this->googleRe2;
}
/**
* @param string
*/
public function setRegex($regex)
{
$this->regex = $regex;
}
/**
* @return string
*/
public function getRegex()
{
return $this->regex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegexMatcher::class, 'Google_Service_TrafficDirectorService_RegexMatcher');
@@ -0,0 +1,50 @@
<?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\Resource;
use Google\Service\TrafficDirectorService\ClientStatusRequest;
use Google\Service\TrafficDirectorService\ClientStatusResponse;
/**
* The "discovery" collection of methods.
* Typical usage is:
* <code>
* $trafficdirectorService = new Google\Service\TrafficDirectorService(...);
* $discovery = $trafficdirectorService->discovery;
* </code>
*/
class Discovery extends \Google\Service\Resource
{
/**
* (discovery.client_status)
*
* @param ClientStatusRequest $postBody
* @param array $optParams Optional parameters.
* @return ClientStatusResponse
* @throws \Google\Service\Exception
*/
public function client_status(ClientStatusRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('client_status', [$params], ClientStatusResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Discovery::class, 'Google_Service_TrafficDirectorService_Resource_Discovery');
@@ -0,0 +1,59 @@
<?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 RoutesConfigDump extends \Google\Collection
{
protected $collection_key = 'staticRouteConfigs';
protected $dynamicRouteConfigsType = DynamicRouteConfig::class;
protected $dynamicRouteConfigsDataType = 'array';
protected $staticRouteConfigsType = StaticRouteConfig::class;
protected $staticRouteConfigsDataType = 'array';
/**
* @param DynamicRouteConfig[]
*/
public function setDynamicRouteConfigs($dynamicRouteConfigs)
{
$this->dynamicRouteConfigs = $dynamicRouteConfigs;
}
/**
* @return DynamicRouteConfig[]
*/
public function getDynamicRouteConfigs()
{
return $this->dynamicRouteConfigs;
}
/**
* @param StaticRouteConfig[]
*/
public function setStaticRouteConfigs($staticRouteConfigs)
{
$this->staticRouteConfigs = $staticRouteConfigs;
}
/**
* @return StaticRouteConfig[]
*/
public function getStaticRouteConfigs()
{
return $this->staticRouteConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RoutesConfigDump::class, 'Google_Service_TrafficDirectorService_RoutesConfigDump');
@@ -0,0 +1,59 @@
<?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 ScopedRoutesConfigDump extends \Google\Collection
{
protected $collection_key = 'inlineScopedRouteConfigs';
protected $dynamicScopedRouteConfigsType = DynamicScopedRouteConfigs::class;
protected $dynamicScopedRouteConfigsDataType = 'array';
protected $inlineScopedRouteConfigsType = InlineScopedRouteConfigs::class;
protected $inlineScopedRouteConfigsDataType = 'array';
/**
* @param DynamicScopedRouteConfigs[]
*/
public function setDynamicScopedRouteConfigs($dynamicScopedRouteConfigs)
{
$this->dynamicScopedRouteConfigs = $dynamicScopedRouteConfigs;
}
/**
* @return DynamicScopedRouteConfigs[]
*/
public function getDynamicScopedRouteConfigs()
{
return $this->dynamicScopedRouteConfigs;
}
/**
* @param InlineScopedRouteConfigs[]
*/
public function setInlineScopedRouteConfigs($inlineScopedRouteConfigs)
{
$this->inlineScopedRouteConfigs = $inlineScopedRouteConfigs;
}
/**
* @return InlineScopedRouteConfigs[]
*/
public function getInlineScopedRouteConfigs()
{
return $this->inlineScopedRouteConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScopedRoutesConfigDump::class, 'Google_Service_TrafficDirectorService_ScopedRoutesConfigDump');
@@ -0,0 +1,80 @@
<?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 SemanticVersion extends \Google\Model
{
/**
* @var string
*/
public $majorNumber;
/**
* @var string
*/
public $minorNumber;
/**
* @var string
*/
public $patch;
/**
* @param string
*/
public function setMajorNumber($majorNumber)
{
$this->majorNumber = $majorNumber;
}
/**
* @return string
*/
public function getMajorNumber()
{
return $this->majorNumber;
}
/**
* @param string
*/
public function setMinorNumber($minorNumber)
{
$this->minorNumber = $minorNumber;
}
/**
* @return string
*/
public function getMinorNumber()
{
return $this->minorNumber;
}
/**
* @param string
*/
public function setPatch($patch)
{
$this->patch = $patch;
}
/**
* @return string
*/
public function getPatch()
{
return $this->patch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SemanticVersion::class, 'Google_Service_TrafficDirectorService_SemanticVersion');
@@ -0,0 +1,134 @@
<?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 SocketAddress extends \Google\Model
{
/**
* @var string
*/
public $address;
/**
* @var bool
*/
public $ipv4Compat;
/**
* @var string
*/
public $namedPort;
/**
* @var string
*/
public $portValue;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $resolverName;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param bool
*/
public function setIpv4Compat($ipv4Compat)
{
$this->ipv4Compat = $ipv4Compat;
}
/**
* @return bool
*/
public function getIpv4Compat()
{
return $this->ipv4Compat;
}
/**
* @param string
*/
public function setNamedPort($namedPort)
{
$this->namedPort = $namedPort;
}
/**
* @return string
*/
public function getNamedPort()
{
return $this->namedPort;
}
/**
* @param string
*/
public function setPortValue($portValue)
{
$this->portValue = $portValue;
}
/**
* @return string
*/
public function getPortValue()
{
return $this->portValue;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setResolverName($resolverName)
{
$this->resolverName = $resolverName;
}
/**
* @return string
*/
public function getResolverName()
{
return $this->resolverName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SocketAddress::class, 'Google_Service_TrafficDirectorService_SocketAddress');
@@ -0,0 +1,62 @@
<?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 StaticCluster extends \Google\Model
{
/**
* @var array[]
*/
public $cluster;
/**
* @var string
*/
public $lastUpdated;
/**
* @param array[]
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return array[]
*/
public function getCluster()
{
return $this->cluster;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StaticCluster::class, 'Google_Service_TrafficDirectorService_StaticCluster');
@@ -0,0 +1,62 @@
<?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 StaticEndpointConfig extends \Google\Model
{
/**
* @var array[]
*/
public $endpointConfig;
/**
* @var string
*/
public $lastUpdated;
/**
* @param array[]
*/
public function setEndpointConfig($endpointConfig)
{
$this->endpointConfig = $endpointConfig;
}
/**
* @return array[]
*/
public function getEndpointConfig()
{
return $this->endpointConfig;
}
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StaticEndpointConfig::class, 'Google_Service_TrafficDirectorService_StaticEndpointConfig');
@@ -0,0 +1,62 @@
<?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 StaticListener extends \Google\Model
{
/**
* @var string
*/
public $lastUpdated;
/**
* @var array[]
*/
public $listener;
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param array[]
*/
public function setListener($listener)
{
$this->listener = $listener;
}
/**
* @return array[]
*/
public function getListener()
{
return $this->listener;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StaticListener::class, 'Google_Service_TrafficDirectorService_StaticListener');
@@ -0,0 +1,62 @@
<?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 StaticRouteConfig extends \Google\Model
{
/**
* @var string
*/
public $lastUpdated;
/**
* @var array[]
*/
public $routeConfig;
/**
* @param string
*/
public function setLastUpdated($lastUpdated)
{
$this->lastUpdated = $lastUpdated;
}
/**
* @return string
*/
public function getLastUpdated()
{
return $this->lastUpdated;
}
/**
* @param array[]
*/
public function setRouteConfig($routeConfig)
{
$this->routeConfig = $routeConfig;
}
/**
* @return array[]
*/
public function getRouteConfig()
{
return $this->routeConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StaticRouteConfig::class, 'Google_Service_TrafficDirectorService_StaticRouteConfig');
@@ -0,0 +1,148 @@
<?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 StringMatcher extends \Google\Model
{
/**
* @var string
*/
public $contains;
protected $customType = TypedExtensionConfig::class;
protected $customDataType = '';
/**
* @var string
*/
public $exact;
/**
* @var bool
*/
public $ignoreCase;
/**
* @var string
*/
public $prefix;
protected $safeRegexType = RegexMatcher::class;
protected $safeRegexDataType = '';
/**
* @var string
*/
public $suffix;
/**
* @param string
*/
public function setContains($contains)
{
$this->contains = $contains;
}
/**
* @return string
*/
public function getContains()
{
return $this->contains;
}
/**
* @param TypedExtensionConfig
*/
public function setCustom(TypedExtensionConfig $custom)
{
$this->custom = $custom;
}
/**
* @return TypedExtensionConfig
*/
public function getCustom()
{
return $this->custom;
}
/**
* @param string
*/
public function setExact($exact)
{
$this->exact = $exact;
}
/**
* @return string
*/
public function getExact()
{
return $this->exact;
}
/**
* @param bool
*/
public function setIgnoreCase($ignoreCase)
{
$this->ignoreCase = $ignoreCase;
}
/**
* @return bool
*/
public function getIgnoreCase()
{
return $this->ignoreCase;
}
/**
* @param string
*/
public function setPrefix($prefix)
{
$this->prefix = $prefix;
}
/**
* @return string
*/
public function getPrefix()
{
return $this->prefix;
}
/**
* @param RegexMatcher
*/
public function setSafeRegex(RegexMatcher $safeRegex)
{
$this->safeRegex = $safeRegex;
}
/**
* @return RegexMatcher
*/
public function getSafeRegex()
{
return $this->safeRegex;
}
/**
* @param string
*/
public function setSuffix($suffix)
{
$this->suffix = $suffix;
}
/**
* @return string
*/
public function getSuffix()
{
return $this->suffix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StringMatcher::class, 'Google_Service_TrafficDirectorService_StringMatcher');
@@ -0,0 +1,59 @@
<?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 StructMatcher extends \Google\Collection
{
protected $collection_key = 'path';
protected $pathType = PathSegment::class;
protected $pathDataType = 'array';
protected $valueType = ValueMatcher::class;
protected $valueDataType = '';
/**
* @param PathSegment[]
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return PathSegment[]
*/
public function getPath()
{
return $this->path;
}
/**
* @param ValueMatcher
*/
public function setValue(ValueMatcher $value)
{
$this->value = $value;
}
/**
* @return ValueMatcher
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StructMatcher::class, 'Google_Service_TrafficDirectorService_StructMatcher');
@@ -0,0 +1,62 @@
<?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 TypedExtensionConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $typedConfig;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setTypedConfig($typedConfig)
{
$this->typedConfig = $typedConfig;
}
/**
* @return array[]
*/
public function getTypedConfig()
{
return $this->typedConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TypedExtensionConfig::class, 'Google_Service_TrafficDirectorService_TypedExtensionConfig');
@@ -0,0 +1,98 @@
<?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 UpdateFailureState extends \Google\Model
{
/**
* @var string
*/
public $details;
/**
* @var array[]
*/
public $failedConfiguration;
/**
* @var string
*/
public $lastUpdateAttempt;
/**
* @var string
*/
public $versionInfo;
/**
* @param string
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param array[]
*/
public function setFailedConfiguration($failedConfiguration)
{
$this->failedConfiguration = $failedConfiguration;
}
/**
* @return array[]
*/
public function getFailedConfiguration()
{
return $this->failedConfiguration;
}
/**
* @param string
*/
public function setLastUpdateAttempt($lastUpdateAttempt)
{
$this->lastUpdateAttempt = $lastUpdateAttempt;
}
/**
* @return string
*/
public function getLastUpdateAttempt()
{
return $this->lastUpdateAttempt;
}
/**
* @param string
*/
public function setVersionInfo($versionInfo)
{
$this->versionInfo = $versionInfo;
}
/**
* @return string
*/
public function getVersionInfo()
{
return $this->versionInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpdateFailureState::class, 'Google_Service_TrafficDirectorService_UpdateFailureState');
@@ -0,0 +1,142 @@
<?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 ValueMatcher extends \Google\Model
{
/**
* @var bool
*/
public $boolMatch;
protected $doubleMatchType = DoubleMatcher::class;
protected $doubleMatchDataType = '';
protected $listMatchType = ListMatcher::class;
protected $listMatchDataType = '';
protected $nullMatchType = NullMatch::class;
protected $nullMatchDataType = '';
protected $orMatchType = OrMatcher::class;
protected $orMatchDataType = '';
/**
* @var bool
*/
public $presentMatch;
protected $stringMatchType = StringMatcher::class;
protected $stringMatchDataType = '';
/**
* @param bool
*/
public function setBoolMatch($boolMatch)
{
$this->boolMatch = $boolMatch;
}
/**
* @return bool
*/
public function getBoolMatch()
{
return $this->boolMatch;
}
/**
* @param DoubleMatcher
*/
public function setDoubleMatch(DoubleMatcher $doubleMatch)
{
$this->doubleMatch = $doubleMatch;
}
/**
* @return DoubleMatcher
*/
public function getDoubleMatch()
{
return $this->doubleMatch;
}
/**
* @param ListMatcher
*/
public function setListMatch(ListMatcher $listMatch)
{
$this->listMatch = $listMatch;
}
/**
* @return ListMatcher
*/
public function getListMatch()
{
return $this->listMatch;
}
/**
* @param NullMatch
*/
public function setNullMatch(NullMatch $nullMatch)
{
$this->nullMatch = $nullMatch;
}
/**
* @return NullMatch
*/
public function getNullMatch()
{
return $this->nullMatch;
}
/**
* @param OrMatcher
*/
public function setOrMatch(OrMatcher $orMatch)
{
$this->orMatch = $orMatch;
}
/**
* @return OrMatcher
*/
public function getOrMatch()
{
return $this->orMatch;
}
/**
* @param bool
*/
public function setPresentMatch($presentMatch)
{
$this->presentMatch = $presentMatch;
}
/**
* @return bool
*/
public function getPresentMatch()
{
return $this->presentMatch;
}
/**
* @param StringMatcher
*/
public function setStringMatch(StringMatcher $stringMatch)
{
$this->stringMatch = $stringMatch;
}
/**
* @return StringMatcher
*/
public function getStringMatch()
{
return $this->stringMatch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ValueMatcher::class, 'Google_Service_TrafficDirectorService_ValueMatcher');