Reference documentation and code samples for the Compute V1 Client class ReservationBlockPhysicalTopologyInstance.
The instances information for a given Block
Generated from protobuf message google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_id |
int|string
The InstanceId of the instance |
↳ physical_host_topology |
ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
The PhysicalHostTopology of instances within a Block resource. |
↳ project_id |
int|string
Project where the instance lives |
getInstanceId
The InstanceId of the instance
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasInstanceId
clearInstanceId
setInstanceId
The InstanceId of the instance
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPhysicalHostTopology
The PhysicalHostTopology of instances within a Block resource.
| Returns | |
|---|---|
| Type | Description |
ReservationBlockPhysicalTopologyInstancePhysicalHostTopology|null |
|
hasPhysicalHostTopology
clearPhysicalHostTopology
setPhysicalHostTopology
The PhysicalHostTopology of instances within a Block resource.
| Parameter | |
|---|---|
| Name | Description |
var |
ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectId
Project where the instance lives
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasProjectId
clearProjectId
setProjectId
Project where the instance lives
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|