📄 Source: AppDetails.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\WorkloadManager;
class AppDetails extends \Google\Collection
{
protected $collection_key = 'appVmNames';
/**
* Optional. instance id for app
*
* @var string
*/
public $appInstanceId;
/**
* Application service account - let custoemrs bring their own SA for
* application
*
* @var string
*/
public $appServiceAccount;
/**
* Optional. Customized vm names
*
* @var string[]
*/
public $appVmNames;
/**
* Required. image for ascs server
*
* @var string
*/
public $ascsImage;
/**
* Optional. instance id for ascs
*
* @var string
*/
public $ascsInstanceId;
/**
* Required. ascs_machine_type
*
* @var string
*/
public $ascsMachineType;
/**
* ASCS service account - let custoemrs bring their own SA for ASCS
*
* @var string
*/
public $ascsServiceAccount;
/**
* Optional. ASCS vm name
*
* @var string
*/
public $ascsVm;
/**
* Optional. instance id for ers
*
* @var string
*/
public $ersInstanceId;
/**
* Optional. ERS vm name
*
* @var string
*/
public $ersVm;
/**
* Required. image for app server and ascs server
*
* @var string
*/
public $image;
/**
* Required. machine type
*
* @var string
*/
public $machineType;
/**
* Required. secret_manager_secret
*
* @var string
*/
public $secretManagerSecret;
/**
* Optional. Storage location
*
* @var string
*/
public $sharedStorage;
/**
* Required. The SAP SID is a three-digit server-specific unique
* identification code.
*
* @var string
*/
public $sid;
/**
* Required. vms_multiplier
*
* @var int
*/
public $vmsMultiplier;
/**
* Optional. instance id for app
*
* @param string $appInstanceId
*/
public function setAppInstanceId($appInstanceId)
{
$this->appInstanceId = $appInstanceId;
}
/**
* @return string
*/
public function getAppInstanceId()
{
return $this->appInstanceId;
}
/**
* Application service account - let custoemrs bring their own SA for
* application
*
* @param string $appServiceAccount
*/
public function setAppServiceAccount($appServiceAccount)
{
$this->appServiceAccount = $appServiceAccount;
}
/**
* @return string
*/
public function getAppServiceAccount()
{
return $this->appServiceAccount;
}
/**
* Optional. Customized vm names
*
* @param string[] $appVmNames
*/
public function setAppVmNames($appVmNames)
{
$this->appVmNames = $appVmNames;
}
/**
* @return string[]
*/
public function getAppVmNames()
{
return $this->appVmNames;
}
/**
* Required. image for ascs server
*
* @param string $ascsImage
*/
public function setAscsImage($ascsImage)
{
$this->ascsImage = $ascsImage;
}
/**
* @return string
*/
public function getAscsImage()
{
return $this->ascsImage;
}
/**
* Optional. instance id for ascs
*
* @param string $ascsInstanceId
*/
public function setAscsInstanceId($ascsInstanceId)
{
$this->ascsInstanceId = $ascsInstanceId;
}
/**
* @return string
*/
public function getAscsInstanceId()
{
return $this->ascsInstanceId;
}
/**
* Required. ascs_machine_type
*
* @param string $ascsMachineType
*/
public function setAscsMachineType($ascsMachineType)
{
$this->ascsMachineType = $ascsMachineType;
}
/**
* @return string
*/
public function getAscsMachineType()
{
return $this->ascsMachineType;
}
/**
* ASCS service account - let custoemrs bring their own SA for ASCS
*
* @param string $ascsServiceAccount
*/
public function setAscsServiceAccount($ascsServiceAccount)
{
$this->ascsServiceAccount = $ascsServiceAccount;
}
/**
* @return string
*/
public function getAscsServiceAccount()
{
return $this->ascsServiceAccount;
}
/**
* Optional. ASCS vm name
*
* @param string $ascsVm
*/
public function setAscsVm($ascsVm)
{
$this->ascsVm = $ascsVm;
}
/**
* @return string
*/
public function getAscsVm()
{
return $this->ascsVm;
}
/**
* Optional. instance id for ers
*
* @param string $ersInstanceId
*/
public function setErsInstanceId($ersInstanceId)
{
$this->ersInstanceId = $ersInstanceId;
}
/**
* @return string
*/
public function getErsInstanceId()
{
return $this->ersInstanceId;
}
/**
* Optional. ERS vm name
*
* @param string $ersVm
*/
public function setErsVm($ersVm)
{
$this->ersVm = $ersVm;
}
/**
* @return string
*/
public function getErsVm()
{
return $this->ersVm;
}
/**
* Required. image for app server and ascs server
*
* @param string $image
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* Required. machine type
*
* @param string $machineType
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* Required. secret_manager_secret
*
* @param string $secretManagerSecret
*/
public function setSecretManagerSecret($secretManagerSecret)
{
$this->secretManagerSecret = $secretManagerSecret;
}
/**
* @return string
*/
public function getSecretManagerSecret()
{
return $this->secretManagerSecret;
}
/**
* Optional. Storage location
*
* @param string $sharedStorage
*/
public function setSharedStorage($sharedStorage)
{
$this->sharedStorage = $sharedStorage;
}
/**
* @return string
*/
public function getSharedStorage()
{
return $this->sharedStorage;
}
/**
* Required. The SAP SID is a three-digit server-specific unique
* identification code.
*
* @param string $sid
*/
public function setSid($sid)
{
$this->sid = $sid;
}
/**
* @return string
*/
public function getSid()
{
return $this->sid;
}
/**
* Required. vms_multiplier
*
* @param int $vmsMultiplier
*/
public function setVmsMultiplier($vmsMultiplier)
{
$this->vmsMultiplier = $vmsMultiplier;
}
/**
* @return int
*/
public function getVmsMultiplier()
{
return $this->vmsMultiplier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppDetails::class, 'Google_Service_WorkloadManager_AppDetails');
← Back