Compute V1 Client - Class SourceInstanceParams (1.23.0)

Reference documentation and code samples for the Compute V1 Client class SourceInstanceParams.

A specification of the parameters to use when creating the instance template from a source instance.

Generated from protobuf message google.cloud.compute.v1.SourceInstanceParams

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ disk_configs
array< DiskInstantiationConfig >

Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.

getDiskConfigs

Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.

Returns
Type
Description

setDiskConfigs

Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: