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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
[Output Only] Name of the version.
Generated from protobuf field optional string name = 3373707;
Returns | |
---|---|
Type | Description |
string |
hasName
clearName
setName
[Output Only] Name of the version.
Generated from protobuf field optional string name = 3373707;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |