/// List remote source's inventory of VMs.
/// The remote source is the onprem vCenter (remote in the sense it's not in
/// Compute Engine). The inventory describes the list of existing VMs in that
/// source. Note that this operation lists the VMs on the remote source, as
/// opposed to listing the MigratingVms resources in the vmmigration service.
List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.
List remote source ' s inventory of VMs . The remote source is the onprem vCenter ( remote in the sense it ' s not in Compute Engine ) . The inventory describes the list of existing VMs in that source . Note that this operation lists the VMs on the remote source as opposed to listing the MigratingVms resources in the vmmigration service .
pub async fn fetch_inventory(
            &mut self,
            request: impl tonic::IntoRequest<super::FetchInventoryRequest>,
        ) -> Result<tonic::Response<super::FetchInventoryResponse>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.vmmigration.v1.VmMigration/FetchInventory",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn fetch_inventory ( & mut self , request : impl tonic :: IntoRequest < super :: FetchInventoryRequest > , ) -> Result < tonic :: Response < super :: FetchInventoryResponse > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
List remote source's inventory of VMs.
List remote source ' s inventory of VMs .
&mut self
request
impl tonic::IntoRequest<super::FetchInventoryRequest>