Compute V1 Client - Class AllocationResourceStatusSpecificSKUAllocation (1.28.0)

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

Contains Properties set for the reservation.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_instance_template_id string

ID of the instance template used to populate reservation properties.

↳ utilizations array|Google\Protobuf\Internal\MapField

Per service utilization breakdown. The Key is the Google Cloud managed service name.

getSourceInstanceTemplateId

ID of the instance template used to populate reservation properties.

Returns
Type Description
string

hasSourceInstanceTemplateId

clearSourceInstanceTemplateId

setSourceInstanceTemplateId

ID of the instance template used to populate reservation properties.

Parameter
Name Description
var string
Returns
Type Description
$this

getUtilizations

Per service utilization breakdown. The Key is the Google Cloud managed service name.

Returns
Type Description
Google\Protobuf\Internal\MapField

setUtilizations

Per service utilization breakdown. The Key is the Google Cloud managed service name.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this