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

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

Capacity demand for a service.

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

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ service
string

Required. Name of the service.

↳ demand_metadata
DemandMetadata

Optional. The metadata associated with a service demand.

↳ resource_demands
array< ResourceDemand >

Required. The demand associated with the resources.

getService

Required. Name of the service.

Returns
Type
Description
string

setService

Required. Name of the service.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Optional. The metadata associated with a service demand.

Returns
Type
Description

Optional. The metadata associated with a service demand.

Parameter
Name
Description
Returns
Type
Description
$this

getResourceDemands

Required. The demand associated with the resources.

Returns
Type
Description

setResourceDemands

Required. The demand associated with the resources.

Parameter
Name
Description
var
array< ResourceDemand >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: