Google Cloud Bare Metal Solution V2 Client - Class OSImage (1.0.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class OSImage.

Operation System image.

Generated from protobuf message google.cloud.baremetalsolution.v2.OSImage

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. OS Image's unique name.

↳ code string

OS Image code.

↳ description string

OS Image description.

↳ applicable_instance_types array

Instance types this image is applicable to. Available types

↳ supported_network_templates array

Network templates that can be used with this OS Image.

getName

Output only. OS Image's unique name.

Returns
Type Description
string

setName

Output only. OS Image's unique name.

Parameter
Name Description
var string
Returns
Type Description
$this

getCode

OS Image code.

Returns
Type Description
string

setCode

OS Image code.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

OS Image description.

Returns
Type Description
string

setDescription

OS Image description.

Parameter
Name Description
var string
Returns
Type Description
$this

getApplicableInstanceTypes

Instance types this image is applicable to.

Available types

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApplicableInstanceTypes

Instance types this image is applicable to.

Available types

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSupportedNetworkTemplates

Network templates that can be used with this OS Image.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedNetworkTemplates

Network templates that can be used with this OS Image.

Parameter
Name Description
var string[]
Returns
Type Description
$this