Google Cloud Capacity Planner V1beta Client - Class ChildResourceDemand (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ChildResourceDemand.

Capacity demand for a child resource such as shapes.

Generated from protobuf message google.cloud.capacityplanner.v1beta.ChildResourceDemand

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_id ResourceIdentifier

Required. Identifier of resource.

↳ demand_values DemandValues

Required. The demand values associated with the child resource.

↳ demand_metadata DemandMetadata

Optional. The metadata associated with the child resource demand.

getResourceId

Required. Identifier of resource.

Returns
Type Description
ResourceIdentifier|null

hasResourceId

clearResourceId

setResourceId

Required. Identifier of resource.

Parameter
Name Description
var ResourceIdentifier
Returns
Type Description
$this

getDemandValues

Required. The demand values associated with the child resource.

Returns
Type Description
DemandValues|null

hasDemandValues

clearDemandValues

setDemandValues

Required. The demand values associated with the child resource.

Parameter
Name Description
var DemandValues
Returns
Type Description
$this

getDemandMetadata

Optional. The metadata associated with the child resource demand.

Returns
Type Description
DemandMetadata|null

hasDemandMetadata

clearDemandMetadata

setDemandMetadata

Optional. The metadata associated with the child resource demand.

Parameter
Name Description
var DemandMetadata
Returns
Type Description
$this