# Assured Workloads for Government V1beta1 API - Class Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo (v0.26.0)

0.26.0 (latest) 0.25.0 0.24.0 0.23.1 0.22.0 0.21.1 0.20.1 0.19.0 0.18.1 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.2 Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo.

Represent the resources that are children of this Workload.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #resource_id

    def resource_id() -> ::Integer

**Returns**

- (::Integer) --- Resource identifier. For a project this represents project_number.

### #resource_id=

    def resource_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Resource identifier. For a project this represents project_number.
**Returns**

- (::Integer) --- Resource identifier. For a project this represents project_number.

### #resource_type

    def resource_type() -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType

**Returns**

- ([::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/Google-Cloud-AssuredWorkloads-V1beta1-Workload-ResourceInfo-ResourceType)) --- Indicates the type of resource.

### #resource_type=

    def resource_type=(value) -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType

**Parameter**

- **value** ([::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/Google-Cloud-AssuredWorkloads-V1beta1-Workload-ResourceInfo-ResourceType)) --- Indicates the type of resource.
**Returns**

- ([::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/Google-Cloud-AssuredWorkloads-V1beta1-Workload-ResourceInfo-ResourceType)) --- Indicates the type of resource.