243 lines
4.0 KiB
PHP
243 lines
4.0 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\AIPlatformNotebooks;
|
|
|
|
class Disk extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'licenses';
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $autoDelete;
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $boot;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $deviceName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $diskSizeGb;
|
|
protected $guestOsFeaturesType = GuestOsFeature::class;
|
|
protected $guestOsFeaturesDataType = 'array';
|
|
public $guestOsFeatures = [];
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $index;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $interface;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $kind;
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $licenses = [];
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $mode;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $source;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $type;
|
|
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setAutoDelete($autoDelete)
|
|
{
|
|
$this->autoDelete = $autoDelete;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getAutoDelete()
|
|
{
|
|
return $this->autoDelete;
|
|
}
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setBoot($boot)
|
|
{
|
|
$this->boot = $boot;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getBoot()
|
|
{
|
|
return $this->boot;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDeviceName($deviceName)
|
|
{
|
|
$this->deviceName = $deviceName;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDeviceName()
|
|
{
|
|
return $this->deviceName;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDiskSizeGb($diskSizeGb)
|
|
{
|
|
$this->diskSizeGb = $diskSizeGb;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDiskSizeGb()
|
|
{
|
|
return $this->diskSizeGb;
|
|
}
|
|
/**
|
|
* @param GuestOsFeature[]
|
|
*/
|
|
public function setGuestOsFeatures($guestOsFeatures)
|
|
{
|
|
$this->guestOsFeatures = $guestOsFeatures;
|
|
}
|
|
/**
|
|
* @return GuestOsFeature[]
|
|
*/
|
|
public function getGuestOsFeatures()
|
|
{
|
|
return $this->guestOsFeatures;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setIndex($index)
|
|
{
|
|
$this->index = $index;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getIndex()
|
|
{
|
|
return $this->index;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setInterface($interface)
|
|
{
|
|
$this->interface = $interface;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getInterface()
|
|
{
|
|
return $this->interface;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setKind($kind)
|
|
{
|
|
$this->kind = $kind;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getKind()
|
|
{
|
|
return $this->kind;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setLicenses($licenses)
|
|
{
|
|
$this->licenses = $licenses;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getLicenses()
|
|
{
|
|
return $this->licenses;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setMode($mode)
|
|
{
|
|
$this->mode = $mode;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getMode()
|
|
{
|
|
return $this->mode;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setSource($source)
|
|
{
|
|
$this->source = $source;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSource()
|
|
{
|
|
return $this->source;
|
|
}
|
|
/**
|
|
* @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(Disk::class, 'Google_Service_AIPlatformNotebooks_Disk');
|