Compute V1 Client - Class AllocationResourceStatus (1.33.0)

Reference documentation and code samples for the Compute V1 Client class AllocationResourceStatus.

[Output Only] Contains output only fields.

Generated from protobuf message google.cloud.compute.v1.AllocationResourceStatus

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ health_info
AllocationResourceStatusHealthInfo

[Output only] Health information for the reservation.

↳ reservation_block_count
int

The number of reservation blocks associated with this reservation.

↳ reservation_maintenance
GroupMaintenanceInfo

Maintenance information for this reservation

↳ specific_sku_allocation
AllocationResourceStatusSpecificSKUAllocation

Allocation Properties of this reservation.

getHealthInfo

[Output only] Health information for the reservation.

Returns
Type
Description

hasHealthInfo

clearHealthInfo

setHealthInfo

[Output only] Health information for the reservation.

Parameter
Name
Description
Returns
Type
Description
$this

getReservationBlockCount

The number of reservation blocks associated with this reservation.

Returns
Type
Description
int

hasReservationBlockCount

clearReservationBlockCount

setReservationBlockCount

The number of reservation blocks associated with this reservation.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getReservationMaintenance

Maintenance information for this reservation

Returns
Type
Description

hasReservationMaintenance

clearReservationMaintenance

setReservationMaintenance

Maintenance information for this reservation

Parameter
Name
Description
Returns
Type
Description
$this

getSpecificSkuAllocation

Allocation Properties of this reservation.

Returns
Type
Description

hasSpecificSkuAllocation

clearSpecificSkuAllocation

setSpecificSkuAllocation

Allocation Properties of this reservation.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: