# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::FetchInventoryRequest (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::FetchInventoryRequest.

Request message for
[fetchInventory](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Client#Google__Cloud__VMMigration__V1__VMMigration__Client_fetch_inventory_instance_ "Google::Cloud::VMMigration::V1::VMMigration::Client#fetch_inventory (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #force_refresh

    def force_refresh() -> ::Boolean

**Returns**

- (::Boolean) --- If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

### #force_refresh=

    def force_refresh=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
**Returns**

- (::Boolean) --- If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

### #source

    def source() -> ::String

**Returns**

- (::String) --- Required. The name of the Source.

### #source=

    def source=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the Source.
**Returns**

- (::String) --- Required. The name of the Source.