Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class FetchStorageInventoryRequest.
Request message for fetchStorageInventory .
Generated from protobuf message google.cloud.vmmigration.v1.FetchStorageInventoryRequest
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source
string
Required. The name of the Source.
↳ type
int
Required. The type of the storage inventory to fetch.
↳ force_refresh
bool
Optional. 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.
↳ page_size
int
Optional. The maximum number of VMs to return. The service may return fewer than this value.
↳ page_token
string
Optional. A page token, received from a previous FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FetchStorageInventory
must match the call that provided the page token.
getSource
Required. The name of the Source.
string
setSource
Required. The name of the Source.
var
string
$this
getType
Required. The type of the storage inventory to fetch.
setType
Required. The type of the storage inventory to fetch.
$this
getForceRefresh
Optional. 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.
bool
setForceRefresh
Optional. 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.
var
bool
$this
getPageSize
Optional. The maximum number of VMs to return. The service may return fewer than this value.
int
setPageSize
Optional. The maximum number of VMs to return. The service may return fewer than this value.
var
int
$this
getPageToken
Optional. A page token, received from a previous FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all
other parameters provided to FetchStorageInventory
must match the call
that provided the page token.
string
setPageToken
Optional. A page token, received from a previous FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all
other parameters provided to FetchStorageInventory
must match the call
that provided the page token.
var
string
$this
static::build
source
string
Required. The name of the Source. Please see VmMigrationClient::sourceName() for help formatting this field.
type
int
Required. The type of the storage inventory to fetch. For allowed values, use constants defined on FetchStorageInventoryRequest\StorageType

