Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class DiskImageTargetDetails.
The target details of the image resource that will be created by the import job.
Generated from protobuf message google.cloud.vmmigration.v1.DiskImageTargetDetails
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ os_adaptation_parameters
ImageImportOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
↳ data_disk_image_import
↳ image_name
string
Required. The name of the image to be created.
↳ target_project
string
Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
↳ description
string
Optional. An optional description of the image.
↳ family_name
string
Optional. The name of the image family to which the new image belongs.
↳ labels
↳ additional_licenses
array
Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
↳ single_region_storage
bool
Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
↳ encryption
getOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
hasOsAdaptationParameters
setOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process.
$this
getDataDiskImageImport
Optional. Use to skip OS adaptation process.
hasDataDiskImageImport
setDataDiskImageImport
Optional. Use to skip OS adaptation process.
$this
getImageName
Required. The name of the image to be created.
string
setImageName
Required. The name of the image to be created.
var
string
$this
getTargetProject
Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string
setTargetProject
Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
var
string
$this
getDescription
Optional. An optional description of the image.
string
setDescription
Optional. An optional description of the image.
var
string
$this
getFamilyName
Optional. The name of the image family to which the new image belongs.
string
setFamilyName
Optional. The name of the image family to which the new image belongs.
var
string
$this
getLabels
Optional. A map of labels to associate with the image.
setLabels
Optional. A map of labels to associate with the image.
$this
getAdditionalLicenses
Optional. Additional licenses to assign to the image.
Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
setAdditionalLicenses
Optional. Additional licenses to assign to the image.
Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
var
string[]
$this
getSingleRegionStorage
Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool
setSingleRegionStorage
Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
var
bool
$this
getEncryption
Immutable. The encryption to apply to the image.
hasEncryption
clearEncryption
setEncryption
Immutable. The encryption to apply to the image.
$this
getOsAdaptationConfig
string