Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest.
Request message for fetchStorageInventory.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#force_refresh
def force_refresh() -> ::Boolean
Returns
- (::Boolean) — 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.
#force_refresh=
def force_refresh=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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.
Returns
- (::Boolean) — 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
def page_size() -> ::Integer
Returns
- (::Integer) — Optional. The maximum number of VMs to return. The service may return fewer than this value.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The maximum number of VMs to return. The service may return fewer than this value.
Returns
- (::Integer) — Optional. The maximum number of VMs to return. The service may return fewer than this value.
#page_token
def page_token() -> ::String
Returns
-
(::String) — Optional. A page token, received from a previous
FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toFetchStorageInventory
must match the call that provided the page token.
#page_token=
def page_token=(value) -> ::String
Parameter
-
value (::String) — Optional. A page token, received from a previous
FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toFetchStorageInventory
must match the call that provided the page token.
Returns
-
(::String) — Optional. A page token, received from a previous
FetchStorageInventory
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toFetchStorageInventory
must match the call that provided the page token.
#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.
#type
def type() -> ::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType
Returns
- (::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType) — Required. The type of the storage inventory to fetch.
#type=
def type=(value) -> ::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType
Parameter
- value (::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType) — Required. The type of the storage inventory to fetch.
Returns
- (::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType) — Required. The type of the storage inventory to fetch.