Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ComputeEnginePreferences.
The user preferences relating to Compute Engine target platform.
Generated from protobuf message google.cloud.migrationcenter.v1.ComputeEnginePreferences
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ machine_preferences
↳ license_type
int
License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
getMachinePreferences
Preferences concerning the machine types to consider on Compute Engine.
hasMachinePreferences
clearMachinePreferences
setMachinePreferences
Preferences concerning the machine types to consider on Compute Engine.
$this
getLicenseType
License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
int
setLicenseType
License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
var
int
$this