Reference documentation and code samples for the Compute V1 Client class ManagedInstanceVersion.
Generated from protobuf message google.cloud.compute.v1.ManagedInstanceVersion
Namespace
Google \ Cloud \ Compute \ V1Methods
__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 }.
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 }.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
[Output Only] Name of the version.
Returns | |
---|---|
Type | Description |
string |
hasName
clearName
setName
[Output Only] Name of the version.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |