218 lines
4.4 KiB
PHP
Executable File
218 lines
4.4 KiB
PHP
Executable File
<?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\Apigee;
|
|
|
|
class GoogleCloudApigeeV1Deployment extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'routeConflicts';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $apiProxy;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $deployStartTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $environment;
|
|
protected $errorsType = GoogleRpcStatus::class;
|
|
protected $errorsDataType = 'array';
|
|
protected $instancesType = GoogleCloudApigeeV1InstanceDeploymentStatus::class;
|
|
protected $instancesDataType = 'array';
|
|
protected $podsType = GoogleCloudApigeeV1PodStatus::class;
|
|
protected $podsDataType = 'array';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $proxyDeploymentType;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $revision;
|
|
protected $routeConflictsType = GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict::class;
|
|
protected $routeConflictsDataType = 'array';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $serviceAccount;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $state;
|
|
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setApiProxy($apiProxy)
|
|
{
|
|
$this->apiProxy = $apiProxy;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getApiProxy()
|
|
{
|
|
return $this->apiProxy;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDeployStartTime($deployStartTime)
|
|
{
|
|
$this->deployStartTime = $deployStartTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDeployStartTime()
|
|
{
|
|
return $this->deployStartTime;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEnvironment($environment)
|
|
{
|
|
$this->environment = $environment;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEnvironment()
|
|
{
|
|
return $this->environment;
|
|
}
|
|
/**
|
|
* @param GoogleRpcStatus[]
|
|
*/
|
|
public function setErrors($errors)
|
|
{
|
|
$this->errors = $errors;
|
|
}
|
|
/**
|
|
* @return GoogleRpcStatus[]
|
|
*/
|
|
public function getErrors()
|
|
{
|
|
return $this->errors;
|
|
}
|
|
/**
|
|
* @param GoogleCloudApigeeV1InstanceDeploymentStatus[]
|
|
*/
|
|
public function setInstances($instances)
|
|
{
|
|
$this->instances = $instances;
|
|
}
|
|
/**
|
|
* @return GoogleCloudApigeeV1InstanceDeploymentStatus[]
|
|
*/
|
|
public function getInstances()
|
|
{
|
|
return $this->instances;
|
|
}
|
|
/**
|
|
* @param GoogleCloudApigeeV1PodStatus[]
|
|
*/
|
|
public function setPods($pods)
|
|
{
|
|
$this->pods = $pods;
|
|
}
|
|
/**
|
|
* @return GoogleCloudApigeeV1PodStatus[]
|
|
*/
|
|
public function getPods()
|
|
{
|
|
return $this->pods;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setProxyDeploymentType($proxyDeploymentType)
|
|
{
|
|
$this->proxyDeploymentType = $proxyDeploymentType;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getProxyDeploymentType()
|
|
{
|
|
return $this->proxyDeploymentType;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setRevision($revision)
|
|
{
|
|
$this->revision = $revision;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRevision()
|
|
{
|
|
return $this->revision;
|
|
}
|
|
/**
|
|
* @param GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict[]
|
|
*/
|
|
public function setRouteConflicts($routeConflicts)
|
|
{
|
|
$this->routeConflicts = $routeConflicts;
|
|
}
|
|
/**
|
|
* @return GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict[]
|
|
*/
|
|
public function getRouteConflicts()
|
|
{
|
|
return $this->routeConflicts;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setServiceAccount($serviceAccount)
|
|
{
|
|
$this->serviceAccount = $serviceAccount;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getServiceAccount()
|
|
{
|
|
return $this->serviceAccount;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setState($state)
|
|
{
|
|
$this->state = $state;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getState()
|
|
{
|
|
return $this->state;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleCloudApigeeV1Deployment::class, 'Google_Service_Apigee_GoogleCloudApigeeV1Deployment');
|