Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::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::V1::Workload::ResourceInfo::ResourceType
Returns
- (::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo::ResourceType) — Indicates the type of resource.
#resource_type=
def resource_type=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo::ResourceType
Parameter
- value (::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo::ResourceType) — Indicates the type of resource.
Returns
- (::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo::ResourceType) — Indicates the type of resource.