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

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setSource

Required. The name of the Source.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
source string

Required. The name of the Source. Please see Google\Cloud\VMMigration\V1\VmMigrationClient::sourceName() for help formatting this field.

Returns
Type Description
Google\Cloud\VMMigration\V1\FetchInventoryRequest