Google Cloud Vm Migration V1 Client - Class FetchInventoryRequest (0.2.3)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class FetchInventoryRequest.

Request message for fetchInventory.

Generated from protobuf message google.cloud.vmmigration.v1.FetchInventoryRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source string

Required. The name of the Source.

↳ force_refresh bool

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.

getSource

Required. The name of the Source.

Returns
TypeDescription
string

setSource

Required. The name of the Source.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForceRefresh

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
TypeDescription
bool

setForceRefresh

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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this