Compute V1 Client - Class ManagedInstanceVersion (1.5.0)

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 }.

Generated from protobuf field optional string instance_template = 309248228;

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 }.

Generated from protobuf field optional string instance_template = 309248228;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

[Output Only] Name of the version.

Generated from protobuf field optional string name = 3373707;

Returns
TypeDescription
string

hasName

clearName

setName

[Output Only] Name of the version.

Generated from protobuf field optional string name = 3373707;

Parameter
NameDescription
var string
Returns
TypeDescription
$this