Reference documentation and code samples for the Google Cloud BeyondCorp AppConnectors V1 Client class ResourceInfo.
ResourceInfo represents the information/status of an app connector resource.
Such as:
- remote_agent
- container
- runtime
- appgateway
- appconnector
- appconnection
- tunnel
- appconnection
- logagent
- appconnector
- container
Generated from protobuf message google.cloud.beyondcorp.appconnectors.v1.ResourceInfo
Namespace
Google \ Cloud \ BeyondCorp \ AppConnectors \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Required. Unique Id for the resource.
↳ status
int
Overall health status. Overall status is derived based on the status of each sub level resources.
↳ resource
↳ time
Google\Protobuf\Timestamp
The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
↳ sub
array< Google\Cloud\BeyondCorp\AppConnectors\V1\ResourceInfo
>
List of Info for the sub level resources.
getId
Required. Unique Id for the resource.
string
setId
Required. Unique Id for the resource.
var
string
$this
getStatus
Overall health status. Overall status is derived based on the status of each sub level resources.
int
setStatus
Overall health status. Overall status is derived based on the status of each sub level resources.
var
int
$this
getResource
Specific details for the resource. This is for internal use only.
hasResource
clearResource
setResource
Specific details for the resource. This is for internal use only.
$this
getTime
The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
hasTime
clearTime
setTime
The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
$this
getSub
List of Info for the sub level resources.
setSub
List of Info for the sub level resources.
$this