Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ResourceDemand.
Capacity demand for a resource.
Generated from protobuf message google.cloud.capacityplanner.v1beta.ResourceDemand
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Output only. Identifier of resource demand.
↳ resource_container
↳ resource_id
↳ location_id
↳ state
int
Output only. State of the resource demand.
↳ reporter
↳ create_time
↳ update_time
↳ demand_values
↳ demand_metadata
↳ child_resource_demands
getId
Output only. Identifier of resource demand.
string
setId
Output only. Identifier of resource demand.
var
string
$this
getResourceContainer
Required. The resource container associated with the demand.
hasResourceContainer
clearResourceContainer
setResourceContainer
Required. The resource container associated with the demand.
$this
getResourceId
Required. Identifier of resource.
hasResourceId
clearResourceId
setResourceId
Required. Identifier of resource.
$this
getLocationId
Required. Identifier of location.
hasLocationId
clearLocationId
setLocationId
Required. Identifier of location.
$this
getState
Output only. State of the resource demand.
setState
Output only. State of the resource demand.
$this
getReporter
Output only. User who reported the demand.
hasReporter
clearReporter
setReporter
Output only. User who reported the demand.
$this
getCreateTime
Output only. Timestamp when the demand was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when the demand was created.
$this
getUpdateTime
Output only. Timestamp when the demand was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when the demand was last updated.
$this
getDemandValues
Required. The demand values associated with the resource.
hasDemandValues
clearDemandValues
setDemandValues
Required. The demand values associated with the resource.
$this
getDemandMetadata
Optional. The metadata associated with the demand.
hasDemandMetadata
clearDemandMetadata
setDemandMetadata
Optional. The metadata associated with the demand.
$this
getChildResourceDemands
Optional. The child resource demands associated with the resource.
setChildResourceDemands
Optional. The child resource demands associated with the resource.
$this

