Reference documentation and code samples for the Compute V1 Client class InstanceProperties.
Represents the change that you want to make to the instance properties.
Generated from protobuf message google.cloud.compute.v1.InstanceProperties
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data | array Optional. Data for populating the Message object. |
↳ labels | array|Google\Protobuf\Internal\MapField The label key-value pairs that you want to onto the instance. |
↳ metadata | array|Google\Protobuf\Internal\MapField The metadata key-value pairs that you want to onto the instance. For more information, see Project and instance metadata. |
getLabels
The label key-value pairs that you want to onto the instance.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
The label key-value pairs that you want to onto the instance.
Parameter | |
---|---|
Name | Description |
var | array|Google\Protobuf\Internal\MapField |
Returns | |
---|---|
Type | Description |
$this |
getMetadata
The metadata key-value pairs that you want to onto the instance. For more information, see Project and instance metadata.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setMetadata
The metadata key-value pairs that you want to onto the instance. For more information, see Project and instance metadata.
Parameter | |
---|---|
Name | Description |
var | array|Google\Protobuf\Internal\MapField |
Returns | |
---|---|
Type | Description |
$this |