Google Cloud Bare Metal Solution V2 Client - Class OSImage (0.5.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
NameDescription
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
TypeDescription
string

setName

Output only. OS Image's unique name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCode

OS Image code.

Returns
TypeDescription
string

setCode

OS Image code.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

OS Image description.

Returns
TypeDescription
string

setDescription

OS Image description.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApplicableInstanceTypes

Instance types this image is applicable to.

Available types

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setApplicableInstanceTypes

Instance types this image is applicable to.

Available types

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSupportedNetworkTemplates

Network templates that can be used with this OS Image.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedNetworkTemplates

Network templates that can be used with this OS Image.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this