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

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_VMwareEngine_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?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\VMwareEngine;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_VMwareEngine_AuditLogConfig');

View File

@@ -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\VMwareEngine;
class AutoscalingPolicy extends \Google\Model
{
protected $consumedMemoryThresholdsType = Thresholds::class;
protected $consumedMemoryThresholdsDataType = '';
protected $cpuThresholdsType = Thresholds::class;
protected $cpuThresholdsDataType = '';
protected $grantedMemoryThresholdsType = Thresholds::class;
protected $grantedMemoryThresholdsDataType = '';
/**
* @var string
*/
public $nodeTypeId;
/**
* @var int
*/
public $scaleOutSize;
protected $storageThresholdsType = Thresholds::class;
protected $storageThresholdsDataType = '';
/**
* @param Thresholds
*/
public function setConsumedMemoryThresholds(Thresholds $consumedMemoryThresholds)
{
$this->consumedMemoryThresholds = $consumedMemoryThresholds;
}
/**
* @return Thresholds
*/
public function getConsumedMemoryThresholds()
{
return $this->consumedMemoryThresholds;
}
/**
* @param Thresholds
*/
public function setCpuThresholds(Thresholds $cpuThresholds)
{
$this->cpuThresholds = $cpuThresholds;
}
/**
* @return Thresholds
*/
public function getCpuThresholds()
{
return $this->cpuThresholds;
}
/**
* @param Thresholds
*/
public function setGrantedMemoryThresholds(Thresholds $grantedMemoryThresholds)
{
$this->grantedMemoryThresholds = $grantedMemoryThresholds;
}
/**
* @return Thresholds
*/
public function getGrantedMemoryThresholds()
{
return $this->grantedMemoryThresholds;
}
/**
* @param string
*/
public function setNodeTypeId($nodeTypeId)
{
$this->nodeTypeId = $nodeTypeId;
}
/**
* @return string
*/
public function getNodeTypeId()
{
return $this->nodeTypeId;
}
/**
* @param int
*/
public function setScaleOutSize($scaleOutSize)
{
$this->scaleOutSize = $scaleOutSize;
}
/**
* @return int
*/
public function getScaleOutSize()
{
return $this->scaleOutSize;
}
/**
* @param Thresholds
*/
public function setStorageThresholds(Thresholds $storageThresholds)
{
$this->storageThresholds = $storageThresholds;
}
/**
* @return Thresholds
*/
public function getStorageThresholds()
{
return $this->storageThresholds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicy::class, 'Google_Service_VMwareEngine_AutoscalingPolicy');

View File

@@ -0,0 +1,96 @@
<?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\VMwareEngine;
class AutoscalingSettings extends \Google\Model
{
protected $autoscalingPoliciesType = AutoscalingPolicy::class;
protected $autoscalingPoliciesDataType = 'map';
/**
* @var string
*/
public $coolDownPeriod;
/**
* @var int
*/
public $maxClusterNodeCount;
/**
* @var int
*/
public $minClusterNodeCount;
/**
* @param AutoscalingPolicy[]
*/
public function setAutoscalingPolicies($autoscalingPolicies)
{
$this->autoscalingPolicies = $autoscalingPolicies;
}
/**
* @return AutoscalingPolicy[]
*/
public function getAutoscalingPolicies()
{
return $this->autoscalingPolicies;
}
/**
* @param string
*/
public function setCoolDownPeriod($coolDownPeriod)
{
$this->coolDownPeriod = $coolDownPeriod;
}
/**
* @return string
*/
public function getCoolDownPeriod()
{
return $this->coolDownPeriod;
}
/**
* @param int
*/
public function setMaxClusterNodeCount($maxClusterNodeCount)
{
$this->maxClusterNodeCount = $maxClusterNodeCount;
}
/**
* @return int
*/
public function getMaxClusterNodeCount()
{
return $this->maxClusterNodeCount;
}
/**
* @param int
*/
public function setMinClusterNodeCount($minClusterNodeCount)
{
$this->minClusterNodeCount = $minClusterNodeCount;
}
/**
* @return int
*/
public function getMinClusterNodeCount()
{
return $this->minClusterNodeCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingSettings::class, 'Google_Service_VMwareEngine_AutoscalingSettings');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_VMwareEngine_Binding');

View File

@@ -0,0 +1,182 @@
<?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\VMwareEngine;
class Cluster extends \Google\Model
{
protected $autoscalingSettingsType = AutoscalingSettings::class;
protected $autoscalingSettingsDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var bool
*/
public $management;
/**
* @var string
*/
public $name;
protected $nodeTypeConfigsType = NodeTypeConfig::class;
protected $nodeTypeConfigsDataType = 'map';
/**
* @var string
*/
public $state;
protected $stretchedClusterConfigType = StretchedClusterConfig::class;
protected $stretchedClusterConfigDataType = '';
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param AutoscalingSettings
*/
public function setAutoscalingSettings(AutoscalingSettings $autoscalingSettings)
{
$this->autoscalingSettings = $autoscalingSettings;
}
/**
* @return AutoscalingSettings
*/
public function getAutoscalingSettings()
{
return $this->autoscalingSettings;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param bool
*/
public function setManagement($management)
{
$this->management = $management;
}
/**
* @return bool
*/
public function getManagement()
{
return $this->management;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NodeTypeConfig[]
*/
public function setNodeTypeConfigs($nodeTypeConfigs)
{
$this->nodeTypeConfigs = $nodeTypeConfigs;
}
/**
* @return NodeTypeConfig[]
*/
public function getNodeTypeConfigs()
{
return $this->nodeTypeConfigs;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StretchedClusterConfig
*/
public function setStretchedClusterConfig(StretchedClusterConfig $stretchedClusterConfig)
{
$this->stretchedClusterConfig = $stretchedClusterConfig;
}
/**
* @return StretchedClusterConfig
*/
public function getStretchedClusterConfig()
{
return $this->stretchedClusterConfig;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(Cluster::class, 'Google_Service_VMwareEngine_Cluster');

View File

@@ -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\VMwareEngine;
class Credentials extends \Google\Model
{
/**
* @var string
*/
public $password;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Credentials::class, 'Google_Service_VMwareEngine_Credentials');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class DnsBindPermission extends \Google\Collection
{
protected $collection_key = 'principals';
/**
* @var string
*/
public $name;
protected $principalsType = Principal::class;
protected $principalsDataType = 'array';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Principal[]
*/
public function setPrincipals($principals)
{
$this->principals = $principals;
}
/**
* @return Principal[]
*/
public function getPrincipals()
{
return $this->principals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsBindPermission::class, 'Google_Service_VMwareEngine_DnsBindPermission');

View File

@@ -0,0 +1,97 @@
<?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\VMwareEngine;
class DnsForwarding extends \Google\Collection
{
protected $collection_key = 'forwardingRules';
/**
* @var string
*/
public $createTime;
protected $forwardingRulesType = ForwardingRule::class;
protected $forwardingRulesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param ForwardingRule[]
*/
public function setForwardingRules($forwardingRules)
{
$this->forwardingRules = $forwardingRules;
}
/**
* @return ForwardingRule[]
*/
public function getForwardingRules()
{
return $this->forwardingRules;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @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(DnsForwarding::class, 'Google_Service_VMwareEngine_DnsForwarding');

View File

@@ -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\VMwareEngine;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_VMwareEngine_Expr');

View File

@@ -0,0 +1,257 @@
<?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\VMwareEngine;
class ExternalAccessRule extends \Google\Collection
{
protected $collection_key = 'sourcePorts';
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
protected $destinationIpRangesType = IpRange::class;
protected $destinationIpRangesDataType = 'array';
/**
* @var string[]
*/
public $destinationPorts;
/**
* @var string
*/
public $ipProtocol;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $priority;
protected $sourceIpRangesType = IpRange::class;
protected $sourceIpRangesDataType = 'array';
/**
* @var string[]
*/
public $sourcePorts;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @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 IpRange[]
*/
public function setDestinationIpRanges($destinationIpRanges)
{
$this->destinationIpRanges = $destinationIpRanges;
}
/**
* @return IpRange[]
*/
public function getDestinationIpRanges()
{
return $this->destinationIpRanges;
}
/**
* @param string[]
*/
public function setDestinationPorts($destinationPorts)
{
$this->destinationPorts = $destinationPorts;
}
/**
* @return string[]
*/
public function getDestinationPorts()
{
return $this->destinationPorts;
}
/**
* @param string
*/
public function setIpProtocol($ipProtocol)
{
$this->ipProtocol = $ipProtocol;
}
/**
* @return string
*/
public function getIpProtocol()
{
return $this->ipProtocol;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param IpRange[]
*/
public function setSourceIpRanges($sourceIpRanges)
{
$this->sourceIpRanges = $sourceIpRanges;
}
/**
* @return IpRange[]
*/
public function getSourceIpRanges()
{
return $this->sourceIpRanges;
}
/**
* @param string[]
*/
public function setSourcePorts($sourcePorts)
{
$this->sourcePorts = $sourcePorts;
}
/**
* @return string[]
*/
public function getSourcePorts()
{
return $this->sourcePorts;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(ExternalAccessRule::class, 'Google_Service_VMwareEngine_ExternalAccessRule');

View File

@@ -0,0 +1,170 @@
<?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\VMwareEngine;
class ExternalAddress extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $externalIp;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @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 string
*/
public function setExternalIp($externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return string
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(ExternalAddress::class, 'Google_Service_VMwareEngine_ExternalAddress');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class FetchNetworkPolicyExternalAddressesResponse extends \Google\Collection
{
protected $collection_key = 'externalAddresses';
protected $externalAddressesType = ExternalAddress::class;
protected $externalAddressesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param ExternalAddress[]
*/
public function setExternalAddresses($externalAddresses)
{
$this->externalAddresses = $externalAddresses;
}
/**
* @return ExternalAddress[]
*/
public function getExternalAddresses()
{
return $this->externalAddresses;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchNetworkPolicyExternalAddressesResponse::class, 'Google_Service_VMwareEngine_FetchNetworkPolicyExternalAddressesResponse');

View File

@@ -0,0 +1,63 @@
<?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\VMwareEngine;
class ForwardingRule extends \Google\Collection
{
protected $collection_key = 'nameServers';
/**
* @var string
*/
public $domain;
/**
* @var string[]
*/
public $nameServers;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string[]
*/
public function setNameServers($nameServers)
{
$this->nameServers = $nameServers;
}
/**
* @return string[]
*/
public function getNameServers()
{
return $this->nameServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ForwardingRule::class, 'Google_Service_VMwareEngine_ForwardingRule');

View File

@@ -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\VMwareEngine;
class GrantDnsBindPermissionRequest extends \Google\Model
{
protected $principalType = Principal::class;
protected $principalDataType = '';
/**
* @var string
*/
public $requestId;
/**
* @param Principal
*/
public function setPrincipal(Principal $principal)
{
$this->principal = $principal;
}
/**
* @return Principal
*/
public function getPrincipal()
{
return $this->principal;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GrantDnsBindPermissionRequest::class, 'Google_Service_VMwareEngine_GrantDnsBindPermissionRequest');

View File

@@ -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\VMwareEngine;
class Hcx extends \Google\Model
{
/**
* @var string
*/
public $fqdn;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Hcx::class, 'Google_Service_VMwareEngine_Hcx');

View File

@@ -0,0 +1,116 @@
<?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\VMwareEngine;
class HcxActivationKey extends \Google\Model
{
/**
* @var string
*/
public $activationKey;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @param string
*/
public function setActivationKey($activationKey)
{
$this->activationKey = $activationKey;
}
/**
* @return string
*/
public function getActivationKey()
{
return $this->activationKey;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HcxActivationKey::class, 'Google_Service_VMwareEngine_HcxActivationKey');

View File

@@ -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\VMwareEngine;
class IpRange extends \Google\Model
{
/**
* @var string
*/
public $externalAddress;
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $ipAddressRange;
/**
* @param string
*/
public function setExternalAddress($externalAddress)
{
$this->externalAddress = $externalAddress;
}
/**
* @return string
*/
public function getExternalAddress()
{
return $this->externalAddress;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setIpAddressRange($ipAddressRange)
{
$this->ipAddressRange = $ipAddressRange;
}
/**
* @return string
*/
public function getIpAddressRange()
{
return $this->ipAddressRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IpRange::class, 'Google_Service_VMwareEngine_IpRange');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListClustersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $clustersType = Cluster::class;
protected $clustersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Cluster[]
*/
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
/**
* @return Cluster[]
*/
public function getClusters()
{
return $this->clusters;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListClustersResponse::class, 'Google_Service_VMwareEngine_ListClustersResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListExternalAccessRulesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $externalAccessRulesType = ExternalAccessRule::class;
protected $externalAccessRulesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ExternalAccessRule[]
*/
public function setExternalAccessRules($externalAccessRules)
{
$this->externalAccessRules = $externalAccessRules;
}
/**
* @return ExternalAccessRule[]
*/
public function getExternalAccessRules()
{
return $this->externalAccessRules;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListExternalAccessRulesResponse::class, 'Google_Service_VMwareEngine_ListExternalAccessRulesResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListExternalAddressesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $externalAddressesType = ExternalAddress::class;
protected $externalAddressesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ExternalAddress[]
*/
public function setExternalAddresses($externalAddresses)
{
$this->externalAddresses = $externalAddresses;
}
/**
* @return ExternalAddress[]
*/
public function getExternalAddresses()
{
return $this->externalAddresses;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListExternalAddressesResponse::class, 'Google_Service_VMwareEngine_ListExternalAddressesResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListHcxActivationKeysResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $hcxActivationKeysType = HcxActivationKey::class;
protected $hcxActivationKeysDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param HcxActivationKey[]
*/
public function setHcxActivationKeys($hcxActivationKeys)
{
$this->hcxActivationKeys = $hcxActivationKeys;
}
/**
* @return HcxActivationKey[]
*/
public function getHcxActivationKeys()
{
return $this->hcxActivationKeys;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListHcxActivationKeysResponse::class, 'Google_Service_VMwareEngine_ListHcxActivationKeysResponse');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_VMwareEngine_ListLocationsResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListLoggingServersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $loggingServersType = LoggingServer::class;
protected $loggingServersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param LoggingServer[]
*/
public function setLoggingServers($loggingServers)
{
$this->loggingServers = $loggingServers;
}
/**
* @return LoggingServer[]
*/
public function getLoggingServers()
{
return $this->loggingServers;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLoggingServersResponse::class, 'Google_Service_VMwareEngine_ListLoggingServersResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListManagementDnsZoneBindingsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $managementDnsZoneBindingsType = ManagementDnsZoneBinding::class;
protected $managementDnsZoneBindingsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ManagementDnsZoneBinding[]
*/
public function setManagementDnsZoneBindings($managementDnsZoneBindings)
{
$this->managementDnsZoneBindings = $managementDnsZoneBindings;
}
/**
* @return ManagementDnsZoneBinding[]
*/
public function getManagementDnsZoneBindings()
{
return $this->managementDnsZoneBindings;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListManagementDnsZoneBindingsResponse::class, 'Google_Service_VMwareEngine_ListManagementDnsZoneBindingsResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListNetworkPeeringsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $networkPeeringsType = NetworkPeering::class;
protected $networkPeeringsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param NetworkPeering[]
*/
public function setNetworkPeerings($networkPeerings)
{
$this->networkPeerings = $networkPeerings;
}
/**
* @return NetworkPeering[]
*/
public function getNetworkPeerings()
{
return $this->networkPeerings;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNetworkPeeringsResponse::class, 'Google_Service_VMwareEngine_ListNetworkPeeringsResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListNetworkPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $networkPoliciesType = NetworkPolicy::class;
protected $networkPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param NetworkPolicy[]
*/
public function setNetworkPolicies($networkPolicies)
{
$this->networkPolicies = $networkPolicies;
}
/**
* @return NetworkPolicy[]
*/
public function getNetworkPolicies()
{
return $this->networkPolicies;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNetworkPoliciesResponse::class, 'Google_Service_VMwareEngine_ListNetworkPoliciesResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListNodeTypesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $nodeTypesType = NodeType::class;
protected $nodeTypesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param NodeType[]
*/
public function setNodeTypes($nodeTypes)
{
$this->nodeTypes = $nodeTypes;
}
/**
* @return NodeType[]
*/
public function getNodeTypes()
{
return $this->nodeTypes;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNodeTypesResponse::class, 'Google_Service_VMwareEngine_ListNodeTypesResponse');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class ListNodesResponse extends \Google\Collection
{
protected $collection_key = 'nodes';
/**
* @var string
*/
public $nextPageToken;
protected $nodesType = Node::class;
protected $nodesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Node[]
*/
public function setNodes($nodes)
{
$this->nodes = $nodes;
}
/**
* @return Node[]
*/
public function getNodes()
{
return $this->nodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNodesResponse::class, 'Google_Service_VMwareEngine_ListNodesResponse');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_VMwareEngine_ListOperationsResponse');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class ListPeeringRoutesResponse extends \Google\Collection
{
protected $collection_key = 'peeringRoutes';
/**
* @var string
*/
public $nextPageToken;
protected $peeringRoutesType = PeeringRoute::class;
protected $peeringRoutesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PeeringRoute[]
*/
public function setPeeringRoutes($peeringRoutes)
{
$this->peeringRoutes = $peeringRoutes;
}
/**
* @return PeeringRoute[]
*/
public function getPeeringRoutes()
{
return $this->peeringRoutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPeeringRoutesResponse::class, 'Google_Service_VMwareEngine_ListPeeringRoutesResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListPrivateCloudsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $privateCloudsType = PrivateCloud::class;
protected $privateCloudsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrivateCloud[]
*/
public function setPrivateClouds($privateClouds)
{
$this->privateClouds = $privateClouds;
}
/**
* @return PrivateCloud[]
*/
public function getPrivateClouds()
{
return $this->privateClouds;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrivateCloudsResponse::class, 'Google_Service_VMwareEngine_ListPrivateCloudsResponse');

View File

@@ -0,0 +1,61 @@
<?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\VMwareEngine;
class ListPrivateConnectionPeeringRoutesResponse extends \Google\Collection
{
protected $collection_key = 'peeringRoutes';
/**
* @var string
*/
public $nextPageToken;
protected $peeringRoutesType = PeeringRoute::class;
protected $peeringRoutesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PeeringRoute[]
*/
public function setPeeringRoutes($peeringRoutes)
{
$this->peeringRoutes = $peeringRoutes;
}
/**
* @return PeeringRoute[]
*/
public function getPeeringRoutes()
{
return $this->peeringRoutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrivateConnectionPeeringRoutesResponse::class, 'Google_Service_VMwareEngine_ListPrivateConnectionPeeringRoutesResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListPrivateConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $privateConnectionsType = PrivateConnection::class;
protected $privateConnectionsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrivateConnection[]
*/
public function setPrivateConnections($privateConnections)
{
$this->privateConnections = $privateConnections;
}
/**
* @return PrivateConnection[]
*/
public function getPrivateConnections()
{
return $this->privateConnections;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrivateConnectionsResponse::class, 'Google_Service_VMwareEngine_ListPrivateConnectionsResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListSubnetsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $subnetsType = Subnet::class;
protected $subnetsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Subnet[]
*/
public function setSubnets($subnets)
{
$this->subnets = $subnets;
}
/**
* @return Subnet[]
*/
public function getSubnets()
{
return $this->subnets;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSubnetsResponse::class, 'Google_Service_VMwareEngine_ListSubnetsResponse');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine;
class ListVmwareEngineNetworksResponse extends \Google\Collection
{
protected $collection_key = 'vmwareEngineNetworks';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $vmwareEngineNetworksType = VmwareEngineNetwork::class;
protected $vmwareEngineNetworksDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param VmwareEngineNetwork[]
*/
public function setVmwareEngineNetworks($vmwareEngineNetworks)
{
$this->vmwareEngineNetworks = $vmwareEngineNetworks;
}
/**
* @return VmwareEngineNetwork[]
*/
public function getVmwareEngineNetworks()
{
return $this->vmwareEngineNetworks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListVmwareEngineNetworksResponse::class, 'Google_Service_VMwareEngine_ListVmwareEngineNetworksResponse');

View File

@@ -0,0 +1,116 @@
<?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\VMwareEngine;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_VMwareEngine_Location');

View File

@@ -0,0 +1,45 @@
<?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\VMwareEngine;
class LocationMetadata extends \Google\Collection
{
protected $collection_key = 'capabilities';
/**
* @var string[]
*/
public $capabilities;
/**
* @param string[]
*/
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
}
/**
* @return string[]
*/
public function getCapabilities()
{
return $this->capabilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationMetadata::class, 'Google_Service_VMwareEngine_LocationMetadata');

View File

@@ -0,0 +1,170 @@
<?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\VMwareEngine;
class LoggingServer extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $sourceType;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
}
/**
* @return string
*/
public function getSourceType()
{
return $this->sourceType;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @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(LoggingServer::class, 'Google_Service_VMwareEngine_LoggingServer');

View File

@@ -0,0 +1,76 @@
<?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\VMwareEngine;
class ManagementCluster extends \Google\Model
{
/**
* @var string
*/
public $clusterId;
protected $nodeTypeConfigsType = NodeTypeConfig::class;
protected $nodeTypeConfigsDataType = 'map';
protected $stretchedClusterConfigType = StretchedClusterConfig::class;
protected $stretchedClusterConfigDataType = '';
/**
* @param string
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* @param NodeTypeConfig[]
*/
public function setNodeTypeConfigs($nodeTypeConfigs)
{
$this->nodeTypeConfigs = $nodeTypeConfigs;
}
/**
* @return NodeTypeConfig[]
*/
public function getNodeTypeConfigs()
{
return $this->nodeTypeConfigs;
}
/**
* @param StretchedClusterConfig
*/
public function setStretchedClusterConfig(StretchedClusterConfig $stretchedClusterConfig)
{
$this->stretchedClusterConfig = $stretchedClusterConfig;
}
/**
* @return StretchedClusterConfig
*/
public function getStretchedClusterConfig()
{
return $this->stretchedClusterConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementCluster::class, 'Google_Service_VMwareEngine_ManagementCluster');

View File

@@ -0,0 +1,170 @@
<?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\VMwareEngine;
class ManagementDnsZoneBinding extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $vmwareEngineNetwork;
/**
* @var string
*/
public $vpcNetwork;
/**
* @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 string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVmwareEngineNetwork($vmwareEngineNetwork)
{
$this->vmwareEngineNetwork = $vmwareEngineNetwork;
}
/**
* @return string
*/
public function getVmwareEngineNetwork()
{
return $this->vmwareEngineNetwork;
}
/**
* @param string
*/
public function setVpcNetwork($vpcNetwork)
{
$this->vpcNetwork = $vpcNetwork;
}
/**
* @return string
*/
public function getVpcNetwork()
{
return $this->vpcNetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementDnsZoneBinding::class, 'Google_Service_VMwareEngine_ManagementDnsZoneBinding');

View File

@@ -0,0 +1,116 @@
<?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\VMwareEngine;
class NetworkConfig extends \Google\Model
{
/**
* @var string
*/
public $dnsServerIp;
/**
* @var string
*/
public $managementCidr;
/**
* @var int
*/
public $managementIpAddressLayoutVersion;
/**
* @var string
*/
public $vmwareEngineNetwork;
/**
* @var string
*/
public $vmwareEngineNetworkCanonical;
/**
* @param string
*/
public function setDnsServerIp($dnsServerIp)
{
$this->dnsServerIp = $dnsServerIp;
}
/**
* @return string
*/
public function getDnsServerIp()
{
return $this->dnsServerIp;
}
/**
* @param string
*/
public function setManagementCidr($managementCidr)
{
$this->managementCidr = $managementCidr;
}
/**
* @return string
*/
public function getManagementCidr()
{
return $this->managementCidr;
}
/**
* @param int
*/
public function setManagementIpAddressLayoutVersion($managementIpAddressLayoutVersion)
{
$this->managementIpAddressLayoutVersion = $managementIpAddressLayoutVersion;
}
/**
* @return int
*/
public function getManagementIpAddressLayoutVersion()
{
return $this->managementIpAddressLayoutVersion;
}
/**
* @param string
*/
public function setVmwareEngineNetwork($vmwareEngineNetwork)
{
$this->vmwareEngineNetwork = $vmwareEngineNetwork;
}
/**
* @return string
*/
public function getVmwareEngineNetwork()
{
return $this->vmwareEngineNetwork;
}
/**
* @param string
*/
public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical)
{
$this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical;
}
/**
* @return string
*/
public function getVmwareEngineNetworkCanonical()
{
return $this->vmwareEngineNetworkCanonical;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfig::class, 'Google_Service_VMwareEngine_NetworkConfig');

View File

@@ -0,0 +1,314 @@
<?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\VMwareEngine;
class NetworkPeering extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $exchangeSubnetRoutes;
/**
* @var bool
*/
public $exportCustomRoutes;
/**
* @var bool
*/
public $exportCustomRoutesWithPublicIp;
/**
* @var bool
*/
public $importCustomRoutes;
/**
* @var bool
*/
public $importCustomRoutesWithPublicIp;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $peerMtu;
/**
* @var string
*/
public $peerNetwork;
/**
* @var string
*/
public $peerNetworkType;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateDetails;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $vmwareEngineNetwork;
/**
* @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 bool
*/
public function setExchangeSubnetRoutes($exchangeSubnetRoutes)
{
$this->exchangeSubnetRoutes = $exchangeSubnetRoutes;
}
/**
* @return bool
*/
public function getExchangeSubnetRoutes()
{
return $this->exchangeSubnetRoutes;
}
/**
* @param bool
*/
public function setExportCustomRoutes($exportCustomRoutes)
{
$this->exportCustomRoutes = $exportCustomRoutes;
}
/**
* @return bool
*/
public function getExportCustomRoutes()
{
return $this->exportCustomRoutes;
}
/**
* @param bool
*/
public function setExportCustomRoutesWithPublicIp($exportCustomRoutesWithPublicIp)
{
$this->exportCustomRoutesWithPublicIp = $exportCustomRoutesWithPublicIp;
}
/**
* @return bool
*/
public function getExportCustomRoutesWithPublicIp()
{
return $this->exportCustomRoutesWithPublicIp;
}
/**
* @param bool
*/
public function setImportCustomRoutes($importCustomRoutes)
{
$this->importCustomRoutes = $importCustomRoutes;
}
/**
* @return bool
*/
public function getImportCustomRoutes()
{
return $this->importCustomRoutes;
}
/**
* @param bool
*/
public function setImportCustomRoutesWithPublicIp($importCustomRoutesWithPublicIp)
{
$this->importCustomRoutesWithPublicIp = $importCustomRoutesWithPublicIp;
}
/**
* @return bool
*/
public function getImportCustomRoutesWithPublicIp()
{
return $this->importCustomRoutesWithPublicIp;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setPeerMtu($peerMtu)
{
$this->peerMtu = $peerMtu;
}
/**
* @return int
*/
public function getPeerMtu()
{
return $this->peerMtu;
}
/**
* @param string
*/
public function setPeerNetwork($peerNetwork)
{
$this->peerNetwork = $peerNetwork;
}
/**
* @return string
*/
public function getPeerNetwork()
{
return $this->peerNetwork;
}
/**
* @param string
*/
public function setPeerNetworkType($peerNetworkType)
{
$this->peerNetworkType = $peerNetworkType;
}
/**
* @return string
*/
public function getPeerNetworkType()
{
return $this->peerNetworkType;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateDetails($stateDetails)
{
$this->stateDetails = $stateDetails;
}
/**
* @return string
*/
public function getStateDetails()
{
return $this->stateDetails;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVmwareEngineNetwork($vmwareEngineNetwork)
{
$this->vmwareEngineNetwork = $vmwareEngineNetwork;
}
/**
* @return string
*/
public function getVmwareEngineNetwork()
{
return $this->vmwareEngineNetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkPeering::class, 'Google_Service_VMwareEngine_NetworkPeering');

View File

@@ -0,0 +1,202 @@
<?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\VMwareEngine;
class NetworkPolicy extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $edgeServicesCidr;
protected $externalIpType = NetworkService::class;
protected $externalIpDataType = '';
protected $internetAccessType = NetworkService::class;
protected $internetAccessDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $vmwareEngineNetwork;
/**
* @var string
*/
public $vmwareEngineNetworkCanonical;
/**
* @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 string
*/
public function setEdgeServicesCidr($edgeServicesCidr)
{
$this->edgeServicesCidr = $edgeServicesCidr;
}
/**
* @return string
*/
public function getEdgeServicesCidr()
{
return $this->edgeServicesCidr;
}
/**
* @param NetworkService
*/
public function setExternalIp(NetworkService $externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return NetworkService
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param NetworkService
*/
public function setInternetAccess(NetworkService $internetAccess)
{
$this->internetAccess = $internetAccess;
}
/**
* @return NetworkService
*/
public function getInternetAccess()
{
return $this->internetAccess;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVmwareEngineNetwork($vmwareEngineNetwork)
{
$this->vmwareEngineNetwork = $vmwareEngineNetwork;
}
/**
* @return string
*/
public function getVmwareEngineNetwork()
{
return $this->vmwareEngineNetwork;
}
/**
* @param string
*/
public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical)
{
$this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical;
}
/**
* @return string
*/
public function getVmwareEngineNetworkCanonical()
{
return $this->vmwareEngineNetworkCanonical;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkPolicy::class, 'Google_Service_VMwareEngine_NetworkPolicy');

View File

@@ -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\VMwareEngine;
class NetworkService extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @var string
*/
public $state;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @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(NetworkService::class, 'Google_Service_VMwareEngine_NetworkService');

View File

@@ -0,0 +1,152 @@
<?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\VMwareEngine;
class Node extends \Google\Model
{
/**
* @var string
*/
public $customCoreCount;
/**
* @var string
*/
public $fqdn;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nodeTypeId;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setCustomCoreCount($customCoreCount)
{
$this->customCoreCount = $customCoreCount;
}
/**
* @return string
*/
public function getCustomCoreCount()
{
return $this->customCoreCount;
}
/**
* @param string
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNodeTypeId($nodeTypeId)
{
$this->nodeTypeId = $nodeTypeId;
}
/**
* @return string
*/
public function getNodeTypeId()
{
return $this->nodeTypeId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Node::class, 'Google_Service_VMwareEngine_Node');

View File

@@ -0,0 +1,225 @@
<?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\VMwareEngine;
class NodeType extends \Google\Collection
{
protected $collection_key = 'families';
/**
* @var int[]
*/
public $availableCustomCoreCounts;
/**
* @var string[]
*/
public $capabilities;
/**
* @var int
*/
public $diskSizeGb;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $families;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $memoryGb;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nodeTypeId;
/**
* @var int
*/
public $totalCoreCount;
/**
* @var int
*/
public $virtualCpuCount;
/**
* @param int[]
*/
public function setAvailableCustomCoreCounts($availableCustomCoreCounts)
{
$this->availableCustomCoreCounts = $availableCustomCoreCounts;
}
/**
* @return int[]
*/
public function getAvailableCustomCoreCounts()
{
return $this->availableCustomCoreCounts;
}
/**
* @param string[]
*/
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
}
/**
* @return string[]
*/
public function getCapabilities()
{
return $this->capabilities;
}
/**
* @param int
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return int
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setFamilies($families)
{
$this->families = $families;
}
/**
* @return string[]
*/
public function getFamilies()
{
return $this->families;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
/**
* @return int
*/
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNodeTypeId($nodeTypeId)
{
$this->nodeTypeId = $nodeTypeId;
}
/**
* @return string
*/
public function getNodeTypeId()
{
return $this->nodeTypeId;
}
/**
* @param int
*/
public function setTotalCoreCount($totalCoreCount)
{
$this->totalCoreCount = $totalCoreCount;
}
/**
* @return int
*/
public function getTotalCoreCount()
{
return $this->totalCoreCount;
}
/**
* @param int
*/
public function setVirtualCpuCount($virtualCpuCount)
{
$this->virtualCpuCount = $virtualCpuCount;
}
/**
* @return int
*/
public function getVirtualCpuCount()
{
return $this->virtualCpuCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeType::class, 'Google_Service_VMwareEngine_NodeType');

View File

@@ -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\VMwareEngine;
class NodeTypeConfig extends \Google\Model
{
/**
* @var int
*/
public $customCoreCount;
/**
* @var int
*/
public $nodeCount;
/**
* @param int
*/
public function setCustomCoreCount($customCoreCount)
{
$this->customCoreCount = $customCoreCount;
}
/**
* @return int
*/
public function getCustomCoreCount()
{
return $this->customCoreCount;
}
/**
* @param int
*/
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
/**
* @return int
*/
public function getNodeCount()
{
return $this->nodeCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeTypeConfig::class, 'Google_Service_VMwareEngine_NodeTypeConfig');

View File

@@ -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\VMwareEngine;
class Nsx extends \Google\Model
{
/**
* @var string
*/
public $fqdn;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Nsx::class, 'Google_Service_VMwareEngine_Nsx');

View File

@@ -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\VMwareEngine;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_VMwareEngine_Operation');

View File

@@ -0,0 +1,152 @@
<?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\VMwareEngine;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_VMwareEngine_OperationMetadata');

View File

@@ -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\VMwareEngine;
class PeeringRoute extends \Google\Model
{
/**
* @var string
*/
public $destRange;
/**
* @var string
*/
public $direction;
/**
* @var bool
*/
public $imported;
/**
* @var string
*/
public $nextHopRegion;
/**
* @var string
*/
public $priority;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDestRange($destRange)
{
$this->destRange = $destRange;
}
/**
* @return string
*/
public function getDestRange()
{
return $this->destRange;
}
/**
* @param string
*/
public function setDirection($direction)
{
$this->direction = $direction;
}
/**
* @return string
*/
public function getDirection()
{
return $this->direction;
}
/**
* @param bool
*/
public function setImported($imported)
{
$this->imported = $imported;
}
/**
* @return bool
*/
public function getImported()
{
return $this->imported;
}
/**
* @param string
*/
public function setNextHopRegion($nextHopRegion)
{
$this->nextHopRegion = $nextHopRegion;
}
/**
* @return string
*/
public function getNextHopRegion()
{
return $this->nextHopRegion;
}
/**
* @param string
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return string
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PeeringRoute::class, 'Google_Service_VMwareEngine_PeeringRoute');

View File

@@ -0,0 +1,95 @@
<?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\VMwareEngine;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_VMwareEngine_Policy');

View File

@@ -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\VMwareEngine;
class Principal extends \Google\Model
{
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $user;
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Principal::class, 'Google_Service_VMwareEngine_Principal');

View File

@@ -0,0 +1,268 @@
<?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\VMwareEngine;
class PrivateCloud extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expireTime;
protected $hcxType = Hcx::class;
protected $hcxDataType = '';
protected $managementClusterType = ManagementCluster::class;
protected $managementClusterDataType = '';
/**
* @var string
*/
public $name;
protected $networkConfigType = NetworkConfig::class;
protected $networkConfigDataType = '';
protected $nsxType = Nsx::class;
protected $nsxDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
protected $vcenterType = Vcenter::class;
protected $vcenterDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param Hcx
*/
public function setHcx(Hcx $hcx)
{
$this->hcx = $hcx;
}
/**
* @return Hcx
*/
public function getHcx()
{
return $this->hcx;
}
/**
* @param ManagementCluster
*/
public function setManagementCluster(ManagementCluster $managementCluster)
{
$this->managementCluster = $managementCluster;
}
/**
* @return ManagementCluster
*/
public function getManagementCluster()
{
return $this->managementCluster;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkConfig
*/
public function setNetworkConfig(NetworkConfig $networkConfig)
{
$this->networkConfig = $networkConfig;
}
/**
* @return NetworkConfig
*/
public function getNetworkConfig()
{
return $this->networkConfig;
}
/**
* @param Nsx
*/
public function setNsx(Nsx $nsx)
{
$this->nsx = $nsx;
}
/**
* @return Nsx
*/
public function getNsx()
{
return $this->nsx;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param Vcenter
*/
public function setVcenter(Vcenter $vcenter)
{
$this->vcenter = $vcenter;
}
/**
* @return Vcenter
*/
public function getVcenter()
{
return $this->vcenter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateCloud::class, 'Google_Service_VMwareEngine_PrivateCloud');

View File

@@ -0,0 +1,260 @@
<?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\VMwareEngine;
class PrivateConnection extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $peeringId;
/**
* @var string
*/
public $peeringState;
/**
* @var string
*/
public $routingMode;
/**
* @var string
*/
public $serviceNetwork;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $vmwareEngineNetwork;
/**
* @var string
*/
public $vmwareEngineNetworkCanonical;
/**
* @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 string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPeeringId($peeringId)
{
$this->peeringId = $peeringId;
}
/**
* @return string
*/
public function getPeeringId()
{
return $this->peeringId;
}
/**
* @param string
*/
public function setPeeringState($peeringState)
{
$this->peeringState = $peeringState;
}
/**
* @return string
*/
public function getPeeringState()
{
return $this->peeringState;
}
/**
* @param string
*/
public function setRoutingMode($routingMode)
{
$this->routingMode = $routingMode;
}
/**
* @return string
*/
public function getRoutingMode()
{
return $this->routingMode;
}
/**
* @param string
*/
public function setServiceNetwork($serviceNetwork)
{
$this->serviceNetwork = $serviceNetwork;
}
/**
* @return string
*/
public function getServiceNetwork()
{
return $this->serviceNetwork;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVmwareEngineNetwork($vmwareEngineNetwork)
{
$this->vmwareEngineNetwork = $vmwareEngineNetwork;
}
/**
* @return string
*/
public function getVmwareEngineNetwork()
{
return $this->vmwareEngineNetwork;
}
/**
* @param string
*/
public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical)
{
$this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical;
}
/**
* @return string
*/
public function getVmwareEngineNetworkCanonical()
{
return $this->vmwareEngineNetworkCanonical;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateConnection::class, 'Google_Service_VMwareEngine_PrivateConnection');

View File

@@ -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\VMwareEngine;
class RepairManagementDnsZoneBindingRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RepairManagementDnsZoneBindingRequest::class, 'Google_Service_VMwareEngine_RepairManagementDnsZoneBindingRequest');

View File

@@ -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\VMwareEngine;
class ResetNsxCredentialsRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetNsxCredentialsRequest::class, 'Google_Service_VMwareEngine_ResetNsxCredentialsRequest');

View File

@@ -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\VMwareEngine;
class ResetVcenterCredentialsRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetVcenterCredentialsRequest::class, 'Google_Service_VMwareEngine_ResetVcenterCredentialsRequest');

View File

@@ -0,0 +1,33 @@
<?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\VMwareEngine\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $projects = $vmwareengineService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_VMwareEngine_Resource_Projects');

View File

@@ -0,0 +1,97 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\DnsBindPermission;
use Google\Service\VMwareEngine\ListLocationsResponse;
use Google\Service\VMwareEngine\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $locations = $vmwareengineService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Gets all the principals having bind permission on the intranet VPC associated
* with the consumer project granted by the Grant API. DnsBindPermission is a
* global resource and location can only be global.
* (locations.getDnsBindPermission)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param array $optParams Optional parameters.
* @return DnsBindPermission
* @throws \Google\Service\Exception
*/
public function getDnsBindPermission($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getDnsBindPermission', [$params], DnsBindPermission::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocations');

View File

@@ -0,0 +1,83 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\GrantDnsBindPermissionRequest;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\RevokeDnsBindPermissionRequest;
/**
* The "dnsBindPermission" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $dnsBindPermission = $vmwareengineService->projects_locations_dnsBindPermission;
* </code>
*/
class ProjectsLocationsDnsBindPermission extends \Google\Service\Resource
{
/**
* Grants the bind permission to the customer provided principal(user / service
* account) to bind their DNS zone with the intranet VPC associated with the
* project. DnsBindPermission is a global resource and location can only be
* global. (dnsBindPermission.grant)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param GrantDnsBindPermissionRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function grant($name, GrantDnsBindPermissionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('grant', [$params], Operation::class);
}
/**
* Revokes the bind permission from the customer provided principal(user /
* service account) on the intranet VPC associated with the consumer project.
* DnsBindPermission is a global resource and location can only be global.
* (dnsBindPermission.revoke)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param RevokeDnsBindPermissionRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function revoke($name, RevokeDnsBindPermissionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('revoke', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsDnsBindPermission::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsDnsBindPermission');

View File

@@ -0,0 +1,212 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListNetworkPeeringsResponse;
use Google\Service\VMwareEngine\NetworkPeering;
use Google\Service\VMwareEngine\Operation;
/**
* The "networkPeerings" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $networkPeerings = $vmwareengineService->projects_locations_networkPeerings;
* </code>
*/
class ProjectsLocationsNetworkPeerings extends \Google\Service\Resource
{
/**
* Creates a new network peering between the peer network and VMware Engine
* network provided in a `NetworkPeering` resource. NetworkPeering is a global
* resource and location can only be global. (networkPeerings.create)
*
* @param string $parent Required. The resource name of the location to create
* the new network peering in. This value is always `global`, because
* `NetworkPeering` is a global resource. Resource names are schemeless URIs
* that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global`
* @param NetworkPeering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string networkPeeringId Required. The user-provided identifier of
* the new `NetworkPeering`. This identifier must be unique among
* `NetworkPeering` resources within the parent and becomes the final token in
* the name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, NetworkPeering $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `NetworkPeering` resource. When a network peering is deleted for a
* VMware Engine network, the peer network becomes inaccessible to that VMware
* Engine network. NetworkPeering is a global resource and location can only be
* global. (networkPeerings.delete)
*
* @param string $name Required. The resource name of the network peering to be
* deleted. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `NetworkPeering` resource by its resource name. The resource
* contains details of the network peering, such as peered networks, import and
* export custom route configurations, and peering state. NetworkPeering is a
* global resource and location can only be global. (networkPeerings.get)
*
* @param string $name Required. The resource name of the network peering to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
* @return NetworkPeering
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NetworkPeering::class);
}
/**
* Lists `NetworkPeering` resources in a given project. NetworkPeering is a
* global resource and location can only be global.
* (networkPeerings.listProjectsLocationsNetworkPeerings)
*
* @param string $parent Required. The resource name of the location (global) to
* query for network peerings. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of network peerings,
* you can exclude the ones named `example-peering` by specifying `name !=
* "example-peering"`. To filter on multiple expressions, provide each separate
* expression within parentheses. For example: ``` (name = "example-peering")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-peering-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-peering-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of network peerings to return in
* one page. The maximum value is coerced to 1000. The default value of this
* field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListNetworkPeerings` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListNetworkPeerings` must
* match the call that provided the page token.
* @return ListNetworkPeeringsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkPeerings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNetworkPeeringsResponse::class);
}
/**
* Modifies a `NetworkPeering` resource. Only the `description` field can be
* updated. Only fields specified in `updateMask` are applied. NetworkPeering is
* a global resource and location can only be global. (networkPeerings.patch)
*
* @param string $name Output only. Identifier. The resource name of the network
* peering. NetworkPeering is a global resource and location can only be global.
* Resource names are scheme-less URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param NetworkPeering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `NetworkPeering` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, NetworkPeering $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkPeerings::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNetworkPeerings');

View File

@@ -0,0 +1,68 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListPeeringRoutesResponse;
/**
* The "peeringRoutes" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $peeringRoutes = $vmwareengineService->projects_locations_networkPeerings_peeringRoutes;
* </code>
*/
class ProjectsLocationsNetworkPeeringsPeeringRoutes extends \Google\Service\Resource
{
/**
* Lists the network peering routes exchanged over a peering connection.
* NetworkPeering is a global resource and location can only be global.
* (peeringRoutes.listProjectsLocationsNetworkPeeringsPeeringRoutes)
*
* @param string $parent Required. The resource name of the network peering to
* retrieve peering routes from. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. Currently, only filtering on the `direction` field is
* supported. To return routes imported from the peer network, provide
* "direction=INCOMING". To return routes exported from the VMware Engine
* network, provide "direction=OUTGOING". Other filter expressions return an
* error.
* @opt_param int pageSize The maximum number of peering routes to return in one
* page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPeeringRoutes` must match
* the call that provided the page token.
* @return ListPeeringRoutesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkPeeringsPeeringRoutes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPeeringRoutesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkPeeringsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNetworkPeeringsPeeringRoutes');

View File

@@ -0,0 +1,243 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\FetchNetworkPolicyExternalAddressesResponse;
use Google\Service\VMwareEngine\ListNetworkPoliciesResponse;
use Google\Service\VMwareEngine\NetworkPolicy;
use Google\Service\VMwareEngine\Operation;
/**
* The "networkPolicies" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $networkPolicies = $vmwareengineService->projects_locations_networkPolicies;
* </code>
*/
class ProjectsLocationsNetworkPolicies extends \Google\Service\Resource
{
/**
* Creates a new network policy in a given VMware Engine network of a project
* and location (region). A new network policy cannot be created if another
* network policy already exists in the same scope. (networkPolicies.create)
*
* @param string $parent Required. The resource name of the location (region) to
* create the new network policy in. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1`
* @param NetworkPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string networkPolicyId Required. The user-provided identifier of
* the network policy to be created. This identifier must be unique within
* parent `projects/{my-project}/locations/{us-central1}/networkPolicies` and
* becomes the final token in the name URI. The identifier must meet the
* following requirements: * Only contains 1-63 alphanumeric characters and
* hyphens * Begins with an alphabetical character * Ends with a non-hyphen
* character * Not formatted as a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, NetworkPolicy $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when
* `NetworkService.state` is set to `RECONCILING` for either its external IP or
* internet access service. (networkPolicies.delete)
*
* @param string $name Required. The resource name of the network policy to
* delete. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Lists external IP addresses assigned to VMware workload VMs within the scope
* of the given network policy. (networkPolicies.fetchExternalAddresses)
*
* @param string $networkPolicy Required. The resource name of the network
* policy to query for assigned external IP addresses. Resource names are
* schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-policy`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of external IP addresses to return
* in one page. The service may return fewer than this value. The maximum value
* is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the
* subsequent page. When paginating, all parameters provided to
* `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
* `page_token`, must match the call that provided the page token.
* @return FetchNetworkPolicyExternalAddressesResponse
* @throws \Google\Service\Exception
*/
public function fetchExternalAddresses($networkPolicy, $optParams = [])
{
$params = ['networkPolicy' => $networkPolicy];
$params = array_merge($params, $optParams);
return $this->call('fetchExternalAddresses', [$params], FetchNetworkPolicyExternalAddressesResponse::class);
}
/**
* Retrieves a `NetworkPolicy` resource by its resource name.
* (networkPolicies.get)
*
* @param string $name Required. The resource name of the network policy to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
* @param array $optParams Optional parameters.
* @return NetworkPolicy
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NetworkPolicy::class);
}
/**
* Lists `NetworkPolicy` resources in a specified project and location.
* (networkPolicies.listProjectsLocationsNetworkPolicies)
*
* @param string $parent Required. The resource name of the location (region) to
* query for network policies. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of network policies,
* you can exclude the ones named `example-policy` by specifying `name !=
* "example-policy"`. To filter on multiple expressions, provide each separate
* expression within parentheses. For example: ``` (name = "example-policy")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-policy-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of network policies to return in
* one page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListNetworkPolicies` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListNetworkPolicies` must
* match the call that provided the page token.
* @return ListNetworkPoliciesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkPolicies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNetworkPoliciesResponse::class);
}
/**
* Modifies a `NetworkPolicy` resource. Only the following fields can be
* updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields
* specified in `updateMask` are applied. When updating a network policy, the
* external IP network service can only be disabled if there are no external IP
* addresses present in the scope of the policy. Also, a `NetworkService` cannot
* be updated when `NetworkService.state` is set to `RECONCILING`. During
* operation processing, the resource is temporarily in the `ACTIVE` state
* before the operation fully completes. For that period of time, you can't
* update the resource. Use the operation status to determine when the
* processing fully completes. (networkPolicies.patch)
*
* @param string $name Output only. Identifier. The resource name of this
* network policy. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1/networkPolicies/my-
* network-policy`
* @param NetworkPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `NetworkPolicy` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, NetworkPolicy $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkPolicies::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNetworkPolicies');

View File

@@ -0,0 +1,206 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ExternalAccessRule;
use Google\Service\VMwareEngine\ListExternalAccessRulesResponse;
use Google\Service\VMwareEngine\Operation;
/**
* The "externalAccessRules" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $externalAccessRules = $vmwareengineService->projects_locations_networkPolicies_externalAccessRules;
* </code>
*/
class ProjectsLocationsNetworkPoliciesExternalAccessRules extends \Google\Service\Resource
{
/**
* Creates a new external access rule in a given network policy.
* (externalAccessRules.create)
*
* @param string $parent Required. The resource name of the network policy to
* create a new external access firewall rule in. Resource names are schemeless
* URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-policy`
* @param ExternalAccessRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string externalAccessRuleId Required. The user-provided identifier
* of the `ExternalAccessRule` to be created. This identifier must be unique
* among `ExternalAccessRule` resources within the parent and becomes the final
* token in the name URI. The identifier must meet the following requirements: *
* Only contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId A request ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server
* guarantees that a request doesn't result in creation of duplicate commitments
* for at least 60 minutes. For example, consider a situation where you make an
* initial request and the request times out. If you make the request again with
* the same request ID, the server can check if the original operation with the
* same request ID was received, and if so, will ignore the second request. This
* prevents clients from accidentally creating duplicate commitments. The
* request ID must be a valid UUID with the exception that zero UUID is not
* supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ExternalAccessRule $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single external access rule. (externalAccessRules.delete)
*
* @param string $name Required. The resource name of the external access
* firewall rule to delete. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1/networkPolicies/my-
* policy/externalAccessRules/my-rule`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single external access rule. (externalAccessRules.get)
*
* @param string $name Required. The resource name of the external access
* firewall rule to retrieve. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1/networkPolicies/my-
* policy/externalAccessRules/my-rule`
* @param array $optParams Optional parameters.
* @return ExternalAccessRule
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ExternalAccessRule::class);
}
/**
* Lists `ExternalAccessRule` resources in the specified network policy.
* (externalAccessRules.listProjectsLocationsNetworkPoliciesExternalAccessRules)
*
* @param string $parent Required. The resource name of the network policy to
* query for external access firewall rules. Resource names are schemeless URIs
* that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-policy`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of external access
* rules, you can exclude the ones named `example-rule` by specifying `name !=
* "example-rule"`. To filter on multiple expressions, provide each separate
* expression within parentheses. For example: ``` (name = "example-rule")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-rule-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-rule-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of external access rules to return
* in one page. The service may return fewer than this value. The maximum value
* is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListExternalAccessRulesRequest` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `ListExternalAccessRulesRequest` must match the call that provided the page
* token.
* @return ListExternalAccessRulesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkPoliciesExternalAccessRules($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListExternalAccessRulesResponse::class);
}
/**
* Updates the parameters of a single external access rule. Only fields
* specified in `update_mask` are applied. (externalAccessRules.patch)
*
* @param string $name Output only. The resource name of this external access
* rule. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/networkPolicies/my-
* policy/externalAccessRules/my-rule`
* @param ExternalAccessRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `ExternalAccessRule` resource by the update.
* The fields specified in the `update_mask` are relative to the resource, not
* the full request. A field will be overwritten if it is in the mask. If the
* user does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ExternalAccessRule $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkPoliciesExternalAccessRules::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNetworkPoliciesExternalAccessRules');

View File

@@ -0,0 +1,89 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListNodeTypesResponse;
use Google\Service\VMwareEngine\NodeType;
/**
* The "nodeTypes" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $nodeTypes = $vmwareengineService->projects_locations_nodeTypes;
* </code>
*/
class ProjectsLocationsNodeTypes extends \Google\Service\Resource
{
/**
* Gets details of a single `NodeType`. (nodeTypes.get)
*
* @param string $name Required. The resource name of the node type to retrieve.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
* @param array $optParams Optional parameters.
* @return NodeType
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NodeType::class);
}
/**
* Lists node types (nodeTypes.listProjectsLocationsNodeTypes)
*
* @param string $parent Required. The resource name of the location to be
* queried for node types. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of node types, you can
* exclude the ones named `standard-72` by specifying `name != "standard-72"`.
* To filter on multiple expressions, provide each separate expression within
* parentheses. For example: ``` (name = "standard-72") (virtual_cpu_count > 2)
* ``` By default, each expression is an `AND` expression. However, you can
* include `AND` and `OR` expressions explicitly. For example: ``` (name =
* "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ```
* @opt_param int pageSize The maximum number of node types to return in one
* page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListNodeTypes` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListNodeTypes` must match the
* call that provided the page token.
* @return ListNodeTypesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNodeTypes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNodeTypesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNodeTypes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNodeTypes');

View File

@@ -0,0 +1,90 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListOperationsResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\VmwareengineEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $operations = $vmwareengineService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return VmwareengineEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VmwareengineEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,452 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\Credentials;
use Google\Service\VMwareEngine\DnsForwarding;
use Google\Service\VMwareEngine\ListPrivateCloudsResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\Policy;
use Google\Service\VMwareEngine\PrivateCloud;
use Google\Service\VMwareEngine\ResetNsxCredentialsRequest;
use Google\Service\VMwareEngine\ResetVcenterCredentialsRequest;
use Google\Service\VMwareEngine\SetIamPolicyRequest;
use Google\Service\VMwareEngine\TestIamPermissionsRequest;
use Google\Service\VMwareEngine\TestIamPermissionsResponse;
use Google\Service\VMwareEngine\UndeletePrivateCloudRequest;
/**
* The "privateClouds" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $privateClouds = $vmwareengineService->projects_locations_privateClouds;
* </code>
*/
class ProjectsLocationsPrivateClouds extends \Google\Service\Resource
{
/**
* Creates a new `PrivateCloud` resource in a given project and location.
* Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources,
* `STRETCHED` private clouds are regional. Creating a private cloud also
* creates a [management cluster](https://cloud.google.com/vmware-
* engine/docs/concepts-vmware-components) for that private cloud.
* (privateClouds.create)
*
* @param string $parent Required. The resource name of the location to create
* the new private cloud in. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a`
* @param PrivateCloud $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string privateCloudId Required. The user-provided identifier of
* the private cloud to be created. This identifier must be unique among each
* `PrivateCloud` within the parent and becomes the final token in the name URI.
* The identifier must meet the following requirements: * Only contains 1-63
* alphanumeric characters and hyphens * Begins with an alphabetical character *
* Ends with a non-hyphen character * Not formatted as a UUID * Complies with
* [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. True if you want the request to be
* validated and not executed; false otherwise.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, PrivateCloud $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource
* scheduled for deletion has `PrivateCloud.state` set to `DELETED` and
* `expireTime` set to the time when deletion is final and can no longer be
* reversed. The delete operation is marked as done as soon as the
* `PrivateCloud` is successfully scheduled for deletion (this also applies when
* `delayHours` is set to zero), and the operation is not kept in pending state
* until `PrivateCloud` is purged. `PrivateCloud` can be restored using
* `UndeletePrivateCloud` method before the `expireTime` elapses. When
* `expireTime` is reached, deletion is final and all private cloud resources
* are irreversibly removed and billing stops. During the final removal process,
* `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using
* standard `GET` method for the whole period of deletion and purging. It will
* not be returned only when it is completely purged. (privateClouds.delete)
*
* @param string $name Required. The resource name of the private cloud to
* delete. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param int delayHours Optional. Time delay of the deletion specified in
* hours. The default value is `3`. Specifying a non-zero value for this field
* changes the value of `PrivateCloud.state` to `DELETED` and sets `expire_time`
* to the planned deletion time. Deletion can be cancelled before `expire_time`
* elapses using VmwareEngine.UndeletePrivateCloud. Specifying a value of `0`
* for this field instead begins the deletion process and ceases billing
* immediately. During the final deletion process, the value of
* `PrivateCloud.state` becomes `PURGING`.
* @opt_param bool force Optional. If set to true, cascade delete is enabled and
* all children of this private cloud resource are also deleted. When this flag
* is set to false, the private cloud will not be deleted if there are any
* children other than the management cluster. The management cluster is always
* deleted.
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `PrivateCloud` resource by its resource name. (privateClouds.get)
*
* @param string $name Required. The resource name of the private cloud to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
* @return PrivateCloud
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PrivateCloud::class);
}
/**
* Gets details of the `DnsForwarding` config. (privateClouds.getDnsForwarding)
*
* @param string $name Required. The resource name of a `DnsForwarding` to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/dnsForwarding`
* @param array $optParams Optional parameters.
* @return DnsForwarding
* @throws \Google\Service\Exception
*/
public function getDnsForwarding($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getDnsForwarding', [$params], DnsForwarding::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (privateClouds.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists `PrivateCloud` resources in a given project and location.
* (privateClouds.listProjectsLocationsPrivateClouds)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for clusters. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of private clouds, you
* can exclude the ones named `example-pc` by specifying `name != "example-pc"`.
* You can also filter nested fields. For example, you could specify
* `networkConfig.managementCidr = "192.168.0.0/24"` to include private clouds
* only if they have a matching address in their network configuration. To
* filter on multiple expressions, provide each separate expression within
* parentheses. For example: ``` (name = "example-pc") (createTime >
* "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`
* expression. However, you can include `AND` and `OR` expressions explicitly.
* For example: ``` (name = "private-cloud-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "private-cloud-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of private clouds to return in one
* page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListPrivateClouds` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPrivateClouds` must match
* the call that provided the page token.
* @return ListPrivateCloudsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateClouds($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrivateCloudsResponse::class);
}
/**
* Modifies a `PrivateCloud` resource. Only the following fields can be updated:
* `description`. Only fields specified in `updateMask` are applied. During
* operation processing, the resource is temporarily in the `ACTIVE` state
* before the operation fully completes. For that period of time, you can't
* update the resource. Use the operation status to determine when the
* processing fully completes. (privateClouds.patch)
*
* @param string $name Output only. Identifier. The resource name of this
* private cloud. Resource names are schemeless URIs that follow the conventions
* in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param PrivateCloud $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `PrivateCloud` resource by the update. The
* fields specified in `updateMask` are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, PrivateCloud $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Resets credentials of the NSX appliance. (privateClouds.resetNsxCredentials)
*
* @param string $privateCloud Required. The resource name of the private cloud
* to reset credentials for. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param ResetNsxCredentialsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function resetNsxCredentials($privateCloud, ResetNsxCredentialsRequest $postBody, $optParams = [])
{
$params = ['privateCloud' => $privateCloud, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetNsxCredentials', [$params], Operation::class);
}
/**
* Resets credentials of the Vcenter appliance.
* (privateClouds.resetVcenterCredentials)
*
* @param string $privateCloud Required. The resource name of the private cloud
* to reset credentials for. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param ResetVcenterCredentialsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function resetVcenterCredentials($privateCloud, ResetVcenterCredentialsRequest $postBody, $optParams = [])
{
$params = ['privateCloud' => $privateCloud, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetVcenterCredentials', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (privateClouds.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Gets details of credentials for NSX appliance.
* (privateClouds.showNsxCredentials)
*
* @param string $privateCloud Required. The resource name of the private cloud
* to be queried for credentials. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
* @return Credentials
* @throws \Google\Service\Exception
*/
public function showNsxCredentials($privateCloud, $optParams = [])
{
$params = ['privateCloud' => $privateCloud];
$params = array_merge($params, $optParams);
return $this->call('showNsxCredentials', [$params], Credentials::class);
}
/**
* Gets details of credentials for Vcenter appliance.
* (privateClouds.showVcenterCredentials)
*
* @param string $privateCloud Required. The resource name of the private cloud
* to be queried for credentials. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param string username Optional. The username of the user to be queried
* for credentials. The default value of this field is CloudOwner@gve.local. The
* provided value must be one of the following: CloudOwner@gve.local, solution-
* user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local,
* solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.
* @return Credentials
* @throws \Google\Service\Exception
*/
public function showVcenterCredentials($privateCloud, $optParams = [])
{
$params = ['privateCloud' => $privateCloud];
$params = array_merge($params, $optParams);
return $this->call('showVcenterCredentials', [$params], Credentials::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (privateClouds.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
/**
* Restores a private cloud that was previously scheduled for deletion by
* `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has
* `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to
* the time when deletion can no longer be reversed. (privateClouds.undelete)
*
* @param string $name Required. The resource name of the private cloud
* scheduled for deletion. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param UndeletePrivateCloudRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($name, UndeletePrivateCloudRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
/**
* Updates the parameters of the `DnsForwarding` config, like associated
* domains. Only fields specified in `update_mask` are applied.
* (privateClouds.updateDnsForwarding)
*
* @param string $name Output only. Identifier. The resource name of this DNS
* profile. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/dnsForwarding`
* @param DnsForwarding $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `DnsForwarding` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function updateDnsForwarding($name, DnsForwarding $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateDnsForwarding', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateClouds::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateClouds');

View File

@@ -0,0 +1,261 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\Cluster;
use Google\Service\VMwareEngine\ListClustersResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\Policy;
use Google\Service\VMwareEngine\SetIamPolicyRequest;
use Google\Service\VMwareEngine\TestIamPermissionsRequest;
use Google\Service\VMwareEngine\TestIamPermissionsResponse;
/**
* The "clusters" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $clusters = $vmwareengineService->projects_locations_privateClouds_clusters;
* </code>
*/
class ProjectsLocationsPrivateCloudsClusters extends \Google\Service\Resource
{
/**
* Creates a new cluster in a given private cloud. Creating a new cluster
* provides additional nodes for use in the parent private cloud and requires
* sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).
* (clusters.create)
*
* @param string $parent Required. The resource name of the private cloud to
* create a new cluster in. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param Cluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clusterId Required. The user-provided identifier of the new
* `Cluster`. This identifier must be unique among clusters within the parent
* and becomes the final token in the name URI. The identifier must meet the
* following requirements: * Only contains 1-63 alphanumeric characters and
* hyphens * Begins with an alphabetical character * Ends with a non-hyphen
* character * Not formatted as a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. True if you want the request to be
* validated and not executed; false otherwise.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Cluster $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `Cluster` resource. To avoid unintended data loss, migrate or
* gracefully shut down any workloads running on the cluster before deletion.
* You cannot delete the management cluster of a private cloud using this
* method. (clusters.delete)
*
* @param string $name Required. The resource name of the cluster to delete.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/clusters/my-cluster`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `Cluster` resource by its resource name. (clusters.get)
*
* @param string $name Required. The cluster resource name to retrieve. Resource
* names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/clusters/my-cluster`
* @param array $optParams Optional parameters.
* @return Cluster
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Cluster::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (clusters.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists `Cluster` resources in a given private cloud.
* (clusters.listProjectsLocationsPrivateCloudsClusters)
*
* @param string $parent Required. The resource name of the private cloud to
* query for clusters. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param string filter To filter on multiple expressions, provide each
* separate expression within parentheses. For example: ``` (name = "example-
* cluster") (nodeCount = "3") ``` By default, each expression is an `AND`
* expression. However, you can include `AND` and `OR` expressions explicitly.
* For example: ``` (name = "example-cluster-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-cluster-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of clusters to return in one page.
* The service may return fewer than this value. The maximum value is coerced to
* 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListClusters` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListClusters` must match the
* call that provided the page token.
* @return ListClustersResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsClusters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListClustersResponse::class);
}
/**
* Modifies a `Cluster` resource. Only fields specified in `updateMask` are
* applied. During operation processing, the resource is temporarily in the
* `ACTIVE` state before the operation fully completes. For that period of time,
* you can't update the resource. Use the operation status to determine when the
* processing fully completes. (clusters.patch)
*
* @param string $name Output only. Identifier. The resource name of this
* cluster. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/clusters/my-cluster`
* @param Cluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. The request ID must be a valid UUID
* with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `Cluster` resource by the update. The fields
* specified in the `updateMask` are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then all fields will be overwritten.
* @opt_param bool validateOnly Optional. True if you want the request to be
* validated and not executed; false otherwise.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Cluster $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (clusters.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (clusters.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsClusters::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsClusters');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListNodesResponse;
use Google\Service\VMwareEngine\Node;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $nodes = $vmwareengineService->projects_locations_privateClouds_clusters_nodes;
* </code>
*/
class ProjectsLocationsPrivateCloudsClustersNodes extends \Google\Service\Resource
{
/**
* Gets details of a single node. (nodes.get)
*
* @param string $name Required. The resource name of the node to retrieve. For
* example: `projects/{project}/locations/{location}/privateClouds/{private_clou
* d}/clusters/{cluster}/nodes/{node}`
* @param array $optParams Optional parameters.
* @return Node
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Node::class);
}
/**
* Lists nodes in a given cluster.
* (nodes.listProjectsLocationsPrivateCloudsClustersNodes)
*
* @param string $parent Required. The resource name of the cluster to be
* queried for nodes. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/clusters/my-cluster`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of nodes to return in one page.
* The service may return fewer than this value. The maximum value is coerced to
* 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListNodes` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListNodes` must match the call
* that provided the page token.
* @return ListNodesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsClustersNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNodesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsClustersNodes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsClustersNodes');

View File

@@ -0,0 +1,213 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ExternalAddress;
use Google\Service\VMwareEngine\ListExternalAddressesResponse;
use Google\Service\VMwareEngine\Operation;
/**
* The "externalAddresses" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $externalAddresses = $vmwareengineService->projects_locations_privateClouds_externalAddresses;
* </code>
*/
class ProjectsLocationsPrivateCloudsExternalAddresses extends \Google\Service\Resource
{
/**
* Creates a new `ExternalAddress` resource in a given private cloud. The
* network policy that corresponds to the private cloud must have the external
* IP address network service enabled (`NetworkPolicy.external_ip`).
* (externalAddresses.create)
*
* @param string $parent Required. The resource name of the private cloud to
* create a new external IP address in. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param ExternalAddress $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string externalAddressId Required. The user-provided identifier of
* the `ExternalAddress` to be created. This identifier must be unique among
* `ExternalAddress` resources within the parent and becomes the final token in
* the name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ExternalAddress $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single external IP address. When you delete an external IP address,
* connectivity between the external IP address and the corresponding internal
* IP address is lost. (externalAddresses.delete)
*
* @param string $name Required. The resource name of the external IP address to
* delete. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/externalAddresses/my-ip`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single external IP address. (externalAddresses.get)
*
* @param string $name Required. The resource name of the external IP address to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/externalAddresses/my-ip`
* @param array $optParams Optional parameters.
* @return ExternalAddress
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ExternalAddress::class);
}
/**
* Lists external IP addresses assigned to VMware workload VMs in a given
* private cloud.
* (externalAddresses.listProjectsLocationsPrivateCloudsExternalAddresses)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for external IP addresses. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of IP addresses, you
* can exclude the ones named `example-ip` by specifying `name != "example-ip"`.
* To filter on multiple expressions, provide each separate expression within
* parentheses. For example: ``` (name = "example-ip") (createTime >
* "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`
* expression. However, you can include `AND` and `OR` expressions explicitly.
* For example: ``` (name = "example-ip-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-ip-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of external IP addresses to return
* in one page. The service may return fewer than this value. The maximum value
* is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListExternalAddresses` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListExternalAddresses`
* must match the call that provided the page token.
* @return ListExternalAddressesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsExternalAddresses($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListExternalAddressesResponse::class);
}
/**
* Updates the parameters of a single external IP address. Only fields specified
* in `update_mask` are applied. During operation processing, the resource is
* temporarily in the `ACTIVE` state before the operation fully completes. For
* that period of time, you can't update the resource. Use the operation status
* to determine when the processing fully completes. (externalAddresses.patch)
*
* @param string $name Output only. Identifier. The resource name of this
* external IP address. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/externalAddresses/my-address`
* @param ExternalAddress $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `ExternalAddress` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ExternalAddress $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsExternalAddresses::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsExternalAddresses');

View File

@@ -0,0 +1,201 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\HcxActivationKey;
use Google\Service\VMwareEngine\ListHcxActivationKeysResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\Policy;
use Google\Service\VMwareEngine\SetIamPolicyRequest;
use Google\Service\VMwareEngine\TestIamPermissionsRequest;
use Google\Service\VMwareEngine\TestIamPermissionsResponse;
/**
* The "hcxActivationKeys" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $hcxActivationKeys = $vmwareengineService->projects_locations_privateClouds_hcxActivationKeys;
* </code>
*/
class ProjectsLocationsPrivateCloudsHcxActivationKeys extends \Google\Service\Resource
{
/**
* Creates a new HCX activation key in a given private cloud.
* (hcxActivationKeys.create)
*
* @param string $parent Required. The resource name of the private cloud to
* create the key for. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`
* @param HcxActivationKey $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string hcxActivationKeyId Required. The user-provided identifier
* of the `HcxActivationKey` to be created. This identifier must be unique among
* `HcxActivationKey` resources within the parent and becomes the final token in
* the name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId A request ID to identify requests. Specify a
* unique request ID so that if you must retry your request, the server will
* know to ignore the request if it has already been completed. The server
* guarantees that a request doesn't result in creation of duplicate commitments
* for at least 60 minutes. For example, consider a situation where you make an
* initial request and the request times out. If you make the request again with
* the same request ID, the server can check if original operation with the same
* request ID was received, and if so, will ignore the second request. This
* prevents clients from accidentally creating duplicate commitments. The
* request ID must be a valid UUID with the exception that zero UUID is not
* supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, HcxActivationKey $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Retrieves a `HcxActivationKey` resource by its resource name.
* (hcxActivationKeys.get)
*
* @param string $name Required. The resource name of the HCX activation key to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/privateClouds/my-
* cloud/hcxActivationKeys/my-key`
* @param array $optParams Optional parameters.
* @return HcxActivationKey
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], HcxActivationKey::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (hcxActivationKeys.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists `HcxActivationKey` resources in a given private cloud.
* (hcxActivationKeys.listProjectsLocationsPrivateCloudsHcxActivationKeys)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for HCX activation keys. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of HCX activation keys to return
* in one page. The service may return fewer than this value. The maximum value
* is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListHcxActivationKeys` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListHcxActivationKeys`
* must match the call that provided the page token.
* @return ListHcxActivationKeysResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsHcxActivationKeys($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListHcxActivationKeysResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (hcxActivationKeys.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (hcxActivationKeys.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsHcxActivationKeys::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsHcxActivationKeys');

View File

@@ -0,0 +1,204 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListLoggingServersResponse;
use Google\Service\VMwareEngine\LoggingServer;
use Google\Service\VMwareEngine\Operation;
/**
* The "loggingServers" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $loggingServers = $vmwareengineService->projects_locations_privateClouds_loggingServers;
* </code>
*/
class ProjectsLocationsPrivateCloudsLoggingServers extends \Google\Service\Resource
{
/**
* Create a new logging server for a given private cloud.
* (loggingServers.create)
*
* @param string $parent Required. The resource name of the private cloud to
* create a new Logging Server in. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param LoggingServer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string loggingServerId Required. The user-provided identifier of
* the `LoggingServer` to be created. This identifier must be unique among
* `LoggingServer` resources within the parent and becomes the final token in
* the name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, LoggingServer $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single logging server. (loggingServers.delete)
*
* @param string $name Required. The resource name of the logging server to
* delete. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/loggingServers/my-logging-server`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a logging server. (loggingServers.get)
*
* @param string $name Required. The resource name of the Logging Server to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/loggingServers/my-logging-server`
* @param array $optParams Optional parameters.
* @return LoggingServer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], LoggingServer::class);
}
/**
* Lists logging servers configured for a given private cloud.
* (loggingServers.listProjectsLocationsPrivateCloudsLoggingServers)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for logging servers. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of logging servers, you
* can exclude the ones named `example-server` by specifying `name != "example-
* server"`. To filter on multiple expressions, provide each separate expression
* within parentheses. For example: ``` (name = "example-server") (createTime >
* "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`
* expression. However, you can include `AND` and `OR` expressions explicitly.
* For example: ``` (name = "example-server-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-server-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of logging servers to return in
* one page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListLoggingServersRequest` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListLoggingServersRequest` must match the call that provided the page token.
* @return ListLoggingServersResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsLoggingServers($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLoggingServersResponse::class);
}
/**
* Updates the parameters of a single logging server. Only fields specified in
* `update_mask` are applied. (loggingServers.patch)
*
* @param string $name Output only. The resource name of this logging server.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/loggingServers/my-logging-server`
* @param LoggingServer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `LoggingServer` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, LoggingServer $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsLoggingServers::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsLoggingServers');

View File

@@ -0,0 +1,239 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListManagementDnsZoneBindingsResponse;
use Google\Service\VMwareEngine\ManagementDnsZoneBinding;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\RepairManagementDnsZoneBindingRequest;
/**
* The "managementDnsZoneBindings" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $managementDnsZoneBindings = $vmwareengineService->projects_locations_privateClouds_managementDnsZoneBindings;
* </code>
*/
class ProjectsLocationsPrivateCloudsManagementDnsZoneBindings extends \Google\Service\Resource
{
/**
* Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This
* RPC creates the DNS binding and the resource that represents the DNS binding
* of the consumer VPC network to the management DNS zone. A management DNS zone
* is the Cloud DNS cross-project binding zone that VMware Engine creates for
* each private cloud. It contains FQDNs and corresponding IP addresses for the
* private cloud's ESXi hosts and management VM appliances like vCenter and NSX
* Manager. (managementDnsZoneBindings.create)
*
* @param string $parent Required. The resource name of the private cloud to
* create a new management DNS zone binding for. Resource names are schemeless
* URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param ManagementDnsZoneBinding $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string managementDnsZoneBindingId Required. The user-provided
* identifier of the `ManagementDnsZoneBinding` resource to be created. This
* identifier must be unique among `ManagementDnsZoneBinding` resources within
* the parent and becomes the final token in the name URI. The identifier must
* meet the following requirements: * Only contains 1-63 alphanumeric characters
* and hyphens * Begins with an alphabetical character * Ends with a non-hyphen
* character * Not formatted as a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ManagementDnsZoneBinding $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone
* binding is deleted, the corresponding consumer VPC network is no longer bound
* to the management DNS zone. (managementDnsZoneBindings.delete)
*
* @param string $name Required. The resource name of the management DNS zone
* binding to delete. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/managementDnsZoneBindings/my-management-dns-zone-binding`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
* (managementDnsZoneBindings.get)
*
* @param string $name Required. The resource name of the management DNS zone
* binding to retrieve. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/managementDnsZoneBindings/my-management-dns-zone-binding`
* @param array $optParams Optional parameters.
* @return ManagementDnsZoneBinding
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagementDnsZoneBinding::class);
}
/**
* Lists Consumer VPCs bound to Management DNS Zone of a given private cloud. (m
* anagementDnsZoneBindings.listProjectsLocationsPrivateCloudsManagementDnsZoneB
* indings)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for management DNS zone bindings. Resource names are schemeless URIs
* that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of Management DNS Zone
* Bindings, you can exclude the ones named `example-management-dns-zone-
* binding` by specifying `name != "example-management-dns-zone-binding"`. To
* filter on multiple expressions, provide each separate expression within
* parentheses. For example: ``` (name = "example-management-dns-zone-binding")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-management-dns-zone-binding-1")
* AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-management-
* dns-zone-binding-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of management DNS zone bindings to
* return in one page. The service may return fewer than this value. The maximum
* value is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListManagementDnsZoneBindings` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListManagementDnsZoneBindings` must match the call that provided the page
* token.
* @return ListManagementDnsZoneBindingsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsManagementDnsZoneBindings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListManagementDnsZoneBindingsResponse::class);
}
/**
* Updates a `ManagementDnsZoneBinding` resource. Only fields specified in
* `update_mask` are applied. (managementDnsZoneBindings.patch)
*
* @param string $name Output only. The resource name of this binding. Resource
* names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/managementDnsZoneBindings/my-management-dns-zone-binding`
* @param ManagementDnsZoneBinding $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if the original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `ManagementDnsZoneBinding` resource by the
* update. The fields specified in the `update_mask` are relative to the
* resource, not the full request. A field will be overwritten if it is in the
* mask. If the user does not provide a mask then all fields will be
* overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ManagementDnsZoneBinding $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Retries to create a `ManagementDnsZoneBinding` resource that is in failed
* state. (managementDnsZoneBindings.repair)
*
* @param string $name Required. The resource name of the management DNS zone
* binding to repair. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/managementDnsZoneBindings/my-management-dns-zone-binding`
* @param RepairManagementDnsZoneBindingRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function repair($name, RepairManagementDnsZoneBindingRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('repair', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsManagementDnsZoneBindings::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsManagementDnsZoneBindings');

View File

@@ -0,0 +1,109 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListSubnetsResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\Subnet;
/**
* The "subnets" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $subnets = $vmwareengineService->projects_locations_privateClouds_subnets;
* </code>
*/
class ProjectsLocationsPrivateCloudsSubnets extends \Google\Service\Resource
{
/**
* Gets details of a single subnet. (subnets.get)
*
* @param string $name Required. The resource name of the subnet to retrieve.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/subnets/my-subnet`
* @param array $optParams Optional parameters.
* @return Subnet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Subnet::class);
}
/**
* Lists subnets in a given private cloud.
* (subnets.listProjectsLocationsPrivateCloudsSubnets)
*
* @param string $parent Required. The resource name of the private cloud to be
* queried for subnets. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of subnets to return in one page.
* The service may return fewer than this value. The maximum value is coerced to
* 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListSubnetsRequest` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListSubnetsRequest` must match
* the call that provided the page token.
* @return ListSubnetsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateCloudsSubnets($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSubnetsResponse::class);
}
/**
* Updates the parameters of a single subnet. Only fields specified in
* `update_mask` are applied. *Note*: This API is synchronous and always returns
* a successful `google.longrunning.Operation` (LRO). The returned LRO will only
* have `done` and `response` fields. (subnets.patch)
*
* @param string $name Output only. Identifier. The resource name of this
* subnet. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-
* cloud/subnets/my-subnet`
* @param Subnet $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `Subnet` resource by the update. The fields
* specified in the `update_mask` are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Subnet $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateCloudsSubnets::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsSubnets');

View File

@@ -0,0 +1,207 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListPrivateConnectionsResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\PrivateConnection;
/**
* The "privateConnections" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $privateConnections = $vmwareengineService->projects_locations_privateConnections;
* </code>
*/
class ProjectsLocationsPrivateConnections extends \Google\Service\Resource
{
/**
* Creates a new private connection that can be used for accessing private
* Clouds. (privateConnections.create)
*
* @param string $parent Required. The resource name of the location to create
* the new private connection in. Private connection is a regional resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1`
* @param PrivateConnection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string privateConnectionId Required. The user-provided identifier
* of the new private connection. This identifier must be unique among private
* connection resources within the parent and becomes the final token in the
* name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, PrivateConnection $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `PrivateConnection` resource. When a private connection is deleted
* for a VMware Engine network, the connected network becomes inaccessible to
* that VMware Engine network. (privateConnections.delete)
*
* @param string $name Required. The resource name of the private connection to
* be deleted. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/privateConnections/my-connection`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `PrivateConnection` resource by its resource name. The resource
* contains details of the private connection, such as connected network,
* routing mode and state. (privateConnections.get)
*
* @param string $name Required. The resource name of the private connection to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/privateConnections/my-connection`
* @param array $optParams Optional parameters.
* @return PrivateConnection
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PrivateConnection::class);
}
/**
* Lists `PrivateConnection` resources in a given project and location.
* (privateConnections.listProjectsLocationsPrivateConnections)
*
* @param string $parent Required. The resource name of the location to query
* for private connections. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/us-central1`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of private connections,
* you can exclude the ones named `example-connection` by specifying `name !=
* "example-connection"`. To filter on multiple expressions, provide each
* separate expression within parentheses. For example: ``` (name = "example-
* connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each
* expression is an `AND` expression. However, you can include `AND` and `OR`
* expressions explicitly. For example: ``` (name = "example-connection-1") AND
* (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2")
* ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of private connections to return
* in one page. The maximum value is coerced to 1000. The default value of this
* field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListPrivateConnections` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListPrivateConnections`
* must match the call that provided the page token.
* @return ListPrivateConnectionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateConnections($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrivateConnectionsResponse::class);
}
/**
* Modifies a `PrivateConnection` resource. Only `description` and
* `routing_mode` fields can be updated. Only fields specified in `updateMask`
* are applied. (privateConnections.patch)
*
* @param string $name Output only. The resource name of the private connection.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1/privateConnections/my-connection`
* @param PrivateConnection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `PrivateConnection` resource by the update.
* The fields specified in the `update_mask` are relative to the resource, not
* the full request. A field will be overwritten if it is in the mask. If the
* user does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, PrivateConnection $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateConnections::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateConnections');

View File

@@ -0,0 +1,63 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListPrivateConnectionPeeringRoutesResponse;
/**
* The "peeringRoutes" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $peeringRoutes = $vmwareengineService->projects_locations_privateConnections_peeringRoutes;
* </code>
*/
class ProjectsLocationsPrivateConnectionsPeeringRoutes extends \Google\Service\Resource
{
/**
* Lists the private connection routes exchanged over a peering connection.
* (peeringRoutes.listProjectsLocationsPrivateConnectionsPeeringRoutes)
*
* @param string $parent Required. The resource name of the private connection
* to retrieve peering routes from. Resource names are schemeless URIs that
* follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-west1/privateConnections/my-connection`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of peering routes to return in one
* page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListPrivateConnectionPeeringRoutes` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `ListPrivateConnectionPeeringRoutes` must match the call that provided the
* page token.
* @return ListPrivateConnectionPeeringRoutesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateConnectionsPeeringRoutes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrivateConnectionPeeringRoutesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateConnectionsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateConnectionsPeeringRoutes');

View File

@@ -0,0 +1,217 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListVmwareEngineNetworksResponse;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\VmwareEngineNetwork;
/**
* The "vmwareEngineNetworks" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $vmwareEngineNetworks = $vmwareengineService->projects_locations_vmwareEngineNetworks;
* </code>
*/
class ProjectsLocationsVmwareEngineNetworks extends \Google\Service\Resource
{
/**
* Creates a new VMware Engine network that can be used by a private cloud.
* (vmwareEngineNetworks.create)
*
* @param string $parent Required. The resource name of the location to create
* the new VMware Engine network in. A VMware Engine network of type `LEGACY` is
* a regional resource, and a VMware Engine network of type `STANDARD` is a
* global resource. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global`
* @param VmwareEngineNetwork $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string vmwareEngineNetworkId Required. The user-provided
* identifier of the new VMware Engine network. This identifier must be unique
* among VMware Engine network resources within the parent and becomes the final
* token in the name URI. The identifier must meet the following requirements: *
* For networks of type LEGACY, adheres to the format: `{region-id}-default`.
* Replace `{region-id}` with the region where you want to create the VMware
* Engine network. For example, "us-central1-default". * Only contains 1-63
* alphanumeric characters and hyphens * Begins with an alphabetical character *
* Ends with a non-hyphen character * Not formatted as a UUID * Complies with
* [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, VmwareEngineNetwork $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine
* network after all resources that refer to it are deleted. For example, a
* private cloud, a network peering, and a network policy can all refer to the
* same VMware Engine network. (vmwareEngineNetworks.delete)
*
* @param string $name Required. The resource name of the VMware Engine network
* to be deleted. Resource names are schemeless URIs that follow the conventions
* in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
* @param array $optParams Optional parameters.
*
* @opt_param string etag Optional. Checksum used to ensure that the user-
* provided value is up to date before the server processes the request. The
* server compares provided checksum with the current checksum of the resource.
* If the user-provided value is out of date, this request returns an `ABORTED`
* error.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource
* contains details of the VMware Engine network, such as its VMware Engine
* network type, peered networks in a service project, and state (for example,
* `CREATING`, `ACTIVE`, `DELETING`). (vmwareEngineNetworks.get)
*
* @param string $name Required. The resource name of the VMware Engine network
* to retrieve. Resource names are schemeless URIs that follow the conventions
* in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
* @param array $optParams Optional parameters.
* @return VmwareEngineNetwork
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], VmwareEngineNetwork::class);
}
/**
* Lists `VmwareEngineNetwork` resources in a given project and location.
* (vmwareEngineNetworks.listProjectsLocationsVmwareEngineNetworks)
*
* @param string $parent Required. The resource name of the location to query
* for VMware Engine networks. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of network peerings,
* you can exclude the ones named `example-network` by specifying `name !=
* "example-network"`. To filter on multiple expressions, provide each separate
* expression within parentheses. For example: ``` (name = "example-network")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-network-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-network-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of results to return in one page.
* The maximum value is coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListVmwareEngineNetworks` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListVmwareEngineNetworks` must match the call that provided the page token.
* @return ListVmwareEngineNetworksResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVmwareEngineNetworks($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListVmwareEngineNetworksResponse::class);
}
/**
* Modifies a VMware Engine network resource. Only the following fields can be
* updated: `description`. Only fields specified in `updateMask` are applied.
* (vmwareEngineNetworks.patch)
*
* @param string $name Output only. Identifier. The resource name of the VMware
* Engine network. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global/vmwareEngineNetworks/my-
* network`
* @param VmwareEngineNetwork $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the VMware Engine network resource by the update.
* The fields specified in the `update_mask` are relative to the resource, not
* the full request. A field will be overwritten if it is in the mask. If the
* user does not provide a mask then all fields will be overwritten. Only the
* following fields can be updated: `description`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, VmwareEngineNetwork $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVmwareEngineNetworks::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareEngineNetworks');

View File

@@ -0,0 +1,55 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\DnsBindPermission;
/**
* The "global" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $global = $vmwareengineService->projects_locations_global;
* </code>
*/
class ProjectsLocationsVmwareengineGlobal extends \Google\Service\Resource
{
/**
* Gets all the principals having bind permission on the intranet VPC associated
* with the consumer project granted by the Grant API.
* (global.getDnsBindPermission)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param array $optParams Optional parameters.
* @return DnsBindPermission
*/
public function getDnsBindPermission($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getDnsBindPermission', [$params], DnsBindPermission::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVmwareengineGlobal::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareengineGlobal');

View File

@@ -0,0 +1,79 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\GrantDnsBindPermissionRequest;
use Google\Service\VMwareEngine\Operation;
use Google\Service\VMwareEngine\RevokeDnsBindPermissionRequest;
/**
* The "dnsBindPermission" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $dnsBindPermission = $vmwareengineService->projects_locations_global_dnsBindPermission;
* </code>
*/
class ProjectsLocationsVmwareengineGlobalDnsBindPermission extends \Google\Service\Resource
{
/**
* Grants the bind permission to the customer provided principal(user / service
* account) to bind their DNS zone with the intranet VPC associated with the
* project. (dnsBindPermission.grant)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param GrantDnsBindPermissionRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
*/
public function grant($name, GrantDnsBindPermissionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('grant', [$params], Operation::class);
}
/**
* Revokes the bind permission from the customer provided principal(user /
* service account) on the intranet VPC associated with the consumer project.
* (dnsBindPermission.revoke)
*
* @param string $name Required. The name of the resource which stores the
* users/service accounts having the permission to bind to the corresponding
* intranet VPC of the consumer project. DnsBindPermission is a global resource.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/dnsBindPermission`
* @param RevokeDnsBindPermissionRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
*/
public function revoke($name, RevokeDnsBindPermissionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('revoke', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVmwareengineGlobalDnsBindPermission::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareengineGlobalDnsBindPermission');

View File

@@ -0,0 +1,202 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListNetworkPeeringsResponse;
use Google\Service\VMwareEngine\NetworkPeering;
use Google\Service\VMwareEngine\Operation;
/**
* The "networkPeerings" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $networkPeerings = $vmwareengineService->projects_locations_global_networkPeerings;
* </code>
*/
class ProjectsLocationsVmwareengineGlobalNetworkPeerings extends \Google\Service\Resource
{
/**
* Creates a new network peering between the peer network and VMware Engine
* network provided in a `NetworkPeering` resource. (networkPeerings.create)
*
* @param string $parent Required. The resource name of the location to create
* the new network peering in. This value is always `global`, because
* `NetworkPeering` is a global resource. Resource names are schemeless URIs
* that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global`
* @param NetworkPeering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string networkPeeringId Required. The user-provided identifier of
* the new `NetworkPeering`. This identifier must be unique among
* `NetworkPeering` resources within the parent and becomes the final token in
* the name URI. The identifier must meet the following requirements: * Only
* contains 1-63 alphanumeric characters and hyphens * Begins with an
* alphabetical character * Ends with a non-hyphen character * Not formatted as
* a UUID * Complies with [RFC
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
*/
public function create($parent, NetworkPeering $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `NetworkPeering` resource. When a network peering is deleted for a
* VMware Engine network, the peer network becomes inaccessible to that VMware
* Engine network. (networkPeerings.delete)
*
* @param string $name Required. The resource name of the network peering to be
* deleted. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @return Operation
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `NetworkPeering` resource by its resource name. The resource
* contains details of the network peering, such as peered networks, import and
* export custom route configurations, and peering state. (networkPeerings.get)
*
* @param string $name Required. The resource name of the network peering to
* retrieve. Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
* @return NetworkPeering
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NetworkPeering::class);
}
/**
* Lists `NetworkPeering` resources in a given project.
* (networkPeerings.listProjectsLocationsVmwareengineGlobalNetworkPeerings)
*
* @param string $parent Required. The resource name of the location (global) to
* query for network peerings. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. The expression must specify the field name, a comparison
* operator, and the value that you want to use for filtering. The value must be
* a string, a number, or a boolean. The comparison operator must be `=`, `!=`,
* `>`, or `<`. For example, if you are filtering a list of network peerings,
* you can exclude the ones named `example-peering` by specifying `name !=
* "example-peering"`. To filter on multiple expressions, provide each separate
* expression within parentheses. For example: ``` (name = "example-peering")
* (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is
* an `AND` expression. However, you can include `AND` and `OR` expressions
* explicitly. For example: ``` (name = "example-peering-1") AND (createTime >
* "2021-04-12T08:15:10.40Z") OR (name = "example-peering-2") ```
* @opt_param string orderBy Sorts list results by a certain order. By default,
* returned results are ordered by `name` in ascending order. You can also sort
* results in descending order based on the `name` value using `orderBy="name
* desc"`. Currently, only ordering by `name` is supported.
* @opt_param int pageSize The maximum number of network peerings to return in
* one page. The maximum value is coerced to 1000. The default value of this
* field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListNetworkPeerings` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListNetworkPeerings` must
* match the call that provided the page token.
* @return ListNetworkPeeringsResponse
*/
public function listProjectsLocationsVmwareengineGlobalNetworkPeerings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNetworkPeeringsResponse::class);
}
/**
* Modifies a `NetworkPeering` resource. Only the `description` field can be
* updated. Only fields specified in `updateMask` are applied.
* (networkPeerings.patch)
*
* @param string $name Output only. The resource name of the network peering.
* Resource names are scheme-less URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/global/networkPeerings/my-peering`
* @param NetworkPeering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server guarantees that a request doesn't result in creation of duplicate
* commitments for at least 60 minutes. For example, consider a situation where
* you make an initial request and the request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that zero
* UUID is not supported (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the `NetworkPeering` resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
*/
public function patch($name, NetworkPeering $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVmwareengineGlobalNetworkPeerings::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareengineGlobalNetworkPeerings');

View File

@@ -0,0 +1,66 @@
<?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\VMwareEngine\Resource;
use Google\Service\VMwareEngine\ListPeeringRoutesResponse;
/**
* The "peeringRoutes" collection of methods.
* Typical usage is:
* <code>
* $vmwareengineService = new Google\Service\VMwareEngine(...);
* $peeringRoutes = $vmwareengineService->projects_locations_global_networkPeerings_peeringRoutes;
* </code>
*/
class ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes extends \Google\Service\Resource
{
/**
* Lists the network peering routes exchanged over a peering connection. (peerin
* gRoutes.listProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes)
*
* @param string $parent Required. The resource name of the network peering to
* retrieve peering routes from. Resource names are schemeless URIs that follow
* the conventions in https://cloud.google.com/apis/design/resource_names. For
* example: `projects/my-project/locations/global/networkPeerings/my-peering`
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that matches resources returned
* in the response. Currently, only filtering on the `direction` field is
* supported. To return routes imported from the peer network, provide
* "direction=INCOMING". To return routes exported from the VMware Engine
* network, provide "direction=OUTGOING". Other filter expressions return an
* error.
* @opt_param int pageSize The maximum number of peering routes to return in one
* page. The service may return fewer than this value. The maximum value is
* coerced to 1000. The default value of this field is 500.
* @opt_param string pageToken A page token, received from a previous
* `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPeeringRoutes` must match
* the call that provided the page token.
* @return ListPeeringRoutesResponse
*/
public function listProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPeeringRoutesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes');

View File

@@ -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\VMwareEngine;
class RevokeDnsBindPermissionRequest extends \Google\Model
{
protected $principalType = Principal::class;
protected $principalDataType = '';
/**
* @var string
*/
public $requestId;
/**
* @param Principal
*/
public function setPrincipal(Principal $principal)
{
$this->principal = $principal;
}
/**
* @return Principal
*/
public function getPrincipal()
{
return $this->principal;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevokeDnsBindPermissionRequest::class, 'Google_Service_VMwareEngine_RevokeDnsBindPermissionRequest');

View File

@@ -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\VMwareEngine;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_VMwareEngine_SetIamPolicyRequest');

View File

@@ -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\VMwareEngine;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_VMwareEngine_Status');

View File

@@ -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\VMwareEngine;
class StretchedClusterConfig extends \Google\Model
{
/**
* @var string
*/
public $preferredLocation;
/**
* @var string
*/
public $secondaryLocation;
/**
* @param string
*/
public function setPreferredLocation($preferredLocation)
{
$this->preferredLocation = $preferredLocation;
}
/**
* @return string
*/
public function getPreferredLocation()
{
return $this->preferredLocation;
}
/**
* @param string
*/
public function setSecondaryLocation($secondaryLocation)
{
$this->secondaryLocation = $secondaryLocation;
}
/**
* @return string
*/
public function getSecondaryLocation()
{
return $this->secondaryLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StretchedClusterConfig::class, 'Google_Service_VMwareEngine_StretchedClusterConfig');

View File

@@ -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\VMwareEngine;
class Subnet extends \Google\Model
{
/**
* @var string
*/
public $gatewayIp;
/**
* @var string
*/
public $ipCidrRange;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var int
*/
public $vlanId;
/**
* @param string
*/
public function setGatewayIp($gatewayIp)
{
$this->gatewayIp = $gatewayIp;
}
/**
* @return string
*/
public function getGatewayIp()
{
return $this->gatewayIp;
}
/**
* @param string
*/
public function setIpCidrRange($ipCidrRange)
{
$this->ipCidrRange = $ipCidrRange;
}
/**
* @return string
*/
public function getIpCidrRange()
{
return $this->ipCidrRange;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param int
*/
public function setVlanId($vlanId)
{
$this->vlanId = $vlanId;
}
/**
* @return int
*/
public function getVlanId()
{
return $this->vlanId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Subnet::class, 'Google_Service_VMwareEngine_Subnet');

View File

@@ -0,0 +1,45 @@
<?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\VMwareEngine;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_VMwareEngine_TestIamPermissionsRequest');

View File

@@ -0,0 +1,45 @@
<?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\VMwareEngine;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_VMwareEngine_TestIamPermissionsResponse');

View File

@@ -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\VMwareEngine;
class Thresholds extends \Google\Model
{
/**
* @var int
*/
public $scaleIn;
/**
* @var int
*/
public $scaleOut;
/**
* @param int
*/
public function setScaleIn($scaleIn)
{
$this->scaleIn = $scaleIn;
}
/**
* @return int
*/
public function getScaleIn()
{
return $this->scaleIn;
}
/**
* @param int
*/
public function setScaleOut($scaleOut)
{
$this->scaleOut = $scaleOut;
}
/**
* @return int
*/
public function getScaleOut()
{
return $this->scaleOut;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Thresholds::class, 'Google_Service_VMwareEngine_Thresholds');

View File

@@ -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\VMwareEngine;
class UndeletePrivateCloudRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeletePrivateCloudRequest::class, 'Google_Service_VMwareEngine_UndeletePrivateCloudRequest');

View File

@@ -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\VMwareEngine;
class Vcenter extends \Google\Model
{
/**
* @var string
*/
public $fqdn;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Vcenter::class, 'Google_Service_VMwareEngine_Vcenter');

View File

@@ -0,0 +1,187 @@
<?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\VMwareEngine;
class VmwareEngineNetwork extends \Google\Collection
{
protected $collection_key = 'vpcNetworks';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
protected $vpcNetworksType = VpcNetwork::class;
protected $vpcNetworksDataType = 'array';
/**
* @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 string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VpcNetwork[]
*/
public function setVpcNetworks($vpcNetworks)
{
$this->vpcNetworks = $vpcNetworks;
}
/**
* @return VpcNetwork[]
*/
public function getVpcNetworks()
{
return $this->vpcNetworks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VmwareEngineNetwork::class, 'Google_Service_VMwareEngine_VmwareEngineNetwork');

View File

@@ -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\VMwareEngine;
class VmwareengineEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VmwareengineEmpty::class, 'Google_Service_VMwareEngine_VmwareengineEmpty');

View File

@@ -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\VMwareEngine;
class VpcNetwork extends \Google\Model
{
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcNetwork::class, 'Google_Service_VMwareEngine_VpcNetwork');