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

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
Name
Description
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
Type
Description
string

setId

Required. Unique Id for the resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getStatus

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

Returns
Type
Description
int

setStatus

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getResource

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

Returns
Type
Description

hasResource

clearResource

setResource

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

Parameter
Name
Description
Returns
Type
Description
$this

getTime

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

Returns
Type
Description

hasTime

clearTime

setTime

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

Parameter
Name
Description
Returns
Type
Description
$this

getSub

List of Info for the sub level resources.

Returns
Type
Description

setSub

List of Info for the sub level resources.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: