580 lines
12 KiB
PHP
580 lines
12 KiB
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\Integrations;
|
|
|
|
class GoogleCloudConnectorsV1Connection extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'destinationConfigs';
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $asyncOperationsEnabled;
|
|
protected $authConfigType = GoogleCloudConnectorsV1AuthConfig::class;
|
|
protected $authConfigDataType = '';
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $authOverrideEnabled;
|
|
protected $billingConfigType = GoogleCloudConnectorsV1BillingConfig::class;
|
|
protected $billingConfigDataType = '';
|
|
protected $configVariablesType = GoogleCloudConnectorsV1ConfigVariable::class;
|
|
protected $configVariablesDataType = 'array';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $connectionRevision;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $connectorVersion;
|
|
protected $connectorVersionInfraConfigType = GoogleCloudConnectorsV1ConnectorVersionInfraConfig::class;
|
|
protected $connectorVersionInfraConfigDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $connectorVersionLaunchStage;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $createTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $description;
|
|
protected $destinationConfigsType = GoogleCloudConnectorsV1DestinationConfig::class;
|
|
protected $destinationConfigsDataType = 'array';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $envoyImageLocation;
|
|
protected $eventingConfigType = GoogleCloudConnectorsV1EventingConfig::class;
|
|
protected $eventingConfigDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $eventingEnablementType;
|
|
protected $eventingRuntimeDataType = GoogleCloudConnectorsV1EventingRuntimeData::class;
|
|
protected $eventingRuntimeDataDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $host;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $imageLocation;
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $isTrustedTester;
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $labels;
|
|
protected $lockConfigType = GoogleCloudConnectorsV1LockConfig::class;
|
|
protected $lockConfigDataType = '';
|
|
protected $logConfigType = GoogleCloudConnectorsV1LogConfig::class;
|
|
protected $logConfigDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $name;
|
|
protected $nodeConfigType = GoogleCloudConnectorsV1NodeConfig::class;
|
|
protected $nodeConfigDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $serviceAccount;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $serviceDirectory;
|
|
protected $sslConfigType = GoogleCloudConnectorsV1SslConfig::class;
|
|
protected $sslConfigDataType = '';
|
|
protected $statusType = GoogleCloudConnectorsV1ConnectionStatus::class;
|
|
protected $statusDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $subscriptionType;
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $suspended;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $tlsServiceDirectory;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $updateTime;
|
|
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setAsyncOperationsEnabled($asyncOperationsEnabled)
|
|
{
|
|
$this->asyncOperationsEnabled = $asyncOperationsEnabled;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getAsyncOperationsEnabled()
|
|
{
|
|
return $this->asyncOperationsEnabled;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1AuthConfig
|
|
*/
|
|
public function setAuthConfig(GoogleCloudConnectorsV1AuthConfig $authConfig)
|
|
{
|
|
$this->authConfig = $authConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1AuthConfig
|
|
*/
|
|
public function getAuthConfig()
|
|
{
|
|
return $this->authConfig;
|
|
}
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setAuthOverrideEnabled($authOverrideEnabled)
|
|
{
|
|
$this->authOverrideEnabled = $authOverrideEnabled;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getAuthOverrideEnabled()
|
|
{
|
|
return $this->authOverrideEnabled;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1BillingConfig
|
|
*/
|
|
public function setBillingConfig(GoogleCloudConnectorsV1BillingConfig $billingConfig)
|
|
{
|
|
$this->billingConfig = $billingConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1BillingConfig
|
|
*/
|
|
public function getBillingConfig()
|
|
{
|
|
return $this->billingConfig;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1ConfigVariable[]
|
|
*/
|
|
public function setConfigVariables($configVariables)
|
|
{
|
|
$this->configVariables = $configVariables;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1ConfigVariable[]
|
|
*/
|
|
public function getConfigVariables()
|
|
{
|
|
return $this->configVariables;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setConnectionRevision($connectionRevision)
|
|
{
|
|
$this->connectionRevision = $connectionRevision;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getConnectionRevision()
|
|
{
|
|
return $this->connectionRevision;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setConnectorVersion($connectorVersion)
|
|
{
|
|
$this->connectorVersion = $connectorVersion;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getConnectorVersion()
|
|
{
|
|
return $this->connectorVersion;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1ConnectorVersionInfraConfig
|
|
*/
|
|
public function setConnectorVersionInfraConfig(GoogleCloudConnectorsV1ConnectorVersionInfraConfig $connectorVersionInfraConfig)
|
|
{
|
|
$this->connectorVersionInfraConfig = $connectorVersionInfraConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1ConnectorVersionInfraConfig
|
|
*/
|
|
public function getConnectorVersionInfraConfig()
|
|
{
|
|
return $this->connectorVersionInfraConfig;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setConnectorVersionLaunchStage($connectorVersionLaunchStage)
|
|
{
|
|
$this->connectorVersionLaunchStage = $connectorVersionLaunchStage;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getConnectorVersionLaunchStage()
|
|
{
|
|
return $this->connectorVersionLaunchStage;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setCreateTime($createTime)
|
|
{
|
|
$this->createTime = $createTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCreateTime()
|
|
{
|
|
return $this->createTime;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1DestinationConfig[]
|
|
*/
|
|
public function setDestinationConfigs($destinationConfigs)
|
|
{
|
|
$this->destinationConfigs = $destinationConfigs;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1DestinationConfig[]
|
|
*/
|
|
public function getDestinationConfigs()
|
|
{
|
|
return $this->destinationConfigs;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEnvoyImageLocation($envoyImageLocation)
|
|
{
|
|
$this->envoyImageLocation = $envoyImageLocation;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEnvoyImageLocation()
|
|
{
|
|
return $this->envoyImageLocation;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1EventingConfig
|
|
*/
|
|
public function setEventingConfig(GoogleCloudConnectorsV1EventingConfig $eventingConfig)
|
|
{
|
|
$this->eventingConfig = $eventingConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1EventingConfig
|
|
*/
|
|
public function getEventingConfig()
|
|
{
|
|
return $this->eventingConfig;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEventingEnablementType($eventingEnablementType)
|
|
{
|
|
$this->eventingEnablementType = $eventingEnablementType;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEventingEnablementType()
|
|
{
|
|
return $this->eventingEnablementType;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1EventingRuntimeData
|
|
*/
|
|
public function setEventingRuntimeData(GoogleCloudConnectorsV1EventingRuntimeData $eventingRuntimeData)
|
|
{
|
|
$this->eventingRuntimeData = $eventingRuntimeData;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1EventingRuntimeData
|
|
*/
|
|
public function getEventingRuntimeData()
|
|
{
|
|
return $this->eventingRuntimeData;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setHost($host)
|
|
{
|
|
$this->host = $host;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getHost()
|
|
{
|
|
return $this->host;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setImageLocation($imageLocation)
|
|
{
|
|
$this->imageLocation = $imageLocation;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getImageLocation()
|
|
{
|
|
return $this->imageLocation;
|
|
}
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setIsTrustedTester($isTrustedTester)
|
|
{
|
|
$this->isTrustedTester = $isTrustedTester;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getIsTrustedTester()
|
|
{
|
|
return $this->isTrustedTester;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setLabels($labels)
|
|
{
|
|
$this->labels = $labels;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getLabels()
|
|
{
|
|
return $this->labels;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1LockConfig
|
|
*/
|
|
public function setLockConfig(GoogleCloudConnectorsV1LockConfig $lockConfig)
|
|
{
|
|
$this->lockConfig = $lockConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1LockConfig
|
|
*/
|
|
public function getLockConfig()
|
|
{
|
|
return $this->lockConfig;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1LogConfig
|
|
*/
|
|
public function setLogConfig(GoogleCloudConnectorsV1LogConfig $logConfig)
|
|
{
|
|
$this->logConfig = $logConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1LogConfig
|
|
*/
|
|
public function getLogConfig()
|
|
{
|
|
return $this->logConfig;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setName($name)
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1NodeConfig
|
|
*/
|
|
public function setNodeConfig(GoogleCloudConnectorsV1NodeConfig $nodeConfig)
|
|
{
|
|
$this->nodeConfig = $nodeConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1NodeConfig
|
|
*/
|
|
public function getNodeConfig()
|
|
{
|
|
return $this->nodeConfig;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setServiceAccount($serviceAccount)
|
|
{
|
|
$this->serviceAccount = $serviceAccount;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getServiceAccount()
|
|
{
|
|
return $this->serviceAccount;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setServiceDirectory($serviceDirectory)
|
|
{
|
|
$this->serviceDirectory = $serviceDirectory;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getServiceDirectory()
|
|
{
|
|
return $this->serviceDirectory;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1SslConfig
|
|
*/
|
|
public function setSslConfig(GoogleCloudConnectorsV1SslConfig $sslConfig)
|
|
{
|
|
$this->sslConfig = $sslConfig;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1SslConfig
|
|
*/
|
|
public function getSslConfig()
|
|
{
|
|
return $this->sslConfig;
|
|
}
|
|
/**
|
|
* @param GoogleCloudConnectorsV1ConnectionStatus
|
|
*/
|
|
public function setStatus(GoogleCloudConnectorsV1ConnectionStatus $status)
|
|
{
|
|
$this->status = $status;
|
|
}
|
|
/**
|
|
* @return GoogleCloudConnectorsV1ConnectionStatus
|
|
*/
|
|
public function getStatus()
|
|
{
|
|
return $this->status;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setSubscriptionType($subscriptionType)
|
|
{
|
|
$this->subscriptionType = $subscriptionType;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSubscriptionType()
|
|
{
|
|
return $this->subscriptionType;
|
|
}
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setSuspended($suspended)
|
|
{
|
|
$this->suspended = $suspended;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getSuspended()
|
|
{
|
|
return $this->suspended;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setTlsServiceDirectory($tlsServiceDirectory)
|
|
{
|
|
$this->tlsServiceDirectory = $tlsServiceDirectory;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getTlsServiceDirectory()
|
|
{
|
|
return $this->tlsServiceDirectory;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setUpdateTime($updateTime)
|
|
{
|
|
$this->updateTime = $updateTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUpdateTime()
|
|
{
|
|
return $this->updateTime;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleCloudConnectorsV1Connection::class, 'Google_Service_Integrations_GoogleCloudConnectorsV1Connection');
|