Compute V1 Client - Class ManagedInstanceVersion (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_template string

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

↳ name string

[Output Only] Name of the version.

getInstanceTemplate

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

Returns
TypeDescription
string

hasInstanceTemplate

clearInstanceTemplate

setInstanceTemplate

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

[Output Only] Name of the version.

Returns
TypeDescription
string

hasName

clearName

setName

[Output Only] Name of the version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this