/// <summary>Snippet for GenerateSshScriptAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GenerateSshScriptRequestObjectAsync() { // Create client DataMigrationServiceClient dataMigrationServiceClient = await DataMigrationServiceClient.CreateAsync(); // Initialize request argument(s) GenerateSshScriptRequest request = new GenerateSshScriptRequest { MigrationJobAsMigrationJobName = MigrationJobName.FromProjectLocationMigrationJob("[PROJECT]", "[LOCATION]", "[MIGRATION_JOB]"), Vm = "", VmPort = 0, VmCreationConfig = new VmCreationConfig(), }; // Make the request SshScript response = await dataMigrationServiceClient.GenerateSshScriptAsync(request); }