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 message google.cloud.capacityplanner.v1beta.ResourceContainer
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|