Reference documentation and code samples for the Google Cloud Design Center V1 Client class Resource.
Status of the Resourcess in the deployment.
Generated from protobuf message google.cloud.designcenter.v1.Resource
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. Identifier. The name of the resource. |
↳ type |
string
Output only. The type of the resource. |
↳ state |
int
Output only. Current state of the resource. |
getName
Output only. Identifier. The name of the resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. Identifier. The name of the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Output only. The type of the resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Output only. The type of the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. Current state of the resource.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. Current state of the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|