pub struct ProjectMethods<'a, C>where
    C: 'a,{ /* private fields */ }Expand description
A builder providing access to all methods supported on project resources.
It is not used directly, but through the VMMigrationService hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_vmmigration1 as vmmigration1;
use vmmigration1::{VMMigrationService, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
let secret: yup_oauth2::ApplicationSecret = Default::default();
let auth = yup_oauth2::InstalledFlowAuthenticator::builder(
    secret,
    yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let client = hyper_util::client::legacy::Client::builder(
    hyper_util::rt::TokioExecutor::new()
)
.build(
    hyper_rustls::HttpsConnectorBuilder::new()
        .with_native_roots()
        .unwrap()
        .https_or_http()
        .enable_http1()
        .build()
);
let mut hub = VMMigrationService::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `locations_get(...)`, `locations_groups_add_group_migration(...)`, `locations_groups_create(...)`, `locations_groups_delete(...)`, `locations_groups_get(...)`, `locations_groups_list(...)`, `locations_groups_patch(...)`, `locations_groups_remove_group_migration(...)`, `locations_image_imports_create(...)`, `locations_image_imports_delete(...)`, `locations_image_imports_get(...)`, `locations_image_imports_image_import_jobs_cancel(...)`, `locations_image_imports_image_import_jobs_get(...)`, `locations_image_imports_image_import_jobs_list(...)`, `locations_image_imports_list(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_sources_create(...)`, `locations_sources_datacenter_connectors_create(...)`, `locations_sources_datacenter_connectors_delete(...)`, `locations_sources_datacenter_connectors_get(...)`, `locations_sources_datacenter_connectors_list(...)`, `locations_sources_datacenter_connectors_upgrade_appliance(...)`, `locations_sources_delete(...)`, `locations_sources_fetch_inventory(...)`, `locations_sources_get(...)`, `locations_sources_list(...)`, `locations_sources_migrating_vms_clone_jobs_cancel(...)`, `locations_sources_migrating_vms_clone_jobs_create(...)`, `locations_sources_migrating_vms_clone_jobs_get(...)`, `locations_sources_migrating_vms_clone_jobs_list(...)`, `locations_sources_migrating_vms_create(...)`, `locations_sources_migrating_vms_cutover_jobs_cancel(...)`, `locations_sources_migrating_vms_cutover_jobs_create(...)`, `locations_sources_migrating_vms_cutover_jobs_get(...)`, `locations_sources_migrating_vms_cutover_jobs_list(...)`, `locations_sources_migrating_vms_delete(...)`, `locations_sources_migrating_vms_finalize_migration(...)`, `locations_sources_migrating_vms_get(...)`, `locations_sources_migrating_vms_list(...)`, `locations_sources_migrating_vms_patch(...)`, `locations_sources_migrating_vms_pause_migration(...)`, `locations_sources_migrating_vms_replication_cycles_get(...)`, `locations_sources_migrating_vms_replication_cycles_list(...)`, `locations_sources_migrating_vms_resume_migration(...)`, `locations_sources_migrating_vms_start_migration(...)`, `locations_sources_patch(...)`, `locations_sources_utilization_reports_create(...)`, `locations_sources_utilization_reports_delete(...)`, `locations_sources_utilization_reports_get(...)`, `locations_sources_utilization_reports_list(...)`, `locations_target_projects_create(...)`, `locations_target_projects_delete(...)`, `locations_target_projects_get(...)`, `locations_target_projects_list(...)` and `locations_target_projects_patch(...)`
// to build up your call.
let rb = hub.projects();Implementations§
Source§impl<'a, C> ProjectMethods<'a, C>
 
impl<'a, C> ProjectMethods<'a, C>
Sourcepub fn locations_groups_add_group_migration(
    &self,
    request: AddGroupMigrationRequest,
    group: &str,
) -> ProjectLocationGroupAddGroupMigrationCall<'a, C>
 
pub fn locations_groups_add_group_migration( &self, request: AddGroupMigrationRequest, group: &str, ) -> ProjectLocationGroupAddGroupMigrationCall<'a, C>
Create a builder to help you perform the following task:
Adds a MigratingVm to a Group.
§Arguments
request- No description provided.group- Required. The full path name of the Group to add to.
Sourcepub fn locations_groups_create(
    &self,
    request: Group,
    parent: &str,
) -> ProjectLocationGroupCreateCall<'a, C>
 
pub fn locations_groups_create( &self, request: Group, parent: &str, ) -> ProjectLocationGroupCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new Group in a given project and location.
§Arguments
request- No description provided.parent- Required. The Group’s parent.
Sourcepub fn locations_groups_delete(
    &self,
    name: &str,
) -> ProjectLocationGroupDeleteCall<'a, C>
 
pub fn locations_groups_delete( &self, name: &str, ) -> ProjectLocationGroupDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single Group.
§Arguments
name- Required. The Group name.
Sourcepub fn locations_groups_get(
    &self,
    name: &str,
) -> ProjectLocationGroupGetCall<'a, C>
 
pub fn locations_groups_get( &self, name: &str, ) -> ProjectLocationGroupGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single Group.
§Arguments
name- Required. The group name.
Sourcepub fn locations_groups_list(
    &self,
    parent: &str,
) -> ProjectLocationGroupListCall<'a, C>
 
pub fn locations_groups_list( &self, parent: &str, ) -> ProjectLocationGroupListCall<'a, C>
Create a builder to help you perform the following task:
Lists Groups in a given project and location.
§Arguments
parent- Required. The parent, which owns this collection of groups.
Sourcepub fn locations_groups_patch(
    &self,
    request: Group,
    name: &str,
) -> ProjectLocationGroupPatchCall<'a, C>
 
pub fn locations_groups_patch( &self, request: Group, name: &str, ) -> ProjectLocationGroupPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the parameters of a single Group.
§Arguments
request- No description provided.name- Output only. The Group name.
Sourcepub fn locations_groups_remove_group_migration(
    &self,
    request: RemoveGroupMigrationRequest,
    group: &str,
) -> ProjectLocationGroupRemoveGroupMigrationCall<'a, C>
 
pub fn locations_groups_remove_group_migration( &self, request: RemoveGroupMigrationRequest, group: &str, ) -> ProjectLocationGroupRemoveGroupMigrationCall<'a, C>
Create a builder to help you perform the following task:
Removes a MigratingVm from a Group.
§Arguments
request- No description provided.group- Required. The name of the Group.
Sourcepub fn locations_image_imports_image_import_jobs_cancel(
    &self,
    request: CancelImageImportJobRequest,
    name: &str,
) -> ProjectLocationImageImportImageImportJobCancelCall<'a, C>
 
pub fn locations_image_imports_image_import_jobs_cancel( &self, request: CancelImageImportJobRequest, name: &str, ) -> ProjectLocationImageImportImageImportJobCancelCall<'a, C>
Create a builder to help you perform the following task:
Initiates the cancellation of a running clone job.
§Arguments
request- No description provided.name- Required. The image import job id.
Sourcepub fn locations_image_imports_image_import_jobs_get(
    &self,
    name: &str,
) -> ProjectLocationImageImportImageImportJobGetCall<'a, C>
 
pub fn locations_image_imports_image_import_jobs_get( &self, name: &str, ) -> ProjectLocationImageImportImageImportJobGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single ImageImportJob.
§Arguments
name- Required. The ImageImportJob name.
Sourcepub fn locations_image_imports_image_import_jobs_list(
    &self,
    parent: &str,
) -> ProjectLocationImageImportImageImportJobListCall<'a, C>
 
pub fn locations_image_imports_image_import_jobs_list( &self, parent: &str, ) -> ProjectLocationImageImportImageImportJobListCall<'a, C>
Create a builder to help you perform the following task:
Lists ImageImportJobs in a given project.
§Arguments
parent- Required. The parent, which owns this collection of targets.
Sourcepub fn locations_image_imports_create(
    &self,
    request: ImageImport,
    parent: &str,
) -> ProjectLocationImageImportCreateCall<'a, C>
 
pub fn locations_image_imports_create( &self, request: ImageImport, parent: &str, ) -> ProjectLocationImageImportCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new ImageImport in a given project.
§Arguments
request- No description provided.parent- Required. The ImageImport’s parent.
Sourcepub fn locations_image_imports_delete(
    &self,
    name: &str,
) -> ProjectLocationImageImportDeleteCall<'a, C>
 
pub fn locations_image_imports_delete( &self, name: &str, ) -> ProjectLocationImageImportDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single ImageImport.
§Arguments
name- Required. The ImageImport name.
Sourcepub fn locations_image_imports_get(
    &self,
    name: &str,
) -> ProjectLocationImageImportGetCall<'a, C>
 
pub fn locations_image_imports_get( &self, name: &str, ) -> ProjectLocationImageImportGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single ImageImport.
§Arguments
name- Required. The ImageImport name.
Sourcepub fn locations_image_imports_list(
    &self,
    parent: &str,
) -> ProjectLocationImageImportListCall<'a, C>
 
pub fn locations_image_imports_list( &self, parent: &str, ) -> ProjectLocationImageImportListCall<'a, C>
Create a builder to help you perform the following task:
Lists ImageImports in a given project.
§Arguments
parent- Required. The parent, which owns this collection of targets.
Sourcepub fn locations_operations_cancel(
    &self,
    request: CancelOperationRequest,
    name: &str,
) -> ProjectLocationOperationCancelCall<'a, C>
 
pub fn locations_operations_cancel( &self, request: CancelOperationRequest, name: &str, ) -> ProjectLocationOperationCancelCall<'a, C>
Create a builder to help you perform the following task:
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
§Arguments
request- No description provided.name- The name of the operation resource to be cancelled.
Sourcepub fn locations_operations_delete(
    &self,
    name: &str,
) -> ProjectLocationOperationDeleteCall<'a, C>
 
pub fn locations_operations_delete( &self, name: &str, ) -> ProjectLocationOperationDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn’t support this method, it returns google.rpc.Code.UNIMPLEMENTED.
§Arguments
name- The name of the operation resource to be deleted.
Sourcepub fn locations_operations_get(
    &self,
    name: &str,
) -> ProjectLocationOperationGetCall<'a, C>
 
pub fn locations_operations_get( &self, name: &str, ) -> ProjectLocationOperationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
§Arguments
name- The name of the operation resource.
Sourcepub fn locations_operations_list(
    &self,
    name: &str,
) -> ProjectLocationOperationListCall<'a, C>
 
pub fn locations_operations_list( &self, name: &str, ) -> ProjectLocationOperationListCall<'a, C>
Create a builder to help you perform the following task:
Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
§Arguments
name- The name of the operation’s parent resource.
Sourcepub fn locations_sources_datacenter_connectors_create(
    &self,
    request: DatacenterConnector,
    parent: &str,
) -> ProjectLocationSourceDatacenterConnectorCreateCall<'a, C>
 
pub fn locations_sources_datacenter_connectors_create( &self, request: DatacenterConnector, parent: &str, ) -> ProjectLocationSourceDatacenterConnectorCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new DatacenterConnector in a given Source.
§Arguments
request- No description provided.parent- Required. The DatacenterConnector’s parent. Required. The Source in where the new DatacenterConnector will be created. For example:projects/my-project/locations/us-central1/sources/my-source
Sourcepub fn locations_sources_datacenter_connectors_delete(
    &self,
    name: &str,
) -> ProjectLocationSourceDatacenterConnectorDeleteCall<'a, C>
 
pub fn locations_sources_datacenter_connectors_delete( &self, name: &str, ) -> ProjectLocationSourceDatacenterConnectorDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single DatacenterConnector.
§Arguments
name- Required. The DatacenterConnector name.
Sourcepub fn locations_sources_datacenter_connectors_get(
    &self,
    name: &str,
) -> ProjectLocationSourceDatacenterConnectorGetCall<'a, C>
 
pub fn locations_sources_datacenter_connectors_get( &self, name: &str, ) -> ProjectLocationSourceDatacenterConnectorGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single DatacenterConnector.
§Arguments
name- Required. The name of the DatacenterConnector.
Sourcepub fn locations_sources_datacenter_connectors_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceDatacenterConnectorListCall<'a, C>
 
pub fn locations_sources_datacenter_connectors_list( &self, parent: &str, ) -> ProjectLocationSourceDatacenterConnectorListCall<'a, C>
Create a builder to help you perform the following task:
Lists DatacenterConnectors in a given Source.
§Arguments
parent- Required. The parent, which owns this collection of connectors.
Sourcepub fn locations_sources_datacenter_connectors_upgrade_appliance(
    &self,
    request: UpgradeApplianceRequest,
    datacenter_connector: &str,
) -> ProjectLocationSourceDatacenterConnectorUpgradeApplianceCall<'a, C>
 
pub fn locations_sources_datacenter_connectors_upgrade_appliance( &self, request: UpgradeApplianceRequest, datacenter_connector: &str, ) -> ProjectLocationSourceDatacenterConnectorUpgradeApplianceCall<'a, C>
Create a builder to help you perform the following task:
Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.
§Arguments
request- No description provided.datacenterConnector- Required. The DatacenterConnector name.
Sourcepub fn locations_sources_migrating_vms_clone_jobs_cancel(
    &self,
    request: CancelCloneJobRequest,
    name: &str,
) -> ProjectLocationSourceMigratingVmCloneJobCancelCall<'a, C>
 
pub fn locations_sources_migrating_vms_clone_jobs_cancel( &self, request: CancelCloneJobRequest, name: &str, ) -> ProjectLocationSourceMigratingVmCloneJobCancelCall<'a, C>
Create a builder to help you perform the following task:
Initiates the cancellation of a running clone job.
§Arguments
request- No description provided.name- Required. The clone job id
Sourcepub fn locations_sources_migrating_vms_clone_jobs_create(
    &self,
    request: CloneJob,
    parent: &str,
) -> ProjectLocationSourceMigratingVmCloneJobCreateCall<'a, C>
 
pub fn locations_sources_migrating_vms_clone_jobs_create( &self, request: CloneJob, parent: &str, ) -> ProjectLocationSourceMigratingVmCloneJobCreateCall<'a, C>
Create a builder to help you perform the following task:
Initiates a Clone of a specific migrating VM.
§Arguments
request- No description provided.parent- Required. The Clone’s parent.
Sourcepub fn locations_sources_migrating_vms_clone_jobs_get(
    &self,
    name: &str,
) -> ProjectLocationSourceMigratingVmCloneJobGetCall<'a, C>
 
pub fn locations_sources_migrating_vms_clone_jobs_get( &self, name: &str, ) -> ProjectLocationSourceMigratingVmCloneJobGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single CloneJob.
§Arguments
name- Required. The name of the CloneJob.
Sourcepub fn locations_sources_migrating_vms_clone_jobs_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceMigratingVmCloneJobListCall<'a, C>
 
pub fn locations_sources_migrating_vms_clone_jobs_list( &self, parent: &str, ) -> ProjectLocationSourceMigratingVmCloneJobListCall<'a, C>
Create a builder to help you perform the following task:
Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are listed.
§Arguments
parent- Required. The parent, which owns this collection of source VMs.
Sourcepub fn locations_sources_migrating_vms_cutover_jobs_cancel(
    &self,
    request: CancelCutoverJobRequest,
    name: &str,
) -> ProjectLocationSourceMigratingVmCutoverJobCancelCall<'a, C>
 
pub fn locations_sources_migrating_vms_cutover_jobs_cancel( &self, request: CancelCutoverJobRequest, name: &str, ) -> ProjectLocationSourceMigratingVmCutoverJobCancelCall<'a, C>
Create a builder to help you perform the following task:
Initiates the cancellation of a running cutover job.
§Arguments
request- No description provided.name- Required. The cutover job id
Sourcepub fn locations_sources_migrating_vms_cutover_jobs_create(
    &self,
    request: CutoverJob,
    parent: &str,
) -> ProjectLocationSourceMigratingVmCutoverJobCreateCall<'a, C>
 
pub fn locations_sources_migrating_vms_cutover_jobs_create( &self, request: CutoverJob, parent: &str, ) -> ProjectLocationSourceMigratingVmCutoverJobCreateCall<'a, C>
Create a builder to help you perform the following task:
Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated.
§Arguments
request- No description provided.parent- Required. The Cutover’s parent.
Sourcepub fn locations_sources_migrating_vms_cutover_jobs_get(
    &self,
    name: &str,
) -> ProjectLocationSourceMigratingVmCutoverJobGetCall<'a, C>
 
pub fn locations_sources_migrating_vms_cutover_jobs_get( &self, name: &str, ) -> ProjectLocationSourceMigratingVmCutoverJobGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single CutoverJob.
§Arguments
name- Required. The name of the CutoverJob.
Sourcepub fn locations_sources_migrating_vms_cutover_jobs_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceMigratingVmCutoverJobListCall<'a, C>
 
pub fn locations_sources_migrating_vms_cutover_jobs_list( &self, parent: &str, ) -> ProjectLocationSourceMigratingVmCutoverJobListCall<'a, C>
Create a builder to help you perform the following task:
Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs are listed.
§Arguments
parent- Required. The parent, which owns this collection of migrating VMs.
Sourcepub fn locations_sources_migrating_vms_replication_cycles_get(
    &self,
    name: &str,
) -> ProjectLocationSourceMigratingVmReplicationCycleGetCall<'a, C>
 
pub fn locations_sources_migrating_vms_replication_cycles_get( &self, name: &str, ) -> ProjectLocationSourceMigratingVmReplicationCycleGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single ReplicationCycle.
§Arguments
name- Required. The name of the ReplicationCycle.
Sourcepub fn locations_sources_migrating_vms_replication_cycles_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceMigratingVmReplicationCycleListCall<'a, C>
 
pub fn locations_sources_migrating_vms_replication_cycles_list( &self, parent: &str, ) -> ProjectLocationSourceMigratingVmReplicationCycleListCall<'a, C>
Create a builder to help you perform the following task:
Lists ReplicationCycles in a given MigratingVM.
§Arguments
parent- Required. The parent, which owns this collection of ReplicationCycles.
Sourcepub fn locations_sources_migrating_vms_create(
    &self,
    request: MigratingVm,
    parent: &str,
) -> ProjectLocationSourceMigratingVmCreateCall<'a, C>
 
pub fn locations_sources_migrating_vms_create( &self, request: MigratingVm, parent: &str, ) -> ProjectLocationSourceMigratingVmCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new MigratingVm in a given Source.
§Arguments
request- No description provided.parent- Required. The MigratingVm’s parent.
Sourcepub fn locations_sources_migrating_vms_delete(
    &self,
    name: &str,
) -> ProjectLocationSourceMigratingVmDeleteCall<'a, C>
 
pub fn locations_sources_migrating_vms_delete( &self, name: &str, ) -> ProjectLocationSourceMigratingVmDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single MigratingVm.
§Arguments
name- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_finalize_migration(
    &self,
    request: FinalizeMigrationRequest,
    migrating_vm: &str,
) -> ProjectLocationSourceMigratingVmFinalizeMigrationCall<'a, C>
 
pub fn locations_sources_migrating_vms_finalize_migration( &self, request: FinalizeMigrationRequest, migrating_vm: &str, ) -> ProjectLocationSourceMigratingVmFinalizeMigrationCall<'a, C>
Create a builder to help you perform the following task:
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
§Arguments
request- No description provided.migratingVm- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_get(
    &self,
    name: &str,
) -> ProjectLocationSourceMigratingVmGetCall<'a, C>
 
pub fn locations_sources_migrating_vms_get( &self, name: &str, ) -> ProjectLocationSourceMigratingVmGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single MigratingVm.
§Arguments
name- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceMigratingVmListCall<'a, C>
 
pub fn locations_sources_migrating_vms_list( &self, parent: &str, ) -> ProjectLocationSourceMigratingVmListCall<'a, C>
Create a builder to help you perform the following task:
Lists MigratingVms in a given Source.
§Arguments
parent- Required. The parent, which owns this collection of MigratingVms.
Sourcepub fn locations_sources_migrating_vms_patch(
    &self,
    request: MigratingVm,
    name: &str,
) -> ProjectLocationSourceMigratingVmPatchCall<'a, C>
 
pub fn locations_sources_migrating_vms_patch( &self, request: MigratingVm, name: &str, ) -> ProjectLocationSourceMigratingVmPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the parameters of a single MigratingVm.
§Arguments
request- No description provided.name- Output only. The identifier of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_pause_migration(
    &self,
    request: PauseMigrationRequest,
    migrating_vm: &str,
) -> ProjectLocationSourceMigratingVmPauseMigrationCall<'a, C>
 
pub fn locations_sources_migrating_vms_pause_migration( &self, request: PauseMigrationRequest, migrating_vm: &str, ) -> ProjectLocationSourceMigratingVmPauseMigrationCall<'a, C>
Create a builder to help you perform the following task:
Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.
§Arguments
request- No description provided.migratingVm- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_resume_migration(
    &self,
    request: ResumeMigrationRequest,
    migrating_vm: &str,
) -> ProjectLocationSourceMigratingVmResumeMigrationCall<'a, C>
 
pub fn locations_sources_migrating_vms_resume_migration( &self, request: ResumeMigrationRequest, migrating_vm: &str, ) -> ProjectLocationSourceMigratingVmResumeMigrationCall<'a, C>
Create a builder to help you perform the following task:
Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.
§Arguments
request- No description provided.migratingVm- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_migrating_vms_start_migration(
    &self,
    request: StartMigrationRequest,
    migrating_vm: &str,
) -> ProjectLocationSourceMigratingVmStartMigrationCall<'a, C>
 
pub fn locations_sources_migrating_vms_start_migration( &self, request: StartMigrationRequest, migrating_vm: &str, ) -> ProjectLocationSourceMigratingVmStartMigrationCall<'a, C>
Create a builder to help you perform the following task:
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
§Arguments
request- No description provided.migratingVm- Required. The name of the MigratingVm.
Sourcepub fn locations_sources_utilization_reports_create(
    &self,
    request: UtilizationReport,
    parent: &str,
) -> ProjectLocationSourceUtilizationReportCreateCall<'a, C>
 
pub fn locations_sources_utilization_reports_create( &self, request: UtilizationReport, parent: &str, ) -> ProjectLocationSourceUtilizationReportCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new UtilizationReport.
§Arguments
request- No description provided.parent- Required. The Utilization Report’s parent.
Sourcepub fn locations_sources_utilization_reports_delete(
    &self,
    name: &str,
) -> ProjectLocationSourceUtilizationReportDeleteCall<'a, C>
 
pub fn locations_sources_utilization_reports_delete( &self, name: &str, ) -> ProjectLocationSourceUtilizationReportDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single Utilization Report.
§Arguments
name- Required. The Utilization Report name.
Sourcepub fn locations_sources_utilization_reports_get(
    &self,
    name: &str,
) -> ProjectLocationSourceUtilizationReportGetCall<'a, C>
 
pub fn locations_sources_utilization_reports_get( &self, name: &str, ) -> ProjectLocationSourceUtilizationReportGetCall<'a, C>
Create a builder to help you perform the following task:
Gets a single Utilization Report.
§Arguments
name- Required. The Utilization Report name.
Sourcepub fn locations_sources_utilization_reports_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceUtilizationReportListCall<'a, C>
 
pub fn locations_sources_utilization_reports_list( &self, parent: &str, ) -> ProjectLocationSourceUtilizationReportListCall<'a, C>
Create a builder to help you perform the following task:
Lists Utilization Reports of the given Source.
§Arguments
parent- Required. The Utilization Reports parent.
Sourcepub fn locations_sources_create(
    &self,
    request: Source,
    parent: &str,
) -> ProjectLocationSourceCreateCall<'a, C>
 
pub fn locations_sources_create( &self, request: Source, parent: &str, ) -> ProjectLocationSourceCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new Source in a given project and location.
§Arguments
request- No description provided.parent- Required. The Source’s parent.
Sourcepub fn locations_sources_delete(
    &self,
    name: &str,
) -> ProjectLocationSourceDeleteCall<'a, C>
 
pub fn locations_sources_delete( &self, name: &str, ) -> ProjectLocationSourceDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single Source.
§Arguments
name- Required. The Source name.
Sourcepub fn locations_sources_fetch_inventory(
    &self,
    source: &str,
) -> ProjectLocationSourceFetchInventoryCall<'a, C>
 
pub fn locations_sources_fetch_inventory( &self, source: &str, ) -> ProjectLocationSourceFetchInventoryCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
source- Required. The name of the Source.
Sourcepub fn locations_sources_get(
    &self,
    name: &str,
) -> ProjectLocationSourceGetCall<'a, C>
 
pub fn locations_sources_get( &self, name: &str, ) -> ProjectLocationSourceGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single Source.
§Arguments
name- Required. The Source name.
Sourcepub fn locations_sources_list(
    &self,
    parent: &str,
) -> ProjectLocationSourceListCall<'a, C>
 
pub fn locations_sources_list( &self, parent: &str, ) -> ProjectLocationSourceListCall<'a, C>
Create a builder to help you perform the following task:
Lists Sources in a given project and location.
§Arguments
parent- Required. The parent, which owns this collection of sources.
Sourcepub fn locations_sources_patch(
    &self,
    request: Source,
    name: &str,
) -> ProjectLocationSourcePatchCall<'a, C>
 
pub fn locations_sources_patch( &self, request: Source, name: &str, ) -> ProjectLocationSourcePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the parameters of a single Source.
§Arguments
request- No description provided.name- Output only. The Source name.
Sourcepub fn locations_target_projects_create(
    &self,
    request: TargetProject,
    parent: &str,
) -> ProjectLocationTargetProjectCreateCall<'a, C>
 
pub fn locations_target_projects_create( &self, request: TargetProject, parent: &str, ) -> ProjectLocationTargetProjectCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is global.
§Arguments
request- No description provided.parent- Required. The TargetProject’s parent.
Sourcepub fn locations_target_projects_delete(
    &self,
    name: &str,
) -> ProjectLocationTargetProjectDeleteCall<'a, C>
 
pub fn locations_target_projects_delete( &self, name: &str, ) -> ProjectLocationTargetProjectDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.
§Arguments
name- Required. The TargetProject name.
Sourcepub fn locations_target_projects_get(
    &self,
    name: &str,
) -> ProjectLocationTargetProjectGetCall<'a, C>
 
pub fn locations_target_projects_get( &self, name: &str, ) -> ProjectLocationTargetProjectGetCall<'a, C>
Create a builder to help you perform the following task:
Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.
§Arguments
name- Required. The TargetProject name.
Sourcepub fn locations_target_projects_list(
    &self,
    parent: &str,
) -> ProjectLocationTargetProjectListCall<'a, C>
 
pub fn locations_target_projects_list( &self, parent: &str, ) -> ProjectLocationTargetProjectListCall<'a, C>
Create a builder to help you perform the following task:
Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is global.
§Arguments
parent- Required. The parent, which owns this collection of targets.
Sourcepub fn locations_target_projects_patch(
    &self,
    request: TargetProject,
    name: &str,
) -> ProjectLocationTargetProjectPatchCall<'a, C>
 
pub fn locations_target_projects_patch( &self, request: TargetProject, name: &str, ) -> ProjectLocationTargetProjectPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.
§Arguments
request- No description provided.name- Output only. The name of the target project.
Sourcepub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>
 
pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets information about a location.
§Arguments
name- Resource name for the location.
Sourcepub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>
 
pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>
Create a builder to help you perform the following task:
Lists information about the supported locations for this service.
§Arguments
name- The resource that owns the locations collection, if applicable.
Trait Implementations§
impl<'a, C> MethodsBuilder for ProjectMethods<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for ProjectMethods<'a, C>
impl<'a, C> !RefUnwindSafe for ProjectMethods<'a, C>
impl<'a, C> Send for ProjectMethods<'a, C>where
    C: Sync,
impl<'a, C> Sync for ProjectMethods<'a, C>where
    C: Sync,
impl<'a, C> Unpin for ProjectMethods<'a, C>
impl<'a, C> !UnwindSafe for ProjectMethods<'a, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more