Google Cloud Capacity Planner V1beta Client - Class ResourceContainer (0.1.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ResourceContainer.
The resource container of Google Cloud Platform hierarchy such as a project.
Generated from protobuf messagegoogle.cloud.capacityplanner.v1beta.ResourceContainer
Namespace
Google \ Cloud \ CapacityPlanner \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ type
int
↳ id
string
Required. Identifier of the resource container. For example, project number for project type.
getType
Generated from protobuf field.google.cloud.capacityplanner.v1beta.ResourceContainer.Type type = 1;
Returns
Type
Description
int
setType
Generated from protobuf field.google.cloud.capacityplanner.v1beta.ResourceContainer.Type type = 1;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getId
Required. Identifier of the resource container. For example, project number
for project type.
Returns
Type
Description
string
setId
Required. Identifier of the resource container. For example, project number
for project type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]