# BeyondCorp AppConnectors V1 API - Class Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo (v0.13.0)

0.13.0 (latest) 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.1 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the BeyondCorp AppConnectors V1 API class Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo.

ResourceInfo represents the information/status of an app connector resource.
Such as:

- remote_agent
  - container
  - runtime
  - appgateway
    - appconnector
    - appconnection
      - tunnel
    - logagent

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #id

    def id() -> ::String

**Returns**

- (::String) --- Required. Unique Id for the resource.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Unique Id for the resource.
**Returns**

- (::String) --- Required. Unique Id for the resource.

### #resource

    def resource() -> ::Google::Protobuf::Any

**Returns**

- ([::Google::Protobuf::Any](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Any)) --- Specific details for the resource. This is for internal use only.

### #resource=

    def resource=(value) -> ::Google::Protobuf::Any

**Parameter**

- **value** ([::Google::Protobuf::Any](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Any)) --- Specific details for the resource. This is for internal use only.
**Returns**

- ([::Google::Protobuf::Any](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Any)) --- Specific details for the resource. This is for internal use only.

### #status

    def status() -> ::Google::Cloud::BeyondCorp::AppConnectors::V1::HealthStatus

**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnectors::V1::HealthStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-HealthStatus)) --- Overall health status. Overall status is derived based on the status of each sub level resources.

### #status=

    def status=(value) -> ::Google::Cloud::BeyondCorp::AppConnectors::V1::HealthStatus

**Parameter**

- **value** ([::Google::Cloud::BeyondCorp::AppConnectors::V1::HealthStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-HealthStatus)) --- Overall health status. Overall status is derived based on the status of each sub level resources.
**Returns**

- ([::Google::Cloud::BeyondCorp::AppConnectors::V1::HealthStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-HealthStatus)) --- Overall health status. Overall status is derived based on the status of each sub level resources.

### #sub

    def sub() -> ::Array<::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo>

**Returns**

- (::Array\<[::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-ResourceInfo)\>) --- List of Info for the sub level resources.

### #sub=

    def sub=(value) -> ::Array<::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-ResourceInfo)\>) --- List of Info for the sub level resources.
**Returns**

- (::Array\<[::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-ResourceInfo)\>) --- List of Info for the sub level resources.

### #time

    def time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Timestamp)) --- The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

### #time=

    def time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Timestamp)) --- The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Protobuf-Timestamp)) --- The timestamp to collect the info. It is suggested to be set by the topmost level resource only.