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,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\Baremetalsolution;
class AllowedClient extends \Google\Model
{
/**
* @var bool
*/
public $allowDev;
/**
* @var bool
*/
public $allowSuid;
/**
* @var string
*/
public $allowedClientsCidr;
/**
* @var string
*/
public $mountPermissions;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $nfsPath;
/**
* @var bool
*/
public $noRootSquash;
/**
* @var string
*/
public $shareIp;
/**
* @param bool
*/
public function setAllowDev($allowDev)
{
$this->allowDev = $allowDev;
}
/**
* @return bool
*/
public function getAllowDev()
{
return $this->allowDev;
}
/**
* @param bool
*/
public function setAllowSuid($allowSuid)
{
$this->allowSuid = $allowSuid;
}
/**
* @return bool
*/
public function getAllowSuid()
{
return $this->allowSuid;
}
/**
* @param string
*/
public function setAllowedClientsCidr($allowedClientsCidr)
{
$this->allowedClientsCidr = $allowedClientsCidr;
}
/**
* @return string
*/
public function getAllowedClientsCidr()
{
return $this->allowedClientsCidr;
}
/**
* @param string
*/
public function setMountPermissions($mountPermissions)
{
$this->mountPermissions = $mountPermissions;
}
/**
* @return string
*/
public function getMountPermissions()
{
return $this->mountPermissions;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNfsPath($nfsPath)
{
$this->nfsPath = $nfsPath;
}
/**
* @return string
*/
public function getNfsPath()
{
return $this->nfsPath;
}
/**
* @param bool
*/
public function setNoRootSquash($noRootSquash)
{
$this->noRootSquash = $noRootSquash;
}
/**
* @return bool
*/
public function getNoRootSquash()
{
return $this->noRootSquash;
}
/**
* @param string
*/
public function setShareIp($shareIp)
{
$this->shareIp = $shareIp;
}
/**
* @return string
*/
public function getShareIp()
{
return $this->shareIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllowedClient::class, 'Google_Service_Baremetalsolution_AllowedClient');

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

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

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

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\Baremetalsolution;
class DetachLunRequest extends \Google\Model
{
/**
* @var string
*/
public $lun;
/**
* @var bool
*/
public $skipReboot;
/**
* @param string
*/
public function setLun($lun)
{
$this->lun = $lun;
}
/**
* @return string
*/
public function getLun()
{
return $this->lun;
}
/**
* @param bool
*/
public function setSkipReboot($skipReboot)
{
$this->skipReboot = $skipReboot;
}
/**
* @return bool
*/
public function getSkipReboot()
{
return $this->skipReboot;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetachLunRequest::class, 'Google_Service_Baremetalsolution_DetachLunRequest');

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

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

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

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

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

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

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

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

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

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class FetchInstanceProvisioningSettingsResponse extends \Google\Collection
{
protected $collection_key = 'images';
protected $imagesType = OSImage::class;
protected $imagesDataType = 'array';
/**
* @param OSImage[]
*/
public function setImages($images)
{
$this->images = $images;
}
/**
* @return OSImage[]
*/
public function getImages()
{
return $this->images;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchInstanceProvisioningSettingsResponse::class, 'Google_Service_Baremetalsolution_FetchInstanceProvisioningSettingsResponse');

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\Baremetalsolution;
class GoogleCloudBaremetalsolutionV2LogicalInterface extends \Google\Collection
{
protected $collection_key = 'logicalNetworkInterfaces';
/**
* @var int
*/
public $interfaceIndex;
protected $logicalNetworkInterfacesType = LogicalNetworkInterface::class;
protected $logicalNetworkInterfacesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param int
*/
public function setInterfaceIndex($interfaceIndex)
{
$this->interfaceIndex = $interfaceIndex;
}
/**
* @return int
*/
public function getInterfaceIndex()
{
return $this->interfaceIndex;
}
/**
* @param LogicalNetworkInterface[]
*/
public function setLogicalNetworkInterfaces($logicalNetworkInterfaces)
{
$this->logicalNetworkInterfaces = $logicalNetworkInterfaces;
}
/**
* @return LogicalNetworkInterface[]
*/
public function getLogicalNetworkInterfaces()
{
return $this->logicalNetworkInterfaces;
}
/**
* @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(GoogleCloudBaremetalsolutionV2LogicalInterface::class, 'Google_Service_Baremetalsolution_GoogleCloudBaremetalsolutionV2LogicalInterface');

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\Baremetalsolution;
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $required;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
/**
* @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(GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::class, 'Google_Service_Baremetalsolution_GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface');

View File

@@ -0,0 +1,397 @@
<?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\Baremetalsolution;
class Instance extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $firmwareVersion;
/**
* @var bool
*/
public $hyperthreadingEnabled;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $interactiveSerialConsoleEnabled;
/**
* @var string
*/
public $kmsKeyVersion;
/**
* @var string[]
*/
public $labels;
protected $logicalInterfacesType = GoogleCloudBaremetalsolutionV2LogicalInterface::class;
protected $logicalInterfacesDataType = 'array';
/**
* @var string
*/
public $loginInfo;
protected $lunsType = Lun::class;
protected $lunsDataType = 'array';
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $networkTemplate;
protected $networksType = Network::class;
protected $networksDataType = 'array';
/**
* @var string
*/
public $osImage;
/**
* @var string
*/
public $pod;
/**
* @var string[]
*/
public $sshKeys;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
/**
* @var string
*/
public $workloadProfile;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
/**
* @return string
*/
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
/**
* @param bool
*/
public function setHyperthreadingEnabled($hyperthreadingEnabled)
{
$this->hyperthreadingEnabled = $hyperthreadingEnabled;
}
/**
* @return bool
*/
public function getHyperthreadingEnabled()
{
return $this->hyperthreadingEnabled;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setInteractiveSerialConsoleEnabled($interactiveSerialConsoleEnabled)
{
$this->interactiveSerialConsoleEnabled = $interactiveSerialConsoleEnabled;
}
/**
* @return bool
*/
public function getInteractiveSerialConsoleEnabled()
{
return $this->interactiveSerialConsoleEnabled;
}
/**
* @param string
*/
public function setKmsKeyVersion($kmsKeyVersion)
{
$this->kmsKeyVersion = $kmsKeyVersion;
}
/**
* @return string
*/
public function getKmsKeyVersion()
{
return $this->kmsKeyVersion;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param GoogleCloudBaremetalsolutionV2LogicalInterface[]
*/
public function setLogicalInterfaces($logicalInterfaces)
{
$this->logicalInterfaces = $logicalInterfaces;
}
/**
* @return GoogleCloudBaremetalsolutionV2LogicalInterface[]
*/
public function getLogicalInterfaces()
{
return $this->logicalInterfaces;
}
/**
* @param string
*/
public function setLoginInfo($loginInfo)
{
$this->loginInfo = $loginInfo;
}
/**
* @return string
*/
public function getLoginInfo()
{
return $this->loginInfo;
}
/**
* @param Lun[]
*/
public function setLuns($luns)
{
$this->luns = $luns;
}
/**
* @return Lun[]
*/
public function getLuns()
{
return $this->luns;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkTemplate($networkTemplate)
{
$this->networkTemplate = $networkTemplate;
}
/**
* @return string
*/
public function getNetworkTemplate()
{
return $this->networkTemplate;
}
/**
* @param Network[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return Network[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @param string
*/
public function setOsImage($osImage)
{
$this->osImage = $osImage;
}
/**
* @return string
*/
public function getOsImage()
{
return $this->osImage;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string[]
*/
public function setSshKeys($sshKeys)
{
$this->sshKeys = $sshKeys;
}
/**
* @return string[]
*/
public function getSshKeys()
{
return $this->sshKeys;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param string
*/
public function setWorkloadProfile($workloadProfile)
{
$this->workloadProfile = $workloadProfile;
}
/**
* @return string
*/
public function getWorkloadProfile()
{
return $this->workloadProfile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instance::class, 'Google_Service_Baremetalsolution_Instance');

View File

@@ -0,0 +1,273 @@
<?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\Baremetalsolution;
class InstanceConfig extends \Google\Collection
{
protected $collection_key = 'sshKeyNames';
/**
* @var bool
*/
public $accountNetworksEnabled;
protected $clientNetworkType = NetworkAddress::class;
protected $clientNetworkDataType = '';
/**
* @var bool
*/
public $hyperthreading;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $instanceType;
/**
* @var string
*/
public $kmsKeyVersion;
protected $logicalInterfacesType = GoogleCloudBaremetalsolutionV2LogicalInterface::class;
protected $logicalInterfacesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $networkConfig;
/**
* @var string
*/
public $networkTemplate;
/**
* @var string
*/
public $osImage;
protected $privateNetworkType = NetworkAddress::class;
protected $privateNetworkDataType = '';
/**
* @var string[]
*/
public $sshKeyNames;
/**
* @var string
*/
public $userNote;
/**
* @param bool
*/
public function setAccountNetworksEnabled($accountNetworksEnabled)
{
$this->accountNetworksEnabled = $accountNetworksEnabled;
}
/**
* @return bool
*/
public function getAccountNetworksEnabled()
{
return $this->accountNetworksEnabled;
}
/**
* @param NetworkAddress
*/
public function setClientNetwork(NetworkAddress $clientNetwork)
{
$this->clientNetwork = $clientNetwork;
}
/**
* @return NetworkAddress
*/
public function getClientNetwork()
{
return $this->clientNetwork;
}
/**
* @param bool
*/
public function setHyperthreading($hyperthreading)
{
$this->hyperthreading = $hyperthreading;
}
/**
* @return bool
*/
public function getHyperthreading()
{
return $this->hyperthreading;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* @param string
*/
public function setKmsKeyVersion($kmsKeyVersion)
{
$this->kmsKeyVersion = $kmsKeyVersion;
}
/**
* @return string
*/
public function getKmsKeyVersion()
{
return $this->kmsKeyVersion;
}
/**
* @param GoogleCloudBaremetalsolutionV2LogicalInterface[]
*/
public function setLogicalInterfaces($logicalInterfaces)
{
$this->logicalInterfaces = $logicalInterfaces;
}
/**
* @return GoogleCloudBaremetalsolutionV2LogicalInterface[]
*/
public function getLogicalInterfaces()
{
return $this->logicalInterfaces;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkConfig($networkConfig)
{
$this->networkConfig = $networkConfig;
}
/**
* @return string
*/
public function getNetworkConfig()
{
return $this->networkConfig;
}
/**
* @param string
*/
public function setNetworkTemplate($networkTemplate)
{
$this->networkTemplate = $networkTemplate;
}
/**
* @return string
*/
public function getNetworkTemplate()
{
return $this->networkTemplate;
}
/**
* @param string
*/
public function setOsImage($osImage)
{
$this->osImage = $osImage;
}
/**
* @return string
*/
public function getOsImage()
{
return $this->osImage;
}
/**
* @param NetworkAddress
*/
public function setPrivateNetwork(NetworkAddress $privateNetwork)
{
$this->privateNetwork = $privateNetwork;
}
/**
* @return NetworkAddress
*/
public function getPrivateNetwork()
{
return $this->privateNetwork;
}
/**
* @param string[]
*/
public function setSshKeyNames($sshKeyNames)
{
$this->sshKeyNames = $sshKeyNames;
}
/**
* @return string[]
*/
public function getSshKeyNames()
{
return $this->sshKeyNames;
}
/**
* @param string
*/
public function setUserNote($userNote)
{
$this->userNote = $userNote;
}
/**
* @return string
*/
public function getUserNote()
{
return $this->userNote;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceConfig::class, 'Google_Service_Baremetalsolution_InstanceConfig');

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\Baremetalsolution;
class InstanceQuota extends \Google\Model
{
/**
* @var int
*/
public $availableMachineCount;
/**
* @var string
*/
public $gcpService;
/**
* @var string
*/
public $instanceType;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $name;
/**
* @param int
*/
public function setAvailableMachineCount($availableMachineCount)
{
$this->availableMachineCount = $availableMachineCount;
}
/**
* @return int
*/
public function getAvailableMachineCount()
{
return $this->availableMachineCount;
}
/**
* @param string
*/
public function setGcpService($gcpService)
{
$this->gcpService = $gcpService;
}
/**
* @return string
*/
public function getGcpService()
{
return $this->gcpService;
}
/**
* @param string
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(InstanceQuota::class, 'Google_Service_Baremetalsolution_InstanceQuota');

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\Baremetalsolution;
class IntakeVlanAttachment extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $pairingKey;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setPairingKey($pairingKey)
{
$this->pairingKey = $pairingKey;
}
/**
* @return string
*/
public function getPairingKey()
{
return $this->pairingKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IntakeVlanAttachment::class, 'Google_Service_Baremetalsolution_IntakeVlanAttachment');

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\Baremetalsolution;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Instance[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @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(ListInstancesResponse::class, 'Google_Service_Baremetalsolution_ListInstancesResponse');

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\Baremetalsolution;
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_Baremetalsolution_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\Baremetalsolution;
class ListLunsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $lunsType = Lun::class;
protected $lunsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Lun[]
*/
public function setLuns($luns)
{
$this->luns = $luns;
}
/**
* @return Lun[]
*/
public function getLuns()
{
return $this->luns;
}
/**
* @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(ListLunsResponse::class, 'Google_Service_Baremetalsolution_ListLunsResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class ListNetworkUsageResponse extends \Google\Collection
{
protected $collection_key = 'networks';
protected $networksType = NetworkUsage::class;
protected $networksDataType = 'array';
/**
* @param NetworkUsage[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return NetworkUsage[]
*/
public function getNetworks()
{
return $this->networks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNetworkUsageResponse::class, 'Google_Service_Baremetalsolution_ListNetworkUsageResponse');

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\Baremetalsolution;
class ListNetworksResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $networksType = Network::class;
protected $networksDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Network[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return Network[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @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(ListNetworksResponse::class, 'Google_Service_Baremetalsolution_ListNetworksResponse');

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\Baremetalsolution;
class ListNfsSharesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $nfsSharesType = NfsShare::class;
protected $nfsSharesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param NfsShare[]
*/
public function setNfsShares($nfsShares)
{
$this->nfsShares = $nfsShares;
}
/**
* @return NfsShare[]
*/
public function getNfsShares()
{
return $this->nfsShares;
}
/**
* @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(ListNfsSharesResponse::class, 'Google_Service_Baremetalsolution_ListNfsSharesResponse');

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\Baremetalsolution;
class ListOSImagesResponse extends \Google\Collection
{
protected $collection_key = 'osImages';
/**
* @var string
*/
public $nextPageToken;
protected $osImagesType = OSImage::class;
protected $osImagesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param OSImage[]
*/
public function setOsImages($osImages)
{
$this->osImages = $osImages;
}
/**
* @return OSImage[]
*/
public function getOsImages()
{
return $this->osImages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOSImagesResponse::class, 'Google_Service_Baremetalsolution_ListOSImagesResponse');

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\Baremetalsolution;
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_Baremetalsolution_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\Baremetalsolution;
class ListProvisioningQuotasResponse extends \Google\Collection
{
protected $collection_key = 'provisioningQuotas';
/**
* @var string
*/
public $nextPageToken;
protected $provisioningQuotasType = ProvisioningQuota::class;
protected $provisioningQuotasDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ProvisioningQuota[]
*/
public function setProvisioningQuotas($provisioningQuotas)
{
$this->provisioningQuotas = $provisioningQuotas;
}
/**
* @return ProvisioningQuota[]
*/
public function getProvisioningQuotas()
{
return $this->provisioningQuotas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListProvisioningQuotasResponse::class, 'Google_Service_Baremetalsolution_ListProvisioningQuotasResponse');

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\Baremetalsolution;
class ListSSHKeysResponse extends \Google\Collection
{
protected $collection_key = 'sshKeys';
/**
* @var string
*/
public $nextPageToken;
protected $sshKeysType = SSHKey::class;
protected $sshKeysDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SSHKey[]
*/
public function setSshKeys($sshKeys)
{
$this->sshKeys = $sshKeys;
}
/**
* @return SSHKey[]
*/
public function getSshKeys()
{
return $this->sshKeys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSSHKeysResponse::class, 'Google_Service_Baremetalsolution_ListSSHKeysResponse');

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\Baremetalsolution;
class ListSnapshotSchedulePoliciesResponse extends \Google\Collection
{
protected $collection_key = 'snapshotSchedulePolicies';
/**
* @var string
*/
public $nextPageToken;
protected $snapshotSchedulePoliciesType = SnapshotSchedulePolicy::class;
protected $snapshotSchedulePoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SnapshotSchedulePolicy[]
*/
public function setSnapshotSchedulePolicies($snapshotSchedulePolicies)
{
$this->snapshotSchedulePolicies = $snapshotSchedulePolicies;
}
/**
* @return SnapshotSchedulePolicy[]
*/
public function getSnapshotSchedulePolicies()
{
return $this->snapshotSchedulePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSnapshotSchedulePoliciesResponse::class, 'Google_Service_Baremetalsolution_ListSnapshotSchedulePoliciesResponse');

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\Baremetalsolution;
class ListVolumeSnapshotsResponse extends \Google\Collection
{
protected $collection_key = 'volumeSnapshots';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $volumeSnapshotsType = VolumeSnapshot::class;
protected $volumeSnapshotsDataType = '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 VolumeSnapshot[]
*/
public function setVolumeSnapshots($volumeSnapshots)
{
$this->volumeSnapshots = $volumeSnapshots;
}
/**
* @return VolumeSnapshot[]
*/
public function getVolumeSnapshots()
{
return $this->volumeSnapshots;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListVolumeSnapshotsResponse::class, 'Google_Service_Baremetalsolution_ListVolumeSnapshotsResponse');

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\Baremetalsolution;
class ListVolumesResponse extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $volumesType = Volume::class;
protected $volumesDataType = '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 Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListVolumesResponse::class, 'Google_Service_Baremetalsolution_ListVolumesResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class LoadInstanceAuthInfoResponse extends \Google\Collection
{
protected $collection_key = 'sshKeys';
protected $sshKeysType = SSHKey::class;
protected $sshKeysDataType = 'array';
protected $userAccountsType = UserAccount::class;
protected $userAccountsDataType = 'map';
/**
* @param SSHKey[]
*/
public function setSshKeys($sshKeys)
{
$this->sshKeys = $sshKeys;
}
/**
* @return SSHKey[]
*/
public function getSshKeys()
{
return $this->sshKeys;
}
/**
* @param UserAccount[]
*/
public function setUserAccounts($userAccounts)
{
$this->userAccounts = $userAccounts;
}
/**
* @return UserAccount[]
*/
public function getUserAccounts()
{
return $this->userAccounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadInstanceAuthInfoResponse::class, 'Google_Service_Baremetalsolution_LoadInstanceAuthInfoResponse');

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\Baremetalsolution;
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_Baremetalsolution_Location');

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\Baremetalsolution;
class LogicalInterface extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $required;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
/**
* @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(LogicalInterface::class, 'Google_Service_Baremetalsolution_LogicalInterface');

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\Baremetalsolution;
class LogicalNetworkInterface extends \Google\Model
{
/**
* @var bool
*/
public $defaultGateway;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $networkType;
/**
* @param bool
*/
public function setDefaultGateway($defaultGateway)
{
$this->defaultGateway = $defaultGateway;
}
/**
* @return bool
*/
public function getDefaultGateway()
{
return $this->defaultGateway;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNetworkType($networkType)
{
$this->networkType = $networkType;
}
/**
* @return string
*/
public function getNetworkType()
{
return $this->networkType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogicalNetworkInterface::class, 'Google_Service_Baremetalsolution_LogicalNetworkInterface');

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\Baremetalsolution;
class Lun extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* @var bool
*/
public $bootLun;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $instances;
/**
* @var string
*/
public $multiprotocolType;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $shareable;
/**
* @var string
*/
public $sizeGb;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $storageType;
/**
* @var string
*/
public $storageVolume;
/**
* @var string
*/
public $wwid;
/**
* @param bool
*/
public function setBootLun($bootLun)
{
$this->bootLun = $bootLun;
}
/**
* @return bool
*/
public function getBootLun()
{
return $this->bootLun;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return string[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @param string
*/
public function setMultiprotocolType($multiprotocolType)
{
$this->multiprotocolType = $multiprotocolType;
}
/**
* @return string
*/
public function getMultiprotocolType()
{
return $this->multiprotocolType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setShareable($shareable)
{
$this->shareable = $shareable;
}
/**
* @return bool
*/
public function getShareable()
{
return $this->shareable;
}
/**
* @param string
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return string
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStorageType($storageType)
{
$this->storageType = $storageType;
}
/**
* @return string
*/
public function getStorageType()
{
return $this->storageType;
}
/**
* @param string
*/
public function setStorageVolume($storageVolume)
{
$this->storageVolume = $storageVolume;
}
/**
* @return string
*/
public function getStorageVolume()
{
return $this->storageVolume;
}
/**
* @param string
*/
public function setWwid($wwid)
{
$this->wwid = $wwid;
}
/**
* @return string
*/
public function getWwid()
{
return $this->wwid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Lun::class, 'Google_Service_Baremetalsolution_Lun');

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\Baremetalsolution;
class LunRange extends \Google\Model
{
/**
* @var int
*/
public $quantity;
/**
* @var int
*/
public $sizeGb;
/**
* @param int
*/
public function setQuantity($quantity)
{
$this->quantity = $quantity;
}
/**
* @return int
*/
public function getQuantity()
{
return $this->quantity;
}
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LunRange::class, 'Google_Service_Baremetalsolution_LunRange');

View File

@@ -0,0 +1,327 @@
<?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\Baremetalsolution;
class Network extends \Google\Collection
{
protected $collection_key = 'reservations';
/**
* @var string
*/
public $cidr;
/**
* @var string
*/
public $gatewayIp;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $ipAddress;
/**
* @var bool
*/
public $jumboFramesEnabled;
/**
* @var string[]
*/
public $labels;
/**
* @var string[]
*/
public $macAddress;
protected $mountPointsType = NetworkMountPoint::class;
protected $mountPointsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pod;
protected $reservationsType = NetworkAddressReservation::class;
protected $reservationsDataType = 'array';
/**
* @var string
*/
public $servicesCidr;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $vlanId;
protected $vrfType = VRF::class;
protected $vrfDataType = '';
/**
* @var string
*/
public $vrfAttachment;
/**
* @param string
*/
public function setCidr($cidr)
{
$this->cidr = $cidr;
}
/**
* @return string
*/
public function getCidr()
{
return $this->cidr;
}
/**
* @param string
*/
public function setGatewayIp($gatewayIp)
{
$this->gatewayIp = $gatewayIp;
}
/**
* @return string
*/
public function getGatewayIp()
{
return $this->gatewayIp;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param bool
*/
public function setJumboFramesEnabled($jumboFramesEnabled)
{
$this->jumboFramesEnabled = $jumboFramesEnabled;
}
/**
* @return bool
*/
public function getJumboFramesEnabled()
{
return $this->jumboFramesEnabled;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string[]
*/
public function setMacAddress($macAddress)
{
$this->macAddress = $macAddress;
}
/**
* @return string[]
*/
public function getMacAddress()
{
return $this->macAddress;
}
/**
* @param NetworkMountPoint[]
*/
public function setMountPoints($mountPoints)
{
$this->mountPoints = $mountPoints;
}
/**
* @return NetworkMountPoint[]
*/
public function getMountPoints()
{
return $this->mountPoints;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param NetworkAddressReservation[]
*/
public function setReservations($reservations)
{
$this->reservations = $reservations;
}
/**
* @return NetworkAddressReservation[]
*/
public function getReservations()
{
return $this->reservations;
}
/**
* @param string
*/
public function setServicesCidr($servicesCidr)
{
$this->servicesCidr = $servicesCidr;
}
/**
* @return string
*/
public function getServicesCidr()
{
return $this->servicesCidr;
}
/**
* @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 setVlanId($vlanId)
{
$this->vlanId = $vlanId;
}
/**
* @return string
*/
public function getVlanId()
{
return $this->vlanId;
}
/**
* @param VRF
*/
public function setVrf(VRF $vrf)
{
$this->vrf = $vrf;
}
/**
* @return VRF
*/
public function getVrf()
{
return $this->vrf;
}
/**
* @param string
*/
public function setVrfAttachment($vrfAttachment)
{
$this->vrfAttachment = $vrfAttachment;
}
/**
* @return string
*/
public function getVrfAttachment()
{
return $this->vrfAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Network::class, 'Google_Service_Baremetalsolution_Network');

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\Baremetalsolution;
class NetworkAddress extends \Google\Model
{
/**
* @var string
*/
public $address;
/**
* @var string
*/
public $existingNetworkId;
/**
* @var string
*/
public $networkId;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setExistingNetworkId($existingNetworkId)
{
$this->existingNetworkId = $existingNetworkId;
}
/**
* @return string
*/
public function getExistingNetworkId()
{
return $this->existingNetworkId;
}
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkAddress::class, 'Google_Service_Baremetalsolution_NetworkAddress');

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\Baremetalsolution;
class NetworkAddressReservation extends \Google\Model
{
/**
* @var string
*/
public $endAddress;
/**
* @var string
*/
public $note;
/**
* @var string
*/
public $startAddress;
/**
* @param string
*/
public function setEndAddress($endAddress)
{
$this->endAddress = $endAddress;
}
/**
* @return string
*/
public function getEndAddress()
{
return $this->endAddress;
}
/**
* @param string
*/
public function setNote($note)
{
$this->note = $note;
}
/**
* @return string
*/
public function getNote()
{
return $this->note;
}
/**
* @param string
*/
public function setStartAddress($startAddress)
{
$this->startAddress = $startAddress;
}
/**
* @return string
*/
public function getStartAddress()
{
return $this->startAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkAddressReservation::class, 'Google_Service_Baremetalsolution_NetworkAddressReservation');

View File

@@ -0,0 +1,241 @@
<?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\Baremetalsolution;
class NetworkConfig extends \Google\Collection
{
protected $collection_key = 'vlanAttachments';
/**
* @var string
*/
public $bandwidth;
/**
* @var string
*/
public $cidr;
/**
* @var string
*/
public $gcpService;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $jumboFramesEnabled;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $serviceCidr;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $userNote;
protected $vlanAttachmentsType = IntakeVlanAttachment::class;
protected $vlanAttachmentsDataType = 'array';
/**
* @var bool
*/
public $vlanSameProject;
/**
* @var string
*/
public $vrf;
/**
* @param string
*/
public function setBandwidth($bandwidth)
{
$this->bandwidth = $bandwidth;
}
/**
* @return string
*/
public function getBandwidth()
{
return $this->bandwidth;
}
/**
* @param string
*/
public function setCidr($cidr)
{
$this->cidr = $cidr;
}
/**
* @return string
*/
public function getCidr()
{
return $this->cidr;
}
/**
* @param string
*/
public function setGcpService($gcpService)
{
$this->gcpService = $gcpService;
}
/**
* @return string
*/
public function getGcpService()
{
return $this->gcpService;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setJumboFramesEnabled($jumboFramesEnabled)
{
$this->jumboFramesEnabled = $jumboFramesEnabled;
}
/**
* @return bool
*/
public function getJumboFramesEnabled()
{
return $this->jumboFramesEnabled;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setServiceCidr($serviceCidr)
{
$this->serviceCidr = $serviceCidr;
}
/**
* @return string
*/
public function getServiceCidr()
{
return $this->serviceCidr;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUserNote($userNote)
{
$this->userNote = $userNote;
}
/**
* @return string
*/
public function getUserNote()
{
return $this->userNote;
}
/**
* @param IntakeVlanAttachment[]
*/
public function setVlanAttachments($vlanAttachments)
{
$this->vlanAttachments = $vlanAttachments;
}
/**
* @return IntakeVlanAttachment[]
*/
public function getVlanAttachments()
{
return $this->vlanAttachments;
}
/**
* @param bool
*/
public function setVlanSameProject($vlanSameProject)
{
$this->vlanSameProject = $vlanSameProject;
}
/**
* @return bool
*/
public function getVlanSameProject()
{
return $this->vlanSameProject;
}
/**
* @param string
*/
public function setVrf($vrf)
{
$this->vrf = $vrf;
}
/**
* @return string
*/
public function getVrf()
{
return $this->vrf;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfig::class, 'Google_Service_Baremetalsolution_NetworkConfig');

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\Baremetalsolution;
class NetworkMountPoint extends \Google\Model
{
/**
* @var bool
*/
public $defaultGateway;
/**
* @var string
*/
public $instance;
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $logicalInterface;
/**
* @param bool
*/
public function setDefaultGateway($defaultGateway)
{
$this->defaultGateway = $defaultGateway;
}
/**
* @return bool
*/
public function getDefaultGateway()
{
return $this->defaultGateway;
}
/**
* @param string
*/
public function setInstance($instance)
{
$this->instance = $instance;
}
/**
* @return string
*/
public function getInstance()
{
return $this->instance;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setLogicalInterface($logicalInterface)
{
$this->logicalInterface = $logicalInterface;
}
/**
* @return string
*/
public function getLogicalInterface()
{
return $this->logicalInterface;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkMountPoint::class, 'Google_Service_Baremetalsolution_NetworkMountPoint');

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\Baremetalsolution;
class NetworkUsage extends \Google\Collection
{
protected $collection_key = 'usedIps';
protected $networkType = Network::class;
protected $networkDataType = '';
/**
* @var string[]
*/
public $usedIps;
/**
* @param Network
*/
public function setNetwork(Network $network)
{
$this->network = $network;
}
/**
* @return Network
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string[]
*/
public function setUsedIps($usedIps)
{
$this->usedIps = $usedIps;
}
/**
* @return string[]
*/
public function getUsedIps()
{
return $this->usedIps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkUsage::class, 'Google_Service_Baremetalsolution_NetworkUsage');

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\Baremetalsolution;
class NfsExport extends \Google\Model
{
/**
* @var bool
*/
public $allowDev;
/**
* @var bool
*/
public $allowSuid;
/**
* @var string
*/
public $cidr;
/**
* @var string
*/
public $machineId;
/**
* @var string
*/
public $networkId;
/**
* @var bool
*/
public $noRootSquash;
/**
* @var string
*/
public $permissions;
/**
* @param bool
*/
public function setAllowDev($allowDev)
{
$this->allowDev = $allowDev;
}
/**
* @return bool
*/
public function getAllowDev()
{
return $this->allowDev;
}
/**
* @param bool
*/
public function setAllowSuid($allowSuid)
{
$this->allowSuid = $allowSuid;
}
/**
* @return bool
*/
public function getAllowSuid()
{
return $this->allowSuid;
}
/**
* @param string
*/
public function setCidr($cidr)
{
$this->cidr = $cidr;
}
/**
* @return string
*/
public function getCidr()
{
return $this->cidr;
}
/**
* @param string
*/
public function setMachineId($machineId)
{
$this->machineId = $machineId;
}
/**
* @return string
*/
public function getMachineId()
{
return $this->machineId;
}
/**
* @param string
*/
public function setNetworkId($networkId)
{
$this->networkId = $networkId;
}
/**
* @return string
*/
public function getNetworkId()
{
return $this->networkId;
}
/**
* @param bool
*/
public function setNoRootSquash($noRootSquash)
{
$this->noRootSquash = $noRootSquash;
}
/**
* @return bool
*/
public function getNoRootSquash()
{
return $this->noRootSquash;
}
/**
* @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(NfsExport::class, 'Google_Service_Baremetalsolution_NfsExport');

View File

@@ -0,0 +1,205 @@
<?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\Baremetalsolution;
class NfsShare extends \Google\Collection
{
protected $collection_key = 'allowedClients';
protected $allowedClientsType = AllowedClient::class;
protected $allowedClientsDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nfsShareId;
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $requestedSizeGib;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $storageType;
/**
* @var string
*/
public $volume;
/**
* @param AllowedClient[]
*/
public function setAllowedClients($allowedClients)
{
$this->allowedClients = $allowedClients;
}
/**
* @return AllowedClient[]
*/
public function getAllowedClients()
{
return $this->allowedClients;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNfsShareId($nfsShareId)
{
$this->nfsShareId = $nfsShareId;
}
/**
* @return string
*/
public function getNfsShareId()
{
return $this->nfsShareId;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setRequestedSizeGib($requestedSizeGib)
{
$this->requestedSizeGib = $requestedSizeGib;
}
/**
* @return string
*/
public function getRequestedSizeGib()
{
return $this->requestedSizeGib;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStorageType($storageType)
{
$this->storageType = $storageType;
}
/**
* @return string
*/
public function getStorageType()
{
return $this->storageType;
}
/**
* @param string
*/
public function setVolume($volume)
{
$this->volume = $volume;
}
/**
* @return string
*/
public function getVolume()
{
return $this->volume;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NfsShare::class, 'Google_Service_Baremetalsolution_NfsShare');

View File

@@ -0,0 +1,117 @@
<?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\Baremetalsolution;
class OSImage extends \Google\Collection
{
protected $collection_key = 'supportedNetworkTemplates';
/**
* @var string[]
*/
public $applicableInstanceTypes;
/**
* @var string
*/
public $code;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $supportedNetworkTemplates;
/**
* @param string[]
*/
public function setApplicableInstanceTypes($applicableInstanceTypes)
{
$this->applicableInstanceTypes = $applicableInstanceTypes;
}
/**
* @return string[]
*/
public function getApplicableInstanceTypes()
{
return $this->applicableInstanceTypes;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @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 setSupportedNetworkTemplates($supportedNetworkTemplates)
{
$this->supportedNetworkTemplates = $supportedNetworkTemplates;
}
/**
* @return string[]
*/
public function getSupportedNetworkTemplates()
{
return $this->supportedNetworkTemplates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OSImage::class, 'Google_Service_Baremetalsolution_OSImage');

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\Baremetalsolution;
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_Baremetalsolution_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\Baremetalsolution;
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_Baremetalsolution_OperationMetadata');

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\Baremetalsolution;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
public $etag;
public $version;
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_Baremetalsolution_Policy');

View File

@@ -0,0 +1,291 @@
<?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\Baremetalsolution;
class ProvisioningConfig extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string
*/
public $cloudConsoleUri;
/**
* @var string
*/
public $customId;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $handoverServiceAccount;
protected $instancesType = InstanceConfig::class;
protected $instancesDataType = 'array';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $name;
protected $networksType = NetworkConfig::class;
protected $networksDataType = 'array';
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $ticketId;
/**
* @var string
*/
public $updateTime;
protected $volumesType = VolumeConfig::class;
protected $volumesDataType = 'array';
/**
* @var bool
*/
public $vpcScEnabled;
/**
* @param string
*/
public function setCloudConsoleUri($cloudConsoleUri)
{
$this->cloudConsoleUri = $cloudConsoleUri;
}
/**
* @return string
*/
public function getCloudConsoleUri()
{
return $this->cloudConsoleUri;
}
/**
* @param string
*/
public function setCustomId($customId)
{
$this->customId = $customId;
}
/**
* @return string
*/
public function getCustomId()
{
return $this->customId;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setHandoverServiceAccount($handoverServiceAccount)
{
$this->handoverServiceAccount = $handoverServiceAccount;
}
/**
* @return string
*/
public function getHandoverServiceAccount()
{
return $this->handoverServiceAccount;
}
/**
* @param InstanceConfig[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return InstanceConfig[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkConfig[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return NetworkConfig[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTicketId($ticketId)
{
$this->ticketId = $ticketId;
}
/**
* @return string
*/
public function getTicketId()
{
return $this->ticketId;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VolumeConfig[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return VolumeConfig[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param bool
*/
public function setVpcScEnabled($vpcScEnabled)
{
$this->vpcScEnabled = $vpcScEnabled;
}
/**
* @return bool
*/
public function getVpcScEnabled()
{
return $this->vpcScEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProvisioningConfig::class, 'Google_Service_Baremetalsolution_ProvisioningConfig');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class ProvisioningQuota extends \Google\Model
{
/**
* @var string
*/
public $assetType;
/**
* @var int
*/
public $availableCount;
/**
* @var string
*/
public $gcpService;
protected $instanceQuotaType = InstanceQuota::class;
protected $instanceQuotaDataType = '';
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $networkBandwidth;
/**
* @var string
*/
public $serverCount;
/**
* @var string
*/
public $storageGib;
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
/**
* @param int
*/
public function setAvailableCount($availableCount)
{
$this->availableCount = $availableCount;
}
/**
* @return int
*/
public function getAvailableCount()
{
return $this->availableCount;
}
/**
* @param string
*/
public function setGcpService($gcpService)
{
$this->gcpService = $gcpService;
}
/**
* @return string
*/
public function getGcpService()
{
return $this->gcpService;
}
/**
* @param InstanceQuota
*/
public function setInstanceQuota(InstanceQuota $instanceQuota)
{
$this->instanceQuota = $instanceQuota;
}
/**
* @return InstanceQuota
*/
public function getInstanceQuota()
{
return $this->instanceQuota;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkBandwidth($networkBandwidth)
{
$this->networkBandwidth = $networkBandwidth;
}
/**
* @return string
*/
public function getNetworkBandwidth()
{
return $this->networkBandwidth;
}
/**
* @param string
*/
public function setServerCount($serverCount)
{
$this->serverCount = $serverCount;
}
/**
* @return string
*/
public function getServerCount()
{
return $this->serverCount;
}
/**
* @param string
*/
public function setStorageGib($storageGib)
{
$this->storageGib = $storageGib;
}
/**
* @return string
*/
public function getStorageGib()
{
return $this->storageGib;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProvisioningQuota::class, 'Google_Service_Baremetalsolution_ProvisioningQuota');

View File

@@ -0,0 +1,35 @@
<?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\Baremetalsolution;
class QosPolicy extends \Google\Model
{
public $bandwidthGbps;
public function setBandwidthGbps($bandwidthGbps)
{
$this->bandwidthGbps = $bandwidthGbps;
}
public function getBandwidthGbps()
{
return $this->bandwidthGbps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QosPolicy::class, 'Google_Service_Baremetalsolution_QosPolicy');

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\Baremetalsolution;
class ReimageInstanceRequest extends \Google\Collection
{
protected $collection_key = 'sshKeys';
/**
* @var string
*/
public $kmsKeyVersion;
/**
* @var string
*/
public $osImage;
/**
* @var string[]
*/
public $sshKeys;
/**
* @param string
*/
public function setKmsKeyVersion($kmsKeyVersion)
{
$this->kmsKeyVersion = $kmsKeyVersion;
}
/**
* @return string
*/
public function getKmsKeyVersion()
{
return $this->kmsKeyVersion;
}
/**
* @param string
*/
public function setOsImage($osImage)
{
$this->osImage = $osImage;
}
/**
* @return string
*/
public function getOsImage()
{
return $this->osImage;
}
/**
* @param string[]
*/
public function setSshKeys($sshKeys)
{
$this->sshKeys = $sshKeys;
}
/**
* @return string[]
*/
public function getSshKeys()
{
return $this->sshKeys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReimageInstanceRequest::class, 'Google_Service_Baremetalsolution_ReimageInstanceRequest');

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\Baremetalsolution;
class RenameInstanceRequest extends \Google\Model
{
/**
* @var string
*/
public $newInstanceId;
/**
* @param string
*/
public function setNewInstanceId($newInstanceId)
{
$this->newInstanceId = $newInstanceId;
}
/**
* @return string
*/
public function getNewInstanceId()
{
return $this->newInstanceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RenameInstanceRequest::class, 'Google_Service_Baremetalsolution_RenameInstanceRequest');

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\Baremetalsolution;
class RenameNetworkRequest extends \Google\Model
{
/**
* @var string
*/
public $newNetworkId;
/**
* @param string
*/
public function setNewNetworkId($newNetworkId)
{
$this->newNetworkId = $newNetworkId;
}
/**
* @return string
*/
public function getNewNetworkId()
{
return $this->newNetworkId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RenameNetworkRequest::class, 'Google_Service_Baremetalsolution_RenameNetworkRequest');

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\Baremetalsolution;
class RenameNfsShareRequest extends \Google\Model
{
/**
* @var string
*/
public $newNfsshareId;
/**
* @param string
*/
public function setNewNfsshareId($newNfsshareId)
{
$this->newNfsshareId = $newNfsshareId;
}
/**
* @return string
*/
public function getNewNfsshareId()
{
return $this->newNfsshareId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RenameNfsShareRequest::class, 'Google_Service_Baremetalsolution_RenameNfsShareRequest');

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\Baremetalsolution;
class RenameVolumeRequest extends \Google\Model
{
/**
* @var string
*/
public $newVolumeId;
/**
* @param string
*/
public function setNewVolumeId($newVolumeId)
{
$this->newVolumeId = $newVolumeId;
}
/**
* @return string
*/
public function getNewVolumeId()
{
return $this->newVolumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RenameVolumeRequest::class, 'Google_Service_Baremetalsolution_RenameVolumeRequest');

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

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

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\Baremetalsolution;
class ResizeVolumeRequest extends \Google\Model
{
/**
* @var string
*/
public $sizeGib;
/**
* @param string
*/
public function setSizeGib($sizeGib)
{
$this->sizeGib = $sizeGib;
}
/**
* @return string
*/
public function getSizeGib()
{
return $this->sizeGib;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResizeVolumeRequest::class, 'Google_Service_Baremetalsolution_ResizeVolumeRequest');

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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\BaremetalsolutionEmpty;
use Google\Service\Baremetalsolution\CancelOperationRequest;
use Google\Service\Baremetalsolution\ListOperationsResponse;
use Google\Service\Baremetalsolution\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $operations = $baremetalsolutionService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return BaremetalsolutionEmpty
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], BaremetalsolutionEmpty::class);
}
/**
* 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 BaremetalsolutionEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BaremetalsolutionEmpty::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
*/
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`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/operations`. To override the binding,
* API services can add a binding such as `"/v1/{name=users}/operations"` to
* their service configuration. For backwards compatibility, the default name
* includes the operations collection id, however overriding users must ensure
* the name binding is the parent resource, without the operations collection
* id. (operations.listOperations)
*
* @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
*/
public function listOperations($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(Operations::class, 'Google_Service_Baremetalsolution_Resource_Operations');

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\Baremetalsolution\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $projects = $baremetalsolutionService->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_Baremetalsolution_Resource_Projects');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ListLocationsResponse;
use Google\Service\Baremetalsolution\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $locations = $baremetalsolutionService->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);
}
/**
* 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_Baremetalsolution_Resource_ProjectsLocations');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\FetchInstanceProvisioningSettingsResponse;
/**
* The "instanceProvisioningSettings" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $instanceProvisioningSettings = $baremetalsolutionService->projects_locations_instanceProvisioningSettings;
* </code>
*/
class ProjectsLocationsInstanceProvisioningSettings extends \Google\Service\Resource
{
/**
* Get instance provisioning settings for a given project. This is hidden method
* used by UI only. (instanceProvisioningSettings.fetch)
*
* @param string $location Required. The parent project and location containing
* the ProvisioningSettings.
* @param array $optParams Optional parameters.
* @return FetchInstanceProvisioningSettingsResponse
*/
public function fetch($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('fetch', [$params], FetchInstanceProvisioningSettingsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstanceProvisioningSettings::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsInstanceProvisioningSettings');

View File

@@ -0,0 +1,283 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\DetachLunRequest;
use Google\Service\Baremetalsolution\DisableHyperthreadingRequest;
use Google\Service\Baremetalsolution\DisableInteractiveSerialConsoleRequest;
use Google\Service\Baremetalsolution\EnableHyperthreadingRequest;
use Google\Service\Baremetalsolution\EnableInteractiveSerialConsoleRequest;
use Google\Service\Baremetalsolution\Instance;
use Google\Service\Baremetalsolution\ListInstancesResponse;
use Google\Service\Baremetalsolution\LoadInstanceAuthInfoResponse;
use Google\Service\Baremetalsolution\Operation;
use Google\Service\Baremetalsolution\ReimageInstanceRequest;
use Google\Service\Baremetalsolution\RenameInstanceRequest;
use Google\Service\Baremetalsolution\ResetInstanceRequest;
use Google\Service\Baremetalsolution\StartInstanceRequest;
use Google\Service\Baremetalsolution\StopInstanceRequest;
/**
* The "instances" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $instances = $baremetalsolutionService->projects_locations_instances;
* </code>
*/
class ProjectsLocationsInstances extends \Google\Service\Resource
{
/**
* Detach LUN from Instance. (instances.detachLun)
*
* @param string $instance Required. Name of the instance.
* @param DetachLunRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function detachLun($instance, DetachLunRequest $postBody, $optParams = [])
{
$params = ['instance' => $instance, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('detachLun', [$params], Operation::class);
}
/**
* Perform disable hyperthreading operation on a single server.
* (instances.disableHyperthreading)
*
* @param string $name Required. The `name` field is used to identify the
* instance. Format:
* projects/{project}/locations/{location}/instances/{instance}
* @param DisableHyperthreadingRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function disableHyperthreading($name, DisableHyperthreadingRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disableHyperthreading', [$params], Operation::class);
}
/**
* Disable the interactive serial console feature on an instance.
* (instances.disableInteractiveSerialConsole)
*
* @param string $name Required. Name of the resource.
* @param DisableInteractiveSerialConsoleRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function disableInteractiveSerialConsole($name, DisableInteractiveSerialConsoleRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disableInteractiveSerialConsole', [$params], Operation::class);
}
/**
* Perform enable hyperthreading operation on a single server.
* (instances.enableHyperthreading)
*
* @param string $name Required. The `name` field is used to identify the
* instance. Format:
* projects/{project}/locations/{location}/instances/{instance}
* @param EnableHyperthreadingRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function enableHyperthreading($name, EnableHyperthreadingRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enableHyperthreading', [$params], Operation::class);
}
/**
* Enable the interactive serial console feature on an instance.
* (instances.enableInteractiveSerialConsole)
*
* @param string $name Required. Name of the resource.
* @param EnableInteractiveSerialConsoleRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function enableInteractiveSerialConsole($name, EnableInteractiveSerialConsoleRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enableInteractiveSerialConsole', [$params], Operation::class);
}
/**
* Get details about a single server. (instances.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return Instance
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Instance::class);
}
/**
* List servers in a given project and location.
* (instances.listProjectsLocationsInstances)
*
* @param string $parent Required. Parent value for ListInstancesRequest.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param int pageSize Requested page size. Server may return fewer items
* than requested. If unspecified, the server will pick an appropriate default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListInstancesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsInstances($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInstancesResponse::class);
}
/**
* Load auth info for a server. (instances.loadAuthInfo)
*
* @param string $name Required. Name of the server.
* @param array $optParams Optional parameters.
* @return LoadInstanceAuthInfoResponse
* @throws \Google\Service\Exception
*/
public function loadAuthInfo($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('loadAuthInfo', [$params], LoadInstanceAuthInfoResponse::class);
}
/**
* Update details of a single server. (instances.patch)
*
* @param string $name Immutable. The resource name of this `Instance`. Resource
* names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. Format:
* `projects/{project}/locations/{location}/instances/{instance}`
* @param Instance $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. The currently
* supported fields are: `labels` `hyperthreading_enabled` `os_image` `ssh_keys`
* `kms_key_version`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Instance $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Perform reimage operation on a single server. (instances.reimage)
*
* @param string $name Required. The `name` field is used to identify the
* instance. Format:
* projects/{project}/locations/{location}/instances/{instance}
* @param ReimageInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function reimage($name, ReimageInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reimage', [$params], Operation::class);
}
/**
* RenameInstance sets a new name for an instance. Use with caution, previous
* names become immediately invalidated. (instances.rename)
*
* @param string $name Required. The `name` field is used to identify the
* instance. Format:
* projects/{project}/locations/{location}/instances/{instance}
* @param RenameInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Instance
* @throws \Google\Service\Exception
*/
public function rename($name, RenameInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rename', [$params], Instance::class);
}
/**
* Perform an ungraceful, hard reset on a server. Equivalent to shutting the
* power off and then turning it back on. (instances.reset)
*
* @param string $name Required. Name of the resource.
* @param ResetInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function reset($name, ResetInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reset', [$params], Operation::class);
}
/**
* Starts a server that was shutdown. (instances.start)
*
* @param string $name Required. Name of the resource.
* @param StartInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function start($name, StartInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('start', [$params], Operation::class);
}
/**
* Stop a running server. (instances.stop)
*
* @param string $name Required. Name of the resource.
* @param StopInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function stop($name, StopInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstances::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsInstances');

View File

@@ -0,0 +1,128 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ListNetworkUsageResponse;
use Google\Service\Baremetalsolution\ListNetworksResponse;
use Google\Service\Baremetalsolution\Network;
use Google\Service\Baremetalsolution\Operation;
use Google\Service\Baremetalsolution\RenameNetworkRequest;
/**
* The "networks" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $networks = $baremetalsolutionService->projects_locations_networks;
* </code>
*/
class ProjectsLocationsNetworks extends \Google\Service\Resource
{
/**
* Get details of a single network. (networks.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return Network
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Network::class);
}
/**
* List network in a given project and location.
* (networks.listProjectsLocationsNetworks)
*
* @param string $parent Required. Parent value for ListNetworksRequest.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListNetworksResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworks($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNetworksResponse::class);
}
/**
* List all Networks (and used IPs for each Network) in the vendor account
* associated with the specified project. (networks.listNetworkUsage)
*
* @param string $location Required. Parent value (project and location).
* @param array $optParams Optional parameters.
* @return ListNetworkUsageResponse
* @throws \Google\Service\Exception
*/
public function listNetworkUsage($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('listNetworkUsage', [$params], ListNetworkUsageResponse::class);
}
/**
* Update details of a single network. (networks.patch)
*
* @param string $name Output only. The resource name of this `Network`.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. Format:
* `projects/{project}/locations/{location}/networks/{network}`
* @param Network $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. The only currently
* supported fields are: `labels`, `reservations`, `vrf.vlan_attachments`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Network $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* RenameNetwork sets a new name for a network. Use with caution, previous names
* become immediately invalidated. (networks.rename)
*
* @param string $name Required. The `name` field is used to identify the
* network. Format: projects/{project}/locations/{location}/networks/{network}
* @param RenameNetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return Network
* @throws \Google\Service\Exception
*/
public function rename($name, RenameNetworkRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rename', [$params], Network::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworks::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsNetworks');

View File

@@ -0,0 +1,139 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ListNfsSharesResponse;
use Google\Service\Baremetalsolution\NfsShare;
use Google\Service\Baremetalsolution\Operation;
use Google\Service\Baremetalsolution\RenameNfsShareRequest;
/**
* The "nfsShares" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $nfsShares = $baremetalsolutionService->projects_locations_nfsShares;
* </code>
*/
class ProjectsLocationsNfsShares extends \Google\Service\Resource
{
/**
* Create an NFS share. (nfsShares.create)
*
* @param string $parent Required. The parent project and location.
* @param NfsShare $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, NfsShare $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Delete an NFS share. The underlying volume is automatically deleted.
* (nfsShares.delete)
*
* @param string $name Required. The name of the NFS share to delete.
* @param array $optParams Optional parameters.
* @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);
}
/**
* Get details of a single NFS share. (nfsShares.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return NfsShare
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NfsShare::class);
}
/**
* List NFS shares. (nfsShares.listProjectsLocationsNfsShares)
*
* @param string $parent Required. Parent value for ListNfsSharesRequest.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListNfsSharesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNfsShares($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListNfsSharesResponse::class);
}
/**
* Update details of a single NFS share. (nfsShares.patch)
*
* @param string $name Immutable. The name of the NFS share.
* @param NfsShare $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. The only currently
* supported fields are: `labels` `allowed_clients`
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, NfsShare $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* RenameNfsShare sets a new name for an nfsshare. Use with caution, previous
* names become immediately invalidated. (nfsShares.rename)
*
* @param string $name Required. The `name` field is used to identify the
* nfsshare. Format:
* projects/{project}/locations/{location}/nfsshares/{nfsshare}
* @param RenameNfsShareRequest $postBody
* @param array $optParams Optional parameters.
* @return NfsShare
* @throws \Google\Service\Exception
*/
public function rename($name, RenameNfsShareRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rename', [$params], NfsShare::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNfsShares::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsNfsShares');

View File

@@ -0,0 +1,49 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $operations = $baremetalsolutionService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Get details about an operation. (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);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,72 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ListOSImagesResponse;
use Google\Service\Baremetalsolution\OSImage;
/**
* The "osImages" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $osImages = $baremetalsolutionService->projects_locations_osImages;
* </code>
*/
class ProjectsLocationsOsImages extends \Google\Service\Resource
{
/**
* Get details of a single OS image. (osImages.get)
*
* @param string $name Required. Name of the OS image.
* @param array $optParams Optional parameters.
* @return OSImage
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], OSImage::class);
}
/**
* Retrieves the list of OS images which are currently approved.
* (osImages.listProjectsLocationsOsImages)
*
* @param string $parent Required. Parent value for ListOSImagesRequest.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default. Notice that page_size field is not supported and won't be respected
* in the API request for now, will be updated when pagination is supported.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListOSImagesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOsImages($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOSImagesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOsImages::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsOsImages');

View File

@@ -0,0 +1,107 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ProvisioningConfig;
use Google\Service\Baremetalsolution\SubmitProvisioningConfigRequest;
use Google\Service\Baremetalsolution\SubmitProvisioningConfigResponse;
/**
* The "provisioningConfigs" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $provisioningConfigs = $baremetalsolutionService->projects_locations_provisioningConfigs;
* </code>
*/
class ProjectsLocationsProvisioningConfigs extends \Google\Service\Resource
{
/**
* Create new ProvisioningConfig. (provisioningConfigs.create)
*
* @param string $parent Required. The parent project and location containing
* the ProvisioningConfig.
* @param ProvisioningConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string email Optional. Email provided to send a confirmation with
* provisioning config to.
* @return ProvisioningConfig
* @throws \Google\Service\Exception
*/
public function create($parent, ProvisioningConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ProvisioningConfig::class);
}
/**
* Get ProvisioningConfig by name. (provisioningConfigs.get)
*
* @param string $name Required. Name of the ProvisioningConfig.
* @param array $optParams Optional parameters.
* @return ProvisioningConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ProvisioningConfig::class);
}
/**
* Update existing ProvisioningConfig. (provisioningConfigs.patch)
*
* @param string $name Output only. The system-generated name of the
* provisioning config. This follows the UUID format.
* @param ProvisioningConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string email Optional. Email provided to send a confirmation with
* provisioning config to.
* @opt_param string updateMask Required. The list of fields to update.
* @return ProvisioningConfig
* @throws \Google\Service\Exception
*/
public function patch($name, ProvisioningConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ProvisioningConfig::class);
}
/**
* Submit a provisiong configuration for a given project.
* (provisioningConfigs.submit)
*
* @param string $parent Required. The parent project and location containing
* the ProvisioningConfig.
* @param SubmitProvisioningConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return SubmitProvisioningConfigResponse
* @throws \Google\Service\Exception
*/
public function submit($parent, SubmitProvisioningConfigRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('submit', [$params], SubmitProvisioningConfigResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProvisioningConfigs::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsProvisioningConfigs');

View File

@@ -0,0 +1,58 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\ListProvisioningQuotasResponse;
/**
* The "provisioningQuotas" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $provisioningQuotas = $baremetalsolutionService->projects_locations_provisioningQuotas;
* </code>
*/
class ProjectsLocationsProvisioningQuotas extends \Google\Service\Resource
{
/**
* List the budget details to provision resources on a given project.
* (provisioningQuotas.listProjectsLocationsProvisioningQuotas)
*
* @param string $parent Required. Parent value for
* ListProvisioningQuotasRequest.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default. Notice that page_size field is not supported and won't be respected
* in the API request for now, will be updated when pagination is supported.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListProvisioningQuotasResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsProvisioningQuotas($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListProvisioningQuotasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsProvisioningQuotas::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsProvisioningQuotas');

View File

@@ -0,0 +1,120 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\BaremetalsolutionEmpty;
use Google\Service\Baremetalsolution\ListSnapshotSchedulePoliciesResponse;
use Google\Service\Baremetalsolution\SnapshotSchedulePolicy;
/**
* The "snapshotSchedulePolicies" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $snapshotSchedulePolicies = $baremetalsolutionService->snapshotSchedulePolicies;
* </code>
*/
class ProjectsLocationsSnapshotSchedulePolicies extends \Google\Service\Resource
{
/**
* Create a snapshot schedule policy in the specified project.
* (snapshotSchedulePolicies.create)
*
* @param string $parent Required. The parent project and location containing
* the SnapshotSchedulePolicy.
* @param SnapshotSchedulePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string snapshotSchedulePolicyId Required. Snapshot policy ID
* @return SnapshotSchedulePolicy
*/
public function create($parent, SnapshotSchedulePolicy $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SnapshotSchedulePolicy::class);
}
/**
* Delete a named snapshot schedule policy. (snapshotSchedulePolicies.delete)
*
* @param string $name Required. The name of the snapshot schedule policy to
* delete.
* @param array $optParams Optional parameters.
* @return BaremetalsolutionEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BaremetalsolutionEmpty::class);
}
/**
* Get details of a single snapshot schedule policy.
* (snapshotSchedulePolicies.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return SnapshotSchedulePolicy
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SnapshotSchedulePolicy::class);
}
/**
* List snapshot schedule policies in a given project and location.
* (snapshotSchedulePolicies.listProjectsLocationsSnapshotSchedulePolicies)
*
* @param string $parent Required. The parent project containing the Snapshot
* Schedule Policies.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @return ListSnapshotSchedulePoliciesResponse
*/
public function listProjectsLocationsSnapshotSchedulePolicies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSnapshotSchedulePoliciesResponse::class);
}
/**
* Update a snapshot schedule policy in the specified project.
* (snapshotSchedulePolicies.patch)
*
* @param string $name Output only. The name of the snapshot schedule policy.
* @param SnapshotSchedulePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The list of fields to update.
* @return SnapshotSchedulePolicy
*/
public function patch($name, SnapshotSchedulePolicy $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SnapshotSchedulePolicy::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsSnapshotSchedulePolicies::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsSnapshotSchedulePolicies');

View File

@@ -0,0 +1,94 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\BaremetalsolutionEmpty;
use Google\Service\Baremetalsolution\ListSSHKeysResponse;
use Google\Service\Baremetalsolution\SSHKey;
/**
* The "sshKeys" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $sshKeys = $baremetalsolutionService->projects_locations_sshKeys;
* </code>
*/
class ProjectsLocationsSshKeys extends \Google\Service\Resource
{
/**
* Register a public SSH key in the specified project for use with the
* interactive serial console feature. (sshKeys.create)
*
* @param string $parent Required. The parent containing the SSH keys.
* @param SSHKey $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string sshKeyId Required. The ID to use for the key, which will
* become the final component of the key's resource name. This value must match
* the regex: [a-zA-Z0-9@.\-_]{1,64}
* @return SSHKey
* @throws \Google\Service\Exception
*/
public function create($parent, SSHKey $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SSHKey::class);
}
/**
* Deletes a public SSH key registered in the specified project.
* (sshKeys.delete)
*
* @param string $name Required. The name of the SSH key to delete. Currently,
* the only valid value for the location is "global".
* @param array $optParams Optional parameters.
* @return BaremetalsolutionEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BaremetalsolutionEmpty::class);
}
/**
* Lists the public SSH keys registered for the specified project. These SSH
* keys are used only for the interactive serial console feature.
* (sshKeys.listProjectsLocationsSshKeys)
*
* @param string $parent Required. The parent containing the SSH keys.
* Currently, the only valid value for the location is "global".
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @return ListSSHKeysResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsSshKeys($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSSHKeysResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsSshKeys::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsSshKeys');

View File

@@ -0,0 +1,145 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\EvictVolumeRequest;
use Google\Service\Baremetalsolution\ListVolumesResponse;
use Google\Service\Baremetalsolution\Operation;
use Google\Service\Baremetalsolution\RenameVolumeRequest;
use Google\Service\Baremetalsolution\ResizeVolumeRequest;
use Google\Service\Baremetalsolution\Volume;
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $volumes = $baremetalsolutionService->projects_locations_volumes;
* </code>
*/
class ProjectsLocationsVolumes extends \Google\Service\Resource
{
/**
* Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
* (volumes.evict)
*
* @param string $name Required. The name of the Volume.
* @param EvictVolumeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function evict($name, EvictVolumeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('evict', [$params], Operation::class);
}
/**
* Get details of a single storage volume. (volumes.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return Volume
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Volume::class);
}
/**
* List storage volumes in a given project and location.
* (volumes.listProjectsLocationsVolumes)
*
* @param string $parent Required. Parent value for ListVolumesRequest.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListVolumesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVolumes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListVolumesResponse::class);
}
/**
* Update details of a single storage volume. (volumes.patch)
*
* @param string $name Output only. The resource name of this `Volume`. Resource
* names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names. Format:
* `projects/{project}/locations/{location}/volumes/{volume}`
* @param Volume $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. The only currently
* supported fields are: 'labels'
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Volume $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* RenameVolume sets a new name for a volume. Use with caution, previous names
* become immediately invalidated. (volumes.rename)
*
* @param string $name Required. The `name` field is used to identify the
* volume. Format: projects/{project}/locations/{location}/volumes/{volume}
* @param RenameVolumeRequest $postBody
* @param array $optParams Optional parameters.
* @return Volume
* @throws \Google\Service\Exception
*/
public function rename($name, RenameVolumeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rename', [$params], Volume::class);
}
/**
* Emergency Volume resize. (volumes.resize)
*
* @param string $volume Required. Volume to resize.
* @param ResizeVolumeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function resize($volume, ResizeVolumeRequest $postBody, $optParams = [])
{
$params = ['volume' => $volume, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resize', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVolumes::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsVolumes');

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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\EvictLunRequest;
use Google\Service\Baremetalsolution\ListLunsResponse;
use Google\Service\Baremetalsolution\Lun;
use Google\Service\Baremetalsolution\Operation;
/**
* The "luns" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $luns = $baremetalsolutionService->projects_locations_volumes_luns;
* </code>
*/
class ProjectsLocationsVolumesLuns extends \Google\Service\Resource
{
/**
* Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
* (luns.evict)
*
* @param string $name Required. The name of the lun.
* @param EvictLunRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function evict($name, EvictLunRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('evict', [$params], Operation::class);
}
/**
* Get details of a single storage logical unit number(LUN). (luns.get)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
* @return Lun
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Lun::class);
}
/**
* List storage volume luns for given storage volume.
* (luns.listProjectsLocationsVolumesLuns)
*
* @param string $parent Required. Parent value for ListLunsRequest.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListLunsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVolumesLuns($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLunsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVolumesLuns::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsVolumesLuns');

View File

@@ -0,0 +1,125 @@
<?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\Baremetalsolution\Resource;
use Google\Service\Baremetalsolution\BaremetalsolutionEmpty;
use Google\Service\Baremetalsolution\ListVolumeSnapshotsResponse;
use Google\Service\Baremetalsolution\Operation;
use Google\Service\Baremetalsolution\RestoreVolumeSnapshotRequest;
use Google\Service\Baremetalsolution\VolumeSnapshot;
/**
* The "snapshots" collection of methods.
* Typical usage is:
* <code>
* $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
* $snapshots = $baremetalsolutionService->projects_locations_volumes_snapshots;
* </code>
*/
class ProjectsLocationsVolumesSnapshots extends \Google\Service\Resource
{
/**
* Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a
* non-boot volume. (snapshots.create)
*
* @param string $parent Required. The volume to snapshot.
* @param VolumeSnapshot $postBody
* @param array $optParams Optional parameters.
* @return VolumeSnapshot
* @throws \Google\Service\Exception
*/
public function create($parent, VolumeSnapshot $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], VolumeSnapshot::class);
}
/**
* Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot
* volume. (snapshots.delete)
*
* @param string $name Required. The name of the snapshot to delete.
* @param array $optParams Optional parameters.
* @return BaremetalsolutionEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BaremetalsolutionEmpty::class);
}
/**
* Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called
* for a non-boot volume. (snapshots.get)
*
* @param string $name Required. The name of the snapshot.
* @param array $optParams Optional parameters.
* @return VolumeSnapshot
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], VolumeSnapshot::class);
}
/**
* Retrieves the list of snapshots for the specified volume. Returns a response
* with an empty list of snapshots if called for a non-boot volume.
* (snapshots.listProjectsLocationsVolumesSnapshots)
*
* @param string $parent Required. Parent value for ListVolumesRequest.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size. The server might return fewer
* items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results from the
* server.
* @return ListVolumeSnapshotsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVolumesSnapshots($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListVolumeSnapshotsResponse::class);
}
/**
* Uses the specified snapshot to restore its parent volume. Returns
* INVALID_ARGUMENT if called for a non-boot volume.
* (snapshots.restoreVolumeSnapshot)
*
* @param string $volumeSnapshot Required. Name of the snapshot which will be
* used to restore its parent volume.
* @param RestoreVolumeSnapshotRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restoreVolumeSnapshot($volumeSnapshot, RestoreVolumeSnapshotRequest $postBody, $optParams = [])
{
$params = ['volumeSnapshot' => $volumeSnapshot, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restoreVolumeSnapshot', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVolumesSnapshots::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsVolumesSnapshots');

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

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\Baremetalsolution;
class SSHKey extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $publicKey;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPublicKey($publicKey)
{
$this->publicKey = $publicKey;
}
/**
* @return string
*/
public function getPublicKey()
{
return $this->publicKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SSHKey::class, 'Google_Service_Baremetalsolution_SSHKey');

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\Baremetalsolution;
class Schedule extends \Google\Model
{
/**
* @var string
*/
public $crontabSpec;
/**
* @var string
*/
public $prefix;
/**
* @var int
*/
public $retentionCount;
/**
* @param string
*/
public function setCrontabSpec($crontabSpec)
{
$this->crontabSpec = $crontabSpec;
}
/**
* @return string
*/
public function getCrontabSpec()
{
return $this->crontabSpec;
}
/**
* @param string
*/
public function setPrefix($prefix)
{
$this->prefix = $prefix;
}
/**
* @return string
*/
public function getPrefix()
{
return $this->prefix;
}
/**
* @param int
*/
public function setRetentionCount($retentionCount)
{
$this->retentionCount = $retentionCount;
}
/**
* @return int
*/
public function getRetentionCount()
{
return $this->retentionCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Schedule::class, 'Google_Service_Baremetalsolution_Schedule');

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\Baremetalsolution;
class ServerNetworkTemplate extends \Google\Collection
{
protected $collection_key = 'logicalInterfaces';
/**
* @var string[]
*/
public $applicableInstanceTypes;
protected $logicalInterfacesType = GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::class;
protected $logicalInterfacesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setApplicableInstanceTypes($applicableInstanceTypes)
{
$this->applicableInstanceTypes = $applicableInstanceTypes;
}
/**
* @return string[]
*/
public function getApplicableInstanceTypes()
{
return $this->applicableInstanceTypes;
}
/**
* @param GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface[]
*/
public function setLogicalInterfaces($logicalInterfaces)
{
$this->logicalInterfaces = $logicalInterfaces;
}
/**
* @return GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface[]
*/
public function getLogicalInterfaces()
{
return $this->logicalInterfaces;
}
/**
* @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(ServerNetworkTemplate::class, 'Google_Service_Baremetalsolution_ServerNetworkTemplate');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_Baremetalsolution_SetIamPolicyRequest');

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\Baremetalsolution;
class SnapshotReservationDetail extends \Google\Model
{
/**
* @var string
*/
public $reservedSpaceGib;
/**
* @var int
*/
public $reservedSpacePercent;
/**
* @var string
*/
public $reservedSpaceRemainingGib;
/**
* @var int
*/
public $reservedSpaceUsedPercent;
/**
* @param string
*/
public function setReservedSpaceGib($reservedSpaceGib)
{
$this->reservedSpaceGib = $reservedSpaceGib;
}
/**
* @return string
*/
public function getReservedSpaceGib()
{
return $this->reservedSpaceGib;
}
/**
* @param int
*/
public function setReservedSpacePercent($reservedSpacePercent)
{
$this->reservedSpacePercent = $reservedSpacePercent;
}
/**
* @return int
*/
public function getReservedSpacePercent()
{
return $this->reservedSpacePercent;
}
/**
* @param string
*/
public function setReservedSpaceRemainingGib($reservedSpaceRemainingGib)
{
$this->reservedSpaceRemainingGib = $reservedSpaceRemainingGib;
}
/**
* @return string
*/
public function getReservedSpaceRemainingGib()
{
return $this->reservedSpaceRemainingGib;
}
/**
* @param int
*/
public function setReservedSpaceUsedPercent($reservedSpaceUsedPercent)
{
$this->reservedSpaceUsedPercent = $reservedSpaceUsedPercent;
}
/**
* @return int
*/
public function getReservedSpaceUsedPercent()
{
return $this->reservedSpaceUsedPercent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SnapshotReservationDetail::class, 'Google_Service_Baremetalsolution_SnapshotReservationDetail');

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class SnapshotSchedulePolicy extends \Google\Collection
{
protected $collection_key = 'schedules';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $schedulesType = Schedule::class;
protected $schedulesDataType = 'array';
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Schedule[]
*/
public function setSchedules($schedules)
{
$this->schedules = $schedules;
}
/**
* @return Schedule[]
*/
public function getSchedules()
{
return $this->schedules;
}
/**
* @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(SnapshotSchedulePolicy::class, 'Google_Service_Baremetalsolution_SnapshotSchedulePolicy');

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

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

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\Baremetalsolution;
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_Baremetalsolution_Status');

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

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

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\Baremetalsolution;
class SubmitProvisioningConfigRequest extends \Google\Model
{
/**
* @var string
*/
public $email;
protected $provisioningConfigType = ProvisioningConfig::class;
protected $provisioningConfigDataType = '';
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param ProvisioningConfig
*/
public function setProvisioningConfig(ProvisioningConfig $provisioningConfig)
{
$this->provisioningConfig = $provisioningConfig;
}
/**
* @return ProvisioningConfig
*/
public function getProvisioningConfig()
{
return $this->provisioningConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubmitProvisioningConfigRequest::class, 'Google_Service_Baremetalsolution_SubmitProvisioningConfigRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Baremetalsolution;
class SubmitProvisioningConfigResponse extends \Google\Model
{
protected $provisioningConfigType = ProvisioningConfig::class;
protected $provisioningConfigDataType = '';
/**
* @param ProvisioningConfig
*/
public function setProvisioningConfig(ProvisioningConfig $provisioningConfig)
{
$this->provisioningConfig = $provisioningConfig;
}
/**
* @return ProvisioningConfig
*/
public function getProvisioningConfig()
{
return $this->provisioningConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubmitProvisioningConfigResponse::class, 'Google_Service_Baremetalsolution_SubmitProvisioningConfigResponse');

View File

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

View File

@@ -0,0 +1,36 @@
<?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\Baremetalsolution;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
public $permissions;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_Baremetalsolution_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\Baremetalsolution;
class UserAccount extends \Google\Model
{
/**
* @var string
*/
public $encryptedPassword;
/**
* @var string
*/
public $kmsKeyVersion;
/**
* @param string
*/
public function setEncryptedPassword($encryptedPassword)
{
$this->encryptedPassword = $encryptedPassword;
}
/**
* @return string
*/
public function getEncryptedPassword()
{
return $this->encryptedPassword;
}
/**
* @param string
*/
public function setKmsKeyVersion($kmsKeyVersion)
{
$this->kmsKeyVersion = $kmsKeyVersion;
}
/**
* @return string
*/
public function getKmsKeyVersion()
{
return $this->kmsKeyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserAccount::class, 'Google_Service_Baremetalsolution_UserAccount');

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\Baremetalsolution;
class VRF extends \Google\Collection
{
protected $collection_key = 'vlanAttachments';
/**
* @var string
*/
public $name;
protected $qosPolicyType = QosPolicy::class;
protected $qosPolicyDataType = '';
/**
* @var string
*/
public $state;
protected $vlanAttachmentsType = VlanAttachment::class;
protected $vlanAttachmentsDataType = 'array';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param QosPolicy
*/
public function setQosPolicy(QosPolicy $qosPolicy)
{
$this->qosPolicy = $qosPolicy;
}
/**
* @return QosPolicy
*/
public function getQosPolicy()
{
return $this->qosPolicy;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param VlanAttachment[]
*/
public function setVlanAttachments($vlanAttachments)
{
$this->vlanAttachments = $vlanAttachments;
}
/**
* @return VlanAttachment[]
*/
public function getVlanAttachments()
{
return $this->vlanAttachments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VRF::class, 'Google_Service_Baremetalsolution_VRF');

View File

@@ -0,0 +1,150 @@
<?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\Baremetalsolution;
class VlanAttachment extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $interconnectAttachment;
/**
* @var string
*/
public $pairingKey;
/**
* @var string
*/
public $peerIp;
/**
* @var string
*/
public $peerVlanId;
protected $qosPolicyType = QosPolicy::class;
protected $qosPolicyDataType = '';
/**
* @var string
*/
public $routerIp;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInterconnectAttachment($interconnectAttachment)
{
$this->interconnectAttachment = $interconnectAttachment;
}
/**
* @return string
*/
public function getInterconnectAttachment()
{
return $this->interconnectAttachment;
}
/**
* @param string
*/
public function setPairingKey($pairingKey)
{
$this->pairingKey = $pairingKey;
}
/**
* @return string
*/
public function getPairingKey()
{
return $this->pairingKey;
}
/**
* @param string
*/
public function setPeerIp($peerIp)
{
$this->peerIp = $peerIp;
}
/**
* @return string
*/
public function getPeerIp()
{
return $this->peerIp;
}
/**
* @param string
*/
public function setPeerVlanId($peerVlanId)
{
$this->peerVlanId = $peerVlanId;
}
/**
* @return string
*/
public function getPeerVlanId()
{
return $this->peerVlanId;
}
/**
* @param QosPolicy
*/
public function setQosPolicy(QosPolicy $qosPolicy)
{
$this->qosPolicy = $qosPolicy;
}
/**
* @return QosPolicy
*/
public function getQosPolicy()
{
return $this->qosPolicy;
}
/**
* @param string
*/
public function setRouterIp($routerIp)
{
$this->routerIp = $routerIp;
}
/**
* @return string
*/
public function getRouterIp()
{
return $this->routerIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VlanAttachment::class, 'Google_Service_Baremetalsolution_VlanAttachment');

View File

@@ -0,0 +1,457 @@
<?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\Baremetalsolution;
class Volume extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* @var bool
*/
public $attached;
/**
* @var string
*/
public $autoGrownSizeGib;
/**
* @var bool
*/
public $bootVolume;
/**
* @var string
*/
public $currentSizeGib;
/**
* @var string
*/
public $emergencySizeGib;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $instances;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $maxSizeGib;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $notes;
/**
* @var string
*/
public $originallyRequestedSizeGib;
/**
* @var string
*/
public $performanceTier;
/**
* @var string
*/
public $pod;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $remainingSpaceGib;
/**
* @var string
*/
public $requestedSizeGib;
/**
* @var string
*/
public $snapshotAutoDeleteBehavior;
/**
* @var bool
*/
public $snapshotEnabled;
protected $snapshotReservationDetailType = SnapshotReservationDetail::class;
protected $snapshotReservationDetailDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $storageType;
/**
* @var string
*/
public $workloadProfile;
/**
* @param bool
*/
public function setAttached($attached)
{
$this->attached = $attached;
}
/**
* @return bool
*/
public function getAttached()
{
return $this->attached;
}
/**
* @param string
*/
public function setAutoGrownSizeGib($autoGrownSizeGib)
{
$this->autoGrownSizeGib = $autoGrownSizeGib;
}
/**
* @return string
*/
public function getAutoGrownSizeGib()
{
return $this->autoGrownSizeGib;
}
/**
* @param bool
*/
public function setBootVolume($bootVolume)
{
$this->bootVolume = $bootVolume;
}
/**
* @return bool
*/
public function getBootVolume()
{
return $this->bootVolume;
}
/**
* @param string
*/
public function setCurrentSizeGib($currentSizeGib)
{
$this->currentSizeGib = $currentSizeGib;
}
/**
* @return string
*/
public function getCurrentSizeGib()
{
return $this->currentSizeGib;
}
/**
* @param string
*/
public function setEmergencySizeGib($emergencySizeGib)
{
$this->emergencySizeGib = $emergencySizeGib;
}
/**
* @return string
*/
public function getEmergencySizeGib()
{
return $this->emergencySizeGib;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return string[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMaxSizeGib($maxSizeGib)
{
$this->maxSizeGib = $maxSizeGib;
}
/**
* @return string
*/
public function getMaxSizeGib()
{
return $this->maxSizeGib;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return string
*/
public function getNotes()
{
return $this->notes;
}
/**
* @param string
*/
public function setOriginallyRequestedSizeGib($originallyRequestedSizeGib)
{
$this->originallyRequestedSizeGib = $originallyRequestedSizeGib;
}
/**
* @return string
*/
public function getOriginallyRequestedSizeGib()
{
return $this->originallyRequestedSizeGib;
}
/**
* @param string
*/
public function setPerformanceTier($performanceTier)
{
$this->performanceTier = $performanceTier;
}
/**
* @return string
*/
public function getPerformanceTier()
{
return $this->performanceTier;
}
/**
* @param string
*/
public function setPod($pod)
{
$this->pod = $pod;
}
/**
* @return string
*/
public function getPod()
{
return $this->pod;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setRemainingSpaceGib($remainingSpaceGib)
{
$this->remainingSpaceGib = $remainingSpaceGib;
}
/**
* @return string
*/
public function getRemainingSpaceGib()
{
return $this->remainingSpaceGib;
}
/**
* @param string
*/
public function setRequestedSizeGib($requestedSizeGib)
{
$this->requestedSizeGib = $requestedSizeGib;
}
/**
* @return string
*/
public function getRequestedSizeGib()
{
return $this->requestedSizeGib;
}
/**
* @param string
*/
public function setSnapshotAutoDeleteBehavior($snapshotAutoDeleteBehavior)
{
$this->snapshotAutoDeleteBehavior = $snapshotAutoDeleteBehavior;
}
/**
* @return string
*/
public function getSnapshotAutoDeleteBehavior()
{
return $this->snapshotAutoDeleteBehavior;
}
/**
* @param bool
*/
public function setSnapshotEnabled($snapshotEnabled)
{
$this->snapshotEnabled = $snapshotEnabled;
}
/**
* @return bool
*/
public function getSnapshotEnabled()
{
return $this->snapshotEnabled;
}
/**
* @param SnapshotReservationDetail
*/
public function setSnapshotReservationDetail(SnapshotReservationDetail $snapshotReservationDetail)
{
$this->snapshotReservationDetail = $snapshotReservationDetail;
}
/**
* @return SnapshotReservationDetail
*/
public function getSnapshotReservationDetail()
{
return $this->snapshotReservationDetail;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStorageType($storageType)
{
$this->storageType = $storageType;
}
/**
* @return string
*/
public function getStorageType()
{
return $this->storageType;
}
/**
* @param string
*/
public function setWorkloadProfile($workloadProfile)
{
$this->workloadProfile = $workloadProfile;
}
/**
* @return string
*/
public function getWorkloadProfile()
{
return $this->workloadProfile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Volume::class, 'Google_Service_Baremetalsolution_Volume');

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\Baremetalsolution;
class VolumeConfig extends \Google\Collection
{
protected $collection_key = 'nfsExports';
/**
* @var string
*/
public $gcpService;
/**
* @var string
*/
public $id;
protected $lunRangesType = LunRange::class;
protected $lunRangesDataType = 'array';
/**
* @var string[]
*/
public $machineIds;
/**
* @var string
*/
public $name;
protected $nfsExportsType = NfsExport::class;
protected $nfsExportsDataType = 'array';
/**
* @var string
*/
public $performanceTier;
/**
* @var string
*/
public $protocol;
/**
* @var int
*/
public $sizeGb;
/**
* @var bool
*/
public $snapshotsEnabled;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $userNote;
/**
* @param string
*/
public function setGcpService($gcpService)
{
$this->gcpService = $gcpService;
}
/**
* @return string
*/
public function getGcpService()
{
return $this->gcpService;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param LunRange[]
*/
public function setLunRanges($lunRanges)
{
$this->lunRanges = $lunRanges;
}
/**
* @return LunRange[]
*/
public function getLunRanges()
{
return $this->lunRanges;
}
/**
* @param string[]
*/
public function setMachineIds($machineIds)
{
$this->machineIds = $machineIds;
}
/**
* @return string[]
*/
public function getMachineIds()
{
return $this->machineIds;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NfsExport[]
*/
public function setNfsExports($nfsExports)
{
$this->nfsExports = $nfsExports;
}
/**
* @return NfsExport[]
*/
public function getNfsExports()
{
return $this->nfsExports;
}
/**
* @param string
*/
public function setPerformanceTier($performanceTier)
{
$this->performanceTier = $performanceTier;
}
/**
* @return string
*/
public function getPerformanceTier()
{
return $this->performanceTier;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param bool
*/
public function setSnapshotsEnabled($snapshotsEnabled)
{
$this->snapshotsEnabled = $snapshotsEnabled;
}
/**
* @return bool
*/
public function getSnapshotsEnabled()
{
return $this->snapshotsEnabled;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUserNote($userNote)
{
$this->userNote = $userNote;
}
/**
* @return string
*/
public function getUserNote()
{
return $this->userNote;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumeConfig::class, 'Google_Service_Baremetalsolution_VolumeConfig');

Some files were not shown because too many files have changed in this diff Show More