Google Cloud Vm Migration V1 Client - Class DiskImageTargetDetails (1.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
DataDiskImageImport

Optional. Use to skip OS adaptation process.

↳ 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
array| Google\Protobuf\Internal\MapField

Optional. A map of labels to associate with the image.

↳ 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
Encryption

Immutable. The encryption to apply to the image.

getOsAdaptationParameters

Optional. Use to set the parameters relevant for the OS adaptation process.

Returns
Type
Description

hasOsAdaptationParameters

setOsAdaptationParameters

Optional. Use to set the parameters relevant for the OS adaptation process.

Parameter
Name
Description
Returns
Type
Description
$this

getDataDiskImageImport

Optional. Use to skip OS adaptation process.

Returns
Type
Description

hasDataDiskImageImport

setDataDiskImageImport

Optional. Use to skip OS adaptation process.

Parameter
Name
Description
Returns
Type
Description
$this

getImageName

Required. The name of the image to be created.

Returns
Type
Description
string

setImageName

Required. The name of the image to be created.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTargetProject

Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

Returns
Type
Description
string

setTargetProject

Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

Optional. An optional description of the image.

Returns
Type
Description
string

setDescription

Optional. An optional description of the image.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFamilyName

Optional. The name of the image family to which the new image belongs.

Returns
Type
Description
string

setFamilyName

Optional. The name of the image family to which the new image belongs.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Optional. A map of labels to associate with the image.

Returns
Type
Description

setLabels

Optional. A map of labels to associate with the image.

Parameter
Name
Description
Returns
Type
Description
$this

getAdditionalLicenses

Returns
Type
Description

setAdditionalLicenses

Parameter
Name
Description
var
string[]
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getEncryption

Immutable. The encryption to apply to the image.

Returns
Type
Description
Encryption |null

hasEncryption

clearEncryption

setEncryption

Immutable. The encryption to apply to the image.

Parameter
Name
Description
Returns
Type
Description
$this

getOsAdaptationConfig

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: