/// <summary>Snippet for GenerateSshScript</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GenerateSshScriptRequestObject() { // Create client DataMigrationServiceClient dataMigrationServiceClient = DataMigrationServiceClient.Create(); // 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 = dataMigrationServiceClient.GenerateSshScript(request); }