Google Cloud BeyondCorp AppConnectors V1 Client - Class ResourceInfo (0.3.2)

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
        • logagent

Generated from protobuf message google.cloud.beyondcorp.appconnectors.v1.ResourceInfo

Namespace

Google \ Cloud \ BeyondCorp \ AppConnectors \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Protobuf\Any

Specific details for the resource. This is for internal use only.

↳ 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.

Returns
TypeDescription
string

setId

Required. Unique Id for the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

Overall health status. Overall status is derived based on the status of each sub level resources.

Returns
TypeDescription
int

setStatus

Overall health status. Overall status is derived based on the status of each sub level resources.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResource

Specific details for the resource. This is for internal use only.

Returns
TypeDescription
Google\Protobuf\Any|null

hasResource

clearResource

setResource

Specific details for the resource. This is for internal use only.

Parameter
NameDescription
var Google\Protobuf\Any
Returns
TypeDescription
$this

getTime

The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasTime

clearTime

setTime

The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSub

List of Info for the sub level resources.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSub

List of Info for the sub level resources.

Parameter
NameDescription
var array<Google\Cloud\BeyondCorp\AppConnectors\V1\ResourceInfo>
Returns
TypeDescription
$this