# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourceStatus (v3.7.0)

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.5.0 Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourceStatus.

Contains output only fields.
Use this sub-message for actual values set on Instance attributes as compared
to the value requested by the user (intent) in their instance CRUD calls.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #effective_instance_metadata

    def effective_instance_metadata() -> ::Google::Cloud::Compute::V1::ResourceStatusEffectiveInstanceMetadata

**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusEffectiveInstanceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusEffectiveInstanceMetadata)) --- Output only. \[Output Only\] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

### #effective_instance_metadata=

    def effective_instance_metadata=(value) -> ::Google::Cloud::Compute::V1::ResourceStatusEffectiveInstanceMetadata

**Parameter**

- **value** ([::Google::Cloud::Compute::V1::ResourceStatusEffectiveInstanceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusEffectiveInstanceMetadata)) --- Output only. \[Output Only\] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.
**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusEffectiveInstanceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusEffectiveInstanceMetadata)) --- Output only. \[Output Only\] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

### #physical_host

    def physical_host() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

### #physical_host=

    def physical_host=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.
**Returns**

- (::String) --- Output only. \[Output Only\] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

### #physical_host_topology

    def physical_host_topology() -> ::Google::Cloud::Compute::V1::ResourceStatusPhysicalHostTopology

**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusPhysicalHostTopology](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusPhysicalHostTopology)) --- Output only. \[Output Only\] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

### #physical_host_topology=

    def physical_host_topology=(value) -> ::Google::Cloud::Compute::V1::ResourceStatusPhysicalHostTopology

**Parameter**

- **value** ([::Google::Cloud::Compute::V1::ResourceStatusPhysicalHostTopology](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusPhysicalHostTopology)) --- Output only. \[Output Only\] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.
**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusPhysicalHostTopology](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusPhysicalHostTopology)) --- Output only. \[Output Only\] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

### #reservation_consumption_info

    def reservation_consumption_info() -> ::Google::Cloud::Compute::V1::ResourceStatusReservationConsumptionInfo

**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusReservationConsumptionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusReservationConsumptionInfo)) --- Output only. \[Output Only\] Reservation information that the instance is consuming from.

### #reservation_consumption_info=

    def reservation_consumption_info=(value) -> ::Google::Cloud::Compute::V1::ResourceStatusReservationConsumptionInfo

**Parameter**

- **value** ([::Google::Cloud::Compute::V1::ResourceStatusReservationConsumptionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusReservationConsumptionInfo)) --- Output only. \[Output Only\] Reservation information that the instance is consuming from.
**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusReservationConsumptionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusReservationConsumptionInfo)) --- Output only. \[Output Only\] Reservation information that the instance is consuming from.

### #scheduling

    def scheduling() -> ::Google::Cloud::Compute::V1::ResourceStatusScheduling

**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusScheduling))

### #scheduling=

    def scheduling=(value) -> ::Google::Cloud::Compute::V1::ResourceStatusScheduling

**Parameter**

- **value** ([::Google::Cloud::Compute::V1::ResourceStatusScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusScheduling))
**Returns**

- ([::Google::Cloud::Compute::V1::ResourceStatusScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ResourceStatusScheduling))

### #upcoming_maintenance

    def upcoming_maintenance() -> ::Google::Cloud::Compute::V1::UpcomingMaintenance

**Returns**

- ([::Google::Cloud::Compute::V1::UpcomingMaintenance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-UpcomingMaintenance))

### #upcoming_maintenance=

    def upcoming_maintenance=(value) -> ::Google::Cloud::Compute::V1::UpcomingMaintenance

**Parameter**

- **value** ([::Google::Cloud::Compute::V1::UpcomingMaintenance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-UpcomingMaintenance))
**Returns**

- ([::Google::Cloud::Compute::V1::UpcomingMaintenance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-UpcomingMaintenance))